wintrust/tests: Remove an unused assignment (PVS-Studio).
[wine.git] / configure
blobb6660bda21b77b91d65ba5f7bb168b356abb6587
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.34.
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.34'
584 PACKAGE_STRING='Wine 1.7.34'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_credui
946 enable_crtdll
947 enable_crypt32
948 enable_cryptdlg
949 enable_cryptdll
950 enable_cryptext
951 enable_cryptnet
952 enable_cryptui
953 enable_ctapi32
954 enable_ctl3d32
955 enable_d2d1
956 enable_d3d10
957 enable_d3d10_1
958 enable_d3d10core
959 enable_d3d11
960 enable_d3d8
961 enable_d3d9
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
973 enable_d3dim
974 enable_d3drm
975 enable_d3dx10_33
976 enable_d3dx10_34
977 enable_d3dx10_35
978 enable_d3dx10_36
979 enable_d3dx10_37
980 enable_d3dx10_38
981 enable_d3dx10_39
982 enable_d3dx10_40
983 enable_d3dx10_41
984 enable_d3dx10_42
985 enable_d3dx10_43
986 enable_d3dx11_42
987 enable_d3dx11_43
988 enable_d3dx9_24
989 enable_d3dx9_25
990 enable_d3dx9_26
991 enable_d3dx9_27
992 enable_d3dx9_28
993 enable_d3dx9_29
994 enable_d3dx9_30
995 enable_d3dx9_31
996 enable_d3dx9_32
997 enable_d3dx9_33
998 enable_d3dx9_34
999 enable_d3dx9_35
1000 enable_d3dx9_36
1001 enable_d3dx9_37
1002 enable_d3dx9_38
1003 enable_d3dx9_39
1004 enable_d3dx9_40
1005 enable_d3dx9_41
1006 enable_d3dx9_42
1007 enable_d3dx9_43
1008 enable_d3dxof
1009 enable_dbgeng
1010 enable_dbghelp
1011 enable_dciman32
1012 enable_ddraw
1013 enable_ddrawex
1014 enable_devenum
1015 enable_dhcpcsvc
1016 enable_difxapi
1017 enable_dinput
1018 enable_dinput8
1019 enable_dispex
1020 enable_dmband
1021 enable_dmcompos
1022 enable_dmime
1023 enable_dmloader
1024 enable_dmscript
1025 enable_dmstyle
1026 enable_dmsynth
1027 enable_dmusic
1028 enable_dmusic32
1029 enable_dnsapi
1030 enable_dplay
1031 enable_dplayx
1032 enable_dpnaddr
1033 enable_dpnet
1034 enable_dpnhpast
1035 enable_dpnlobby
1036 enable_dpvoice
1037 enable_dpwsockx
1038 enable_drmclien
1039 enable_dsound
1040 enable_dssenh
1041 enable_dswave
1042 enable_dwmapi
1043 enable_dwrite
1044 enable_dxdiagn
1045 enable_dxgi
1046 enable_dxva2
1047 enable_explorerframe
1048 enable_ext_ms_win_gdi_devcaps_l1_1_0
1049 enable_faultrep
1050 enable_fltlib
1051 enable_fntcache
1052 enable_fontsub
1053 enable_fusion
1054 enable_fwpuclnt
1055 enable_gameux
1056 enable_gdi32
1057 enable_gdiplus
1058 enable_glu32
1059 enable_gphoto2_ds
1060 enable_gpkcsp
1061 enable_hal
1062 enable_hhctrl_ocx
1063 enable_hid
1064 enable_hlink
1065 enable_hnetcfg
1066 enable_httpapi
1067 enable_iccvid
1068 enable_icmp
1069 enable_ieframe
1070 enable_imaadp32_acm
1071 enable_imagehlp
1072 enable_imm32
1073 enable_inetcomm
1074 enable_inetcpl_cpl
1075 enable_inetmib1
1076 enable_infosoft
1077 enable_initpki
1078 enable_inkobj
1079 enable_inseng
1080 enable_iphlpapi
1081 enable_itircl
1082 enable_itss
1083 enable_joy_cpl
1084 enable_jscript
1085 enable_jsproxy
1086 enable_kernel32
1087 enable_ksuser
1088 enable_ktmw32
1089 enable_loadperf
1090 enable_localspl
1091 enable_localui
1092 enable_lz32
1093 enable_mapi32
1094 enable_mapistub
1095 enable_mciavi32
1096 enable_mcicda
1097 enable_mciqtz32
1098 enable_mciseq
1099 enable_mciwave
1100 enable_mfplat
1101 enable_mfreadwrite
1102 enable_mgmtapi
1103 enable_midimap
1104 enable_mlang
1105 enable_mmcndmgr
1106 enable_mmdevapi
1107 enable_mountmgr_sys
1108 enable_mpr
1109 enable_mprapi
1110 enable_msacm32_drv
1111 enable_msacm32
1112 enable_msadp32_acm
1113 enable_msasn1
1114 enable_mscat32
1115 enable_mscms
1116 enable_mscoree
1117 enable_msctf
1118 enable_msdaps
1119 enable_msdmo
1120 enable_msftedit
1121 enable_msg711_acm
1122 enable_msgsm32_acm
1123 enable_mshtml_tlb
1124 enable_mshtml
1125 enable_msi
1126 enable_msident
1127 enable_msimg32
1128 enable_msimsg
1129 enable_msimtf
1130 enable_msisip
1131 enable_msisys_ocx
1132 enable_msls31
1133 enable_msnet32
1134 enable_mspatcha
1135 enable_msrle32
1136 enable_mssign32
1137 enable_mssip32
1138 enable_mstask
1139 enable_msvcirt
1140 enable_msvcm80
1141 enable_msvcm90
1142 enable_msvcp100
1143 enable_msvcp110
1144 enable_msvcp120
1145 enable_msvcp120_app
1146 enable_msvcp60
1147 enable_msvcp70
1148 enable_msvcp71
1149 enable_msvcp80
1150 enable_msvcp90
1151 enable_msvcr100
1152 enable_msvcr110
1153 enable_msvcr120
1154 enable_msvcr120_app
1155 enable_msvcr70
1156 enable_msvcr71
1157 enable_msvcr80
1158 enable_msvcr90
1159 enable_msvcrt
1160 enable_msvcrt20
1161 enable_msvcrt40
1162 enable_msvcrtd
1163 enable_msvfw32
1164 enable_msvidc32
1165 enable_mswsock
1166 enable_msxml
1167 enable_msxml2
1168 enable_msxml3
1169 enable_msxml4
1170 enable_msxml6
1171 enable_nddeapi
1172 enable_ndis_sys
1173 enable_netapi32
1174 enable_netcfgx
1175 enable_netprofm
1176 enable_newdev
1177 enable_normaliz
1178 enable_npmshtml
1179 enable_npptools
1180 enable_ntdll
1181 enable_ntdsapi
1182 enable_ntoskrnl_exe
1183 enable_ntprint
1184 enable_objsel
1185 enable_odbc32
1186 enable_odbccp32
1187 enable_odbccu32
1188 enable_ole32
1189 enable_oleacc
1190 enable_oleaut32
1191 enable_olecli32
1192 enable_oledb32
1193 enable_oledlg
1194 enable_olepro32
1195 enable_olesvr32
1196 enable_olethk32
1197 enable_openal32
1198 enable_opencl
1199 enable_opengl32
1200 enable_packager
1201 enable_pdh
1202 enable_photometadatahandler
1203 enable_pidgen
1204 enable_powrprof
1205 enable_printui
1206 enable_prntvpt
1207 enable_propsys
1208 enable_psapi
1209 enable_pstorec
1210 enable_qcap
1211 enable_qedit
1212 enable_qmgr
1213 enable_qmgrprxy
1214 enable_quartz
1215 enable_query
1216 enable_rasapi32
1217 enable_rasdlg
1218 enable_regapi
1219 enable_resutils
1220 enable_riched20
1221 enable_riched32
1222 enable_rpcrt4
1223 enable_rsabase
1224 enable_rsaenh
1225 enable_rstrtmgr
1226 enable_rtutils
1227 enable_samlib
1228 enable_sane_ds
1229 enable_scarddlg
1230 enable_sccbase
1231 enable_schannel
1232 enable_schedsvc
1233 enable_scrrun
1234 enable_scsiport_sys
1235 enable_secur32
1236 enable_security
1237 enable_sensapi
1238 enable_serialui
1239 enable_setupapi
1240 enable_sfc
1241 enable_sfc_os
1242 enable_shdoclc
1243 enable_shdocvw
1244 enable_shell32
1245 enable_shfolder
1246 enable_shlwapi
1247 enable_slbcsp
1248 enable_slc
1249 enable_snmpapi
1250 enable_softpub
1251 enable_spoolss
1252 enable_stdole2_tlb
1253 enable_stdole32_tlb
1254 enable_sti
1255 enable_svrapi
1256 enable_sxs
1257 enable_t2embed
1258 enable_tapi32
1259 enable_taskschd
1260 enable_traffic
1261 enable_twain_32
1262 enable_unicows
1263 enable_updspapi
1264 enable_url
1265 enable_urlmon
1266 enable_usbd_sys
1267 enable_user32
1268 enable_userenv
1269 enable_usp10
1270 enable_uxtheme
1271 enable_vbscript
1272 enable_vcomp
1273 enable_vcomp100
1274 enable_vcomp90
1275 enable_vdmdbg
1276 enable_version
1277 enable_vssapi
1278 enable_wbemdisp
1279 enable_wbemprox
1280 enable_webservices
1281 enable_wer
1282 enable_wevtapi
1283 enable_wiaservc
1284 enable_windowscodecs
1285 enable_windowscodecsext
1286 enable_winealsa_drv
1287 enable_winecoreaudio_drv
1288 enable_wined3d
1289 enable_winegstreamer
1290 enable_winejoystick_drv
1291 enable_winemac_drv
1292 enable_winemapi
1293 enable_winemp3_acm
1294 enable_wineoss_drv
1295 enable_wineps_drv
1296 enable_wineqtdecoder
1297 enable_winex11_drv
1298 enable_wing32
1299 enable_winhttp
1300 enable_wininet
1301 enable_winmm
1302 enable_winnls32
1303 enable_winscard
1304 enable_winspool_drv
1305 enable_winsta
1306 enable_wintab32
1307 enable_wintrust
1308 enable_wlanapi
1309 enable_wldap32
1310 enable_wmi
1311 enable_wmiutils
1312 enable_wmp
1313 enable_wmvcore
1314 enable_wnaspi32
1315 enable_wpcap
1316 enable_ws2_32
1317 enable_wshom_ocx
1318 enable_wsnmp32
1319 enable_wsock32
1320 enable_wtsapi32
1321 enable_wuapi
1322 enable_wuaueng
1323 enable_x3daudio1_7
1324 enable_xapofx1_1
1325 enable_xaudio2_7
1326 enable_xinput1_1
1327 enable_xinput1_2
1328 enable_xinput1_3
1329 enable_xinput1_4
1330 enable_xinput9_1_0
1331 enable_xmllite
1332 enable_xolehlp
1333 enable_xpsprint
1334 enable_xpssvcs
1335 enable_documentation
1336 enable_fonts
1337 enable_include
1338 enable_libs_port
1339 enable_libs_wine
1340 enable_libs_wpp
1341 enable_loader
1342 enable_arp
1343 enable_aspnet_regiis
1344 enable_attrib
1345 enable_cabarc
1346 enable_cacls
1347 enable_clock
1348 enable_cmd
1349 enable_conhost
1350 enable_control
1351 enable_cscript
1352 enable_dpnsvr
1353 enable_dxdiag
1354 enable_eject
1355 enable_expand
1356 enable_explorer
1357 enable_extrac32
1358 enable_findstr
1359 enable_hh
1360 enable_hostname
1361 enable_icinfo
1362 enable_iexplore
1363 enable_ipconfig
1364 enable_lodctr
1365 enable_mofcomp
1366 enable_mshta
1367 enable_msiexec
1368 enable_net
1369 enable_netsh
1370 enable_netstat
1371 enable_ngen
1372 enable_notepad
1373 enable_oleview
1374 enable_ping
1375 enable_plugplay
1376 enable_presentationfontcache
1377 enable_progman
1378 enable_reg
1379 enable_regasm
1380 enable_regedit
1381 enable_regsvcs
1382 enable_regsvr32
1383 enable_rpcss
1384 enable_rundll32
1385 enable_sc
1386 enable_schtasks
1387 enable_sdbinst
1388 enable_secedit
1389 enable_servicemodelreg
1390 enable_services
1391 enable_spoolsv
1392 enable_start
1393 enable_svchost
1394 enable_systeminfo
1395 enable_taskkill
1396 enable_tasklist
1397 enable_taskmgr
1398 enable_termsv
1399 enable_uninstaller
1400 enable_unlodctr
1401 enable_view
1402 enable_wevtutil
1403 enable_wineboot
1404 enable_winebrowser
1405 enable_winecfg
1406 enable_wineconsole
1407 enable_winedbg
1408 enable_winedevice
1409 enable_winefile
1410 enable_winemenubuilder
1411 enable_winemine
1412 enable_winemsibuilder
1413 enable_winepath
1414 enable_winetest
1415 enable_winhlp32
1416 enable_winver
1417 enable_wmic
1418 enable_wordpad
1419 enable_write
1420 enable_wscript
1421 enable_wusa
1422 enable_xcopy
1423 enable_server
1424 enable_tools
1426 ac_precious_vars='build_alias
1427 host_alias
1428 target_alias
1430 CFLAGS
1431 LDFLAGS
1432 LIBS
1433 CPPFLAGS
1435 CXXFLAGS
1438 XMKMF
1439 XML2_CFLAGS
1440 XML2_LIBS
1441 XSLT_CFLAGS
1442 XSLT_LIBS
1443 DBUS_CFLAGS
1444 DBUS_LIBS
1445 HAL_CFLAGS
1446 HAL_LIBS
1447 GNUTLS_CFLAGS
1448 GNUTLS_LIBS
1449 SANE_CFLAGS
1450 SANE_LIBS
1451 GPHOTO2_CFLAGS
1452 GPHOTO2_LIBS
1453 GPHOTO2_PORT_CFLAGS
1454 GPHOTO2_PORT_LIBS
1455 LCMS2_CFLAGS
1456 LCMS2_LIBS
1457 FREETYPE_CFLAGS
1458 FREETYPE_LIBS
1459 GSTREAMER_CFLAGS
1460 GSTREAMER_LIBS
1461 CAPI20_CFLAGS
1462 CAPI20_LIBS
1463 FONTCONFIG_CFLAGS
1464 FONTCONFIG_LIBS
1465 JPEG_CFLAGS
1466 JPEG_LIBS
1467 PNG_CFLAGS
1468 PNG_LIBS
1469 TIFF_CFLAGS
1470 TIFF_LIBS
1471 MPG123_CFLAGS
1472 MPG123_LIBS'
1475 # Initialize some variables set by options.
1476 ac_init_help=
1477 ac_init_version=false
1478 ac_unrecognized_opts=
1479 ac_unrecognized_sep=
1480 # The variables have the same names as the options, with
1481 # dashes changed to underlines.
1482 cache_file=/dev/null
1483 exec_prefix=NONE
1484 no_create=
1485 no_recursion=
1486 prefix=NONE
1487 program_prefix=NONE
1488 program_suffix=NONE
1489 program_transform_name=s,x,x,
1490 silent=
1491 site=
1492 srcdir=
1493 verbose=
1494 x_includes=NONE
1495 x_libraries=NONE
1497 # Installation directory options.
1498 # These are left unexpanded so users can "make install exec_prefix=/foo"
1499 # and all the variables that are supposed to be based on exec_prefix
1500 # by default will actually change.
1501 # Use braces instead of parens because sh, perl, etc. also accept them.
1502 # (The list follows the same order as the GNU Coding Standards.)
1503 bindir='${exec_prefix}/bin'
1504 sbindir='${exec_prefix}/sbin'
1505 libexecdir='${exec_prefix}/libexec'
1506 datarootdir='${prefix}/share'
1507 datadir='${datarootdir}'
1508 sysconfdir='${prefix}/etc'
1509 sharedstatedir='${prefix}/com'
1510 localstatedir='${prefix}/var'
1511 includedir='${prefix}/include'
1512 oldincludedir='/usr/include'
1513 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1514 infodir='${datarootdir}/info'
1515 htmldir='${docdir}'
1516 dvidir='${docdir}'
1517 pdfdir='${docdir}'
1518 psdir='${docdir}'
1519 libdir='${exec_prefix}/lib'
1520 localedir='${datarootdir}/locale'
1521 mandir='${datarootdir}/man'
1523 ac_prev=
1524 ac_dashdash=
1525 for ac_option
1527 # If the previous option needs an argument, assign it.
1528 if test -n "$ac_prev"; then
1529 eval $ac_prev=\$ac_option
1530 ac_prev=
1531 continue
1534 case $ac_option in
1535 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1536 *=) ac_optarg= ;;
1537 *) ac_optarg=yes ;;
1538 esac
1540 # Accept the important Cygnus configure options, so we can diagnose typos.
1542 case $ac_dashdash$ac_option in
1544 ac_dashdash=yes ;;
1546 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1547 ac_prev=bindir ;;
1548 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1549 bindir=$ac_optarg ;;
1551 -build | --build | --buil | --bui | --bu)
1552 ac_prev=build_alias ;;
1553 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1554 build_alias=$ac_optarg ;;
1556 -cache-file | --cache-file | --cache-fil | --cache-fi \
1557 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1558 ac_prev=cache_file ;;
1559 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1560 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1561 cache_file=$ac_optarg ;;
1563 --config-cache | -C)
1564 cache_file=config.cache ;;
1566 -datadir | --datadir | --datadi | --datad)
1567 ac_prev=datadir ;;
1568 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1569 datadir=$ac_optarg ;;
1571 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1572 | --dataroo | --dataro | --datar)
1573 ac_prev=datarootdir ;;
1574 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1575 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1576 datarootdir=$ac_optarg ;;
1578 -disable-* | --disable-*)
1579 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1582 as_fn_error $? "invalid feature name: $ac_useropt"
1583 ac_useropt_orig=$ac_useropt
1584 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_$ac_useropt"
1588 "*) ;;
1589 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1590 ac_unrecognized_sep=', ';;
1591 esac
1592 eval enable_$ac_useropt=no ;;
1594 -docdir | --docdir | --docdi | --doc | --do)
1595 ac_prev=docdir ;;
1596 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1597 docdir=$ac_optarg ;;
1599 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1600 ac_prev=dvidir ;;
1601 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1602 dvidir=$ac_optarg ;;
1604 -enable-* | --enable-*)
1605 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608 as_fn_error $? "invalid feature name: $ac_useropt"
1609 ac_useropt_orig=$ac_useropt
1610 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_$ac_useropt"
1614 "*) ;;
1615 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1616 ac_unrecognized_sep=', ';;
1617 esac
1618 eval enable_$ac_useropt=\$ac_optarg ;;
1620 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1621 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1622 | --exec | --exe | --ex)
1623 ac_prev=exec_prefix ;;
1624 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1625 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1626 | --exec=* | --exe=* | --ex=*)
1627 exec_prefix=$ac_optarg ;;
1629 -gas | --gas | --ga | --g)
1630 # Obsolete; use --with-gas.
1631 with_gas=yes ;;
1633 -help | --help | --hel | --he | -h)
1634 ac_init_help=long ;;
1635 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1636 ac_init_help=recursive ;;
1637 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1638 ac_init_help=short ;;
1640 -host | --host | --hos | --ho)
1641 ac_prev=host_alias ;;
1642 -host=* | --host=* | --hos=* | --ho=*)
1643 host_alias=$ac_optarg ;;
1645 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1646 ac_prev=htmldir ;;
1647 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1648 | --ht=*)
1649 htmldir=$ac_optarg ;;
1651 -includedir | --includedir | --includedi | --included | --include \
1652 | --includ | --inclu | --incl | --inc)
1653 ac_prev=includedir ;;
1654 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1655 | --includ=* | --inclu=* | --incl=* | --inc=*)
1656 includedir=$ac_optarg ;;
1658 -infodir | --infodir | --infodi | --infod | --info | --inf)
1659 ac_prev=infodir ;;
1660 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1661 infodir=$ac_optarg ;;
1663 -libdir | --libdir | --libdi | --libd)
1664 ac_prev=libdir ;;
1665 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1666 libdir=$ac_optarg ;;
1668 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1669 | --libexe | --libex | --libe)
1670 ac_prev=libexecdir ;;
1671 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1672 | --libexe=* | --libex=* | --libe=*)
1673 libexecdir=$ac_optarg ;;
1675 -localedir | --localedir | --localedi | --localed | --locale)
1676 ac_prev=localedir ;;
1677 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1678 localedir=$ac_optarg ;;
1680 -localstatedir | --localstatedir | --localstatedi | --localstated \
1681 | --localstate | --localstat | --localsta | --localst | --locals)
1682 ac_prev=localstatedir ;;
1683 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1684 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1685 localstatedir=$ac_optarg ;;
1687 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1688 ac_prev=mandir ;;
1689 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1690 mandir=$ac_optarg ;;
1692 -nfp | --nfp | --nf)
1693 # Obsolete; use --without-fp.
1694 with_fp=no ;;
1696 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1697 | --no-cr | --no-c | -n)
1698 no_create=yes ;;
1700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1702 no_recursion=yes ;;
1704 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1705 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1706 | --oldin | --oldi | --old | --ol | --o)
1707 ac_prev=oldincludedir ;;
1708 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1709 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1710 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1711 oldincludedir=$ac_optarg ;;
1713 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1714 ac_prev=prefix ;;
1715 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1716 prefix=$ac_optarg ;;
1718 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1719 | --program-pre | --program-pr | --program-p)
1720 ac_prev=program_prefix ;;
1721 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1722 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1723 program_prefix=$ac_optarg ;;
1725 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1726 | --program-suf | --program-su | --program-s)
1727 ac_prev=program_suffix ;;
1728 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1729 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1730 program_suffix=$ac_optarg ;;
1732 -program-transform-name | --program-transform-name \
1733 | --program-transform-nam | --program-transform-na \
1734 | --program-transform-n | --program-transform- \
1735 | --program-transform | --program-transfor \
1736 | --program-transfo | --program-transf \
1737 | --program-trans | --program-tran \
1738 | --progr-tra | --program-tr | --program-t)
1739 ac_prev=program_transform_name ;;
1740 -program-transform-name=* | --program-transform-name=* \
1741 | --program-transform-nam=* | --program-transform-na=* \
1742 | --program-transform-n=* | --program-transform-=* \
1743 | --program-transform=* | --program-transfor=* \
1744 | --program-transfo=* | --program-transf=* \
1745 | --program-trans=* | --program-tran=* \
1746 | --progr-tra=* | --program-tr=* | --program-t=*)
1747 program_transform_name=$ac_optarg ;;
1749 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1750 ac_prev=pdfdir ;;
1751 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1752 pdfdir=$ac_optarg ;;
1754 -psdir | --psdir | --psdi | --psd | --ps)
1755 ac_prev=psdir ;;
1756 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1757 psdir=$ac_optarg ;;
1759 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1760 | -silent | --silent | --silen | --sile | --sil)
1761 silent=yes ;;
1763 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1764 ac_prev=sbindir ;;
1765 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1766 | --sbi=* | --sb=*)
1767 sbindir=$ac_optarg ;;
1769 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1770 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1771 | --sharedst | --shareds | --shared | --share | --shar \
1772 | --sha | --sh)
1773 ac_prev=sharedstatedir ;;
1774 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1775 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1776 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1777 | --sha=* | --sh=*)
1778 sharedstatedir=$ac_optarg ;;
1780 -site | --site | --sit)
1781 ac_prev=site ;;
1782 -site=* | --site=* | --sit=*)
1783 site=$ac_optarg ;;
1785 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1786 ac_prev=srcdir ;;
1787 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1788 srcdir=$ac_optarg ;;
1790 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1791 | --syscon | --sysco | --sysc | --sys | --sy)
1792 ac_prev=sysconfdir ;;
1793 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1794 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1795 sysconfdir=$ac_optarg ;;
1797 -target | --target | --targe | --targ | --tar | --ta | --t)
1798 ac_prev=target_alias ;;
1799 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1800 target_alias=$ac_optarg ;;
1802 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1803 verbose=yes ;;
1805 -version | --version | --versio | --versi | --vers | -V)
1806 ac_init_version=: ;;
1808 -with-* | --with-*)
1809 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1810 # Reject names that are not valid shell variable names.
1811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1812 as_fn_error $? "invalid package name: $ac_useropt"
1813 ac_useropt_orig=$ac_useropt
1814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1815 case $ac_user_opts in
1817 "with_$ac_useropt"
1818 "*) ;;
1819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1820 ac_unrecognized_sep=', ';;
1821 esac
1822 eval with_$ac_useropt=\$ac_optarg ;;
1824 -without-* | --without-*)
1825 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1826 # Reject names that are not valid shell variable names.
1827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1828 as_fn_error $? "invalid package name: $ac_useropt"
1829 ac_useropt_orig=$ac_useropt
1830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1831 case $ac_user_opts in
1833 "with_$ac_useropt"
1834 "*) ;;
1835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1836 ac_unrecognized_sep=', ';;
1837 esac
1838 eval with_$ac_useropt=no ;;
1840 --x)
1841 # Obsolete; use --with-x.
1842 with_x=yes ;;
1844 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1845 | --x-incl | --x-inc | --x-in | --x-i)
1846 ac_prev=x_includes ;;
1847 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1848 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1849 x_includes=$ac_optarg ;;
1851 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1852 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1853 ac_prev=x_libraries ;;
1854 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1855 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1856 x_libraries=$ac_optarg ;;
1858 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1859 Try \`$0 --help' for more information"
1862 *=*)
1863 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1864 # Reject names that are not valid shell variable names.
1865 case $ac_envvar in #(
1866 '' | [0-9]* | *[!_$as_cr_alnum]* )
1867 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1868 esac
1869 eval $ac_envvar=\$ac_optarg
1870 export $ac_envvar ;;
1873 # FIXME: should be removed in autoconf 3.0.
1874 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1875 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1876 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1877 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1880 esac
1881 done
1883 if test -n "$ac_prev"; then
1884 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1885 as_fn_error $? "missing argument to $ac_option"
1888 if test -n "$ac_unrecognized_opts"; then
1889 case $enable_option_checking in
1890 no) ;;
1891 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1892 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1893 esac
1896 # Check all directory arguments for consistency.
1897 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1898 datadir sysconfdir sharedstatedir localstatedir includedir \
1899 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1900 libdir localedir mandir
1902 eval ac_val=\$$ac_var
1903 # Remove trailing slashes.
1904 case $ac_val in
1905 */ )
1906 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1907 eval $ac_var=\$ac_val;;
1908 esac
1909 # Be sure to have absolute directory names.
1910 case $ac_val in
1911 [\\/$]* | ?:[\\/]* ) continue;;
1912 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1913 esac
1914 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1915 done
1917 # There might be people who depend on the old broken behavior: `$host'
1918 # used to hold the argument of --host etc.
1919 # FIXME: To remove some day.
1920 build=$build_alias
1921 host=$host_alias
1922 target=$target_alias
1924 # FIXME: To remove some day.
1925 if test "x$host_alias" != x; then
1926 if test "x$build_alias" = x; then
1927 cross_compiling=maybe
1928 elif test "x$build_alias" != "x$host_alias"; then
1929 cross_compiling=yes
1933 ac_tool_prefix=
1934 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1936 test "$silent" = yes && exec 6>/dev/null
1939 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1940 ac_ls_di=`ls -di .` &&
1941 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1942 as_fn_error $? "working directory cannot be determined"
1943 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1944 as_fn_error $? "pwd does not report name of working directory"
1947 # Find the source files, if location was not specified.
1948 if test -z "$srcdir"; then
1949 ac_srcdir_defaulted=yes
1950 # Try the directory containing this script, then the parent directory.
1951 ac_confdir=`$as_dirname -- "$as_myself" ||
1952 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1953 X"$as_myself" : 'X\(//\)[^/]' \| \
1954 X"$as_myself" : 'X\(//\)$' \| \
1955 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1956 $as_echo X"$as_myself" |
1957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1958 s//\1/
1961 /^X\(\/\/\)[^/].*/{
1962 s//\1/
1965 /^X\(\/\/\)$/{
1966 s//\1/
1969 /^X\(\/\).*/{
1970 s//\1/
1973 s/.*/./; q'`
1974 srcdir=$ac_confdir
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1976 srcdir=..
1978 else
1979 ac_srcdir_defaulted=no
1981 if test ! -r "$srcdir/$ac_unique_file"; then
1982 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1983 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1985 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1986 ac_abs_confdir=`(
1987 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1988 pwd)`
1989 # When building in place, set srcdir=.
1990 if test "$ac_abs_confdir" = "$ac_pwd"; then
1991 srcdir=.
1993 # Remove unnecessary trailing slashes from srcdir.
1994 # Double slashes in file names in object file debugging info
1995 # mess up M-x gdb in Emacs.
1996 case $srcdir in
1997 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1998 esac
1999 for ac_var in $ac_precious_vars; do
2000 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2001 eval ac_env_${ac_var}_value=\$${ac_var}
2002 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2003 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2004 done
2007 # Report the --help message.
2009 if test "$ac_init_help" = "long"; then
2010 # Omit some internal or obsolete options to make the list less imposing.
2011 # This message is too long to be a string in the A/UX 3.1 sh.
2012 cat <<_ACEOF
2013 \`configure' configures Wine 1.7.34 to adapt to many kinds of systems.
2015 Usage: $0 [OPTION]... [VAR=VALUE]...
2017 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2018 VAR=VALUE. See below for descriptions of some of the useful variables.
2020 Defaults for the options are specified in brackets.
2022 Configuration:
2023 -h, --help display this help and exit
2024 --help=short display options specific to this package
2025 --help=recursive display the short help of all the included packages
2026 -V, --version display version information and exit
2027 -q, --quiet, --silent do not print \`checking ...' messages
2028 --cache-file=FILE cache test results in FILE [disabled]
2029 -C, --config-cache alias for \`--cache-file=config.cache'
2030 -n, --no-create do not create output files
2031 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2033 Installation directories:
2034 --prefix=PREFIX install architecture-independent files in PREFIX
2035 [$ac_default_prefix]
2036 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2037 [PREFIX]
2039 By default, \`make install' will install all the files in
2040 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2041 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2042 for instance \`--prefix=\$HOME'.
2044 For better control, use the options below.
2046 Fine tuning of the installation directories:
2047 --bindir=DIR user executables [EPREFIX/bin]
2048 --sbindir=DIR system admin executables [EPREFIX/sbin]
2049 --libexecdir=DIR program executables [EPREFIX/libexec]
2050 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2051 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2052 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2053 --libdir=DIR object code libraries [EPREFIX/lib]
2054 --includedir=DIR C header files [PREFIX/include]
2055 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2056 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2057 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2058 --infodir=DIR info documentation [DATAROOTDIR/info]
2059 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2060 --mandir=DIR man documentation [DATAROOTDIR/man]
2061 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2062 --htmldir=DIR html documentation [DOCDIR]
2063 --dvidir=DIR dvi documentation [DOCDIR]
2064 --pdfdir=DIR pdf documentation [DOCDIR]
2065 --psdir=DIR ps documentation [DOCDIR]
2066 _ACEOF
2068 cat <<\_ACEOF
2070 X features:
2071 --x-includes=DIR X include files are in DIR
2072 --x-libraries=DIR X library files are in DIR
2074 System types:
2075 --build=BUILD configure for building on BUILD [guessed]
2076 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2077 _ACEOF
2080 if test -n "$ac_init_help"; then
2081 case $ac_init_help in
2082 short | recursive ) echo "Configuration of Wine 1.7.34:";;
2083 esac
2084 cat <<\_ACEOF
2086 Optional Features:
2087 --disable-option-checking ignore unrecognized --enable/--with options
2088 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2089 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2090 --disable-win16 do not include Win16 support
2091 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2092 binaries)
2093 --disable-tests do not build the regression tests
2094 --enable-maintainer-mode
2095 enable maintainer-specific build rules
2096 --disable-largefile omit support for large files
2098 Optional Packages:
2099 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2100 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2101 --without-alsa do not use the Alsa sound support
2102 --without-capi do not use CAPI (ISDN support)
2103 --without-cms do not use CMS (color management support)
2104 --without-coreaudio do not use the CoreAudio sound support
2105 --without-cups do not use CUPS
2106 --without-curses do not use (n)curses
2107 --without-dbus do not use DBus (dynamic device support)
2108 --without-fontconfig do not use fontconfig
2109 --without-freetype do not use the FreeType library
2110 --without-gettext do not use gettext
2111 --with-gettextpo use the GetTextPO library to rebuild po files
2112 --without-gphoto do not use gphoto (Digital Camera support)
2113 --without-glu do not use the GLU library
2114 --without-gnutls do not use GnuTLS (schannel support)
2115 --without-gsm do not use libgsm (GSM 06.10 codec support)
2116 --without-gstreamer do not use GStreamer (codecs support)
2117 --without-hal do not use HAL (dynamic device support)
2118 --without-jpeg do not use JPEG
2119 --without-ldap do not use LDAP
2120 --without-mpg123 do not use the mpg123 library
2121 --without-netapi do not use the Samba NetAPI library
2122 --without-openal do not use OpenAL
2123 --without-opencl do not use OpenCL
2124 --without-opengl do not use OpenGL
2125 --without-osmesa do not use the OSMesa library
2126 --without-oss do not use the OSS sound support
2127 --without-pcap do not use the Packet Capture library
2128 --without-png do not use PNG
2129 --without-pthread do not use the pthread library
2130 --without-sane do not use SANE (scanner support)
2131 --without-tiff do not use TIFF
2132 --without-v4l do not use v4l1 (v4l support)
2133 --without-xcomposite do not use the Xcomposite extension
2134 --without-xcursor do not use the Xcursor extension
2135 --without-xinerama do not use Xinerama (multi-monitor support)
2136 --without-xinput do not use the Xinput extension
2137 --without-xinput2 do not use the Xinput 2 extension
2138 --without-xml do not use XML
2139 --without-xrandr do not use Xrandr (resolution changes)
2140 --without-xrender do not use the Xrender extension
2141 --without-xshape do not use the Xshape extension
2142 --without-xshm do not use XShm (shared memory extension)
2143 --without-xslt do not use XSLT
2144 --without-xxf86vm do not use XFree video mode extension
2145 --without-zlib do not use Zlib (data compression)
2146 --with-wine-tools=DIR use Wine tools from directory DIR
2147 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2148 --with-x use the X Window System
2150 Some influential environment variables:
2151 CC C compiler command
2152 CFLAGS C compiler flags
2153 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2154 nonstandard directory <lib dir>
2155 LIBS libraries to pass to the linker, e.g. -l<library>
2156 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2157 you have headers in a nonstandard directory <include dir>
2158 CXX C++ compiler command
2159 CXXFLAGS C++ compiler flags
2160 CPP C preprocessor
2161 XMKMF Path to xmkmf, Makefile generator for X Window System
2162 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2163 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2164 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2165 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2166 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2167 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2168 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2169 HAL_LIBS Linker flags for hal, overriding pkg-config
2170 GNUTLS_CFLAGS
2171 C compiler flags for gnutls, overriding pkg-config
2172 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2173 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2174 SANE_LIBS Linker flags for libsane, overriding pkg-config
2175 GPHOTO2_CFLAGS
2176 C compiler flags for libgphoto2, overriding pkg-config
2177 GPHOTO2_LIBS
2178 Linker flags for libgphoto2, overriding pkg-config
2179 GPHOTO2_PORT_CFLAGS
2180 C compiler flags for libgphoto2_port, overriding pkg-config
2181 GPHOTO2_PORT_LIBS
2182 Linker flags for libgphoto2_port, overriding pkg-config
2183 LCMS2_CFLAGS
2184 C compiler flags for lcms2, overriding pkg-config
2185 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2186 FREETYPE_CFLAGS
2187 C compiler flags for freetype2, overriding pkg-config
2188 FREETYPE_LIBS
2189 Linker flags for freetype2, overriding pkg-config
2190 GSTREAMER_CFLAGS
2191 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2192 GSTREAMER_LIBS
2193 Linker flags for gstreamer-app-0.10, overriding pkg-config
2194 CAPI20_CFLAGS
2195 C compiler flags for capi20, overriding pkg-config
2196 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2197 FONTCONFIG_CFLAGS
2198 C compiler flags for fontconfig, overriding pkg-config
2199 FONTCONFIG_LIBS
2200 Linker flags for fontconfig, overriding pkg-config
2201 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2202 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2203 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2204 PNG_LIBS Linker flags for libpng, overriding pkg-config
2205 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2206 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2207 MPG123_CFLAGS
2208 C compiler flags for libmpg123, overriding pkg-config
2209 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2211 Use these variables to override the choices made by `configure' or to help
2212 it to find libraries and programs with nonstandard names/locations.
2214 Report bugs to <wine-devel@winehq.org>.
2215 Wine home page: <http://www.winehq.org>.
2216 _ACEOF
2217 ac_status=$?
2220 if test "$ac_init_help" = "recursive"; then
2221 # If there are subdirs, report their specific --help.
2222 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2223 test -d "$ac_dir" ||
2224 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2225 continue
2226 ac_builddir=.
2228 case "$ac_dir" in
2229 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2231 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2232 # A ".." for each directory in $ac_dir_suffix.
2233 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2234 case $ac_top_builddir_sub in
2235 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2236 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2237 esac ;;
2238 esac
2239 ac_abs_top_builddir=$ac_pwd
2240 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2241 # for backward compatibility:
2242 ac_top_builddir=$ac_top_build_prefix
2244 case $srcdir in
2245 .) # We are building in place.
2246 ac_srcdir=.
2247 ac_top_srcdir=$ac_top_builddir_sub
2248 ac_abs_top_srcdir=$ac_pwd ;;
2249 [\\/]* | ?:[\\/]* ) # Absolute name.
2250 ac_srcdir=$srcdir$ac_dir_suffix;
2251 ac_top_srcdir=$srcdir
2252 ac_abs_top_srcdir=$srcdir ;;
2253 *) # Relative name.
2254 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2255 ac_top_srcdir=$ac_top_build_prefix$srcdir
2256 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2257 esac
2258 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2260 cd "$ac_dir" || { ac_status=$?; continue; }
2261 # Check for guested configure.
2262 if test -f "$ac_srcdir/configure.gnu"; then
2263 echo &&
2264 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2265 elif test -f "$ac_srcdir/configure"; then
2266 echo &&
2267 $SHELL "$ac_srcdir/configure" --help=recursive
2268 else
2269 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2270 fi || ac_status=$?
2271 cd "$ac_pwd" || { ac_status=$?; break; }
2272 done
2275 test -n "$ac_init_help" && exit $ac_status
2276 if $ac_init_version; then
2277 cat <<\_ACEOF
2278 Wine configure 1.7.34
2279 generated by GNU Autoconf 2.69
2281 Copyright (C) 2012 Free Software Foundation, Inc.
2282 This configure script is free software; the Free Software Foundation
2283 gives unlimited permission to copy, distribute and modify it.
2284 _ACEOF
2285 exit
2288 ## ------------------------ ##
2289 ## Autoconf initialization. ##
2290 ## ------------------------ ##
2292 # ac_fn_c_try_compile LINENO
2293 # --------------------------
2294 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2295 ac_fn_c_try_compile ()
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 rm -f conftest.$ac_objext
2299 if { { ac_try="$ac_compile"
2300 case "(($ac_try" in
2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2303 esac
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_compile") 2>conftest.err
2307 ac_status=$?
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2310 cat conftest.er1 >&5
2311 mv -f conftest.er1 conftest.err
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; } && {
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then :
2318 ac_retval=0
2319 else
2320 $as_echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2323 ac_retval=1
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_compile
2330 # ac_fn_cxx_try_compile LINENO
2331 # ----------------------------
2332 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2333 ac_fn_cxx_try_compile ()
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 rm -f conftest.$ac_objext
2337 if { { ac_try="$ac_compile"
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_compile") 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; } && {
2353 test -z "$ac_cxx_werror_flag" ||
2354 test ! -s conftest.err
2355 } && test -s conftest.$ac_objext; 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_cxx_try_compile
2368 # ac_fn_c_try_link LINENO
2369 # -----------------------
2370 # Try to link conftest.$ac_ext, and return whether this succeeded.
2371 ac_fn_c_try_link ()
2373 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2374 rm -f conftest.$ac_objext conftest$ac_exeext
2375 if { { ac_try="$ac_link"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>conftest.err
2383 ac_status=$?
2384 if test -s conftest.err; then
2385 grep -v '^ *+' conftest.err >conftest.er1
2386 cat conftest.er1 >&5
2387 mv -f conftest.er1 conftest.err
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; } && {
2391 test -z "$ac_c_werror_flag" ||
2392 test ! -s conftest.err
2393 } && test -s conftest$ac_exeext && {
2394 test "$cross_compiling" = yes ||
2395 test -x conftest$ac_exeext
2396 }; then :
2397 ac_retval=0
2398 else
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 ac_retval=1
2404 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2405 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2406 # interfere with the next link command; also delete a directory that is
2407 # left behind by Apple's compiler. We do this before executing the actions.
2408 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status $ac_retval
2412 } # ac_fn_c_try_link
2414 # ac_fn_c_try_cpp LINENO
2415 # ----------------------
2416 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2417 ac_fn_c_try_cpp ()
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if { { ac_try="$ac_cpp conftest.$ac_ext"
2421 case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2424 esac
2425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2426 $as_echo "$ac_try_echo"; } >&5
2427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2428 ac_status=$?
2429 if test -s conftest.err; then
2430 grep -v '^ *+' conftest.err >conftest.er1
2431 cat conftest.er1 >&5
2432 mv -f conftest.er1 conftest.err
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; } > conftest.i && {
2436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2437 test ! -s conftest.err
2438 }; then :
2439 ac_retval=0
2440 else
2441 $as_echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.$ac_ext >&5
2444 ac_retval=1
2446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2447 as_fn_set_status $ac_retval
2449 } # ac_fn_c_try_cpp
2451 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2452 # -------------------------------------------------------
2453 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2454 # the include files in INCLUDES and setting the cache variable VAR
2455 # accordingly.
2456 ac_fn_c_check_header_mongrel ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 if eval \${$3+:} false; then :
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if eval \${$3+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 eval ac_res=\$$3
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2467 $as_echo "$ac_res" >&6; }
2468 else
2469 # Is the header compilable?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2471 $as_echo_n "checking $2 usability... " >&6; }
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2475 #include <$2>
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_header_compiler=yes
2479 else
2480 ac_header_compiler=no
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2484 $as_echo "$ac_header_compiler" >&6; }
2486 # Is the header present?
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2488 $as_echo_n "checking $2 presence... " >&6; }
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2491 #include <$2>
2492 _ACEOF
2493 if ac_fn_c_try_cpp "$LINENO"; then :
2494 ac_header_preproc=yes
2495 else
2496 ac_header_preproc=no
2498 rm -f conftest.err conftest.i conftest.$ac_ext
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2500 $as_echo "$ac_header_preproc" >&6; }
2502 # So? What about this header?
2503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2504 yes:no: )
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2506 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2508 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2510 no:yes:* )
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2512 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2514 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2516 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2518 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2521 ( $as_echo "## ------------------------------------ ##
2522 ## Report this to wine-devel@winehq.org ##
2523 ## ------------------------------------ ##"
2524 ) | sed "s/^/$as_me: WARNING: /" >&2
2526 esac
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \${$3+:} false; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 eval "$3=\$ac_header_compiler"
2534 eval ac_res=\$$3
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2536 $as_echo "$ac_res" >&6; }
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 } # ac_fn_c_check_header_mongrel
2542 # ac_fn_c_try_run LINENO
2543 # ----------------------
2544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2545 # that executables *can* be run.
2546 ac_fn_c_try_run ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 if { { ac_try="$ac_link"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2557 ac_status=$?
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2560 { { case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2563 esac
2564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_try") 2>&5
2567 ac_status=$?
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; }; then :
2570 ac_retval=0
2571 else
2572 $as_echo "$as_me: program exited with status $ac_status" >&5
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2576 ac_retval=$ac_status
2578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_run
2584 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists and can be compiled using the include files in
2587 # INCLUDES, setting the cache variable VAR accordingly.
2588 ac_fn_c_check_header_compile ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \${$3+:} false; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2599 #include <$2>
2600 _ACEOF
2601 if ac_fn_c_try_compile "$LINENO"; then :
2602 eval "$3=yes"
2603 else
2604 eval "$3=no"
2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 eval ac_res=\$$3
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 } # ac_fn_c_check_header_compile
2615 # ac_fn_c_check_func LINENO FUNC VAR
2616 # ----------------------------------
2617 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2618 ac_fn_c_check_func ()
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \${$3+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2630 #define $2 innocuous_$2
2632 /* System header to define __stub macros and hopefully few prototypes,
2633 which can conflict with char $2 (); below.
2634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2635 <limits.h> exists even on freestanding compilers. */
2637 #ifdef __STDC__
2638 # include <limits.h>
2639 #else
2640 # include <assert.h>
2641 #endif
2643 #undef $2
2645 /* Override any GCC internal prototype to avoid an error.
2646 Use char because int might match the return type of a GCC
2647 builtin and then its argument prototype would still apply. */
2648 #ifdef __cplusplus
2649 extern "C"
2650 #endif
2651 char $2 ();
2652 /* The GNU C library defines this for functions which it implements
2653 to always fail with ENOSYS. Some functions are actually named
2654 something starting with __ and the normal name is an alias. */
2655 #if defined __stub_$2 || defined __stub___$2
2656 choke me
2657 #endif
2660 main ()
2662 return $2 ();
2664 return 0;
2666 _ACEOF
2667 if ac_fn_c_try_link "$LINENO"; then :
2668 eval "$3=yes"
2669 else
2670 eval "$3=no"
2672 rm -f core conftest.err conftest.$ac_objext \
2673 conftest$ac_exeext conftest.$ac_ext
2675 eval ac_res=\$$3
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_func
2682 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2683 # ----------------------------------------------------
2684 # Tries to find if the field MEMBER exists in type AGGR, after including
2685 # INCLUDES, setting cache variable VAR accordingly.
2686 ac_fn_c_check_member ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2690 $as_echo_n "checking for $2.$3... " >&6; }
2691 if eval \${$4+:} false; then :
2692 $as_echo_n "(cached) " >&6
2693 else
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2698 main ()
2700 static $2 ac_aggr;
2701 if (ac_aggr.$3)
2702 return 0;
2704 return 0;
2706 _ACEOF
2707 if ac_fn_c_try_compile "$LINENO"; then :
2708 eval "$4=yes"
2709 else
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2714 main ()
2716 static $2 ac_aggr;
2717 if (sizeof ac_aggr.$3)
2718 return 0;
2720 return 0;
2722 _ACEOF
2723 if ac_fn_c_try_compile "$LINENO"; then :
2724 eval "$4=yes"
2725 else
2726 eval "$4=no"
2728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732 eval ac_res=\$$4
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_member
2739 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2740 # -------------------------------------------
2741 # Tests whether TYPE exists after having included INCLUDES, setting cache
2742 # variable VAR accordingly.
2743 ac_fn_c_check_type ()
2745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2747 $as_echo_n "checking for $2... " >&6; }
2748 if eval \${$3+:} false; then :
2749 $as_echo_n "(cached) " >&6
2750 else
2751 eval "$3=no"
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2756 main ()
2758 if (sizeof ($2))
2759 return 0;
2761 return 0;
2763 _ACEOF
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2769 main ()
2771 if (sizeof (($2)))
2772 return 0;
2774 return 0;
2776 _ACEOF
2777 if ac_fn_c_try_compile "$LINENO"; then :
2779 else
2780 eval "$3=yes"
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 eval ac_res=\$$3
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 } # ac_fn_c_check_type
2792 cat >config.log <<_ACEOF
2793 This file contains any messages produced by compilers while
2794 running configure, to aid debugging if configure makes a mistake.
2796 It was created by Wine $as_me 1.7.34, which was
2797 generated by GNU Autoconf 2.69. Invocation command line was
2799 $ $0 $@
2801 _ACEOF
2802 exec 5>>config.log
2804 cat <<_ASUNAME
2805 ## --------- ##
2806 ## Platform. ##
2807 ## --------- ##
2809 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2810 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2811 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2812 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2813 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2815 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2816 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2818 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2819 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2820 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2821 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2822 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2823 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2824 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2826 _ASUNAME
2828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 for as_dir in $PATH
2831 IFS=$as_save_IFS
2832 test -z "$as_dir" && as_dir=.
2833 $as_echo "PATH: $as_dir"
2834 done
2835 IFS=$as_save_IFS
2837 } >&5
2839 cat >&5 <<_ACEOF
2842 ## ----------- ##
2843 ## Core tests. ##
2844 ## ----------- ##
2846 _ACEOF
2849 # Keep a trace of the command line.
2850 # Strip out --no-create and --no-recursion so they do not pile up.
2851 # Strip out --silent because we don't want to record it for future runs.
2852 # Also quote any args containing shell meta-characters.
2853 # Make two passes to allow for proper duplicate-argument suppression.
2854 ac_configure_args=
2855 ac_configure_args0=
2856 ac_configure_args1=
2857 ac_must_keep_next=false
2858 for ac_pass in 1 2
2860 for ac_arg
2862 case $ac_arg in
2863 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2865 | -silent | --silent | --silen | --sile | --sil)
2866 continue ;;
2867 *\'*)
2868 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2869 esac
2870 case $ac_pass in
2871 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2873 as_fn_append ac_configure_args1 " '$ac_arg'"
2874 if test $ac_must_keep_next = true; then
2875 ac_must_keep_next=false # Got value, back to normal.
2876 else
2877 case $ac_arg in
2878 *=* | --config-cache | -C | -disable-* | --disable-* \
2879 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2880 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2881 | -with-* | --with-* | -without-* | --without-* | --x)
2882 case "$ac_configure_args0 " in
2883 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2884 esac
2886 -* ) ac_must_keep_next=true ;;
2887 esac
2889 as_fn_append ac_configure_args " '$ac_arg'"
2891 esac
2892 done
2893 done
2894 { ac_configure_args0=; unset ac_configure_args0;}
2895 { ac_configure_args1=; unset ac_configure_args1;}
2897 # When interrupted or exit'd, cleanup temporary files, and complete
2898 # config.log. We remove comments because anyway the quotes in there
2899 # would cause problems or look ugly.
2900 # WARNING: Use '\'' to represent an apostrophe within the trap.
2901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2902 trap 'exit_status=$?
2903 # Save into config.log some information that might help in debugging.
2905 echo
2907 $as_echo "## ---------------- ##
2908 ## Cache variables. ##
2909 ## ---------------- ##"
2910 echo
2911 # The following way of writing the cache mishandles newlines in values,
2913 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2914 eval ac_val=\$$ac_var
2915 case $ac_val in #(
2916 *${as_nl}*)
2917 case $ac_var in #(
2918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2920 esac
2921 case $ac_var in #(
2922 _ | IFS | as_nl) ;; #(
2923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
2925 esac ;;
2926 esac
2927 done
2928 (set) 2>&1 |
2929 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2930 *${as_nl}ac_space=\ *)
2931 sed -n \
2932 "s/'\''/'\''\\\\'\'''\''/g;
2933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2934 ;; #(
2936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2938 esac |
2939 sort
2941 echo
2943 $as_echo "## ----------------- ##
2944 ## Output variables. ##
2945 ## ----------------- ##"
2946 echo
2947 for ac_var in $ac_subst_vars
2949 eval ac_val=\$$ac_var
2950 case $ac_val in
2951 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2952 esac
2953 $as_echo "$ac_var='\''$ac_val'\''"
2954 done | sort
2955 echo
2957 if test -n "$ac_subst_files"; then
2958 $as_echo "## ------------------- ##
2959 ## File substitutions. ##
2960 ## ------------------- ##"
2961 echo
2962 for ac_var in $ac_subst_files
2964 eval ac_val=\$$ac_var
2965 case $ac_val in
2966 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2967 esac
2968 $as_echo "$ac_var='\''$ac_val'\''"
2969 done | sort
2970 echo
2973 if test -s confdefs.h; then
2974 $as_echo "## ----------- ##
2975 ## confdefs.h. ##
2976 ## ----------- ##"
2977 echo
2978 cat confdefs.h
2979 echo
2981 test "$ac_signal" != 0 &&
2982 $as_echo "$as_me: caught signal $ac_signal"
2983 $as_echo "$as_me: exit $exit_status"
2984 } >&5
2985 rm -f core *.core core.conftest.* &&
2986 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2987 exit $exit_status
2989 for ac_signal in 1 2 13 15; do
2990 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2991 done
2992 ac_signal=0
2994 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2995 rm -f -r conftest* confdefs.h
2997 $as_echo "/* confdefs.h */" > confdefs.h
2999 # Predefined preprocessor variables.
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_NAME "$PACKAGE_NAME"
3003 _ACEOF
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3007 _ACEOF
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_STRING "$PACKAGE_STRING"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3019 _ACEOF
3021 cat >>confdefs.h <<_ACEOF
3022 #define PACKAGE_URL "$PACKAGE_URL"
3023 _ACEOF
3026 # Let the site file select an alternate cache file if it wants to.
3027 # Prefer an explicitly selected file to automatically selected ones.
3028 ac_site_file1=NONE
3029 ac_site_file2=NONE
3030 if test -n "$CONFIG_SITE"; then
3031 # We do not want a PATH search for config.site.
3032 case $CONFIG_SITE in #((
3033 -*) ac_site_file1=./$CONFIG_SITE;;
3034 */*) ac_site_file1=$CONFIG_SITE;;
3035 *) ac_site_file1=./$CONFIG_SITE;;
3036 esac
3037 elif test "x$prefix" != xNONE; then
3038 ac_site_file1=$prefix/share/config.site
3039 ac_site_file2=$prefix/etc/config.site
3040 else
3041 ac_site_file1=$ac_default_prefix/share/config.site
3042 ac_site_file2=$ac_default_prefix/etc/config.site
3044 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3046 test "x$ac_site_file" = xNONE && continue
3047 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3049 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3050 sed 's/^/| /' "$ac_site_file" >&5
3051 . "$ac_site_file" \
3052 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $? "failed to load site script $ac_site_file
3055 See \`config.log' for more details" "$LINENO" 5; }
3057 done
3059 if test -r "$cache_file"; then
3060 # Some versions of bash will fail to source /dev/null (special files
3061 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3062 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3064 $as_echo "$as_me: loading cache $cache_file" >&6;}
3065 case $cache_file in
3066 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3067 *) . "./$cache_file";;
3068 esac
3070 else
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3072 $as_echo "$as_me: creating cache $cache_file" >&6;}
3073 >$cache_file
3076 # Check that the precious variables saved in the cache have kept the same
3077 # value.
3078 ac_cache_corrupted=false
3079 for ac_var in $ac_precious_vars; do
3080 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3081 eval ac_new_set=\$ac_env_${ac_var}_set
3082 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3083 eval ac_new_val=\$ac_env_${ac_var}_value
3084 case $ac_old_set,$ac_new_set in
3085 set,)
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3088 ac_cache_corrupted=: ;;
3089 ,set)
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3092 ac_cache_corrupted=: ;;
3093 ,);;
3095 if test "x$ac_old_val" != "x$ac_new_val"; then
3096 # differences in whitespace do not lead to failure.
3097 ac_old_val_w=`echo x $ac_old_val`
3098 ac_new_val_w=`echo x $ac_new_val`
3099 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3101 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3102 ac_cache_corrupted=:
3103 else
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3105 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3106 eval $ac_var=\$ac_old_val
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3109 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3111 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3112 fi;;
3113 esac
3114 # Pass precious variables to config.status.
3115 if test "$ac_new_set" = set; then
3116 case $ac_new_val in
3117 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3118 *) ac_arg=$ac_var=$ac_new_val ;;
3119 esac
3120 case " $ac_configure_args " in
3121 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3122 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3123 esac
3125 done
3126 if $ac_cache_corrupted; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3130 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3131 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3133 ## -------------------- ##
3134 ## Main body of script. ##
3135 ## -------------------- ##
3137 ac_ext=c
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3145 ac_config_headers="$ac_config_headers include/config.h"
3147 ac_aux_dir=
3148 for ac_dir in tools "$srcdir"/tools; do
3149 if test -f "$ac_dir/install-sh"; then
3150 ac_aux_dir=$ac_dir
3151 ac_install_sh="$ac_aux_dir/install-sh -c"
3152 break
3153 elif test -f "$ac_dir/install.sh"; then
3154 ac_aux_dir=$ac_dir
3155 ac_install_sh="$ac_aux_dir/install.sh -c"
3156 break
3157 elif test -f "$ac_dir/shtool"; then
3158 ac_aux_dir=$ac_dir
3159 ac_install_sh="$ac_aux_dir/shtool install -c"
3160 break
3162 done
3163 if test -z "$ac_aux_dir"; then
3164 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3167 # These three variables are undocumented and unsupported,
3168 # and are intended to be withdrawn in a future Autoconf release.
3169 # They can cause serious problems if a builder's source tree is in a directory
3170 # whose full name contains unusual characters.
3171 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3172 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3173 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3177 libwine_version="1.0"
3181 # Check whether --enable-win16 was given.
3182 if test "${enable_win16+set}" = set; then :
3183 enableval=$enable_win16;
3186 # Check whether --enable-win64 was given.
3187 if test "${enable_win64+set}" = set; then :
3188 enableval=$enable_win64;
3191 # Check whether --enable-tests was given.
3192 if test "${enable_tests+set}" = set; then :
3193 enableval=$enable_tests;
3196 # Check whether --enable-maintainer-mode was given.
3197 if test "${enable_maintainer_mode+set}" = set; then :
3198 enableval=$enable_maintainer_mode;
3203 # Check whether --with-alsa was given.
3204 if test "${with_alsa+set}" = set; then :
3205 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3209 # Check whether --with-capi was given.
3210 if test "${with_capi+set}" = set; then :
3211 withval=$with_capi;
3215 # Check whether --with-cms was given.
3216 if test "${with_cms+set}" = set; then :
3217 withval=$with_cms;
3221 # Check whether --with-coreaudio was given.
3222 if test "${with_coreaudio+set}" = set; then :
3223 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3227 # Check whether --with-cups was given.
3228 if test "${with_cups+set}" = set; then :
3229 withval=$with_cups;
3233 # Check whether --with-curses was given.
3234 if test "${with_curses+set}" = set; then :
3235 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3239 # Check whether --with-dbus was given.
3240 if test "${with_dbus+set}" = set; then :
3241 withval=$with_dbus;
3245 # Check whether --with-fontconfig was given.
3246 if test "${with_fontconfig+set}" = set; then :
3247 withval=$with_fontconfig;
3251 # Check whether --with-freetype was given.
3252 if test "${with_freetype+set}" = set; then :
3253 withval=$with_freetype;
3257 # Check whether --with-gettext was given.
3258 if test "${with_gettext+set}" = set; then :
3259 withval=$with_gettext;
3263 # Check whether --with-gettextpo was given.
3264 if test "${with_gettextpo+set}" = set; then :
3265 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3269 # Check whether --with-gphoto was given.
3270 if test "${with_gphoto+set}" = set; then :
3271 withval=$with_gphoto;
3275 # Check whether --with-glu was given.
3276 if test "${with_glu+set}" = set; then :
3277 withval=$with_glu;
3281 # Check whether --with-gnutls was given.
3282 if test "${with_gnutls+set}" = set; then :
3283 withval=$with_gnutls;
3287 # Check whether --with-gsm was given.
3288 if test "${with_gsm+set}" = set; then :
3289 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3293 # Check whether --with-gstreamer was given.
3294 if test "${with_gstreamer+set}" = set; then :
3295 withval=$with_gstreamer;
3299 # Check whether --with-hal was given.
3300 if test "${with_hal+set}" = set; then :
3301 withval=$with_hal;
3305 # Check whether --with-jpeg was given.
3306 if test "${with_jpeg+set}" = set; then :
3307 withval=$with_jpeg;
3311 # Check whether --with-ldap was given.
3312 if test "${with_ldap+set}" = set; then :
3313 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3317 # Check whether --with-mpg123 was given.
3318 if test "${with_mpg123+set}" = set; then :
3319 withval=$with_mpg123;
3323 # Check whether --with-netapi was given.
3324 if test "${with_netapi+set}" = set; then :
3325 withval=$with_netapi;
3329 # Check whether --with-openal was given.
3330 if test "${with_openal+set}" = set; then :
3331 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3335 # Check whether --with-opencl was given.
3336 if test "${with_opencl+set}" = set; then :
3337 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3341 # Check whether --with-opengl was given.
3342 if test "${with_opengl+set}" = set; then :
3343 withval=$with_opengl;
3347 # Check whether --with-osmesa was given.
3348 if test "${with_osmesa+set}" = set; then :
3349 withval=$with_osmesa;
3353 # Check whether --with-oss was given.
3354 if test "${with_oss+set}" = set; then :
3355 withval=$with_oss;
3359 # Check whether --with-pcap was given.
3360 if test "${with_pcap+set}" = set; then :
3361 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3365 # Check whether --with-png was given.
3366 if test "${with_png+set}" = set; then :
3367 withval=$with_png;
3371 # Check whether --with-pthread was given.
3372 if test "${with_pthread+set}" = set; then :
3373 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3377 # Check whether --with-sane was given.
3378 if test "${with_sane+set}" = set; then :
3379 withval=$with_sane;
3383 # Check whether --with-tiff was given.
3384 if test "${with_tiff+set}" = set; then :
3385 withval=$with_tiff;
3389 # Check whether --with-v4l was given.
3390 if test "${with_v4l+set}" = set; then :
3391 withval=$with_v4l;
3395 # Check whether --with-xcomposite was given.
3396 if test "${with_xcomposite+set}" = set; then :
3397 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3401 # Check whether --with-xcursor was given.
3402 if test "${with_xcursor+set}" = set; then :
3403 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3407 # Check whether --with-xinerama was given.
3408 if test "${with_xinerama+set}" = set; then :
3409 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3413 # Check whether --with-xinput was given.
3414 if test "${with_xinput+set}" = set; then :
3415 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3419 # Check whether --with-xinput2 was given.
3420 if test "${with_xinput2+set}" = set; then :
3421 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3425 # Check whether --with-xml was given.
3426 if test "${with_xml+set}" = set; then :
3427 withval=$with_xml;
3431 # Check whether --with-xrandr was given.
3432 if test "${with_xrandr+set}" = set; then :
3433 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3437 # Check whether --with-xrender was given.
3438 if test "${with_xrender+set}" = set; then :
3439 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3443 # Check whether --with-xshape was given.
3444 if test "${with_xshape+set}" = set; then :
3445 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3449 # Check whether --with-xshm was given.
3450 if test "${with_xshm+set}" = set; then :
3451 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3455 # Check whether --with-xslt was given.
3456 if test "${with_xslt+set}" = set; then :
3457 withval=$with_xslt;
3461 # Check whether --with-xxf86vm was given.
3462 if test "${with_xxf86vm+set}" = set; then :
3463 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
3467 # Check whether --with-zlib was given.
3468 if test "${with_zlib+set}" = set; then :
3469 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3474 # Check whether --with-wine-tools was given.
3475 if test "${with_wine_tools+set}" = set; then :
3476 withval=$with_wine_tools;
3480 # Check whether --with-wine64 was given.
3481 if test "${with_wine64+set}" = set; then :
3482 withval=$with_wine64;
3486 # Make sure we can run config.sub.
3487 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3488 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3491 $as_echo_n "checking build system type... " >&6; }
3492 if ${ac_cv_build+:} false; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 ac_build_alias=$build_alias
3496 test "x$ac_build_alias" = x &&
3497 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3498 test "x$ac_build_alias" = x &&
3499 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3500 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3501 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3505 $as_echo "$ac_cv_build" >&6; }
3506 case $ac_cv_build in
3507 *-*-*) ;;
3508 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3509 esac
3510 build=$ac_cv_build
3511 ac_save_IFS=$IFS; IFS='-'
3512 set x $ac_cv_build
3513 shift
3514 build_cpu=$1
3515 build_vendor=$2
3516 shift; shift
3517 # Remember, the first character of IFS is used to create $*,
3518 # except with old shells:
3519 build_os=$*
3520 IFS=$ac_save_IFS
3521 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3525 $as_echo_n "checking host system type... " >&6; }
3526 if ${ac_cv_host+:} false; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 if test "x$host_alias" = x; then
3530 ac_cv_host=$ac_cv_build
3531 else
3532 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3538 $as_echo "$ac_cv_host" >&6; }
3539 case $ac_cv_host in
3540 *-*-*) ;;
3541 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3542 esac
3543 host=$ac_cv_host
3544 ac_save_IFS=$IFS; IFS='-'
3545 set x $ac_cv_host
3546 shift
3547 host_cpu=$1
3548 host_vendor=$2
3549 shift; shift
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3552 host_os=$*
3553 IFS=$ac_save_IFS
3554 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3558 case "$srcdir" in
3559 .) ;;
3560 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3561 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3562 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3563 fi ;;
3564 esac
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3569 set x ${MAKE-make}
3570 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3571 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3572 $as_echo_n "(cached) " >&6
3573 else
3574 cat >conftest.make <<\_ACEOF
3575 SHELL = /bin/sh
3576 all:
3577 @echo '@@@%%%=$(MAKE)=@@@%%%'
3578 _ACEOF
3579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3581 *@@@%%%=?*=@@@%%%*)
3582 eval ac_cv_prog_make_${ac_make}_set=yes;;
3584 eval ac_cv_prog_make_${ac_make}_set=no;;
3585 esac
3586 rm -f conftest.make
3588 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 $as_echo "yes" >&6; }
3591 SET_MAKE=
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 SET_MAKE="MAKE=${MAKE-make}"
3598 ac_ext=c
3599 ac_cpp='$CPP $CPPFLAGS'
3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC="$CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 CC=$ac_cv_prog_CC
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3643 ac_ct_CC=$CC
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CC="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x; then
3681 CC=""
3682 else
3683 case $cross_compiling:$ac_tool_warned in
3684 yes:)
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned=yes ;;
3688 esac
3689 CC=$ac_ct_CC
3691 else
3692 CC="$ac_cv_prog_CC"
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy ${ac_tool_prefix}cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3724 CC=$ac_cv_prog_CC
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 ac_prog_rejected=no
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected=yes
3757 continue
3759 ac_cv_prog_CC="cc"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy $ac_cv_prog_CC
3770 shift
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3775 shift
3776 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3834 done
3836 if test -z "$CC"; then
3837 ac_ct_CC=$CC
3838 for ac_prog in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy $ac_prog; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_CC="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3878 done
3880 if test "x$ac_ct_CC" = x; then
3881 CC=""
3882 else
3883 case $cross_compiling:$ac_tool_warned in
3884 yes:)
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned=yes ;;
3888 esac
3889 CC=$ac_ct_CC
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $? "no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details" "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3903 set X $ac_compile
3904 ac_compiler=$2
3905 for ac_option in --version -v -V -qversion; do
3906 { { ac_try="$ac_compiler $ac_option >&5"
3907 case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3910 esac
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3914 ac_status=$?
3915 if test -s conftest.err; then
3916 sed '10a\
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 done
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3930 main ()
3934 return 0;
3936 _ACEOF
3937 ac_clean_files_save=$ac_clean_files
3938 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3939 # Try to create an executable without -o first, disregard a.out.
3940 # It will help us diagnose broken compilers, and finding out an intuition
3941 # of exeext.
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3943 $as_echo_n "checking whether the C compiler works... " >&6; }
3944 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3946 # The possible output files:
3947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3949 ac_rmfiles=
3950 for ac_file in $ac_files
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3955 esac
3956 done
3957 rm -f $ac_rmfiles
3959 if { { ac_try="$ac_link_default"
3960 case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3963 esac
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_link_default") 2>&5
3967 ac_status=$?
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3973 # so that the user can short-circuit this test for compilers unknown to
3974 # Autoconf.
3975 for ac_file in $ac_files ''
3977 test -f "$ac_file" || continue
3978 case $ac_file in
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3981 [ab].out )
3982 # We found the default executable, but exeext='' is most
3983 # certainly right.
3984 break;;
3985 *.* )
3986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3987 then :; else
3988 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 # We set ac_cv_exeext here because the later test for it is not
3991 # safe: cross compilers may not add the suffix if given an `-o'
3992 # argument, so we may need to know it at that point already.
3993 # Even if this section looks crufty: it has the advantage of
3994 # actually working.
3995 break;;
3997 break;;
3998 esac
3999 done
4000 test "$ac_cv_exeext" = no && ac_cv_exeext=
4002 else
4003 ac_file=''
4005 if test -z "$ac_file"; then :
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 $as_echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.$ac_ext >&5
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error 77 "C compiler cannot create executables
4014 See \`config.log' for more details" "$LINENO" 5; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4020 $as_echo_n "checking for C compiler default output file name... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4022 $as_echo "$ac_file" >&6; }
4023 ac_exeext=$ac_cv_exeext
4025 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4026 ac_clean_files=$ac_clean_files_save
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4037 ac_status=$?
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4041 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 # `rm'.
4044 for ac_file in conftest.exe conftest conftest.*; do
4045 test -f "$ac_file" || continue
4046 case $ac_file in
4047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4048 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 break;;
4050 * ) break;;
4051 esac
4052 done
4053 else
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 rm -f conftest conftest$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.$ac_ext
4064 EXEEXT=$ac_cv_exeext
4065 ac_exeext=$EXEEXT
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4068 #include <stdio.h>
4070 main ()
4072 FILE *f = fopen ("conftest.out", "w");
4073 return ferror (f) || fclose (f) != 0;
4076 return 0;
4078 _ACEOF
4079 ac_clean_files="$ac_clean_files conftest.out"
4080 # Check that the compiler produces executables we can run. If not, either
4081 # the compiler is broken, or we cross compile.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4083 $as_echo_n "checking whether we are cross compiling... " >&6; }
4084 if test "$cross_compiling" != yes; then
4085 { { ac_try="$ac_link"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_link") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }
4096 if { ac_try='./conftest$ac_cv_exeext'
4097 { { case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_try") 2>&5
4104 ac_status=$?
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; }; then
4107 cross_compiling=no
4108 else
4109 if test "$cross_compiling" = maybe; then
4110 cross_compiling=yes
4111 else
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $? "cannot run C compiled programs.
4115 If you meant to cross compile, use \`--host'.
4116 See \`config.log' for more details" "$LINENO" 5; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4121 $as_echo "$cross_compiling" >&6; }
4123 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4124 ac_clean_files=$ac_clean_files_save
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4126 $as_echo_n "checking for suffix of object files... " >&6; }
4127 if ${ac_cv_objext+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4134 main ()
4138 return 0;
4140 _ACEOF
4141 rm -f conftest.o conftest.obj
4142 if { { ac_try="$ac_compile"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compile") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 for ac_file in conftest.o conftest.obj conftest.*; do
4154 test -f "$ac_file" || continue;
4155 case $ac_file in
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4157 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4158 break;;
4159 esac
4160 done
4161 else
4162 $as_echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of object files: cannot compile
4168 See \`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4173 $as_echo "$ac_cv_objext" >&6; }
4174 OBJEXT=$ac_cv_objext
4175 ac_objext=$OBJEXT
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4177 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4178 if ${ac_cv_c_compiler_gnu+:} false; then :
4179 $as_echo_n "(cached) " >&6
4180 else
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4185 main ()
4187 #ifndef __GNUC__
4188 choke me
4189 #endif
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4196 ac_compiler_gnu=yes
4197 else
4198 ac_compiler_gnu=no
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4205 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4206 if test $ac_compiler_gnu = yes; then
4207 GCC=yes
4208 else
4209 GCC=
4211 ac_test_CFLAGS=${CFLAGS+set}
4212 ac_save_CFLAGS=$CFLAGS
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4214 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4215 if ${ac_cv_prog_cc_g+:} false; then :
4216 $as_echo_n "(cached) " >&6
4217 else
4218 ac_save_c_werror_flag=$ac_c_werror_flag
4219 ac_c_werror_flag=yes
4220 ac_cv_prog_cc_g=no
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4235 else
4236 CFLAGS=""
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4241 main ()
4245 return 0;
4247 _ACEOF
4248 if ac_fn_c_try_compile "$LINENO"; then :
4250 else
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4252 CFLAGS="-g"
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_prog_cc_g=yes
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_c_werror_flag=$ac_save_c_werror_flag
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4275 $as_echo "$ac_cv_prog_cc_g" >&6; }
4276 if test "$ac_test_CFLAGS" = set; then
4277 CFLAGS=$ac_save_CFLAGS
4278 elif test $ac_cv_prog_cc_g = yes; then
4279 if test "$GCC" = yes; then
4280 CFLAGS="-g -O2"
4281 else
4282 CFLAGS="-g"
4284 else
4285 if test "$GCC" = yes; then
4286 CFLAGS="-O2"
4287 else
4288 CFLAGS=
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4292 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4293 if ${ac_cv_prog_cc_c89+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 ac_cv_prog_cc_c89=no
4297 ac_save_CC=$CC
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300 #include <stdarg.h>
4301 #include <stdio.h>
4302 struct stat;
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4307 char **p;
4308 int i;
4310 return p[i];
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4314 char *s;
4315 va_list v;
4316 va_start (v,p);
4317 s = g (p, va_arg (v,int));
4318 va_end (v);
4319 return s;
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4323 function prototypes and stuff, but not '\xHH' hex character constants.
4324 These don't provoke an error unfortunately, instead are silently treated
4325 as 'x'. The following induces an error, until -std is added to get
4326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4327 array size at least. It's necessary to write '\x00'==0 to get something
4328 that's true only with -std. */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332 inside strings and character constants. */
4333 #define FOO(x) 'x'
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4340 int argc;
4341 char **argv;
4343 main ()
4345 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4347 return 0;
4349 _ACEOF
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4353 CC="$ac_save_CC $ac_arg"
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_c89=$ac_arg
4357 rm -f core conftest.err conftest.$ac_objext
4358 test "x$ac_cv_prog_cc_c89" != "xno" && break
4359 done
4360 rm -f conftest.$ac_ext
4361 CC=$ac_save_CC
4364 # AC_CACHE_VAL
4365 case "x$ac_cv_prog_cc_c89" in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4369 xno)
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4373 CC="$CC $ac_cv_prog_cc_c89"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4376 esac
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4381 ac_ext=c
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 ac_ext=cpp
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393 if test -n "$CCC"; then
4394 CXX=$CCC
4395 else
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$CXX"; then
4407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 CXX=$ac_cv_prog_CXX
4427 if test -n "$CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CXX" && break
4437 done
4439 if test -z "$CXX"; then
4440 ac_ct_CXX=$CXX
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 if test -n "$ac_ct_CXX"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4452 else
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH
4456 IFS=$as_save_IFS
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_ac_ct_CXX="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 break 2
4464 done
4465 done
4466 IFS=$as_save_IFS
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4474 else
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CXX" && break
4481 done
4483 if test "x$ac_ct_CXX" = x; then
4484 CXX="g++"
4485 else
4486 case $cross_compiling:$ac_tool_warned in
4487 yes:)
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4491 esac
4492 CXX=$ac_ct_CXX
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4500 set X $ac_compile
4501 ac_compiler=$2
4502 for ac_option in --version -v -V -qversion; do
4503 { { ac_try="$ac_compiler $ac_option >&5"
4504 case "(($ac_try" in
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4507 esac
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4511 ac_status=$?
4512 if test -s conftest.err; then
4513 sed '10a\
4514 ... rest of stderr output deleted ...
4515 10q' conftest.err >conftest.er1
4516 cat conftest.er1 >&5
4518 rm -f conftest.er1 conftest.err
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4521 done
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4532 main ()
4534 #ifndef __GNUC__
4535 choke me
4536 #endif
4539 return 0;
4541 _ACEOF
4542 if ac_fn_cxx_try_compile "$LINENO"; then :
4543 ac_compiler_gnu=yes
4544 else
4545 ac_compiler_gnu=no
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4548 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4554 GXX=yes
4555 else
4556 GXX=
4558 ac_test_CXXFLAGS=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4566 ac_cxx_werror_flag=yes
4567 ac_cv_prog_cxx_g=no
4568 CXXFLAGS="-g"
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4573 main ()
4577 return 0;
4579 _ACEOF
4580 if ac_fn_cxx_try_compile "$LINENO"; then :
4581 ac_cv_prog_cxx_g=yes
4582 else
4583 CXXFLAGS=""
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4588 main ()
4592 return 0;
4594 _ACEOF
4595 if ac_fn_cxx_try_compile "$LINENO"; then :
4597 else
4598 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4599 CXXFLAGS="-g"
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4608 return 0;
4610 _ACEOF
4611 if ac_fn_cxx_try_compile "$LINENO"; then :
4612 ac_cv_prog_cxx_g=yes
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624 CXXFLAGS=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626 if test "$GXX" = yes; then
4627 CXXFLAGS="-g -O2"
4628 else
4629 CXXFLAGS="-g"
4631 else
4632 if test "$GXX" = yes; then
4633 CXXFLAGS="-O2"
4634 else
4635 CXXFLAGS=
4638 ac_ext=c
4639 ac_cpp='$CPP $CPPFLAGS'
4640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4644 if test -n "$ac_tool_prefix"; then
4645 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4646 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_CPPBIN+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 if test -n "$CPPBIN"; then
4653 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 test -z "$as_dir" && as_dir=.
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 break 2
4666 done
4667 done
4668 IFS=$as_save_IFS
4672 CPPBIN=$ac_cv_prog_CPPBIN
4673 if test -n "$CPPBIN"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4675 $as_echo "$CPPBIN" >&6; }
4676 else
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4683 if test -z "$ac_cv_prog_CPPBIN"; then
4684 ac_ct_CPPBIN=$CPPBIN
4685 # Extract the first word of "cpp", so it can be a program name with args.
4686 set dummy cpp; ac_word=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4690 $as_echo_n "(cached) " >&6
4691 else
4692 if test -n "$ac_ct_CPPBIN"; then
4693 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4694 else
4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696 for as_dir in $PATH
4698 IFS=$as_save_IFS
4699 test -z "$as_dir" && as_dir=.
4700 for ac_exec_ext in '' $ac_executable_extensions; do
4701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CPPBIN="cpp"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 break 2
4706 done
4707 done
4708 IFS=$as_save_IFS
4712 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4713 if test -n "$ac_ct_CPPBIN"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4715 $as_echo "$ac_ct_CPPBIN" >&6; }
4716 else
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4721 if test "x$ac_ct_CPPBIN" = x; then
4722 CPPBIN="cpp"
4723 else
4724 case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730 CPPBIN=$ac_ct_CPPBIN
4732 else
4733 CPPBIN="$ac_cv_prog_CPPBIN"
4737 cat >>confdefs.h <<_ACEOF
4738 #define EXEEXT "$ac_exeext"
4739 _ACEOF
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4743 set dummy ${ac_tool_prefix}ld; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_LD+:} false; then :
4747 $as_echo_n "(cached) " >&6
4748 else
4749 if test -n "$LD"; then
4750 ac_cv_prog_LD="$LD" # Let the user override the test.
4751 else
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH
4755 IFS=$as_save_IFS
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_LD="${ac_tool_prefix}ld"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 break 2
4763 done
4764 done
4765 IFS=$as_save_IFS
4769 LD=$ac_cv_prog_LD
4770 if test -n "$LD"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4772 $as_echo "$LD" >&6; }
4773 else
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4780 if test -z "$ac_cv_prog_LD"; then
4781 ac_ct_LD=$LD
4782 # Extract the first word of "ld", so it can be a program name with args.
4783 set dummy ld; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4787 $as_echo_n "(cached) " >&6
4788 else
4789 if test -n "$ac_ct_LD"; then
4790 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4791 else
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in $PATH
4795 IFS=$as_save_IFS
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_ac_ct_LD="ld"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 break 2
4803 done
4804 done
4805 IFS=$as_save_IFS
4809 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4810 if test -n "$ac_ct_LD"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4812 $as_echo "$ac_ct_LD" >&6; }
4813 else
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4818 if test "x$ac_ct_LD" = x; then
4819 LD=""
4820 else
4821 case $cross_compiling:$ac_tool_warned in
4822 yes:)
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned=yes ;;
4826 esac
4827 LD=$ac_ct_LD
4829 else
4830 LD="$ac_cv_prog_LD"
4834 case $host in
4835 *-darwin*)
4836 if test "x$enable_win64" = "xyes"
4837 then
4838 CC="$CC -m64"
4839 CXX="$CXX -m64"
4840 host_cpu="x86_64"
4841 notice_platform="64-bit "
4842 TARGETFLAGS="-m64"
4844 else
4845 CC="$CC -m32"
4846 CXX="$CXX -m32"
4847 host_cpu="i386"
4848 notice_platform="32-bit "
4849 TARGETFLAGS="-m32"
4851 enable_win16=${enable_win16:-yes}
4853 with_fontconfig=${with_fontconfig:-no}
4855 x86_64*)
4856 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4857 then
4858 CC="$CC -m32"
4859 CXX="$CXX -m32"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4861 $as_echo_n "checking whether $CC works... " >&6; }
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 if ac_fn_c_try_link "$LINENO"; then :
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4876 $as_echo "yes" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4882 rm -f core conftest.err conftest.$ac_objext \
4883 conftest$ac_exeext conftest.$ac_ext
4884 host_cpu="i386"
4885 notice_platform="32-bit "
4886 TARGETFLAGS="-m32"
4888 enable_win16=${enable_win16:-yes}
4889 else
4890 if test "x${GCC}" = "xyes"
4891 then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4893 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4896 #include <stdarg.h>
4898 main ()
4900 void func(__builtin_ms_va_list *args);
4902 return 0;
4904 _ACEOF
4905 if ac_fn_c_try_compile "$LINENO"; then :
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907 $as_echo "yes" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4911 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 TARGETFLAGS="-m64"
4919 arm*)
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4921 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 int ac_test(int i) { return i; }
4926 main ()
4928 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4930 return 0;
4932 _ACEOF
4933 if ac_fn_c_try_link "$LINENO"; then :
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4941 rm -f core conftest.err conftest.$ac_objext \
4942 conftest$ac_exeext conftest.$ac_ext
4943 CFLAGS="$CFLAGS -marm"
4944 TARGETFLAGS="-marm"
4947 *-mingw32*|*-cygwin*)
4948 enable_win16=${enable_win16:-no}
4949 CFLAGS="$CFLAGS -D_WIN32"
4951 i[3456789]86*)
4952 enable_win16=${enable_win16:-yes}
4954 esac
4956 enable_win16=${enable_win16:-no}
4957 enable_win64=${enable_win64:-no}
4959 enable_winetest=${enable_winetest:-$enable_tests}
4961 if test -n "$with_wine64"
4962 then
4963 if test "x$enable_win64" = "xyes"
4964 then
4965 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4966 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4968 enable_fonts=${enable_fonts:-no}
4969 enable_server=${enable_server:-no}
4970 elif test "x$enable_win64" = "xyes"
4971 then
4972 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4976 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4977 if ${wine_cv_toolsdir+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 wine_cv_toolsdir="$with_wine_tools"
4981 if test -z "$with_wine_tools"; then
4982 if test "$cross_compiling" = "yes"; then
4983 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4984 elif test -n "$with_wine64"; then
4985 wine_cv_toolsdir="$with_wine64"
4988 if test -z "$wine_cv_toolsdir"; then
4989 wine_makedep=tools/makedep
4990 wine_cv_toolsdir="\$(top_builddir)"
4991 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4992 wine_makedep=$wine_cv_toolsdir/tools/makedep
4993 case "$wine_cv_toolsdir" in
4994 /*) ;;
4995 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4996 esac
4997 enable_tools=${enable_tools:-no}
4998 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4999 else
5000 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5004 $as_echo "$wine_cv_toolsdir" >&6; }
5005 TOOLSDIR=$wine_cv_toolsdir
5007 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5008 then
5009 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5013 for ac_prog in flex
5015 # Extract the first word of "$ac_prog", so it can be a program name with args.
5016 set dummy $ac_prog; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_FLEX+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 if test -n "$FLEX"; then
5023 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5028 IFS=$as_save_IFS
5029 test -z "$as_dir" && as_dir=.
5030 for ac_exec_ext in '' $ac_executable_extensions; do
5031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_FLEX="$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 break 2
5036 done
5037 done
5038 IFS=$as_save_IFS
5042 FLEX=$ac_cv_prog_FLEX
5043 if test -n "$FLEX"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5045 $as_echo "$FLEX" >&6; }
5046 else
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$FLEX" && break
5053 done
5054 test -n "$FLEX" || FLEX="none"
5056 if test "$FLEX" = "none"
5057 then
5058 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5061 $as_echo_n "checking whether flex is recent enough... " >&6; }
5062 cat >conftest.l <<EOF
5063 %top{
5064 #include "prediluvian.h"
5068 if $FLEX -t conftest.l >/dev/null 2>&5
5069 then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5072 else
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5078 for ac_prog in bison
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy $ac_prog; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_BISON+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$BISON"; then
5088 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_BISON="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 BISON=$ac_cv_prog_BISON
5108 if test -n "$BISON"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5110 $as_echo "$BISON" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$BISON" && break
5118 done
5119 test -n "$BISON" || BISON="none"
5121 if test "$BISON" = "none"
5122 then
5123 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog in ar gar
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_AR+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$AR"; then
5137 ac_cv_prog_AR="$AR" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 AR=$ac_cv_prog_AR
5157 if test -n "$AR"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5159 $as_echo "$AR" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$AR" && break
5167 done
5169 if test -z "$AR"; then
5170 ac_ct_AR=$AR
5171 for ac_prog in ar gar
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy $ac_prog; 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_AR+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_AR"; then
5181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="$ac_prog"
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_AR=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_AR" && break
5211 done
5213 if test "x$ac_ct_AR" = x; then
5214 AR="ar"
5215 else
5216 case $cross_compiling:$ac_tool_warned in
5217 yes:)
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned=yes ;;
5221 esac
5222 AR=$ac_ct_AR
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}strip; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_STRIP+:} false; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$STRIP"; then
5235 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5250 IFS=$as_save_IFS
5254 STRIP=$ac_cv_prog_STRIP
5255 if test -n "$STRIP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5257 $as_echo "$STRIP" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_STRIP"; then
5266 ac_ct_STRIP=$STRIP
5267 # Extract the first word of "strip", so it can be a program name with args.
5268 set dummy strip; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$ac_ct_STRIP"; then
5275 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_STRIP="strip"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5295 if test -n "$ac_ct_STRIP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5297 $as_echo "$ac_ct_STRIP" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_STRIP" = x; then
5304 STRIP="strip"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 STRIP=$ac_ct_STRIP
5314 else
5315 STRIP="$ac_cv_prog_STRIP"
5318 ARFLAGS=rc
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_RANLIB+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 if test -n "$RANLIB"; then
5329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5334 IFS=$as_save_IFS
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 break 2
5342 done
5343 done
5344 IFS=$as_save_IFS
5348 RANLIB=$ac_cv_prog_RANLIB
5349 if test -n "$RANLIB"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5351 $as_echo "$RANLIB" >&6; }
5352 else
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_prog_RANLIB"; then
5360 ac_ct_RANLIB=$RANLIB
5361 # Extract the first word of "ranlib", so it can be a program name with args.
5362 set dummy ranlib; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 if test -n "$ac_ct_RANLIB"; then
5369 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5374 IFS=$as_save_IFS
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_RANLIB="ranlib"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 break 2
5382 done
5383 done
5384 IFS=$as_save_IFS
5388 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5389 if test -n "$ac_ct_RANLIB"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5391 $as_echo "$ac_ct_RANLIB" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5397 if test "x$ac_ct_RANLIB" = x; then
5398 RANLIB=":"
5399 else
5400 case $cross_compiling:$ac_tool_warned in
5401 yes:)
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406 RANLIB=$ac_ct_RANLIB
5408 else
5409 RANLIB="$ac_cv_prog_RANLIB"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5413 $as_echo_n "checking whether ln -s works... " >&6; }
5414 LN_S=$as_ln_s
5415 if test "$LN_S" = "ln -s"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5418 else
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5420 $as_echo "no, using $LN_S" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5424 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5425 if ${ac_cv_path_GREP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if test -z "$GREP"; then
5429 ac_path_GREP_found=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5434 IFS=$as_save_IFS
5435 test -z "$as_dir" && as_dir=.
5436 for ac_prog in grep ggrep; do
5437 for ac_exec_ext in '' $ac_executable_extensions; do
5438 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5439 as_fn_executable_p "$ac_path_GREP" || continue
5440 # Check for GNU ac_path_GREP and select it if it is found.
5441 # Check for GNU $ac_path_GREP
5442 case `"$ac_path_GREP" --version 2>&1` in
5443 *GNU*)
5444 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5446 ac_count=0
5447 $as_echo_n 0123456789 >"conftest.in"
5448 while :
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'GREP' >> "conftest.nl"
5454 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5456 as_fn_arith $ac_count + 1 && ac_count=$as_val
5457 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_GREP="$ac_path_GREP"
5460 ac_path_GREP_max=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5464 done
5465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5466 esac
5468 $ac_path_GREP_found && break 3
5469 done
5470 done
5471 done
5472 IFS=$as_save_IFS
5473 if test -z "$ac_cv_path_GREP"; then
5474 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5476 else
5477 ac_cv_path_GREP=$GREP
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5482 $as_echo "$ac_cv_path_GREP" >&6; }
5483 GREP="$ac_cv_path_GREP"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5487 $as_echo_n "checking for egrep... " >&6; }
5488 if ${ac_cv_path_EGREP+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5492 then ac_cv_path_EGREP="$GREP -E"
5493 else
5494 if test -z "$EGREP"; then
5495 ac_path_EGREP_found=false
5496 # Loop through the user's path and test for each of PROGNAME-LIST
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_prog in egrep; do
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5505 as_fn_executable_p "$ac_path_EGREP" || continue
5506 # Check for GNU ac_path_EGREP and select it if it is found.
5507 # Check for GNU $ac_path_EGREP
5508 case `"$ac_path_EGREP" --version 2>&1` in
5509 *GNU*)
5510 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5512 ac_count=0
5513 $as_echo_n 0123456789 >"conftest.in"
5514 while :
5516 cat "conftest.in" "conftest.in" >"conftest.tmp"
5517 mv "conftest.tmp" "conftest.in"
5518 cp "conftest.in" "conftest.nl"
5519 $as_echo 'EGREP' >> "conftest.nl"
5520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5522 as_fn_arith $ac_count + 1 && ac_count=$as_val
5523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5524 # Best one so far, save it but keep looking for a better one
5525 ac_cv_path_EGREP="$ac_path_EGREP"
5526 ac_path_EGREP_max=$ac_count
5528 # 10*(2^10) chars as input seems more than enough
5529 test $ac_count -gt 10 && break
5530 done
5531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5532 esac
5534 $ac_path_EGREP_found && break 3
5535 done
5536 done
5537 done
5538 IFS=$as_save_IFS
5539 if test -z "$ac_cv_path_EGREP"; then
5540 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5542 else
5543 ac_cv_path_EGREP=$EGREP
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5549 $as_echo "$ac_cv_path_EGREP" >&6; }
5550 EGREP="$ac_cv_path_EGREP"
5553 # Extract the first word of "ldconfig", so it can be a program name with args.
5554 set dummy ldconfig; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_path_LDCONFIG+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 case $LDCONFIG in
5561 [\\/]* | ?:[\\/]*)
5562 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in /sbin /usr/sbin $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5580 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5582 esac
5584 LDCONFIG=$ac_cv_path_LDCONFIG
5585 if test -n "$LDCONFIG"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5587 $as_echo "$LDCONFIG" >&6; }
5588 else
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 for ac_prog in msgfmt
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy $ac_prog; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_MSGFMT+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 if test -n "$MSGFMT"; then
5604 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_exec_ext in '' $ac_executable_extensions; do
5612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_MSGFMT="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 break 2
5617 done
5618 done
5619 IFS=$as_save_IFS
5623 MSGFMT=$ac_cv_prog_MSGFMT
5624 if test -n "$MSGFMT"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5626 $as_echo "$MSGFMT" >&6; }
5627 else
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$MSGFMT" && break
5634 done
5635 test -n "$MSGFMT" || MSGFMT="false"
5637 if ${ac_tool_prefix+:} false; then :
5638 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5639 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 if test -n "$PKG_CONFIG"; then
5646 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 break 2
5659 done
5660 done
5661 IFS=$as_save_IFS
5665 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5666 if test -n "$PKG_CONFIG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5668 $as_echo "$PKG_CONFIG" >&6; }
5669 else
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5677 if test "x$cross_compiling" = xyes; then :
5679 else
5680 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5681 # Extract the first word of "pkg-config", so it can be a program name with args.
5682 set dummy pkg-config; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$PKG_CONFIG"; then
5689 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_PKG_CONFIG="pkg-config"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5709 if test -n "$PKG_CONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5711 $as_echo "$PKG_CONFIG" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5719 else
5720 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5723 if test "x$enable_maintainer_mode" != "xyes"
5724 then
5725 FONTFORGE=""
5726 RSVG=""
5727 CONVERT=""
5728 ICOTOOL=""
5729 else
5730 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5731 for ac_prog in fontforge
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy $ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_FONTFORGE+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$FONTFORGE"; then
5741 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_FONTFORGE="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5754 done
5755 done
5756 IFS=$as_save_IFS
5760 FONTFORGE=$ac_cv_prog_FONTFORGE
5761 if test -n "$FONTFORGE"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5763 $as_echo "$FONTFORGE" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$FONTFORGE" && break
5771 done
5772 test -n "$FONTFORGE" || FONTFORGE="false"
5774 for ac_prog in rsvg
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_RSVG+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$RSVG"; then
5784 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RSVG="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 RSVG=$ac_cv_prog_RSVG
5804 if test -n "$RSVG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5806 $as_echo "$RSVG" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$RSVG" && break
5814 done
5815 test -n "$RSVG" || RSVG="false"
5817 for ac_prog in convert
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_CONVERT+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$CONVERT"; then
5827 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_CONVERT="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 CONVERT=$ac_cv_prog_CONVERT
5847 if test -n "$CONVERT"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5849 $as_echo "$CONVERT" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$CONVERT" && break
5857 done
5858 test -n "$CONVERT" || CONVERT="false"
5860 for ac_prog in icotool
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy $ac_prog; ac_word=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_ICOTOOL+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 if test -n "$ICOTOOL"; then
5870 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5875 IFS=$as_save_IFS
5876 test -z "$as_dir" && as_dir=.
5877 for ac_exec_ext in '' $ac_executable_extensions; do
5878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_ICOTOOL="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 break 2
5883 done
5884 done
5885 IFS=$as_save_IFS
5889 ICOTOOL=$ac_cv_prog_ICOTOOL
5890 if test -n "$ICOTOOL"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5892 $as_echo "$ICOTOOL" >&6; }
5893 else
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ICOTOOL" && break
5900 done
5901 test -n "$ICOTOOL" || ICOTOOL="false"
5903 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5904 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5906 if test "$CONVERT" = false
5907 then
5908 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5909 else
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5911 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5912 convert_version=`convert --version | head -n1`
5913 if test "x$convert_version" != "x"
5914 then
5915 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5916 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5917 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5918 then
5919 CONVERT=false
5922 if test "$CONVERT" = false
5923 then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5925 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5926 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5927 else
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5933 if test "$ICOTOOL" = false
5934 then
5935 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5938 $as_echo_n "checking for recent enough icotool... " >&6; }
5939 icotool_version=`icotool --version | head -n1`
5940 if test "x$icotool_version" != "x"
5941 then
5942 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5945 then
5946 ICOTOOL=false
5947 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5950 if test "$ICOTOOL" = false
5951 then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5953 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5954 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5961 with_gettext=yes
5962 with_gettextpo=yes
5963 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5966 test "x$with_gettext" != xno || MSGFMT=false
5967 if test "$MSGFMT" != "false"
5968 then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5970 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5971 cat >conftest.po <<EOF
5972 # comment
5973 msgctxt "ctxt"
5974 msgid "id"
5975 msgstr "str"
5977 if $MSGFMT -o /dev/null conftest.po 2>&5
5978 then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5980 $as_echo "yes" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5984 MSGFMT=false
5987 if test "$MSGFMT" = false; then :
5988 case "x$with_gettext" in
5989 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5990 xno) ;;
5991 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5992 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5993 esac
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5998 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5999 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 ac_check_lib_save_LIBS=$LIBS
6003 LIBS="-li386 $LIBS"
6004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6005 /* end confdefs.h. */
6007 /* Override any GCC internal prototype to avoid an error.
6008 Use char because int might match the return type of a GCC
6009 builtin and then its argument prototype would still apply. */
6010 #ifdef __cplusplus
6011 extern "C"
6012 #endif
6013 char i386_set_ldt ();
6015 main ()
6017 return i386_set_ldt ();
6019 return 0;
6021 _ACEOF
6022 if ac_fn_c_try_link "$LINENO"; then :
6023 ac_cv_lib_i386_i386_set_ldt=yes
6024 else
6025 ac_cv_lib_i386_i386_set_ldt=no
6027 rm -f core conftest.err conftest.$ac_objext \
6028 conftest$ac_exeext conftest.$ac_ext
6029 LIBS=$ac_check_lib_save_LIBS
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6032 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6033 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6034 cat >>confdefs.h <<_ACEOF
6035 #define HAVE_LIBI386 1
6036 _ACEOF
6038 LIBS="-li386 $LIBS"
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6043 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6044 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 ac_check_lib_save_LIBS=$LIBS
6048 LIBS="-lossaudio $LIBS"
6049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6052 /* Override any GCC internal prototype to avoid an error.
6053 Use char because int might match the return type of a GCC
6054 builtin and then its argument prototype would still apply. */
6055 #ifdef __cplusplus
6056 extern "C"
6057 #endif
6058 char _oss_ioctl ();
6060 main ()
6062 return _oss_ioctl ();
6064 return 0;
6066 _ACEOF
6067 if ac_fn_c_try_link "$LINENO"; then :
6068 ac_cv_lib_ossaudio__oss_ioctl=yes
6069 else
6070 ac_cv_lib_ossaudio__oss_ioctl=no
6072 rm -f core conftest.err conftest.$ac_objext \
6073 conftest$ac_exeext conftest.$ac_ext
6074 LIBS=$ac_check_lib_save_LIBS
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6077 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6078 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6079 cat >>confdefs.h <<_ACEOF
6080 #define HAVE_LIBOSSAUDIO 1
6081 _ACEOF
6083 LIBS="-lossaudio $LIBS"
6088 OPENGL_LIBS=""
6092 # Check whether --enable-largefile was given.
6093 if test "${enable_largefile+set}" = set; then :
6094 enableval=$enable_largefile;
6097 if test "$enable_largefile" != no; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6100 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6101 if ${ac_cv_sys_largefile_CC+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 ac_cv_sys_largefile_CC=no
6105 if test "$GCC" != yes; then
6106 ac_save_CC=$CC
6107 while :; do
6108 # IRIX 6.2 and later do not support large files by default,
6109 # so use the C compiler's -n32 option if that helps.
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6120 ? 1 : -1];
6122 main ()
6126 return 0;
6128 _ACEOF
6129 if ac_fn_c_try_compile "$LINENO"; then :
6130 break
6132 rm -f core conftest.err conftest.$ac_objext
6133 CC="$CC -n32"
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135 ac_cv_sys_largefile_CC=' -n32'; break
6137 rm -f core conftest.err conftest.$ac_objext
6138 break
6139 done
6140 CC=$ac_save_CC
6141 rm -f conftest.$ac_ext
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6145 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6146 if test "$ac_cv_sys_largefile_CC" != no; then
6147 CC=$CC$ac_cv_sys_largefile_CC
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6151 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6152 if ${ac_cv_sys_file_offset_bits+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 while :; do
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6166 ? 1 : -1];
6168 main ()
6172 return 0;
6174 _ACEOF
6175 if ac_fn_c_try_compile "$LINENO"; then :
6176 ac_cv_sys_file_offset_bits=no; break
6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #define _FILE_OFFSET_BITS 64
6182 #include <sys/types.h>
6183 /* Check that off_t can represent 2**63 - 1 correctly.
6184 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6185 since some C++ compilers masquerading as C compilers
6186 incorrectly reject 9223372036854775807. */
6187 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6188 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6189 && LARGE_OFF_T % 2147483647 == 1)
6190 ? 1 : -1];
6192 main ()
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_compile "$LINENO"; then :
6200 ac_cv_sys_file_offset_bits=64; break
6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6203 ac_cv_sys_file_offset_bits=unknown
6204 break
6205 done
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6208 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6209 case $ac_cv_sys_file_offset_bits in #(
6210 no | unknown) ;;
6212 cat >>confdefs.h <<_ACEOF
6213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6214 _ACEOF
6216 esac
6217 rm -rf conftest*
6218 if test $ac_cv_sys_file_offset_bits = unknown; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6220 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6221 if ${ac_cv_sys_large_files+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 while :; do
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <sys/types.h>
6228 /* Check that off_t can represent 2**63 - 1 correctly.
6229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6230 since some C++ compilers masquerading as C compilers
6231 incorrectly reject 9223372036854775807. */
6232 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6234 && LARGE_OFF_T % 2147483647 == 1)
6235 ? 1 : -1];
6237 main ()
6241 return 0;
6243 _ACEOF
6244 if ac_fn_c_try_compile "$LINENO"; then :
6245 ac_cv_sys_large_files=no; break
6247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #define _LARGE_FILES 1
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6259 ? 1 : -1];
6261 main ()
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 ac_cv_sys_large_files=1; break
6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272 ac_cv_sys_large_files=unknown
6273 break
6274 done
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6277 $as_echo "$ac_cv_sys_large_files" >&6; }
6278 case $ac_cv_sys_large_files in #(
6279 no | unknown) ;;
6281 cat >>confdefs.h <<_ACEOF
6282 #define _LARGE_FILES $ac_cv_sys_large_files
6283 _ACEOF
6285 esac
6286 rm -rf conftest*
6293 ac_ext=c
6294 ac_cpp='$CPP $CPPFLAGS'
6295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6300 # On Suns, sometimes $CPP names a directory.
6301 if test -n "$CPP" && test -d "$CPP"; then
6302 CPP=
6304 if test -z "$CPP"; then
6305 if ${ac_cv_prog_CPP+:} false; then :
6306 $as_echo_n "(cached) " >&6
6307 else
6308 # Double quotes because CPP needs to be expanded
6309 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6311 ac_preproc_ok=false
6312 for ac_c_preproc_warn_flag in '' yes
6314 # Use a header file that comes with gcc, so configuring glibc
6315 # with a fresh cross-compiler works.
6316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 # <limits.h> exists even on freestanding compilers.
6318 # On the NeXT, cc -E runs the code through the compiler's parser,
6319 # not just through cpp. "Syntax error" is here to catch this case.
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 #ifdef __STDC__
6323 # include <limits.h>
6324 #else
6325 # include <assert.h>
6326 #endif
6327 Syntax error
6328 _ACEOF
6329 if ac_fn_c_try_cpp "$LINENO"; then :
6331 else
6332 # Broken: fails on valid input.
6333 continue
6335 rm -f conftest.err conftest.i conftest.$ac_ext
6337 # OK, works on sane cases. Now check whether nonexistent headers
6338 # can be detected and how.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <ac_nonexistent.h>
6342 _ACEOF
6343 if ac_fn_c_try_cpp "$LINENO"; then :
6344 # Broken: success on invalid input.
6345 continue
6346 else
6347 # Passes both tests.
6348 ac_preproc_ok=:
6349 break
6351 rm -f conftest.err conftest.i conftest.$ac_ext
6353 done
6354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6355 rm -f conftest.i conftest.err conftest.$ac_ext
6356 if $ac_preproc_ok; then :
6357 break
6360 done
6361 ac_cv_prog_CPP=$CPP
6364 CPP=$ac_cv_prog_CPP
6365 else
6366 ac_cv_prog_CPP=$CPP
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6369 $as_echo "$CPP" >&6; }
6370 ac_preproc_ok=false
6371 for ac_c_preproc_warn_flag in '' yes
6373 # Use a header file that comes with gcc, so configuring glibc
6374 # with a fresh cross-compiler works.
6375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6376 # <limits.h> exists even on freestanding compilers.
6377 # On the NeXT, cc -E runs the code through the compiler's parser,
6378 # not just through cpp. "Syntax error" is here to catch this case.
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #ifdef __STDC__
6382 # include <limits.h>
6383 #else
6384 # include <assert.h>
6385 #endif
6386 Syntax error
6387 _ACEOF
6388 if ac_fn_c_try_cpp "$LINENO"; then :
6390 else
6391 # Broken: fails on valid input.
6392 continue
6394 rm -f conftest.err conftest.i conftest.$ac_ext
6396 # OK, works on sane cases. Now check whether nonexistent headers
6397 # can be detected and how.
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <ac_nonexistent.h>
6401 _ACEOF
6402 if ac_fn_c_try_cpp "$LINENO"; then :
6403 # Broken: success on invalid input.
6404 continue
6405 else
6406 # Passes both tests.
6407 ac_preproc_ok=:
6408 break
6410 rm -f conftest.err conftest.i conftest.$ac_ext
6412 done
6413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6414 rm -f conftest.i conftest.err conftest.$ac_ext
6415 if $ac_preproc_ok; then :
6417 else
6418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6420 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6421 See \`config.log' for more details" "$LINENO" 5; }
6424 ac_ext=c
6425 ac_cpp='$CPP $CPPFLAGS'
6426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6432 $as_echo_n "checking for ANSI C header files... " >&6; }
6433 if ${ac_cv_header_stdc+:} false; then :
6434 $as_echo_n "(cached) " >&6
6435 else
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6438 #include <stdlib.h>
6439 #include <stdarg.h>
6440 #include <string.h>
6441 #include <float.h>
6444 main ()
6448 return 0;
6450 _ACEOF
6451 if ac_fn_c_try_compile "$LINENO"; then :
6452 ac_cv_header_stdc=yes
6453 else
6454 ac_cv_header_stdc=no
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6458 if test $ac_cv_header_stdc = yes; then
6459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6462 #include <string.h>
6464 _ACEOF
6465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6466 $EGREP "memchr" >/dev/null 2>&1; then :
6468 else
6469 ac_cv_header_stdc=no
6471 rm -f conftest*
6475 if test $ac_cv_header_stdc = yes; then
6476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6479 #include <stdlib.h>
6481 _ACEOF
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "free" >/dev/null 2>&1; then :
6485 else
6486 ac_cv_header_stdc=no
6488 rm -f conftest*
6492 if test $ac_cv_header_stdc = yes; then
6493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6494 if test "$cross_compiling" = yes; then :
6496 else
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #include <ctype.h>
6500 #include <stdlib.h>
6501 #if ((' ' & 0x0FF) == 0x020)
6502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6504 #else
6505 # define ISLOWER(c) \
6506 (('a' <= (c) && (c) <= 'i') \
6507 || ('j' <= (c) && (c) <= 'r') \
6508 || ('s' <= (c) && (c) <= 'z'))
6509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6510 #endif
6512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6514 main ()
6516 int i;
6517 for (i = 0; i < 256; i++)
6518 if (XOR (islower (i), ISLOWER (i))
6519 || toupper (i) != TOUPPER (i))
6520 return 2;
6521 return 0;
6523 _ACEOF
6524 if ac_fn_c_try_run "$LINENO"; then :
6526 else
6527 ac_cv_header_stdc=no
6529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6530 conftest.$ac_objext conftest.beam conftest.$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6536 $as_echo "$ac_cv_header_stdc" >&6; }
6537 if test $ac_cv_header_stdc = yes; then
6539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6544 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6545 inttypes.h stdint.h unistd.h
6546 do :
6547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6548 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6551 cat >>confdefs.h <<_ACEOF
6552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6553 _ACEOF
6557 done
6560 for ac_header in \
6561 AL/al.h \
6562 ApplicationServices/ApplicationServices.h \
6563 AudioToolbox/AudioConverter.h \
6564 AudioUnit/AudioUnit.h \
6565 AudioUnit/AudioComponent.h \
6566 CL/cl.h \
6567 Carbon/Carbon.h \
6568 CoreAudio/CoreAudio.h \
6569 CoreServices/CoreServices.h \
6570 DiskArbitration/DiskArbitration.h \
6571 IOKit/IOKitLib.h \
6572 IOKit/hid/IOHIDLib.h \
6573 OpenAL/al.h \
6574 OpenCL/opencl.h \
6575 QuickTime/ImageCompression.h \
6576 Security/Security.h \
6577 alias.h \
6578 alsa/asoundlib.h \
6579 arpa/inet.h \
6580 arpa/nameser.h \
6581 asm/types.h \
6582 asm/user.h \
6583 curses.h \
6584 direct.h \
6585 dirent.h \
6586 dlfcn.h \
6587 elf.h \
6588 float.h \
6589 fnmatch.h \
6590 getopt.h \
6591 gettext-po.h \
6592 grp.h \
6593 gsm.h \
6594 gsm/gsm.h \
6595 ieeefp.h \
6596 inet/mib2.h \
6597 io.h \
6598 kstat.h \
6599 lber.h \
6600 ldap.h \
6601 libproc.h \
6602 link.h \
6603 linux/cdrom.h \
6604 linux/compiler.h \
6605 linux/filter.h \
6606 linux/hdreg.h \
6607 linux/input.h \
6608 linux/ioctl.h \
6609 linux/joystick.h \
6610 linux/major.h \
6611 linux/param.h \
6612 linux/serial.h \
6613 linux/types.h \
6614 linux/ucdrom.h \
6615 lwp.h \
6616 mach-o/nlist.h \
6617 mach-o/loader.h \
6618 mach/mach.h \
6619 mach/machine.h \
6620 machine/cpu.h \
6621 machine/limits.h \
6622 machine/sysarch.h \
6623 mntent.h \
6624 ncurses.h \
6625 netdb.h \
6626 netinet/in.h \
6627 netinet/in_systm.h \
6628 netinet/tcp.h \
6629 netinet/tcp_fsm.h \
6630 pcap/pcap.h \
6631 poll.h \
6632 port.h \
6633 process.h \
6634 pthread.h \
6635 pwd.h \
6636 sched.h \
6637 scsi/scsi.h \
6638 scsi/scsi_ioctl.h \
6639 scsi/sg.h \
6640 stdbool.h \
6641 stdint.h \
6642 stropts.h \
6643 sys/asoundlib.h \
6644 sys/attr.h \
6645 sys/cdio.h \
6646 sys/elf32.h \
6647 sys/epoll.h \
6648 sys/event.h \
6649 sys/exec_elf.h \
6650 sys/filio.h \
6651 sys/inotify.h \
6652 sys/ioctl.h \
6653 sys/ipc.h \
6654 sys/limits.h \
6655 sys/link.h \
6656 sys/mman.h \
6657 sys/modem.h \
6658 sys/msg.h \
6659 sys/mtio.h \
6660 sys/param.h \
6661 sys/poll.h \
6662 sys/prctl.h \
6663 sys/protosw.h \
6664 sys/ptrace.h \
6665 sys/queue.h \
6666 sys/resource.h \
6667 sys/scsiio.h \
6668 sys/shm.h \
6669 sys/signal.h \
6670 sys/socket.h \
6671 sys/socketvar.h \
6672 sys/sockio.h \
6673 sys/statvfs.h \
6674 sys/strtio.h \
6675 sys/syscall.h \
6676 sys/tihdr.h \
6677 sys/time.h \
6678 sys/timeout.h \
6679 sys/times.h \
6680 sys/uio.h \
6681 sys/user.h \
6682 sys/utsname.h \
6683 sys/vm86.h \
6684 sys/wait.h \
6685 syscall.h \
6686 termios.h \
6687 unistd.h \
6688 utime.h \
6689 valgrind/memcheck.h \
6690 valgrind/valgrind.h \
6691 zlib.h
6693 do :
6694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6695 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6696 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6697 cat >>confdefs.h <<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6699 _ACEOF
6703 done
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6706 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6707 if ${ac_cv_header_stat_broken+:} false; then :
6708 $as_echo_n "(cached) " >&6
6709 else
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <sys/types.h>
6713 #include <sys/stat.h>
6715 #if defined S_ISBLK && defined S_IFDIR
6716 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6717 #endif
6719 #if defined S_ISBLK && defined S_IFCHR
6720 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6721 #endif
6723 #if defined S_ISLNK && defined S_IFREG
6724 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6725 #endif
6727 #if defined S_ISSOCK && defined S_IFREG
6728 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6729 #endif
6731 _ACEOF
6732 if ac_fn_c_try_compile "$LINENO"; then :
6733 ac_cv_header_stat_broken=no
6734 else
6735 ac_cv_header_stat_broken=yes
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6740 $as_echo "$ac_cv_header_stat_broken" >&6; }
6741 if test $ac_cv_header_stat_broken = yes; then
6743 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6749 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6750 do :
6751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6753 #ifdef HAVE_SYS_PARAM_H
6754 # include <sys/param.h>
6755 #endif
6757 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6758 cat >>confdefs.h <<_ACEOF
6759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6760 _ACEOF
6764 done
6767 for ac_header in \
6768 netinet/ip.h \
6769 net/if.h \
6770 net/if_arp.h \
6771 net/if_dl.h \
6772 net/if_types.h \
6773 net/route.h \
6774 netinet/if_ether.h \
6775 netinet/if_inarp.h \
6776 netinet/in_pcb.h \
6777 netinet/ip_icmp.h \
6778 netinet/ip_var.h \
6779 netinet/udp.h \
6780 netipx/ipx.h \
6781 sys/un.h \
6783 do :
6784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6786 #ifdef HAVE_SYS_SOCKET_H
6787 # include <sys/socket.h>
6788 #endif
6789 #ifdef HAVE_SYS_SOCKETVAR_H
6790 # include <sys/socketvar.h>
6791 #endif
6792 #ifdef HAVE_NET_ROUTE_H
6793 # include <net/route.h>
6794 #endif
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6797 #endif
6798 #ifdef HAVE_NETINET_IN_SYSTM_H
6799 # include <netinet/in_systm.h>
6800 #endif
6801 #ifdef HAVE_NET_IF_H
6802 # include <net/if.h>
6803 #endif
6804 #ifdef HAVE_NETINET_IP_H
6805 # include <netinet/ip.h>
6806 #endif
6808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6809 cat >>confdefs.h <<_ACEOF
6810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6811 _ACEOF
6815 done
6818 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6822 #ifdef HAVE_ALIAS_H
6823 # include <alias.h>
6824 #endif
6825 #ifdef HAVE_SYS_SOCKET_H
6826 # include <sys/socket.h>
6827 #endif
6828 #ifdef HAVE_SYS_SOCKETVAR_H
6829 # include <sys/socketvar.h>
6830 #endif
6831 #ifdef HAVE_SYS_TIMEOUT_H
6832 # include <sys/timeout.h>
6833 #endif
6834 #ifdef HAVE_NETINET_IN_H
6835 # include <netinet/in.h>
6836 #endif
6837 #ifdef HAVE_NETINET_IN_SYSTM_H
6838 # include <netinet/in_systm.h>
6839 #endif
6840 #ifdef HAVE_NETINET_IP_H
6841 # include <netinet/ip.h>
6842 #endif
6843 #ifdef HAVE_NETINET_IP_VAR_H
6844 # include <netinet/ip_var.h>
6845 #endif
6846 #ifdef HAVE_NETINET_IP_ICMP_H
6847 # include <netinet/ip_icmp.h>
6848 #endif
6849 #ifdef HAVE_NETINET_UDP_H
6850 # include <netinet/udp.h>
6851 #endif
6852 #ifdef HAVE_NETINET_TCP_H
6853 # include <netinet/tcp.h>
6854 #endif
6855 #ifdef HAVE_NETINET_TCP_TIMER_H
6856 #include <netinet/tcp_timer.h>
6857 #endif
6859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6860 cat >>confdefs.h <<_ACEOF
6861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6862 _ACEOF
6866 done
6869 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6870 do :
6871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6873 #ifdef HAVE_ASM_TYPES_H
6874 # include <asm/types.h>
6875 #endif
6876 #ifdef HAVE_SYS_SOCKET_H
6877 # include <sys/socket.h>
6878 #endif
6879 #ifdef HAVE_LINUX_TYPES_H
6880 # include <linux/types.h>
6881 #endif
6883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6893 for ac_header in mach-o/dyld_images.h
6894 do :
6895 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6896 # include <stdbool.h>
6897 #endif
6898 #ifdef HAVE_STDINT_H
6899 # include <stdint.h>
6900 #endif
6902 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6903 cat >>confdefs.h <<_ACEOF
6904 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6905 _ACEOF
6909 done
6912 for ac_header in resolv.h
6913 do :
6914 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6915 #ifdef HAVE_SYS_SOCKET_H
6916 # include <sys/socket.h>
6917 #endif
6918 #ifdef HAVE_NETINET_IN_H
6919 # include <netinet/in.h>
6920 #endif
6921 #ifdef HAVE_ARPA_NAMESER_H
6922 # include <arpa/nameser.h>
6923 #endif
6925 if test "x$ac_cv_header_resolv_h" = xyes; then :
6926 cat >>confdefs.h <<_ACEOF
6927 #define HAVE_RESOLV_H 1
6928 _ACEOF
6932 done
6935 for ac_header in ifaddrs.h
6936 do :
6937 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6939 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6940 cat >>confdefs.h <<_ACEOF
6941 #define HAVE_IFADDRS_H 1
6942 _ACEOF
6946 done
6949 for ac_header in sys/ucontext.h
6950 do :
6951 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6953 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6954 cat >>confdefs.h <<_ACEOF
6955 #define HAVE_SYS_UCONTEXT_H 1
6956 _ACEOF
6960 done
6963 for ac_header in sys/thr.h
6964 do :
6965 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6966 #ifdef HAVE_SYS_UCONTEXT_H
6967 #include <sys/ucontext.h>
6968 #endif
6970 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6971 cat >>confdefs.h <<_ACEOF
6972 #define HAVE_SYS_THR_H 1
6973 _ACEOF
6977 done
6980 for ac_header in pthread_np.h
6981 do :
6982 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6983 #include <pthread.h>
6984 #endif
6986 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6987 cat >>confdefs.h <<_ACEOF
6988 #define HAVE_PTHREAD_NP_H 1
6989 _ACEOF
6993 done
6996 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6997 do :
6998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7000 #include <sys/time.h>
7001 #endif
7002 #include <sys/types.h>
7003 #ifdef HAVE_ASM_TYPES_H
7004 #include <asm/types.h>
7005 #endif
7007 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7008 cat >>confdefs.h <<_ACEOF
7009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7010 _ACEOF
7014 done
7017 for ac_header in libprocstat.h
7018 do :
7019 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7020 #include <sys/param.h>
7021 #endif
7022 #ifdef HAVE_SYS_QUEUE_H
7023 #include <sys/queue.h>
7024 #endif
7025 #ifdef HAVE_SYS_SOCKET_H
7026 #include <sys/socket.h>
7027 #endif
7029 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_LIBPROCSTAT_H 1
7032 _ACEOF
7036 done
7040 dlldir="\${libdir}/wine"
7042 DLLPREFIX=""
7044 DLLFLAGS="-D_REENTRANT"
7046 LDRPATH_INSTALL=""
7048 LDRPATH_LOCAL=""
7050 LIBEXT="so"
7051 DLLEXT=".so"
7052 IMPLIBEXT="def"
7053 STATIC_IMPLIBEXT="def.a"
7054 # Extract the first word of "ldd", so it can be a program name with args.
7055 set dummy ldd; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_path_LDD+:} false; then :
7059 $as_echo_n "(cached) " >&6
7060 else
7061 case $LDD in
7062 [\\/]* | ?:[\\/]*)
7063 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 as_dummy="/sbin:/usr/sbin:$PATH"
7068 for as_dir in $as_dummy
7070 IFS=$as_save_IFS
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7074 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 break 2
7078 done
7079 done
7080 IFS=$as_save_IFS
7082 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7084 esac
7086 LDD=$ac_cv_path_LDD
7087 if test -n "$LDD"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7089 $as_echo "$LDD" >&6; }
7090 else
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7098 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_READELF+:} false; then :
7102 $as_echo_n "(cached) " >&6
7103 else
7104 if test -n "$READELF"; then
7105 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7106 else
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in $PATH
7110 IFS=$as_save_IFS
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 break 2
7118 done
7119 done
7120 IFS=$as_save_IFS
7124 READELF=$ac_cv_prog_READELF
7125 if test -n "$READELF"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7127 $as_echo "$READELF" >&6; }
7128 else
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7135 if test -z "$ac_cv_prog_READELF"; then
7136 ac_ct_READELF=$READELF
7137 # Extract the first word of "readelf", so it can be a program name with args.
7138 set dummy readelf; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7142 $as_echo_n "(cached) " >&6
7143 else
7144 if test -n "$ac_ct_READELF"; then
7145 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_READELF="readelf"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156 break 2
7158 done
7159 done
7160 IFS=$as_save_IFS
7164 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7165 if test -n "$ac_ct_READELF"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7167 $as_echo "$ac_ct_READELF" >&6; }
7168 else
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7173 if test "x$ac_ct_READELF" = x; then
7174 READELF="true"
7175 else
7176 case $cross_compiling:$ac_tool_warned in
7177 yes:)
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180 ac_tool_warned=yes ;;
7181 esac
7182 READELF=$ac_ct_READELF
7184 else
7185 READELF="$ac_cv_prog_READELF"
7188 wine_rules_file=conf$$rules.make
7189 rm -f $wine_rules_file
7190 ALL_POT_FILES=""
7191 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7192 ALL_TEST_RESOURCES=""
7195 wine_fn_append_file ()
7197 as_fn_append $1 " \\$as_nl $2"
7200 wine_fn_ignore_file ()
7202 case "$1" in
7203 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7204 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7205 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7206 esac
7209 wine_fn_append_rule ()
7211 $as_echo "$1" >>$wine_rules_file
7214 wine_fn_has_flag ()
7216 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7219 wine_fn_depend_rules ()
7221 wine_fn_append_rule \
7222 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7223 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7224 depend: $ac_dir/depend
7225 .PHONY: $ac_dir/depend
7226 $ac_dir/depend: \$(MAKEDEP) dummy
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7230 wine_fn_pot_rules ()
7232 test "x$with_gettextpo" = xyes || return
7234 if wine_fn_has_flag mc
7235 then
7236 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7237 wine_fn_append_rule \
7238 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7239 @cd $ac_dir && \$(MAKE) msg.pot
7240 $ac_dir/msg.pot: tools/wmc include"
7242 if wine_fn_has_flag po
7243 then
7244 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) rsrc.pot
7248 $ac_dir/rsrc.pot: tools/wrc include"
7252 wine_fn_all_rules ()
7254 wine_fn_depend_rules
7255 wine_fn_append_rule \
7256 "all: $ac_dir
7257 .PHONY: $ac_dir
7258 $ac_dir: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE)"
7262 wine_fn_install_rules ()
7264 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 @cd $ac_dir && \$(MAKE) install
7270 $ac_dir/uninstall:: $ac_dir/Makefile
7271 @cd $ac_dir && \$(MAKE) uninstall
7272 install:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall"
7275 if wine_fn_has_flag install-lib
7276 then
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install-lib
7279 $ac_dir/install-lib:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install-lib
7281 install-lib:: $ac_dir/install-lib"
7284 if wine_fn_has_flag install-dev
7285 then
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install-dev
7288 $ac_dir/install-dev:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install-dev
7290 install-dev:: $ac_dir/install-dev"
7294 wine_fn_clean_rules ()
7296 ac_clean=$@
7297 ac_extraclean="$ac_dir/Makefile"
7298 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7299 case $ac_dir in
7300 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7301 esac
7303 if wine_fn_has_flag clean
7304 then
7305 wine_fn_append_rule \
7306 "__clean__: $ac_dir/clean
7307 .PHONY: $ac_dir/clean
7308 $ac_dir/clean: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) clean
7310 \$(RM) $ac_extraclean"
7311 else
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: dummy
7316 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7320 wine_fn_disabled_rules ()
7322 ac_clean=$@
7323 ac_extraclean="$ac_dir/Makefile"
7324 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_config_makefile ()
7335 ac_dir=$1
7336 ac_enable=$2
7337 ac_flags=$3
7339 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7340 wine_fn_disabled_rules; return
7342 wine_fn_all_rules
7343 wine_fn_install_rules
7344 wine_fn_clean_rules
7347 wine_fn_config_lib ()
7349 ac_name=$1
7350 ac_flags=$2
7351 ac_dir=dlls/$ac_name
7352 ac_deps="include"
7354 if test "x$enable_tools" = xno; then :
7356 else
7357 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7359 wine_fn_all_rules
7360 wine_fn_clean_rules
7362 wine_fn_append_rule \
7363 ".PHONY: $ac_dir/install $ac_dir/uninstall
7364 $ac_dir/install:: $ac_dir
7365 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7366 $ac_dir/uninstall::
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7368 install install-dev:: $ac_dir/install
7369 __uninstall__: $ac_dir/uninstall
7370 __builddeps__: $ac_dir
7371 $ac_dir: $ac_deps"
7374 wine_fn_config_dll ()
7376 ac_name=$1
7377 ac_dir=dlls/$ac_name
7378 ac_enable=$2
7379 ac_flags=$3
7380 ac_implib=${4:-$ac_name}
7381 ac_file=$ac_dir/lib$ac_implib
7382 ac_dll=$ac_name
7383 ac_deps="include"
7384 ac_implibflags=""
7386 if test "x$enable_tools" = xno; then :
7388 else
7389 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7391 case $ac_name in
7392 *16) ac_implibflags=" -m16" ;;
7393 *.*) ;;
7394 *) ac_dll=$ac_dll.dll ;;
7395 esac
7397 ac_clean=
7398 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7399 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7401 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7403 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7404 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7405 then
7406 wine_fn_depend_rules
7407 wine_fn_clean_rules $ac_clean
7408 else
7409 wine_fn_disabled_rules $ac_clean
7410 return
7412 else
7413 wine_fn_all_rules
7414 wine_fn_clean_rules $ac_clean
7415 wine_fn_append_rule \
7416 "$ac_dir: __builddeps__
7417 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7418 @cd $ac_dir && \$(MAKE) \$@
7419 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7420 install install-lib:: $ac_dir/install-lib
7421 __uninstall__: $ac_dir/uninstall"
7422 if test -n "$DLLEXT"
7423 then
7424 wine_fn_append_rule \
7425 "$ac_dir/install-lib:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7427 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7428 $ac_dir/uninstall::
7429 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7430 else
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7434 $ac_dir/uninstall::
7435 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7438 wine_fn_pot_rules
7441 if wine_fn_has_flag staticimplib
7442 then
7443 wine_fn_append_rule \
7444 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7445 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7446 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7447 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7448 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7450 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7451 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7452 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7453 $ac_dir/uninstall::
7454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7455 install install-dev:: $ac_dir/install-dev
7456 __uninstall__: $ac_dir/uninstall"
7458 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7459 then
7460 wine_fn_append_rule \
7461 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7462 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7467 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7468 then
7469 wine_fn_append_rule \
7470 "__builddeps__: $ac_file.cross.a
7471 $ac_file.cross.a: $ac_dir/Makefile dummy
7472 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7475 elif wine_fn_has_flag implib
7476 then
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.$IMPLIBEXT
7479 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7480 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7481 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7482 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7483 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7484 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7485 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7486 $ac_dir/uninstall::
7487 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 install install-dev:: $ac_dir/install-dev
7489 __uninstall__: $ac_dir/uninstall"
7490 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7491 then
7492 wine_fn_append_rule \
7493 "__builddeps__: $ac_file.cross.a
7494 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7498 if test "$ac_name" != "$ac_implib"
7499 then
7500 wine_fn_append_rule \
7501 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7502 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7503 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7504 clean::
7505 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7506 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7507 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7508 then
7509 wine_fn_append_rule \
7510 "__builddeps__: dlls/lib$ac_implib.cross.a
7511 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7512 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7513 clean::
7514 \$(RM) dlls/lib$ac_implib.cross.a"
7515 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7521 wine_fn_config_program ()
7523 ac_name=$1
7524 ac_dir=programs/$ac_name
7525 ac_enable=$2
7526 ac_flags=$3
7527 ac_program=$ac_name
7529 case $ac_name in
7530 *.*) ;;
7531 *) ac_program=$ac_program.exe ;;
7532 esac
7534 ac_clean=
7535 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7536 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7537 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7538 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7540 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7541 wine_fn_disabled_rules $ac_clean; return
7544 wine_fn_all_rules
7545 wine_fn_clean_rules $ac_clean
7546 wine_fn_append_rule "$ac_dir: __builddeps__"
7547 wine_fn_pot_rules
7549 wine_fn_has_flag install || return
7550 wine_fn_append_rule \
7551 ".PHONY: $ac_dir/install $ac_dir/uninstall
7552 install install-lib:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall"
7555 if test -n "$DLLEXT"
7556 then
7557 wine_fn_append_rule \
7558 "$ac_dir/install:: $ac_dir
7559 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7560 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7561 $ac_dir/uninstall::
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7564 if test -z "$with_wine64" && wine_fn_has_flag installbin
7565 then
7566 wine_fn_append_rule \
7567 "$ac_dir/install:: __tooldeps__
7568 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7569 $ac_dir/uninstall::
7570 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7572 else
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: $ac_dir
7575 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7576 $ac_dir/uninstall::
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7580 if test -z "$with_wine64" && wine_fn_has_flag manpage
7581 then
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: $ac_dir
7584 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7585 $ac_dir/uninstall::
7586 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7590 wine_fn_config_test ()
7592 ac_dir=$1
7593 ac_name=$2
7594 ac_flags=$3
7596 ac_clean=
7597 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7598 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7600 if test "x$enable_tests" = xno; then :
7601 wine_fn_disabled_rules $ac_clean; return
7604 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7605 wine_fn_all_rules
7606 wine_fn_clean_rules $ac_clean
7608 wine_fn_append_rule \
7609 "$ac_dir: programs/winetest/Makefile __builddeps__
7610 programs/winetest: $ac_dir
7611 check test: $ac_dir/test
7612 .PHONY: $ac_dir/test
7613 $ac_dir/test: dummy
7614 @cd $ac_dir && \$(MAKE) test
7615 testclean::
7616 \$(RM) $ac_dir/*.ok"
7618 if test -n "$CROSSTARGET"
7619 then
7620 wine_fn_append_rule \
7621 "crosstest: $ac_dir/crosstest
7622 .PHONY: $ac_dir/crosstest
7623 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7624 @cd $ac_dir && \$(MAKE) crosstest"
7628 wine_fn_config_tool ()
7630 ac_dir=$1
7631 ac_flags=$2
7632 if test "x$enable_tools" = xno; then :
7633 return
7636 wine_fn_all_rules
7637 wine_fn_install_rules
7638 wine_fn_clean_rules
7640 wine_fn_append_rule "__tooldeps__: $ac_dir"
7641 wine_fn_append_rule "$ac_dir: libs/port"
7642 case $ac_dir in
7643 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7644 esac
7647 wine_fn_config_symlink ()
7649 ac_linkdir=
7650 if test "x$1" = "x-d"
7651 then
7652 ac_linkdir=$2
7653 shift; shift
7655 ac_links=$@
7656 wine_fn_append_rule \
7657 "$ac_links:
7658 @./config.status \$@
7659 distclean::
7660 \$(RM) $ac_links"
7661 for f in $ac_links; do wine_fn_ignore_file $f; done
7662 test -n "$ac_linkdir" || return
7663 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7666 wine_binary="wine"
7667 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7668 loader_programs="$wine_binary wine-installed"
7669 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7671 LOADER_RULES="
7672 all: wine.inf
7674 install install-lib:: wine-installed
7675 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7677 uninstall::
7678 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7682 case $host_os in
7683 cygwin*|mingw32*)
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7686 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_prog_DLLTOOL+:} false; then :
7690 $as_echo_n "(cached) " >&6
7691 else
7692 if test -n "$DLLTOOL"; then
7693 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7694 else
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696 for as_dir in $PATH
7698 IFS=$as_save_IFS
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 break 2
7706 done
7707 done
7708 IFS=$as_save_IFS
7712 DLLTOOL=$ac_cv_prog_DLLTOOL
7713 if test -n "$DLLTOOL"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7715 $as_echo "$DLLTOOL" >&6; }
7716 else
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7723 if test -z "$ac_cv_prog_DLLTOOL"; then
7724 ac_ct_DLLTOOL=$DLLTOOL
7725 # Extract the first word of "dlltool", so it can be a program name with args.
7726 set dummy dlltool; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 $as_echo_n "checking for $ac_word... " >&6; }
7729 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7730 $as_echo_n "(cached) " >&6
7731 else
7732 if test -n "$ac_ct_DLLTOOL"; then
7733 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7734 else
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7736 for as_dir in $PATH
7738 IFS=$as_save_IFS
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7744 break 2
7746 done
7747 done
7748 IFS=$as_save_IFS
7752 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7753 if test -n "$ac_ct_DLLTOOL"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7755 $as_echo "$ac_ct_DLLTOOL" >&6; }
7756 else
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7761 if test "x$ac_ct_DLLTOOL" = x; then
7762 DLLTOOL="false"
7763 else
7764 case $cross_compiling:$ac_tool_warned in
7765 yes:)
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7768 ac_tool_warned=yes ;;
7769 esac
7770 DLLTOOL=$ac_ct_DLLTOOL
7772 else
7773 DLLTOOL="$ac_cv_prog_DLLTOOL"
7776 LIBEXT="dll"
7777 DLLEXT=""
7778 IMPLIBEXT="a"
7779 STATIC_IMPLIBEXT="a"
7780 enable_iphlpapi=${enable_iphlpapi:-no}
7781 enable_kernel32=${enable_kernel32:-no}
7782 enable_msvcrt=${enable_msvcrt:-no}
7783 enable_ntdll=${enable_ntdll:-no}
7784 enable_ws2_32=${enable_ws2_32:-no}
7785 enable_loader=${enable_loader:-no}
7786 enable_server=${enable_server:-no}
7787 with_x=${with_x:-no}
7788 with_pthread=${with_pthread:-no}
7790 crtlibs=""
7791 case $host_os in
7792 mingw32*)
7793 crtlibs="-lmsvcrt"
7794 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7796 esac
7798 libwine_targets="libwine.dll libwine.a"
7799 LIBWINE_RULES="
7800 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7802 all: libwine.dll libwine.a
7804 libwine.a: \$(srcdir)/wine.def
7805 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7807 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7808 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7810 install install-lib:: libwine.dll
7811 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7813 install install-dev:: libwine.a
7814 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7816 uninstall::
7817 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7822 darwin*|macosx*)
7823 LIBEXT="dylib"
7824 DLLFLAGS="$DLLFLAGS -fPIC"
7825 LIBWINE_LDFLAGS="-multiply_defined suppress"
7826 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7827 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7828 COREFOUNDATION_LIBS="-framework CoreFoundation"
7830 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7832 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7834 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7836 CORESERVICES_LIBS="-framework CoreServices"
7838 APPKIT_LIBS="-framework AppKit"
7840 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7842 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7843 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
7846 ac_wine_try_cflags_saved=$CFLAGS
7847 CFLAGS="$CFLAGS -Wl,-no_pie"
7848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 int main(int argc, char **argv) { return 0; }
7851 _ACEOF
7852 if ac_fn_c_try_link "$LINENO"; then :
7853 ac_cv_cflags__Wl__no_pie=yes
7854 else
7855 ac_cv_cflags__Wl__no_pie=no
7857 rm -f core conftest.err conftest.$ac_objext \
7858 conftest$ac_exeext conftest.$ac_ext
7859 CFLAGS=$ac_wine_try_cflags_saved
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7862 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7863 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7864 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7866 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7867 then
7868 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7871 if test "$ac_cv_header_Security_Security_h" = "yes"
7872 then
7873 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7875 ac_save_LIBS="$LIBS"
7876 LIBS="$LIBS $SECURITY_LIBS"
7877 for ac_func in SSLCopyPeerCertificates
7878 do :
7879 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7880 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7883 _ACEOF
7886 done
7888 LIBS="$ac_save_LIBS"
7889 with_gnutls=${with_gnutls:-no}
7891 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7892 then
7893 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7894 then
7895 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7897 else
7898 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7901 ac_save_LIBS="$LIBS"
7902 LIBS="$LIBS $COREAUDIO_LIBS"
7903 for ac_func in AUGraphAddNode
7904 do :
7905 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7906 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_AUGRAPHADDNODE 1
7909 _ACEOF
7912 done
7914 LIBS="$ac_save_LIBS"
7916 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7917 then
7918 OPENAL_LIBS="-framework OpenAL"
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_OPENAL 1
7923 _ACEOF
7925 ac_cv_lib_openal=yes
7927 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7928 then
7929 OPENCL_LIBS="-framework OpenCL"
7931 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7933 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7934 then
7935 ac_save_LIBS="$LIBS"
7936 LIBS="$LIBS $IOKIT_LIBS"
7937 for ac_func in IOHIDManagerCreate
7938 do :
7939 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7940 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7941 cat >>confdefs.h <<_ACEOF
7942 #define HAVE_IOHIDMANAGERCREATE 1
7943 _ACEOF
7946 done
7948 LIBS="$ac_save_LIBS"
7950 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7951 then
7952 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7954 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7955 else
7956 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7958 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7959 then
7960 CARBON_LIBS="-framework Carbon"
7964 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7965 then
7966 ac_save_LIBS="$LIBS"
7967 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7968 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7969 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7970 enable_winemac_drv=${enable_winemac_drv:-yes}
7973 LIBS="$ac_save_LIBS"
7976 if test "x$enable_win16" = "xyes"
7977 then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7979 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7980 if test "$cross_compiling" = yes; then :
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7982 $as_echo "cross-compiling, assuming yes" >&6; }
7983 else
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 asm(".text\n"
7987 "bad:\tnop;nop\n"
7988 "good:\tnop;nop\n\t"
7989 ".globl _testfunc\n"
7990 "_testfunc:\tcallw good");
7991 extern void testfunc();
7993 main ()
7995 unsigned short *p = (unsigned short *)testfunc;
7996 return p[0] != 0xe866 || p[1] != 0xfffa
7998 return 0;
8000 _ACEOF
8001 if ac_fn_c_try_run "$LINENO"; then :
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8003 $as_echo "yes" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8007 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
8009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8010 conftest.$ac_objext conftest.beam conftest.$ac_ext
8015 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8016 LIBWINE_RULES="
8017 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8019 all: libwine.dylib
8021 libwine.$libwine_version.dylib: \$(OBJS)
8022 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8024 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8025 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8027 libwine.dylib: libwine.$libwine_soversion.dylib
8028 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8030 install install-lib:: libwine.$libwine_version.dylib
8031 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8032 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8034 install install-dev::
8035 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8037 uninstall::
8038 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8042 as_fn_append LOADER_RULES "
8043 $wine_binary: main.o wine_info.plist
8044 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8046 wine-installed: main.o wine_info.plist
8047 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8051 linux-android*)
8052 DLLFLAGS="$DLLFLAGS -fPIC"
8053 DLLPREFIX="lib"
8054 LDEXECFLAGS=""
8055 dlldir="\${libdir}"
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8057 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8058 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8059 $as_echo_n "(cached) " >&6
8060 else
8061 ac_wine_try_cflags_saved=$CFLAGS
8062 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8065 int main(int argc, char **argv) { return 0; }
8066 _ACEOF
8067 if ac_fn_c_try_link "$LINENO"; then :
8068 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8069 else
8070 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8072 rm -f core conftest.err conftest.$ac_objext \
8073 conftest$ac_exeext conftest.$ac_ext
8074 CFLAGS=$ac_wine_try_cflags_saved
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8077 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8078 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8079 LDEXECFLAGS="-Wl,--export-dynamic"
8081 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8083 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8084 if eval \${$as_ac_var+:} false; then :
8085 $as_echo_n "(cached) " >&6
8086 else
8087 ac_wine_try_cflags_saved=$CFLAGS
8088 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8091 int main(int argc, char **argv) { return 0; }
8092 _ACEOF
8093 if ac_fn_c_try_link "$LINENO"; then :
8094 eval "$as_ac_var=yes"
8095 else
8096 eval "$as_ac_var=no"
8098 rm -f core conftest.err conftest.$ac_objext \
8099 conftest$ac_exeext conftest.$ac_ext
8100 CFLAGS=$ac_wine_try_cflags_saved
8102 eval ac_res=\$$as_ac_var
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8104 $as_echo "$ac_res" >&6; }
8105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8106 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8107 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8108 else
8109 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8112 if eval \${$as_ac_var+:} false; then :
8113 $as_echo_n "(cached) " >&6
8114 else
8115 ac_wine_try_cflags_saved=$CFLAGS
8116 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8120 _ACEOF
8121 if ac_fn_c_try_link "$LINENO"; then :
8122 eval "$as_ac_var=yes"
8123 else
8124 eval "$as_ac_var=no"
8126 rm -f core conftest.err conftest.$ac_objext \
8127 conftest$ac_exeext conftest.$ac_ext
8128 CFLAGS=$ac_wine_try_cflags_saved
8130 eval ac_res=\$$as_ac_var
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8132 $as_echo "$ac_res" >&6; }
8133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8134 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8135 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8140 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8141 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 ac_cv_cflags__Wl___enable_new_dtags=yes
8152 else
8153 ac_cv_cflags__Wl___enable_new_dtags=no
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8160 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8161 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8162 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8165 case $host_cpu in
8166 *i[3456789]86* | x86_64)
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8169 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_wine_try_cflags_saved=$CFLAGS
8173 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8180 else
8181 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8188 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8189 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8190 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8193 esac
8195 libwine_targets="libwine.so"
8196 LIBWINE_RULES="
8197 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8199 all: libwine.so
8201 libwine.so: \$(OBJS)
8202 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8204 install install-lib:: libwine.so
8205 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8207 uninstall::
8208 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8212 as_fn_append LOADER_RULES "
8213 $wine_binary: main.o
8214 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8216 wine-installed: main.o
8217 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8222 DLLFLAGS="$DLLFLAGS -fPIC"
8223 LDEXECFLAGS=""
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8225 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8226 if ${ac_cv_c_dll_gnuelf+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 void myfunc() {}
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 ac_cv_c_dll_gnuelf="yes"
8237 else
8238 ac_cv_c_dll_gnuelf="no"
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8245 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8246 if test "$ac_cv_c_dll_gnuelf" = "yes"
8247 then
8248 LDSHARED="\$(CC) -shared"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8251 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8262 else
8263 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8270 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8271 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8272 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8275 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8276 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 ac_wine_try_cflags_saved=$CFLAGS
8280 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8287 else
8288 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 CFLAGS=$ac_wine_try_cflags_saved
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8295 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8296 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8297 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8301 echo '{ global: *; };' >conftest.map
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8304 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_wine_try_cflags_saved=$CFLAGS
8308 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8312 _ACEOF
8313 if ac_fn_c_try_link "$LINENO"; then :
8314 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8315 else
8316 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8318 rm -f core conftest.err conftest.$ac_objext \
8319 conftest$ac_exeext conftest.$ac_ext
8320 CFLAGS=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8324 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8325 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8327 rm -f conftest.map
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8330 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8331 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 ac_wine_try_cflags_saved=$CFLAGS
8335 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8339 _ACEOF
8340 if ac_fn_c_try_link "$LINENO"; then :
8341 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8342 else
8343 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8345 rm -f core conftest.err conftest.$ac_objext \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8350 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8351 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8352 LDEXECFLAGS="-Wl,--export-dynamic"
8355 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8357 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8358 if eval \${$as_ac_var+:} false; then :
8359 $as_echo_n "(cached) " >&6
8360 else
8361 ac_wine_try_cflags_saved=$CFLAGS
8362 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8365 int main(int argc, char **argv) { return 0; }
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 eval "$as_ac_var=yes"
8369 else
8370 eval "$as_ac_var=no"
8372 rm -f core conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 CFLAGS=$ac_wine_try_cflags_saved
8376 eval ac_res=\$$as_ac_var
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8378 $as_echo "$ac_res" >&6; }
8379 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8380 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8381 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8382 else
8383 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8385 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8386 if eval \${$as_ac_var+:} false; then :
8387 $as_echo_n "(cached) " >&6
8388 else
8389 ac_wine_try_cflags_saved=$CFLAGS
8390 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8393 int main(int argc, char **argv) { return 0; }
8394 _ACEOF
8395 if ac_fn_c_try_link "$LINENO"; then :
8396 eval "$as_ac_var=yes"
8397 else
8398 eval "$as_ac_var=no"
8400 rm -f core conftest.err conftest.$ac_objext \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 eval ac_res=\$$as_ac_var
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8406 $as_echo "$ac_res" >&6; }
8407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8408 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8409 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8414 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8415 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 ac_cv_cflags__Wl___enable_new_dtags=yes
8426 else
8427 ac_cv_cflags__Wl___enable_new_dtags=no
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8434 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8435 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8436 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8439 case $host_cpu in
8440 *i[3456789]86* | x86_64)
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8442 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8443 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8454 else
8455 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8462 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8463 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8464 case $host_os in
8465 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8466 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8467 esac
8470 # Extract the first word of "prelink", so it can be a program name with args.
8471 set dummy prelink; ac_word=$2
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8473 $as_echo_n "checking for $ac_word... " >&6; }
8474 if ${ac_cv_path_PRELINK+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 case $PRELINK in
8478 [\\/]* | ?:[\\/]*)
8479 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 for as_dir in /sbin /usr/sbin $PATH
8485 IFS=$as_save_IFS
8486 test -z "$as_dir" && as_dir=.
8487 for ac_exec_ext in '' $ac_executable_extensions; do
8488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8489 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491 break 2
8493 done
8494 done
8495 IFS=$as_save_IFS
8497 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8499 esac
8501 PRELINK=$ac_cv_path_PRELINK
8502 if test -n "$PRELINK"; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8504 $as_echo "$PRELINK" >&6; }
8505 else
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507 $as_echo "no" >&6; }
8511 if test "x$PRELINK" = xfalse
8512 then
8513 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8516 esac
8518 else
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8520 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8521 if ${ac_cv_c_dll_unixware+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 void myfunc() {}
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 ac_cv_c_dll_unixware="yes"
8532 else
8533 ac_cv_c_dll_unixware="no"
8535 rm -f core conftest.err conftest.$ac_objext \
8536 conftest$ac_exeext conftest.$ac_ext
8537 CFLAGS=$ac_wine_try_cflags_saved
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8540 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8541 if test "$ac_cv_c_dll_unixware" = "yes"
8542 then
8543 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8546 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8547 LIBWINE_RULES="
8548 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8550 all: libwine.so
8552 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8553 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8555 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8556 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8558 libwine.so: libwine.so.$libwine_soversion
8559 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8561 install install-lib:: libwine.so.$libwine_version
8562 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8563 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8565 install install-dev::
8566 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8568 uninstall::
8569 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8573 as_fn_append LOADER_RULES "
8574 $wine_binary: main.o
8575 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8577 wine-installed: main.o
8578 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8581 esac
8583 as_fn_append LIBWINE_RULES "
8584 EXTRA_TARGETS = $libwine_targets
8587 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8588 enable_winemac_drv=${enable_winemac_drv:-no}
8590 CROSSTARGET=""
8592 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8593 then
8594 case "$host_cpu" in
8595 i[3456789]86*)
8596 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
8597 mingw32-gcc" ;;
8598 x86_64)
8599 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 " ;;
8601 ac_prefix_list="" ;;
8602 esac
8603 for ac_prog in $ac_prefix_list
8605 # Extract the first word of "$ac_prog", so it can be a program name with args.
8606 set dummy $ac_prog; ac_word=$2
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8608 $as_echo_n "checking for $ac_word... " >&6; }
8609 if ${ac_cv_prog_CROSSCC+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 if test -n "$CROSSCC"; then
8613 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8614 else
8615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8616 for as_dir in $PATH
8618 IFS=$as_save_IFS
8619 test -z "$as_dir" && as_dir=.
8620 for ac_exec_ext in '' $ac_executable_extensions; do
8621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8622 ac_cv_prog_CROSSCC="$ac_prog"
8623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8624 break 2
8626 done
8627 done
8628 IFS=$as_save_IFS
8632 CROSSCC=$ac_cv_prog_CROSSCC
8633 if test -n "$CROSSCC"; then
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8635 $as_echo "$CROSSCC" >&6; }
8636 else
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8638 $as_echo "no" >&6; }
8642 test -n "$CROSSCC" && break
8643 done
8644 test -n "$CROSSCC" || CROSSCC="false"
8646 if test "$CROSSCC" != "false"
8647 then
8648 ac_save_CC="$CC"
8649 CC="$CROSSCC"
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8651 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8656 main ()
8660 return 0;
8662 _ACEOF
8663 if ac_fn_c_try_compile "$LINENO"; then :
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8665 $as_echo "yes" >&6; }
8666 set x $CROSSCC
8667 shift
8668 while test $# -ge 1
8670 case "$1" in
8671 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8672 esac
8673 shift
8674 done
8675 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8680 CC="$ac_save_CC"
8685 if test "$ac_cv_header_pthread_h" = "yes"
8686 then
8687 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8688 if test "x$ac_cv_func_pthread_create" = xyes; then :
8690 else
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8692 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8693 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 ac_check_lib_save_LIBS=$LIBS
8697 LIBS="-lpthread $LIBS"
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8701 /* Override any GCC internal prototype to avoid an error.
8702 Use char because int might match the return type of a GCC
8703 builtin and then its argument prototype would still apply. */
8704 #ifdef __cplusplus
8705 extern "C"
8706 #endif
8707 char pthread_create ();
8709 main ()
8711 return pthread_create ();
8713 return 0;
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_lib_pthread_pthread_create=yes
8718 else
8719 ac_cv_lib_pthread_pthread_create=no
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 LIBS=$ac_check_lib_save_LIBS
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8726 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8727 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8728 PTHREAD_LIBS="-lpthread"
8735 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8736 case "x$with_pthread" in
8737 xno) ;;
8738 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8739 Wine cannot support threads without libpthread.
8740 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8741 esac
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8746 $as_echo_n "checking for X... " >&6; }
8749 # Check whether --with-x was given.
8750 if test "${with_x+set}" = set; then :
8751 withval=$with_x;
8754 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8755 if test "x$with_x" = xno; then
8756 # The user explicitly disabled X.
8757 have_x=disabled
8758 else
8759 case $x_includes,$x_libraries in #(
8760 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8761 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 # One or both of the vars are not set, and there is no cached value.
8765 ac_x_includes=no ac_x_libraries=no
8766 rm -f -r conftest.dir
8767 if mkdir conftest.dir; then
8768 cd conftest.dir
8769 cat >Imakefile <<'_ACEOF'
8770 incroot:
8771 @echo incroot='${INCROOT}'
8772 usrlibdir:
8773 @echo usrlibdir='${USRLIBDIR}'
8774 libdir:
8775 @echo libdir='${LIBDIR}'
8776 _ACEOF
8777 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8778 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8779 for ac_var in incroot usrlibdir libdir; do
8780 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8781 done
8782 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8783 for ac_extension in a so sl dylib la dll; do
8784 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8785 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8786 ac_im_usrlibdir=$ac_im_libdir; break
8788 done
8789 # Screen out bogus values from the imake configuration. They are
8790 # bogus both because they are the default anyway, and because
8791 # using them would break gcc on systems where it needs fixed includes.
8792 case $ac_im_incroot in
8793 /usr/include) ac_x_includes= ;;
8794 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8795 esac
8796 case $ac_im_usrlibdir in
8797 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8798 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8799 esac
8801 cd ..
8802 rm -f -r conftest.dir
8805 # Standard set of common directories for X headers.
8806 # Check X11 before X11Rn because it is often a symlink to the current release.
8807 ac_x_header_dirs='
8808 /usr/X11/include
8809 /usr/X11R7/include
8810 /usr/X11R6/include
8811 /usr/X11R5/include
8812 /usr/X11R4/include
8814 /usr/include/X11
8815 /usr/include/X11R7
8816 /usr/include/X11R6
8817 /usr/include/X11R5
8818 /usr/include/X11R4
8820 /usr/local/X11/include
8821 /usr/local/X11R7/include
8822 /usr/local/X11R6/include
8823 /usr/local/X11R5/include
8824 /usr/local/X11R4/include
8826 /usr/local/include/X11
8827 /usr/local/include/X11R7
8828 /usr/local/include/X11R6
8829 /usr/local/include/X11R5
8830 /usr/local/include/X11R4
8832 /usr/X386/include
8833 /usr/x386/include
8834 /usr/XFree86/include/X11
8836 /usr/include
8837 /usr/local/include
8838 /usr/unsupported/include
8839 /usr/athena/include
8840 /usr/local/x11r5/include
8841 /usr/lpp/Xamples/include
8843 /usr/openwin/include
8844 /usr/openwin/share/include'
8846 if test "$ac_x_includes" = no; then
8847 # Guess where to find include files, by looking for Xlib.h.
8848 # First, try using that file with no special directory specified.
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 #include <X11/Xlib.h>
8852 _ACEOF
8853 if ac_fn_c_try_cpp "$LINENO"; then :
8854 # We can compile using X headers with no special include directory.
8855 ac_x_includes=
8856 else
8857 for ac_dir in $ac_x_header_dirs; do
8858 if test -r "$ac_dir/X11/Xlib.h"; then
8859 ac_x_includes=$ac_dir
8860 break
8862 done
8864 rm -f conftest.err conftest.i conftest.$ac_ext
8865 fi # $ac_x_includes = no
8867 if test "$ac_x_libraries" = no; then
8868 # Check for the libraries.
8869 # See if we find them without any special options.
8870 # Don't add to $LIBS permanently.
8871 ac_save_LIBS=$LIBS
8872 LIBS="-lX11 $LIBS"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 #include <X11/Xlib.h>
8877 main ()
8879 XrmInitialize ()
8881 return 0;
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 LIBS=$ac_save_LIBS
8886 # We can link X programs with no special library path.
8887 ac_x_libraries=
8888 else
8889 LIBS=$ac_save_LIBS
8890 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8892 # Don't even attempt the hair of trying to link an X program!
8893 for ac_extension in a so sl dylib la dll; do
8894 if test -r "$ac_dir/libX11.$ac_extension"; then
8895 ac_x_libraries=$ac_dir
8896 break 2
8898 done
8899 done
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8903 fi # $ac_x_libraries = no
8905 case $ac_x_includes,$ac_x_libraries in #(
8906 no,* | *,no | *\'*)
8907 # Didn't find X, or a directory has "'" in its name.
8908 ac_cv_have_x="have_x=no";; #(
8910 # Record where we found X for the cache.
8911 ac_cv_have_x="have_x=yes\
8912 ac_x_includes='$ac_x_includes'\
8913 ac_x_libraries='$ac_x_libraries'"
8914 esac
8916 ;; #(
8917 *) have_x=yes;;
8918 esac
8919 eval "$ac_cv_have_x"
8920 fi # $with_x != no
8922 if test "$have_x" != yes; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8924 $as_echo "$have_x" >&6; }
8925 no_x=yes
8926 else
8927 # If each of the values was on the command line, it overrides each guess.
8928 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8929 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8930 # Update the cache value to reflect the command line values.
8931 ac_cv_have_x="have_x=yes\
8932 ac_x_includes='$x_includes'\
8933 ac_x_libraries='$x_libraries'"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8935 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8938 if test "$no_x" = yes; then
8939 # Not all programs may use this symbol, but it does not hurt to define it.
8941 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8943 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8944 else
8945 if test -n "$x_includes"; then
8946 X_CFLAGS="$X_CFLAGS -I$x_includes"
8949 # It would also be nice to do this for all -L options, not just this one.
8950 if test -n "$x_libraries"; then
8951 X_LIBS="$X_LIBS -L$x_libraries"
8952 # For Solaris; some versions of Sun CC require a space after -R and
8953 # others require no space. Words are not sufficient . . . .
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8955 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8956 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8957 ac_xsave_c_werror_flag=$ac_c_werror_flag
8958 ac_c_werror_flag=yes
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8963 main ()
8967 return 0;
8969 _ACEOF
8970 if ac_fn_c_try_link "$LINENO"; then :
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8972 $as_echo "no" >&6; }
8973 X_LIBS="$X_LIBS -R$x_libraries"
8974 else
8975 LIBS="$ac_xsave_LIBS -R $x_libraries"
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8980 main ()
8984 return 0;
8986 _ACEOF
8987 if ac_fn_c_try_link "$LINENO"; then :
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8989 $as_echo "yes" >&6; }
8990 X_LIBS="$X_LIBS -R $x_libraries"
8991 else
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8993 $as_echo "neither works" >&6; }
8995 rm -f core conftest.err conftest.$ac_objext \
8996 conftest$ac_exeext conftest.$ac_ext
8998 rm -f core conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 ac_c_werror_flag=$ac_xsave_c_werror_flag
9001 LIBS=$ac_xsave_LIBS
9004 # Check for system-dependent libraries X programs must link with.
9005 # Do this before checking for the system-independent R6 libraries
9006 # (-lICE), since we may need -lsocket or whatever for X linking.
9008 if test "$ISC" = yes; then
9009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9010 else
9011 # Martyn Johnson says this is needed for Ultrix, if the X
9012 # libraries were built with DECnet support. And Karl Berry says
9013 # the Alpha needs dnet_stub (dnet does not exist).
9014 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
9026 main ()
9028 return XOpenDisplay ();
9030 return 0;
9032 _ACEOF
9033 if ac_fn_c_try_link "$LINENO"; then :
9035 else
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9037 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9038 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9039 $as_echo_n "(cached) " >&6
9040 else
9041 ac_check_lib_save_LIBS=$LIBS
9042 LIBS="-ldnet $LIBS"
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9049 #ifdef __cplusplus
9050 extern "C"
9051 #endif
9052 char dnet_ntoa ();
9054 main ()
9056 return dnet_ntoa ();
9058 return 0;
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_lib_dnet_dnet_ntoa=yes
9063 else
9064 ac_cv_lib_dnet_dnet_ntoa=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_lib_save_LIBS
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9071 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9072 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9073 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9076 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9078 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9079 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_check_lib_save_LIBS=$LIBS
9083 LIBS="-ldnet_stub $LIBS"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9087 /* Override any GCC internal prototype to avoid an error.
9088 Use char because int might match the return type of a GCC
9089 builtin and then its argument prototype would still apply. */
9090 #ifdef __cplusplus
9091 extern "C"
9092 #endif
9093 char dnet_ntoa ();
9095 main ()
9097 return dnet_ntoa ();
9099 return 0;
9101 _ACEOF
9102 if ac_fn_c_try_link "$LINENO"; then :
9103 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9104 else
9105 ac_cv_lib_dnet_stub_dnet_ntoa=no
9107 rm -f core conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext
9109 LIBS=$ac_check_lib_save_LIBS
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9112 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9113 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9114 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9119 rm -f core conftest.err conftest.$ac_objext \
9120 conftest$ac_exeext conftest.$ac_ext
9121 LIBS="$ac_xsave_LIBS"
9123 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9124 # to get the SysV transport functions.
9125 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9126 # needs -lnsl.
9127 # The nsl library prevents programs from opening the X display
9128 # on Irix 5.2, according to T.E. Dickey.
9129 # The functions gethostbyname, getservbyname, and inet_addr are
9130 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9131 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9132 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9136 if test $ac_cv_func_gethostbyname = no; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9138 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9139 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_check_lib_save_LIBS=$LIBS
9143 LIBS="-lnsl $LIBS"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9150 #ifdef __cplusplus
9151 extern "C"
9152 #endif
9153 char gethostbyname ();
9155 main ()
9157 return gethostbyname ();
9159 return 0;
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 ac_cv_lib_nsl_gethostbyname=yes
9164 else
9165 ac_cv_lib_nsl_gethostbyname=no
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LIBS=$ac_check_lib_save_LIBS
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9172 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9173 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9177 if test $ac_cv_lib_nsl_gethostbyname = no; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9179 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9180 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_lib_save_LIBS=$LIBS
9184 LIBS="-lbsd $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char gethostbyname ();
9196 main ()
9198 return gethostbyname ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 ac_cv_lib_bsd_gethostbyname=yes
9205 else
9206 ac_cv_lib_bsd_gethostbyname=no
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9213 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9214 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9215 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9221 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9222 # socket/setsockopt and other routines are undefined under SCO ODT
9223 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9224 # on later versions), says Simon Leinen: it contains gethostby*
9225 # variants that don't use the name server (or something). -lsocket
9226 # must be given before -lnsl if both are needed. We assume that
9227 # if connect needs -lnsl, so does gethostbyname.
9228 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9229 if test "x$ac_cv_func_connect" = xyes; then :
9233 if test $ac_cv_func_connect = no; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9235 $as_echo_n "checking for connect in -lsocket... " >&6; }
9236 if ${ac_cv_lib_socket_connect+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char connect ();
9252 main ()
9254 return connect ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_socket_connect=yes
9261 else
9262 ac_cv_lib_socket_connect=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9269 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9270 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9271 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9276 # Guillermo Gomez says -lposix is necessary on A/UX.
9277 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9278 if test "x$ac_cv_func_remove" = xyes; then :
9282 if test $ac_cv_func_remove = no; then
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9284 $as_echo_n "checking for remove in -lposix... " >&6; }
9285 if ${ac_cv_lib_posix_remove+:} false; then :
9286 $as_echo_n "(cached) " >&6
9287 else
9288 ac_check_lib_save_LIBS=$LIBS
9289 LIBS="-lposix $LIBS"
9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291 /* end confdefs.h. */
9293 /* Override any GCC internal prototype to avoid an error.
9294 Use char because int might match the return type of a GCC
9295 builtin and then its argument prototype would still apply. */
9296 #ifdef __cplusplus
9297 extern "C"
9298 #endif
9299 char remove ();
9301 main ()
9303 return remove ();
9305 return 0;
9307 _ACEOF
9308 if ac_fn_c_try_link "$LINENO"; then :
9309 ac_cv_lib_posix_remove=yes
9310 else
9311 ac_cv_lib_posix_remove=no
9313 rm -f core conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS=$ac_check_lib_save_LIBS
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9318 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9319 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9320 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9325 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9326 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9327 if test "x$ac_cv_func_shmat" = xyes; then :
9331 if test $ac_cv_func_shmat = no; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9333 $as_echo_n "checking for shmat in -lipc... " >&6; }
9334 if ${ac_cv_lib_ipc_shmat+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_lib_save_LIBS=$LIBS
9338 LIBS="-lipc $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char shmat ();
9350 main ()
9352 return shmat ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_lib_ipc_shmat=yes
9359 else
9360 ac_cv_lib_ipc_shmat=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9367 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9368 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9375 # Check for libraries that X11R6 Xt/Xaw programs need.
9376 ac_save_LDFLAGS=$LDFLAGS
9377 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9379 # check for ICE first), but we must link in the order -lSM -lICE or
9380 # we get undefined symbols. So assume we have SM if we have ICE.
9381 # These have to be linked with before -lX11, unlike the other
9382 # libraries we check for below, so use a different variable.
9383 # John Interrante, Karl Berry
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9385 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9386 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_check_lib_save_LIBS=$LIBS
9390 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9397 #ifdef __cplusplus
9398 extern "C"
9399 #endif
9400 char IceConnectionNumber ();
9402 main ()
9404 return IceConnectionNumber ();
9406 return 0;
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_lib_ICE_IceConnectionNumber=yes
9411 else
9412 ac_cv_lib_ICE_IceConnectionNumber=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 LIBS=$ac_check_lib_save_LIBS
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9419 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9420 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9421 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9424 LDFLAGS=$ac_save_LDFLAGS
9429 if test "$have_x" = "yes"
9430 then
9431 ac_save_CPPFLAGS="$CPPFLAGS"
9432 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9435 $as_echo_n "checking for -lX11... " >&6; }
9436 if ${ac_cv_lib_soname_X11+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_check_soname_save_LIBS=$LIBS
9440 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9447 #ifdef __cplusplus
9448 extern "C"
9449 #endif
9450 char XCreateWindow ();
9452 main ()
9454 return XCreateWindow ();
9456 return 0;
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 case "$LIBEXT" in
9461 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9462 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'` ;;
9463 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9464 if ${ac_cv_lib_soname_X11:+false} :; then :
9465 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9466 fi ;;
9467 esac
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 LIBS=$ac_check_soname_save_LIBS
9473 if ${ac_cv_lib_soname_X11:+false} :; then :
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9475 $as_echo "not found" >&6; }
9477 else
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9479 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9481 cat >>confdefs.h <<_ACEOF
9482 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9483 _ACEOF
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9488 $as_echo_n "checking for -lXext... " >&6; }
9489 if ${ac_cv_lib_soname_Xext+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 ac_check_soname_save_LIBS=$LIBS
9493 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9497 /* Override any GCC internal prototype to avoid an error.
9498 Use char because int might match the return type of a GCC
9499 builtin and then its argument prototype would still apply. */
9500 #ifdef __cplusplus
9501 extern "C"
9502 #endif
9503 char XextCreateExtension ();
9505 main ()
9507 return XextCreateExtension ();
9509 return 0;
9511 _ACEOF
9512 if ac_fn_c_try_link "$LINENO"; then :
9513 case "$LIBEXT" in
9514 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9515 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'` ;;
9516 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9517 if ${ac_cv_lib_soname_Xext:+false} :; then :
9518 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9519 fi ;;
9520 esac
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 LIBS=$ac_check_soname_save_LIBS
9526 if ${ac_cv_lib_soname_Xext:+false} :; then :
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9528 $as_echo "not found" >&6; }
9530 else
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9532 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9534 cat >>confdefs.h <<_ACEOF
9535 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9536 _ACEOF
9538 X_LIBS="$X_LIBS -lXext"
9540 X_LIBS="$X_LIBS -lX11"
9542 for ac_header in X11/Xlib.h \
9543 X11/XKBlib.h \
9544 X11/Xutil.h \
9545 X11/Xcursor/Xcursor.h \
9546 X11/extensions/shape.h \
9547 X11/extensions/XInput.h \
9548 X11/extensions/XInput2.h \
9549 X11/extensions/XShm.h \
9550 X11/extensions/Xcomposite.h \
9551 X11/extensions/Xinerama.h \
9552 X11/extensions/Xrandr.h \
9553 X11/extensions/Xrender.h \
9554 X11/extensions/xf86vmode.h \
9555 X11/extensions/xf86vmproto.h
9556 do :
9557 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9558 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9559 # include <X11/Xlib.h>
9560 #endif
9561 #ifdef HAVE_X11_XUTIL_H
9562 # include <X11/Xutil.h>
9563 #endif
9565 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9566 cat >>confdefs.h <<_ACEOF
9567 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9568 _ACEOF
9572 done
9575 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9576 then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9578 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9579 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9587 /* Override any GCC internal prototype to avoid an error.
9588 Use char because int might match the return type of a GCC
9589 builtin and then its argument prototype would still apply. */
9590 #ifdef __cplusplus
9591 extern "C"
9592 #endif
9593 char XkbQueryExtension ();
9595 main ()
9597 return XkbQueryExtension ();
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 ac_cv_lib_X11_XkbQueryExtension=yes
9604 else
9605 ac_cv_lib_X11_XkbQueryExtension=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LIBS=$ac_check_lib_save_LIBS
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9612 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9613 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9615 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9621 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9622 then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9624 $as_echo_n "checking for -lXcursor... " >&6; }
9625 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_check_soname_save_LIBS=$LIBS
9629 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9636 #ifdef __cplusplus
9637 extern "C"
9638 #endif
9639 char XcursorImageLoadCursor ();
9641 main ()
9643 return XcursorImageLoadCursor ();
9645 return 0;
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 case "$LIBEXT" in
9650 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9651 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'` ;;
9652 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9653 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9654 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9655 fi ;;
9656 esac
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 LIBS=$ac_check_soname_save_LIBS
9662 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9664 $as_echo "not found" >&6; }
9666 else
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9668 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9670 cat >>confdefs.h <<_ACEOF
9671 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9672 _ACEOF
9677 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9678 case "x$with_xcursor" in
9679 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9680 xno) ;;
9681 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9682 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9683 esac
9686 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9687 then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9689 $as_echo_n "checking for -lXi... " >&6; }
9690 if ${ac_cv_lib_soname_Xi+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_check_soname_save_LIBS=$LIBS
9694 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9701 #ifdef __cplusplus
9702 extern "C"
9703 #endif
9704 char XOpenDevice ();
9706 main ()
9708 return XOpenDevice ();
9710 return 0;
9712 _ACEOF
9713 if ac_fn_c_try_link "$LINENO"; then :
9714 case "$LIBEXT" in
9715 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_Xi:+false} :; then :
9719 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9720 fi ;;
9721 esac
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_Xi:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9731 else
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9733 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9737 _ACEOF
9742 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9743 case "x$with_xinput" in
9744 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9745 xno) ;;
9746 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9747 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9748 esac
9751 if test "x$ac_cv_lib_soname_Xi" != x
9752 then
9753 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9754 case "x$with_xinput2" in
9755 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9756 xno) ;;
9757 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9758 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9759 esac
9763 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9764 then
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9766 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9767 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_check_lib_save_LIBS=$LIBS
9771 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773 /* end confdefs.h. */
9775 /* Override any GCC internal prototype to avoid an error.
9776 Use char because int might match the return type of a GCC
9777 builtin and then its argument prototype would still apply. */
9778 #ifdef __cplusplus
9779 extern "C"
9780 #endif
9781 char XShmQueryExtension ();
9783 main ()
9785 return XShmQueryExtension ();
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_link "$LINENO"; then :
9791 ac_cv_lib_Xext_XShmQueryExtension=yes
9792 else
9793 ac_cv_lib_Xext_XShmQueryExtension=no
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_lib_save_LIBS
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9800 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9801 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9803 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9808 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9809 case "x$with_xshm" in
9810 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9811 xno) ;;
9812 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9813 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9814 esac
9817 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9818 then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9820 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9821 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9832 #ifdef __cplusplus
9833 extern "C"
9834 #endif
9835 char XShapeQueryExtension ();
9837 main ()
9839 return XShapeQueryExtension ();
9841 return 0;
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_lib_Xext_XShapeQueryExtension=yes
9846 else
9847 ac_cv_lib_Xext_XShapeQueryExtension=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 LIBS=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9854 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9855 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9857 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9862 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9863 case "x$with_xshape" in
9864 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9865 xno) ;;
9866 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9867 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9868 esac
9871 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9872 then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9874 $as_echo_n "checking for -lXxf86vm... " >&6; }
9875 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9876 $as_echo_n "(cached) " >&6
9877 else
9878 ac_check_soname_save_LIBS=$LIBS
9879 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9881 /* end confdefs.h. */
9883 /* Override any GCC internal prototype to avoid an error.
9884 Use char because int might match the return type of a GCC
9885 builtin and then its argument prototype would still apply. */
9886 #ifdef __cplusplus
9887 extern "C"
9888 #endif
9889 char XF86VidModeQueryExtension ();
9891 main ()
9893 return XF86VidModeQueryExtension ();
9895 return 0;
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 case "$LIBEXT" in
9900 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9901 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'` ;;
9902 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9903 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9904 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9905 fi ;;
9906 esac
9908 rm -f core conftest.err conftest.$ac_objext \
9909 conftest$ac_exeext conftest.$ac_ext
9910 LIBS=$ac_check_soname_save_LIBS
9912 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9914 $as_echo "not found" >&6; }
9916 else
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9918 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9920 cat >>confdefs.h <<_ACEOF
9921 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9922 _ACEOF
9927 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9928 case "x$with_xxf86vm" in
9929 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9930 xno) ;;
9931 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9932 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9933 esac
9936 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9937 then
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9939 $as_echo_n "checking for -lXrender... " >&6; }
9940 if ${ac_cv_lib_soname_Xrender+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_check_soname_save_LIBS=$LIBS
9944 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 #ifdef __cplusplus
9952 extern "C"
9953 #endif
9954 char XRenderQueryExtension ();
9956 main ()
9958 return XRenderQueryExtension ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 case "$LIBEXT" in
9965 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9969 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 fi ;;
9971 esac
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_soname_save_LIBS
9977 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9981 else
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9983 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9985 cat >>confdefs.h <<_ACEOF
9986 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9987 _ACEOF
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9990 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9991 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_check_lib_save_LIBS=$LIBS
9995 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 char XRenderSetPictureTransform ();
10007 main ()
10009 return XRenderSetPictureTransform ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10016 else
10017 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10024 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10025 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10027 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10032 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10033 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_check_lib_save_LIBS=$LIBS
10037 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10044 #ifdef __cplusplus
10045 extern "C"
10046 #endif
10047 char XRenderCreateLinearGradient ();
10049 main ()
10051 return XRenderCreateLinearGradient ();
10053 return 0;
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10058 else
10059 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10066 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10067 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10069 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10076 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10077 case "x$with_xrender" in
10078 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10079 xno) ;;
10080 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10081 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10082 esac
10085 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10086 then
10087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xrandr.h>
10092 main ()
10094 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_compile "$LINENO"; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10101 $as_echo_n "checking for -lXrandr... " >&6; }
10102 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_check_soname_save_LIBS=$LIBS
10106 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10110 /* Override any GCC internal prototype to avoid an error.
10111 Use char because int might match the return type of a GCC
10112 builtin and then its argument prototype would still apply. */
10113 #ifdef __cplusplus
10114 extern "C"
10115 #endif
10116 char XRRQueryExtension ();
10118 main ()
10120 return XRRQueryExtension ();
10122 return 0;
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 case "$LIBEXT" in
10127 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10128 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'` ;;
10129 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10130 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10131 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10132 fi ;;
10133 esac
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 LIBS=$ac_check_soname_save_LIBS
10139 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10141 $as_echo "not found" >&6; }
10143 else
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10145 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10147 cat >>confdefs.h <<_ACEOF
10148 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10149 _ACEOF
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 #include <X11/Xlib.h>
10154 #include <X11/extensions/Xrandr.h>
10156 main ()
10158 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_compile "$LINENO"; then :
10165 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10173 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10174 case "x$with_xrandr" in
10175 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10176 xno) ;;
10177 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10178 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10179 esac
10182 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10183 then
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 #include <X11/Xlib.h>
10187 #include <X11/extensions/Xinerama.h>
10189 main ()
10191 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_compile "$LINENO"; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10198 $as_echo_n "checking for -lXinerama... " >&6; }
10199 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_soname_save_LIBS=$LIBS
10203 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char XineramaQueryScreens ();
10215 main ()
10217 return XineramaQueryScreens ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 case "$LIBEXT" in
10224 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10225 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'` ;;
10226 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10227 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10228 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10229 fi ;;
10230 esac
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_soname_save_LIBS
10236 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10238 $as_echo "not found" >&6; }
10240 else
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10242 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10244 cat >>confdefs.h <<_ACEOF
10245 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10246 _ACEOF
10251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10253 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10254 case "x$with_xinerama" in
10255 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10256 xno) ;;
10257 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10258 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10259 esac
10262 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10263 then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10265 $as_echo_n "checking for -lXcomposite... " >&6; }
10266 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_check_soname_save_LIBS=$LIBS
10270 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char XCompositeRedirectWindow ();
10282 main ()
10284 return XCompositeRedirectWindow ();
10286 return 0;
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 case "$LIBEXT" in
10291 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10292 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'` ;;
10293 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10294 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10295 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10296 fi ;;
10297 esac
10299 rm -f core conftest.err conftest.$ac_objext \
10300 conftest$ac_exeext conftest.$ac_ext
10301 LIBS=$ac_check_soname_save_LIBS
10303 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10305 $as_echo "not found" >&6; }
10307 else
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10309 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10311 cat >>confdefs.h <<_ACEOF
10312 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10313 _ACEOF
10318 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10319 case "x$with_xcomposite" in
10320 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10321 xno) ;;
10322 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10323 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10324 esac
10327 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10328 #include <X11/Xlib.h>
10329 #endif
10331 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10333 cat >>confdefs.h <<_ACEOF
10334 #define HAVE_XICCALLBACK_CALLBACK 1
10335 _ACEOF
10339 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10340 #include <X11/Xlib.h>
10341 #endif
10343 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10345 cat >>confdefs.h <<_ACEOF
10346 #define HAVE_XEVENT_XCOOKIE 1
10347 _ACEOF
10354 opengl_msg=""
10355 if test "x$with_opengl" != "xno"
10356 then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10358 $as_echo_n "checking for -lGL... " >&6; }
10359 if ${ac_cv_lib_soname_GL+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_check_soname_save_LIBS=$LIBS
10363 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10370 #ifdef __cplusplus
10371 extern "C"
10372 #endif
10373 char glXCreateContext ();
10375 main ()
10377 return glXCreateContext ();
10379 return 0;
10381 _ACEOF
10382 if ac_fn_c_try_link "$LINENO"; then :
10383 case "$LIBEXT" in
10384 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10385 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'` ;;
10386 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10387 if ${ac_cv_lib_soname_GL:+false} :; then :
10388 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10389 fi ;;
10390 esac
10392 rm -f core conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10394 LIBS=$ac_check_soname_save_LIBS
10396 if ${ac_cv_lib_soname_GL:+false} :; then :
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10398 $as_echo "not found" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10400 $as_echo_n "checking for -lGL... " >&6; }
10401 if ${ac_cv_lib_soname_GL+:} false; then :
10402 $as_echo_n "(cached) " >&6
10403 else
10404 ac_check_soname_save_LIBS=$LIBS
10405 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10412 #ifdef __cplusplus
10413 extern "C"
10414 #endif
10415 char glXCreateContext ();
10417 main ()
10419 return glXCreateContext ();
10421 return 0;
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 case "$LIBEXT" in
10426 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 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'` ;;
10428 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10431 fi ;;
10432 esac
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_GL:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10441 if test -f /usr/X11R6/lib/libGL.a
10442 then
10443 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10444 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10445 else
10446 opengl_msg="No OpenGL library found on this system."
10448 else
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10450 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10454 _ACEOF
10456 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"
10458 else
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10460 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10462 cat >>confdefs.h <<_ACEOF
10463 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10464 _ACEOF
10466 OPENGL_LIBS="-lGL"
10468 if test "x$with_glu" != "xno"
10469 then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10471 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10472 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_lib_save_LIBS=$LIBS
10476 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char gluLookAt ();
10488 main ()
10490 return gluLookAt ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 ac_cv_lib_GLU_gluLookAt=yes
10497 else
10498 ac_cv_lib_GLU_gluLookAt=no
10500 rm -f core conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10505 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10506 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10510 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10511 case "x$with_glu" in
10512 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10513 xno) ;;
10514 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10515 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10516 esac
10520 if test "x$with_osmesa" != "xno"
10521 then
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10523 $as_echo_n "checking for -lOSMesa... " >&6; }
10524 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_check_soname_save_LIBS=$LIBS
10528 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char glAccum ();
10540 main ()
10542 return glAccum ();
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 case "$LIBEXT" in
10549 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10550 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'` ;;
10551 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10552 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10553 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10554 fi ;;
10555 esac
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_soname_save_LIBS
10561 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10563 $as_echo "not found" >&6; }
10565 else
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10567 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10569 cat >>confdefs.h <<_ACEOF
10570 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10571 _ACEOF
10575 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10576 case "x$with_osmesa" in
10577 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10578 xno) ;;
10579 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10580 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10581 esac
10585 if test -n "$opengl_msg"; then :
10586 case "x$with_opengl" in
10587 x) as_fn_append wine_warnings "|$opengl_msg
10588 OpenGL and Direct3D won't be supported." ;;
10589 xno) ;;
10590 *) as_fn_error $? "$opengl_msg
10591 OpenGL and Direct3D won't be supported.
10592 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10593 esac
10596 CPPFLAGS="$ac_save_CPPFLAGS"
10597 else
10598 X_CFLAGS=""
10599 X_LIBS=""
10600 enable_winex11_drv=${enable_winex11_drv:-no}
10602 if test "x$X_LIBS" = "x"; then :
10603 case "x$with_x" in
10604 xno) ;;
10605 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10606 without X support, which probably isn't what you want. You will need
10607 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10608 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10609 esac
10612 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10614 if test "$ac_cv_header_CL_cl_h" = "yes"
10615 then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10617 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10618 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10619 $as_echo_n "(cached) " >&6
10620 else
10621 ac_check_lib_save_LIBS=$LIBS
10622 LIBS="-lOpenCL $LIBS"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 char clGetPlatformInfo ();
10634 main ()
10636 return clGetPlatformInfo ();
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10643 else
10644 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10651 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10652 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10653 OPENCL_LIBS="-lOpenCL"
10658 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10659 case "x$with_opencl" in
10660 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10661 xno) ;;
10662 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10663 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10664 esac
10666 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10668 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10669 then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10671 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10672 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_lib_save_LIBS=$LIBS
10676 LIBS="-lpcap $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char pcap_create ();
10688 main ()
10690 return pcap_create ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 ac_cv_lib_pcap_pcap_create=yes
10697 else
10698 ac_cv_lib_pcap_pcap_create=no
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10705 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10706 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10707 LIBPCAP="-lpcap"
10712 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10713 case "x$with_pcap" in
10714 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10715 xno) ;;
10716 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10717 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10718 esac
10720 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10723 if test "x$with_xml" != "xno"
10724 then
10725 if ${XML2_CFLAGS:+false} :; then :
10726 if ${PKG_CONFIG+:} false; then :
10727 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10730 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10731 if ${XML2_LIBS:+false} :; then :
10732 if ${PKG_CONFIG+:} false; then :
10733 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10736 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10737 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10738 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10739 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10740 ac_save_CPPFLAGS=$CPPFLAGS
10741 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10742 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10743 do :
10744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10745 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10747 cat >>confdefs.h <<_ACEOF
10748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10749 _ACEOF
10753 done
10755 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"
10756 then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10758 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10759 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10760 $as_echo_n "(cached) " >&6
10761 else
10762 ac_check_lib_save_LIBS=$LIBS
10763 LIBS="-lxml2 $XML2_LIBS $LIBS"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10767 /* Override any GCC internal prototype to avoid an error.
10768 Use char because int might match the return type of a GCC
10769 builtin and then its argument prototype would still apply. */
10770 #ifdef __cplusplus
10771 extern "C"
10772 #endif
10773 char xmlParseMemory ();
10775 main ()
10777 return xmlParseMemory ();
10779 return 0;
10781 _ACEOF
10782 if ac_fn_c_try_link "$LINENO"; then :
10783 ac_cv_lib_xml2_xmlParseMemory=yes
10784 else
10785 ac_cv_lib_xml2_xmlParseMemory=no
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_lib_save_LIBS
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10792 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10793 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10795 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10797 else
10798 XML2_LIBS=""
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10802 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10803 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10804 $as_echo_n "(cached) " >&6
10805 else
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-lxml2 $XML2_LIBS $LIBS"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10814 #ifdef __cplusplus
10815 extern "C"
10816 #endif
10817 char xmlReadMemory ();
10819 main ()
10821 return xmlReadMemory ();
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 ac_cv_lib_xml2_xmlReadMemory=yes
10828 else
10829 ac_cv_lib_xml2_xmlReadMemory=no
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_lib_save_LIBS
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10836 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10837 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10839 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10844 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10845 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lxml2 $XML2_LIBS $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char xmlNewDocPI ();
10861 main ()
10863 return xmlNewDocPI ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_xml2_xmlNewDocPI=yes
10870 else
10871 ac_cv_lib_xml2_xmlNewDocPI=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10878 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10879 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10881 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10886 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10887 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10888 $as_echo_n "(cached) " >&6
10889 else
10890 ac_check_lib_save_LIBS=$LIBS
10891 LIBS="-lxml2 $XML2_LIBS $LIBS"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10895 /* Override any GCC internal prototype to avoid an error.
10896 Use char because int might match the return type of a GCC
10897 builtin and then its argument prototype would still apply. */
10898 #ifdef __cplusplus
10899 extern "C"
10900 #endif
10901 char xmlSchemaSetParserStructuredErrors ();
10903 main ()
10905 return xmlSchemaSetParserStructuredErrors ();
10907 return 0;
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"; then :
10911 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10912 else
10913 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10915 rm -f core conftest.err conftest.$ac_objext \
10916 conftest$ac_exeext conftest.$ac_ext
10917 LIBS=$ac_check_lib_save_LIBS
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10920 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10921 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10923 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10928 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10930 $as_echo_n "(cached) " >&6
10931 else
10932 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char xmlSchemaSetValidStructuredErrors ();
10945 main ()
10947 return xmlSchemaSetValidStructuredErrors ();
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10954 else
10955 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10965 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10970 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char xmlFirstElementChild ();
10987 main ()
10989 return xmlFirstElementChild ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_xml2_xmlFirstElementChild=yes
10996 else
10997 ac_cv_lib_xml2_xmlFirstElementChild=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11007 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11011 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11013 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11015 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11019 else
11020 XML2_CFLAGS=""
11021 XML2_LIBS=""
11023 CPPFLAGS=$ac_save_CPPFLAGS
11024 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11025 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11028 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11029 case "x$with_xml" in
11030 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11031 xno) ;;
11032 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11033 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11034 esac
11037 if test "x$with_xslt" != "xno"
11038 then
11039 if ${XSLT_CFLAGS:+false} :; then :
11040 if ${PKG_CONFIG+:} false; then :
11041 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11044 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11045 if ${XSLT_LIBS:+false} :; then :
11046 if ${PKG_CONFIG+:} false; then :
11047 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11050 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11051 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11052 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11053 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11054 ac_save_CPPFLAGS=$CPPFLAGS
11055 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11056 for ac_header in libxslt/pattern.h libxslt/transform.h
11057 do :
11058 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11059 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11060 # include <libxslt/pattern.h>
11061 #endif
11063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11064 cat >>confdefs.h <<_ACEOF
11065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11066 _ACEOF
11070 done
11072 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11073 then
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11075 $as_echo_n "checking for -lxslt... " >&6; }
11076 if ${ac_cv_lib_soname_xslt+:} false; then :
11077 $as_echo_n "(cached) " >&6
11078 else
11079 ac_check_soname_save_LIBS=$LIBS
11080 LIBS="-lxslt $XSLT_LIBS $LIBS"
11081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11082 /* end confdefs.h. */
11084 /* Override any GCC internal prototype to avoid an error.
11085 Use char because int might match the return type of a GCC
11086 builtin and then its argument prototype would still apply. */
11087 #ifdef __cplusplus
11088 extern "C"
11089 #endif
11090 char xsltCompilePattern ();
11092 main ()
11094 return xsltCompilePattern ();
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 case "$LIBEXT" in
11101 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11102 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'` ;;
11103 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11104 if ${ac_cv_lib_soname_xslt:+false} :; then :
11105 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11106 fi ;;
11107 esac
11109 rm -f core conftest.err conftest.$ac_objext \
11110 conftest$ac_exeext conftest.$ac_ext
11111 LIBS=$ac_check_soname_save_LIBS
11113 if ${ac_cv_lib_soname_xslt:+false} :; then :
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11115 $as_echo "not found" >&6; }
11117 else
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11119 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11121 cat >>confdefs.h <<_ACEOF
11122 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11123 _ACEOF
11127 else
11128 XSLT_CFLAGS=""
11130 CPPFLAGS=$ac_save_CPPFLAGS
11131 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11132 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11135 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11136 case "x$with_xslt" in
11137 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11138 xno) ;;
11139 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11140 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11141 esac
11144 if test "x$with_dbus" != "xno"
11145 then
11146 if ${DBUS_CFLAGS:+false} :; then :
11147 if ${PKG_CONFIG+:} false; then :
11148 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11152 if ${DBUS_LIBS:+false} :; then :
11153 if ${PKG_CONFIG+:} false; then :
11154 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11159 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11160 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11161 ac_save_CPPFLAGS=$CPPFLAGS
11162 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11163 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11164 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11166 $as_echo_n "checking for -ldbus-1... " >&6; }
11167 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_soname_save_LIBS=$LIBS
11171 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dbus_connection_close ();
11183 main ()
11185 return dbus_connection_close ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 case "$LIBEXT" in
11192 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) 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'`
11195 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11196 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11197 fi ;;
11198 esac
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_soname_save_LIBS
11204 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11206 $as_echo "not found" >&6; }
11207 DBUS_CFLAGS=""
11208 else
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11210 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11212 cat >>confdefs.h <<_ACEOF
11213 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11214 _ACEOF
11218 else
11219 DBUS_CFLAGS=""
11223 CPPFLAGS=$ac_save_CPPFLAGS
11224 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11225 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11228 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11229 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11230 case "x$with_dbus" in
11231 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11232 xno) ;;
11233 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11234 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11235 esac
11238 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11239 then
11240 if ${HAL_CFLAGS:+false} :; then :
11241 if ${PKG_CONFIG+:} false; then :
11242 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11246 if ${HAL_LIBS:+false} :; then :
11247 if ${PKG_CONFIG+:} false; then :
11248 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11252 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11253 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11254 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11255 ac_save_CPPFLAGS=$CPPFLAGS
11256 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11257 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11258 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11260 $as_echo_n "checking for -lhal... " >&6; }
11261 if ${ac_cv_lib_soname_hal+:} false; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_soname_save_LIBS=$LIBS
11265 LIBS="-lhal $HAL_LIBS $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char libhal_ctx_new ();
11277 main ()
11279 return libhal_ctx_new ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 case "$LIBEXT" in
11286 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11287 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'` ;;
11288 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11289 if ${ac_cv_lib_soname_hal:+false} :; then :
11290 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11291 fi ;;
11292 esac
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_soname_save_LIBS
11298 if ${ac_cv_lib_soname_hal:+false} :; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11300 $as_echo "not found" >&6; }
11301 HAL_CFLAGS=""
11302 else
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11304 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11306 cat >>confdefs.h <<_ACEOF
11307 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11308 _ACEOF
11312 else
11313 HAL_CFLAGS=""
11317 CPPFLAGS=$ac_save_CPPFLAGS
11318 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11319 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11321 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11322 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11323 case "x$with_hal" in
11324 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11325 xno) ;;
11326 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11327 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11328 esac
11332 if test "x$with_gnutls" != "xno"
11333 then
11334 if ${GNUTLS_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false; then :
11336 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11340 if ${GNUTLS_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false; then :
11342 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11347 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11349 ac_save_CPPFLAGS=$CPPFLAGS
11350 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11351 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355 #include <gnutls/gnutls.h>
11356 #include <gnutls/crypto.h>
11358 main ()
11360 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_compile "$LINENO"; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11367 $as_echo_n "checking for -lgnutls... " >&6; }
11368 if ${ac_cv_lib_soname_gnutls+:} false; then :
11369 $as_echo_n "(cached) " >&6
11370 else
11371 ac_check_soname_save_LIBS=$LIBS
11372 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11379 #ifdef __cplusplus
11380 extern "C"
11381 #endif
11382 char gnutls_global_init ();
11384 main ()
11386 return gnutls_global_init ();
11388 return 0;
11390 _ACEOF
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 case "$LIBEXT" in
11393 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11394 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11395 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11396 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11397 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11398 fi ;;
11399 esac
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_soname_save_LIBS
11405 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11407 $as_echo "not found" >&6; }
11408 GNUTLS_CFLAGS=""
11409 else
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11411 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11413 cat >>confdefs.h <<_ACEOF
11414 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11415 _ACEOF
11420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11421 else
11422 GNUTLS_CFLAGS=""
11426 CPPFLAGS=$ac_save_CPPFLAGS
11427 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11428 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11431 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11432 case "x$with_gnutls" in
11433 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11434 xno) ;;
11435 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11436 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11437 esac
11440 CURSES_LIBS=""
11441 if test "$ac_cv_header_ncurses_h" = "yes"
11442 then
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11444 $as_echo_n "checking for -lncurses... " >&6; }
11445 if ${ac_cv_lib_soname_ncurses+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_soname_save_LIBS=$LIBS
11449 LIBS="-lncurses $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char waddch ();
11461 main ()
11463 return waddch ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 case "$LIBEXT" in
11470 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11472 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11473 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11474 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 fi ;;
11476 esac
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11486 else
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11488 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11490 cat >>confdefs.h <<_ACEOF
11491 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11492 _ACEOF
11494 CURSES_LIBS="-lncurses"
11496 elif test "$ac_cv_header_curses_h" = "yes"
11497 then
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11499 $as_echo_n "checking for -lcurses... " >&6; }
11500 if ${ac_cv_lib_soname_curses+:} false; then :
11501 $as_echo_n "(cached) " >&6
11502 else
11503 ac_check_soname_save_LIBS=$LIBS
11504 LIBS="-lcurses $LIBS"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11511 #ifdef __cplusplus
11512 extern "C"
11513 #endif
11514 char waddch ();
11516 main ()
11518 return waddch ();
11520 return 0;
11522 _ACEOF
11523 if ac_fn_c_try_link "$LINENO"; then :
11524 case "$LIBEXT" in
11525 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11528 if ${ac_cv_lib_soname_curses:+false} :; then :
11529 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11530 fi ;;
11531 esac
11533 rm -f core conftest.err conftest.$ac_objext \
11534 conftest$ac_exeext conftest.$ac_ext
11535 LIBS=$ac_check_soname_save_LIBS
11537 if ${ac_cv_lib_soname_curses:+false} :; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11539 $as_echo "not found" >&6; }
11541 else
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11543 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11545 cat >>confdefs.h <<_ACEOF
11546 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11547 _ACEOF
11549 CURSES_LIBS="-lcurses"
11552 ac_save_LIBS="$LIBS"
11553 LIBS="$LIBS $CURSES_LIBS"
11554 for ac_func in mousemask
11555 do :
11556 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11557 if test "x$ac_cv_func_mousemask" = xyes; then :
11558 cat >>confdefs.h <<_ACEOF
11559 #define HAVE_MOUSEMASK 1
11560 _ACEOF
11563 done
11565 LIBS="$ac_save_LIBS"
11566 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11567 case "x$with_curses" in
11568 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11569 xno) ;;
11570 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11571 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11572 esac
11575 if test "x$with_sane" != "xno"
11576 then
11577 if ${SANE_CFLAGS:+false} :; then :
11578 if ${PKG_CONFIG+:} false; then :
11579 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11582 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11583 if ${SANE_LIBS:+false} :; then :
11584 if ${PKG_CONFIG+:} false; then :
11585 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11588 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11590 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11591 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11592 ac_save_CPPFLAGS=$CPPFLAGS
11593 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11594 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11595 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11597 $as_echo_n "checking for -lsane... " >&6; }
11598 if ${ac_cv_lib_soname_sane+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lsane $SANE_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char sane_init ();
11614 main ()
11616 return sane_init ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_sane:+false} :; then :
11627 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_sane:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11638 SANE_CFLAGS=""
11639 else
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11641 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11643 cat >>confdefs.h <<_ACEOF
11644 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11645 _ACEOF
11649 else
11650 SANE_CFLAGS=""
11654 CPPFLAGS=$ac_save_CPPFLAGS
11655 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11656 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11659 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11660 case "x$with_sane" in
11661 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11664 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11665 esac
11668 if test "x$with_v4l" != "xno"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11671 $as_echo_n "checking for -lv4l1... " >&6; }
11672 if ${ac_cv_lib_soname_v4l1+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_soname_save_LIBS=$LIBS
11676 LIBS="-lv4l1 $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char v4l1_open ();
11688 main ()
11690 return v4l1_open ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 case "$LIBEXT" in
11697 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11698 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'` ;;
11699 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11700 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11701 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11702 fi ;;
11703 esac
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_soname_save_LIBS
11709 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11711 $as_echo "not found" >&6; }
11713 else
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11715 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11717 cat >>confdefs.h <<_ACEOF
11718 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11719 _ACEOF
11724 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11725 case "x$with_v4l" in
11726 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11727 xno) ;;
11728 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11729 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11730 esac
11733 if test "x$with_gphoto" != "xno"
11734 then
11735 if ${GPHOTO2_CFLAGS:+false} :; then :
11736 if ${PKG_CONFIG+:} false; then :
11737 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11740 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11741 if ${GPHOTO2_LIBS:+false} :; then :
11742 if ${PKG_CONFIG+:} false; then :
11743 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11746 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11747 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11748 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11749 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11750 ac_save_CPPFLAGS=$CPPFLAGS
11751 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11752 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11753 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11755 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11756 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11764 /* Override any GCC internal prototype to avoid an error.
11765 Use char because int might match the return type of a GCC
11766 builtin and then its argument prototype would still apply. */
11767 #ifdef __cplusplus
11768 extern "C"
11769 #endif
11770 char gp_camera_new ();
11772 main ()
11774 return gp_camera_new ();
11776 return 0;
11778 _ACEOF
11779 if ac_fn_c_try_link "$LINENO"; then :
11780 ac_cv_lib_gphoto2_gp_camera_new=yes
11781 else
11782 ac_cv_lib_gphoto2_gp_camera_new=no
11784 rm -f core conftest.err conftest.$ac_objext \
11785 conftest$ac_exeext conftest.$ac_ext
11786 LIBS=$ac_check_lib_save_LIBS
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11789 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11790 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11792 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11794 else
11795 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11798 else
11799 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11803 CPPFLAGS=$ac_save_CPPFLAGS
11804 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11805 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11807 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11808 if ${PKG_CONFIG+:} false; then :
11809 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11812 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11813 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11818 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11819 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11824 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11827 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11828 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_lib_save_LIBS=$LIBS
11832 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char gp_port_info_list_new ();
11844 main ()
11846 return gp_port_info_list_new ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11853 else
11854 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11856 rm -f core conftest.err conftest.$ac_objext \
11857 conftest$ac_exeext conftest.$ac_ext
11858 LIBS=$ac_check_lib_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11861 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11862 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11864 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11866 else
11867 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11870 else
11871 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11875 CPPFLAGS=$ac_save_CPPFLAGS
11876 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11877 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11880 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11881 case "x$with_gphoto" in
11882 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11883 xno) ;;
11884 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11885 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11886 esac
11888 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11889 case "x$with_gphoto" in
11890 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11891 xno) ;;
11892 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11893 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11894 esac
11898 if test "$ac_cv_header_resolv_h" = "yes"
11899 then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11901 $as_echo_n "checking for resolver library... " >&6; }
11902 if ${ac_cv_have_resolv+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_save_LIBS="$LIBS"
11906 for lib in '' -lresolv
11908 LIBS="$lib $ac_save_LIBS"
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #ifdef HAVE_NETINET_IN_H
11912 #include <netinet/in.h>
11913 #endif
11914 #include <resolv.h>
11916 main ()
11918 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 ac_cv_have_resolv=${lib:-"none required"}
11925 else
11926 ac_cv_have_resolv="not found"
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 test "x$ac_cv_have_resolv" = "xnot found" || break
11931 done
11932 LIBS="$ac_save_LIBS"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11935 $as_echo "$ac_cv_have_resolv" >&6; }
11937 case "$ac_cv_have_resolv" in
11938 "not found") ;;
11939 "none required")
11941 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11944 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11946 RESOLV_LIBS=$ac_cv_have_resolv
11948 esac
11951 if test "x$with_cms" != "xno"
11952 then
11953 if ${LCMS2_CFLAGS:+false} :; then :
11954 if ${PKG_CONFIG+:} false; then :
11955 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11959 if ${LCMS2_LIBS:+false} :; then :
11960 if ${PKG_CONFIG+:} false; then :
11961 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11965 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11966 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11967 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11968 ac_save_CPPFLAGS=$CPPFLAGS
11969 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11970 for ac_header in lcms2.h
11971 do :
11972 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11973 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11974 cat >>confdefs.h <<_ACEOF
11975 #define HAVE_LCMS2_H 1
11976 _ACEOF
11980 done
11982 if test "$ac_cv_header_lcms2_h" = "yes"
11983 then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11985 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11986 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11987 $as_echo_n "(cached) " >&6
11988 else
11989 ac_check_lib_save_LIBS=$LIBS
11990 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
11997 #ifdef __cplusplus
11998 extern "C"
11999 #endif
12000 char cmsOpenProfileFromFile ();
12002 main ()
12004 return cmsOpenProfileFromFile ();
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12011 else
12012 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12019 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12020 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12022 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12024 else
12025 LCMS2_LIBS=""
12028 else
12029 LCMS2_CFLAGS=""
12030 LCMS2_LIBS=""
12032 CPPFLAGS=$ac_save_CPPFLAGS
12033 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12034 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12037 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12038 case "x$with_cms" in
12039 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12042 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12043 esac
12046 if test "x$with_freetype" != "xno"
12047 then
12048 if ${FREETYPE_CFLAGS:+false} :; then :
12049 if ${PKG_CONFIG+:} false; then :
12050 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12053 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12054 if ${FREETYPE_LIBS:+false} :; then :
12055 if ${PKG_CONFIG+:} false; then :
12056 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12059 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12060 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12061 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12062 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12063 ac_save_CPPFLAGS=$CPPFLAGS
12064 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12065 for ac_header in ft2build.h
12066 do :
12067 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12068 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12069 cat >>confdefs.h <<_ACEOF
12070 #define HAVE_FT2BUILD_H 1
12071 _ACEOF
12075 done
12077 if test "$ac_cv_header_ft2build_h" = "yes"
12078 then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12080 $as_echo_n "checking for -lfreetype... " >&6; }
12081 if ${ac_cv_lib_soname_freetype+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char FT_Init_FreeType ();
12097 main ()
12099 return FT_Init_FreeType ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_freetype:+false} :; then :
12110 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if ${ac_cv_lib_soname_freetype:+false} :; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12121 FREETYPE_LIBS=""
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12124 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12126 cat >>confdefs.h <<_ACEOF
12127 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12128 _ACEOF
12131 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12133 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12134 #include FT_MODULE_H
12136 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12138 cat >>confdefs.h <<_ACEOF
12139 #define HAVE_FT_TRUETYPEENGINETYPE 1
12140 _ACEOF
12146 else
12147 FREETYPE_CFLAGS=""
12148 FREETYPE_LIBS=""
12150 CPPFLAGS=$ac_save_CPPFLAGS
12151 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12152 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12155 if test "x$ac_cv_lib_soname_freetype" = x; then :
12156 case "x$with_freetype" in
12157 xno) ;;
12158 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12159 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12160 esac
12162 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12165 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12166 if ${ac_cv_c_ppdev+:} false; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 #ifdef HAVE_SYS_IOCTL_H
12172 # include <sys/ioctl.h>
12173 #endif
12174 #include <linux/ppdev.h>
12176 main ()
12178 ioctl (1,PPCLAIM,0)
12180 return 0;
12182 _ACEOF
12183 if ac_fn_c_try_compile "$LINENO"; then :
12184 ac_cv_c_ppdev="yes"
12185 else
12186 ac_cv_c_ppdev="no"
12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12191 $as_echo "$ac_cv_c_ppdev" >&6; }
12192 if test "$ac_cv_c_ppdev" = "yes"
12193 then
12195 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12199 ac_wine_check_funcs_save_LIBS="$LIBS"
12200 LIBS="$LIBS $PTHREAD_LIBS"
12201 for ac_func in \
12202 pthread_attr_get_np \
12203 pthread_getattr_np \
12204 pthread_getthreadid_np \
12205 pthread_get_stackaddr_np \
12206 pthread_get_stacksize_np
12207 do :
12208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12213 _ACEOF
12216 done
12218 LIBS="$ac_wine_check_funcs_save_LIBS"
12220 if test "$ac_cv_header_zlib_h" = "yes"
12221 then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12223 $as_echo_n "checking for inflate in -lz... " >&6; }
12224 if ${ac_cv_lib_z_inflate+:} false; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_check_lib_save_LIBS=$LIBS
12228 LIBS="-lz $LIBS"
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12235 #ifdef __cplusplus
12236 extern "C"
12237 #endif
12238 char inflate ();
12240 main ()
12242 return inflate ();
12244 return 0;
12246 _ACEOF
12247 if ac_fn_c_try_link "$LINENO"; then :
12248 ac_cv_lib_z_inflate=yes
12249 else
12250 ac_cv_lib_z_inflate=no
12252 rm -f core conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12254 LIBS=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12257 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12258 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12260 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12262 Z_LIBS="-lz"
12267 if test "x$Z_LIBS" = "x"; then :
12268 case "x$with_zlib" in
12269 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12270 xno) ;;
12271 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12272 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12273 esac
12276 if test "x$enable_tools" != xno
12277 then
12278 if test "$ac_cv_header_gettext_po_h" = "yes"
12279 then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12281 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12282 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12283 $as_echo_n "(cached) " >&6
12284 else
12285 ac_check_lib_save_LIBS=$LIBS
12286 LIBS="-lgettextpo $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 #ifdef __cplusplus
12294 extern "C"
12295 #endif
12296 char po_message_msgctxt ();
12298 main ()
12300 return po_message_msgctxt ();
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_link "$LINENO"; then :
12306 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12307 else
12308 ac_cv_lib_gettextpo_po_message_msgctxt=no
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12315 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12316 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12318 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12320 GETTEXTPO_LIBS="-lgettextpo"
12325 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12326 case "x$with_gettextpo" in
12327 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12328 xno) ;;
12329 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12330 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12331 esac
12335 if test "x$with_gstreamer" != "xno"
12336 then
12337 if ${GSTREAMER_CFLAGS:+false} :; then :
12338 if ${PKG_CONFIG+:} false; then :
12339 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12343 if ${GSTREAMER_LIBS:+false} :; then :
12344 if ${PKG_CONFIG+:} false; then :
12345 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12350 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12351 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12352 ac_save_CPPFLAGS=$CPPFLAGS
12353 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12354 ac_gst_incl=""
12355 for i in $GSTREAMER_CFLAGS
12357 case "$i" in
12358 -I*) ac_gst_incl="$ac_gst_incl $i";;
12359 esac
12360 done
12361 GSTREAMER_CFLAGS=$ac_gst_incl
12362 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12363 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12364 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12365 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12366 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12368 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12371 #include <gst/app/gstappsink.h>
12373 main ()
12375 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_compile "$LINENO"; then :
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12382 $as_echo "yes" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12384 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12385 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12386 $as_echo_n "(cached) " >&6
12387 else
12388 ac_check_lib_save_LIBS=$LIBS
12389 LIBS="-lgstreamer-0.10 $LIBS"
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12396 #ifdef __cplusplus
12397 extern "C"
12398 #endif
12399 char gst_pad_get_caps_reffed ();
12401 main ()
12403 return gst_pad_get_caps_reffed ();
12405 return 0;
12407 _ACEOF
12408 if ac_fn_c_try_link "$LINENO"; then :
12409 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12410 else
12411 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_lib_save_LIBS
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12418 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12419 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12421 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12422 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12423 $as_echo_n "(cached) " >&6
12424 else
12425 ac_check_lib_save_LIBS=$LIBS
12426 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12433 #ifdef __cplusplus
12434 extern "C"
12435 #endif
12436 char gst_app_buffer_new ();
12438 main ()
12440 return gst_app_buffer_new ();
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_link "$LINENO"; then :
12446 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12447 else
12448 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_lib_save_LIBS
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12455 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12456 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12462 else
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 $as_echo "no" >&6; }
12466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 else
12471 GSTREAMER_CFLAGS=""
12475 CPPFLAGS=$ac_save_CPPFLAGS
12476 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12477 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12480 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12481 case "x$with_gstreamer" in
12482 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12483 xno) ;;
12484 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12485 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12486 esac
12488 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12490 ALSA_LIBS=""
12492 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12493 then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12495 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12496 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12497 $as_echo_n "(cached) " >&6
12498 else
12499 ac_check_lib_save_LIBS=$LIBS
12500 LIBS="-lasound $LIBS"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 /* Override any GCC internal prototype to avoid an error.
12505 Use char because int might match the return type of a GCC
12506 builtin and then its argument prototype would still apply. */
12507 #ifdef __cplusplus
12508 extern "C"
12509 #endif
12510 char snd_pcm_hw_params_get_access_mask ();
12512 main ()
12514 return snd_pcm_hw_params_get_access_mask ();
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_link "$LINENO"; then :
12520 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12521 else
12522 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12529 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12530 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12533 #ifdef HAVE_ALSA_ASOUNDLIB_H
12534 #include <alsa/asoundlib.h>
12535 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12536 #include <sys/asoundlib.h>
12537 #endif
12539 main ()
12541 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_compile "$LINENO"; then :
12547 ALSA_LIBS="-lasound"
12549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12554 if test "x$with_oss" != xno
12555 then
12556 ac_save_CPPFLAGS="$CPPFLAGS"
12557 if test -f /etc/oss.conf
12558 then
12559 . /etc/oss.conf
12561 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12562 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12563 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12565 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12567 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12571 _ACEOF
12573 OSS4_CFLAGS="$ac_oss_incl"
12580 CPPFLAGS="$ac_save_CPPFLAGS"
12581 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12582 then
12583 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12587 if test "x$with_capi" != "xno"
12588 then
12589 if ${CAPI20_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12595 if ${CAPI20_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12602 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12606 for ac_header in capi20.h linux/capi.h
12607 do :
12608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12609 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12612 cat >>confdefs.h <<_ACEOF
12613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12614 _ACEOF
12618 done
12620 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12621 then
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12623 $as_echo_n "checking for -lcapi20... " >&6; }
12624 if ${ac_cv_lib_soname_capi20+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_soname_save_LIBS=$LIBS
12628 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char capi20_register ();
12640 main ()
12642 return capi20_register ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 case "$LIBEXT" in
12649 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_capi20:+false} :; then :
12653 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12654 fi ;;
12655 esac
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_soname_save_LIBS
12661 if ${ac_cv_lib_soname_capi20:+false} :; then :
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12663 $as_echo "not found" >&6; }
12665 else
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12667 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12669 cat >>confdefs.h <<_ACEOF
12670 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12671 _ACEOF
12676 CPPFLAGS=$ac_save_CPPFLAGS
12677 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12678 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12681 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12682 case "x$with_capi" in
12683 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12684 xno) ;;
12685 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12686 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12687 esac
12690 CUPS_CFLAGS=""
12692 if test "x$with_cups" != "xno"
12693 then
12694 ac_save_CPPFLAGS="$CPPFLAGS"
12695 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12696 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12697 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12698 for ac_header in cups/cups.h
12699 do :
12700 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12702 cat >>confdefs.h <<_ACEOF
12703 #define HAVE_CUPS_CUPS_H 1
12704 _ACEOF
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12706 $as_echo_n "checking for -lcups... " >&6; }
12707 if ${ac_cv_lib_soname_cups+:} false; then :
12708 $as_echo_n "(cached) " >&6
12709 else
12710 ac_check_soname_save_LIBS=$LIBS
12711 LIBS="-lcups $ac_cups_libs $LIBS"
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char cupsGetDefault ();
12723 main ()
12725 return cupsGetDefault ();
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_link "$LINENO"; then :
12731 case "$LIBEXT" in
12732 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12733 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'` ;;
12734 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12735 if ${ac_cv_lib_soname_cups:+false} :; then :
12736 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12737 fi ;;
12738 esac
12740 rm -f core conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 LIBS=$ac_check_soname_save_LIBS
12744 if ${ac_cv_lib_soname_cups:+false} :; then :
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12746 $as_echo "not found" >&6; }
12748 else
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12750 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12752 cat >>confdefs.h <<_ACEOF
12753 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12754 _ACEOF
12756 CUPS_CFLAGS="$ac_cups_cflags"
12760 done
12762 CPPFLAGS="$ac_save_CPPFLAGS"
12764 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12765 case "x$with_cups" in
12766 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12767 xno) ;;
12768 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12769 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12770 esac
12773 if test "x$with_fontconfig" != "xno"
12774 then
12775 if ${FONTCONFIG_CFLAGS:+false} :; then :
12776 if ${PKG_CONFIG+:} false; then :
12777 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12780 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12781 if ${FONTCONFIG_LIBS:+false} :; then :
12782 if ${PKG_CONFIG+:} false; then :
12783 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12786 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12788 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12789 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12790 ac_save_CPPFLAGS=$CPPFLAGS
12791 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12792 for ac_header in fontconfig/fontconfig.h
12793 do :
12794 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12795 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12796 cat >>confdefs.h <<_ACEOF
12797 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12798 _ACEOF
12802 done
12804 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12805 then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12807 $as_echo_n "checking for -lfontconfig... " >&6; }
12808 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 ac_check_soname_save_LIBS=$LIBS
12812 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12816 /* Override any GCC internal prototype to avoid an error.
12817 Use char because int might match the return type of a GCC
12818 builtin and then its argument prototype would still apply. */
12819 #ifdef __cplusplus
12820 extern "C"
12821 #endif
12822 char FcInit ();
12824 main ()
12826 return FcInit ();
12828 return 0;
12830 _ACEOF
12831 if ac_fn_c_try_link "$LINENO"; then :
12832 case "$LIBEXT" in
12833 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12834 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'` ;;
12835 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12836 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12837 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12838 fi ;;
12839 esac
12841 rm -f core conftest.err conftest.$ac_objext \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_soname_save_LIBS
12845 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12847 $as_echo "not found" >&6; }
12848 FONTCONFIG_CFLAGS=""
12849 else
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12851 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12853 cat >>confdefs.h <<_ACEOF
12854 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12855 _ACEOF
12859 else
12860 FONTCONFIG_CFLAGS=""
12862 CPPFLAGS=$ac_save_CPPFLAGS
12863 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12864 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12867 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12868 case "x$with_fontconfig" in
12869 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12870 xno) ;;
12871 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12872 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12873 esac
12876 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12877 then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12879 $as_echo_n "checking for -lgsm... " >&6; }
12880 if ${ac_cv_lib_soname_gsm+:} false; then :
12881 $as_echo_n "(cached) " >&6
12882 else
12883 ac_check_soname_save_LIBS=$LIBS
12884 LIBS="-lgsm $LIBS"
12885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 /* Override any GCC internal prototype to avoid an error.
12889 Use char because int might match the return type of a GCC
12890 builtin and then its argument prototype would still apply. */
12891 #ifdef __cplusplus
12892 extern "C"
12893 #endif
12894 char gsm_create ();
12896 main ()
12898 return gsm_create ();
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_link "$LINENO"; then :
12904 case "$LIBEXT" in
12905 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12906 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'` ;;
12907 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12908 if ${ac_cv_lib_soname_gsm:+false} :; then :
12909 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12910 fi ;;
12911 esac
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_soname_save_LIBS
12917 if ${ac_cv_lib_soname_gsm:+false} :; then :
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12919 $as_echo "not found" >&6; }
12921 else
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12923 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12925 cat >>confdefs.h <<_ACEOF
12926 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12927 _ACEOF
12932 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12933 case "x$with_gsm" in
12934 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12937 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12938 esac
12941 if test "x$with_jpeg" != "xno"
12942 then
12943 if ${JPEG_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12949 if ${JPEG_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12958 ac_save_CPPFLAGS=$CPPFLAGS
12959 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12960 for ac_header in jpeglib.h
12961 do :
12962 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_JPEGLIB_H 1
12966 _ACEOF
12970 done
12972 if test "$ac_cv_header_jpeglib_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12975 $as_echo_n "checking for -ljpeg... " >&6; }
12976 if ${ac_cv_lib_soname_jpeg+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_soname_save_LIBS=$LIBS
12980 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char jpeg_start_decompress ();
12992 main ()
12994 return jpeg_start_decompress ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 case "$LIBEXT" in
13001 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13004 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13005 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13006 fi ;;
13007 esac
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_soname_save_LIBS
13013 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13015 $as_echo "not found" >&6; }
13016 JPEG_CFLAGS=""
13017 else
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13019 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13021 cat >>confdefs.h <<_ACEOF
13022 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13023 _ACEOF
13027 else
13028 JPEG_CFLAGS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13031 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13036 case "x$with_jpeg" in
13037 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13038 xno) ;;
13039 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13040 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13041 esac
13044 if test "x$with_png" != "xno"
13045 then
13046 if ${PNG_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13051 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13052 if ${PNG_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false; then :
13054 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13057 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13059 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13061 ac_save_CPPFLAGS=$CPPFLAGS
13062 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13063 for ac_header in png.h
13064 do :
13065 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_png_h" = xyes; then :
13067 cat >>confdefs.h <<_ACEOF
13068 #define HAVE_PNG_H 1
13069 _ACEOF
13073 done
13075 if test "$ac_cv_header_png_h" = "yes"
13076 then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13078 $as_echo_n "checking for -lpng... " >&6; }
13079 if ${ac_cv_lib_soname_png+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_soname_save_LIBS=$LIBS
13083 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char png_create_read_struct ();
13095 main ()
13097 return png_create_read_struct ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 case "$LIBEXT" in
13104 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) 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'`
13107 if ${ac_cv_lib_soname_png:+false} :; then :
13108 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13109 fi ;;
13110 esac
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_png:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13119 PNG_CFLAGS=""
13120 else
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13122 $as_echo "$ac_cv_lib_soname_png" >&6; }
13124 cat >>confdefs.h <<_ACEOF
13125 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13126 _ACEOF
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13130 #include <png.h>
13132 main ()
13134 typeof(png_set_expand_gray_1_2_4_to_8) *p
13136 return 0;
13138 _ACEOF
13139 if ac_fn_c_try_compile "$LINENO"; then :
13141 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13146 else
13147 PNG_CFLAGS=""
13149 CPPFLAGS=$ac_save_CPPFLAGS
13150 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13151 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13154 if test "x$ac_cv_lib_soname_png" = "x"; then :
13155 case "x$with_png" in
13156 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13157 xno) ;;
13158 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13159 This is an error since --with-png was requested." "$LINENO" 5 ;;
13160 esac
13163 if test "x$with_tiff" != "xno"
13164 then
13165 if ${TIFF_CFLAGS:+false} :; then :
13166 if ${PKG_CONFIG+:} false; then :
13167 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13171 if ${TIFF_LIBS:+false} :; then :
13172 if ${PKG_CONFIG+:} false; then :
13173 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13178 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13180 ac_save_CPPFLAGS=$CPPFLAGS
13181 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13182 for ac_header in tiffio.h
13183 do :
13184 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13185 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13186 cat >>confdefs.h <<_ACEOF
13187 #define HAVE_TIFFIO_H 1
13188 _ACEOF
13192 done
13194 if test "$ac_cv_header_tiffio_h" = "yes"
13195 then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13197 $as_echo_n "checking for -ltiff... " >&6; }
13198 if ${ac_cv_lib_soname_tiff+:} false; then :
13199 $as_echo_n "(cached) " >&6
13200 else
13201 ac_check_soname_save_LIBS=$LIBS
13202 LIBS="-ltiff $TIFF_LIBS $LIBS"
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 char TIFFClientOpen ();
13214 main ()
13216 return TIFFClientOpen ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222 case "$LIBEXT" in
13223 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_tiff:+false} :; then :
13227 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13228 fi ;;
13229 esac
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_tiff:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13239 else
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13241 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13245 _ACEOF
13250 CPPFLAGS=$ac_save_CPPFLAGS
13251 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13252 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13255 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13256 case "x$with_tiff" in
13257 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13258 xno) ;;
13259 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13260 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13261 esac
13264 if test "x$with_mpg123" != "xno"
13265 then
13266 if ${MPG123_CFLAGS:+false} :; then :
13267 if ${PKG_CONFIG+:} false; then :
13268 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13272 if ${MPG123_LIBS:+false} :; then :
13273 if ${PKG_CONFIG+:} false; then :
13274 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13278 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13280 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13281 ac_save_CPPFLAGS=$CPPFLAGS
13282 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13283 for ac_header in mpg123.h
13284 do :
13285 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13286 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13287 cat >>confdefs.h <<_ACEOF
13288 #define HAVE_MPG123_H 1
13289 _ACEOF
13293 done
13295 if test "$ac_cv_header_mpg123_h" = "yes"
13296 then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13298 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13299 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13300 $as_echo_n "(cached) " >&6
13301 else
13302 ac_check_lib_save_LIBS=$LIBS
13303 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13307 /* Override any GCC internal prototype to avoid an error.
13308 Use char because int might match the return type of a GCC
13309 builtin and then its argument prototype would still apply. */
13310 #ifdef __cplusplus
13311 extern "C"
13312 #endif
13313 char mpg123_feed ();
13315 main ()
13317 return mpg123_feed ();
13319 return 0;
13321 _ACEOF
13322 if ac_fn_c_try_link "$LINENO"; then :
13323 ac_cv_lib_mpg123_mpg123_feed=yes
13324 else
13325 ac_cv_lib_mpg123_mpg123_feed=no
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_lib_save_LIBS
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13332 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13333 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13335 else
13336 MPG123_LIBS=""
13339 else
13340 MPG123_CFLAGS=""
13341 MPG123_LIBS=""
13343 CPPFLAGS=$ac_save_CPPFLAGS
13344 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13345 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13348 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13349 case "x$with_mpg123" in
13350 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13351 xno) ;;
13352 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13353 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13354 esac
13356 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}
13358 if test "$ac_cv_header_AL_al_h" = "yes"
13359 then
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13361 $as_echo_n "checking for -lopenal... " >&6; }
13362 if ${ac_cv_lib_soname_openal+:} false; then :
13363 $as_echo_n "(cached) " >&6
13364 else
13365 ac_check_soname_save_LIBS=$LIBS
13366 LIBS="-lopenal $LIBS"
13367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13370 /* Override any GCC internal prototype to avoid an error.
13371 Use char because int might match the return type of a GCC
13372 builtin and then its argument prototype would still apply. */
13373 #ifdef __cplusplus
13374 extern "C"
13375 #endif
13376 char alGetSource3i ();
13378 main ()
13380 return alGetSource3i ();
13382 return 0;
13384 _ACEOF
13385 if ac_fn_c_try_link "$LINENO"; then :
13386 case "$LIBEXT" in
13387 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13388 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'` ;;
13389 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13390 if ${ac_cv_lib_soname_openal:+false} :; then :
13391 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13392 fi ;;
13393 esac
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_soname_save_LIBS
13399 if ${ac_cv_lib_soname_openal:+false} :; then :
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13401 $as_echo "not found" >&6; }
13403 else
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13405 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13407 cat >>confdefs.h <<_ACEOF
13408 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13409 _ACEOF
13411 OPENAL_LIBS="-lopenal"
13413 ac_cv_lib_openal=yes
13415 cat >>confdefs.h <<_ACEOF
13416 #define HAVE_OPENAL 1
13417 _ACEOF
13421 if test "x$ac_cv_lib_openal" != xyes; then :
13422 case "x$with_openal" in
13423 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13424 xno) ;;
13425 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13426 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13427 esac
13429 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13431 if test "$ac_cv_header_kstat_h" = "yes"
13432 then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13434 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13435 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_lib_save_LIBS=$LIBS
13439 LIBS="-lkstat $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char kstat_open ();
13451 main ()
13453 return kstat_open ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 ac_cv_lib_kstat_kstat_open=yes
13460 else
13461 ac_cv_lib_kstat_kstat_open=no
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_lib_save_LIBS
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13468 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13469 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13471 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13473 KSTAT_LIBS="-lkstat"
13479 if test "$ac_cv_header_libprocstat_h" = "yes"
13480 then
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13482 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13483 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13484 $as_echo_n "(cached) " >&6
13485 else
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-lprocstat $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 char procstat_open_sysctl ();
13499 main ()
13501 return procstat_open_sysctl ();
13503 return 0;
13505 _ACEOF
13506 if ac_fn_c_try_link "$LINENO"; then :
13507 ac_cv_lib_procstat_procstat_open_sysctl=yes
13508 else
13509 ac_cv_lib_procstat_procstat_open_sysctl=no
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13513 LIBS=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13516 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13517 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13519 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13521 PROCSTAT_LIBS="-lprocstat"
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13528 $as_echo_n "checking for -lodbc... " >&6; }
13529 if ${ac_cv_lib_soname_odbc+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lodbc $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char SQLConnect ();
13545 main ()
13547 return SQLConnect ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_odbc:+false} :; then :
13558 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_odbc:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13569 cat >>confdefs.h <<_ACEOF
13570 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13571 _ACEOF
13573 else
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13575 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13577 cat >>confdefs.h <<_ACEOF
13578 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13579 _ACEOF
13584 if test "x$with_netapi" != "xno"
13585 then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13587 $as_echo_n "checking for -lnetapi... " >&6; }
13588 if ${ac_cv_lib_soname_netapi+:} false; then :
13589 $as_echo_n "(cached) " >&6
13590 else
13591 ac_check_soname_save_LIBS=$LIBS
13592 LIBS="-lnetapi $LIBS"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13599 #ifdef __cplusplus
13600 extern "C"
13601 #endif
13602 char libnetapi_init ();
13604 main ()
13606 return libnetapi_init ();
13608 return 0;
13610 _ACEOF
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 case "$LIBEXT" in
13613 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13614 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'` ;;
13615 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13616 if ${ac_cv_lib_soname_netapi:+false} :; then :
13617 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13618 fi ;;
13619 esac
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 LIBS=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_netapi:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13628 cat >>confdefs.h <<_ACEOF
13629 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13630 _ACEOF
13632 else
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13634 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13636 cat >>confdefs.h <<_ACEOF
13637 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13638 _ACEOF
13644 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13645 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13646 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13647 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13649 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13650 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13651 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13652 then
13653 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13657 EXTRACFLAGS=""
13659 if test "x${GCC}" = "xyes"
13660 then
13661 EXTRACFLAGS="-Wall -pipe"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13664 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13665 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 if test "$cross_compiling" = yes; then :
13669 ac_cv_c_gcc_strength_bug="yes"
13670 else
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int L[4] = {0,1,2,3};
13675 main ()
13677 static int Array[3];
13678 unsigned int B = 3;
13679 int i;
13680 for(i=0; i<B; i++) Array[i] = i - 3;
13681 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13682 L[i] = 4;
13683 return (Array[1] != -2 || L[2] != 3)
13685 return 0;
13687 _ACEOF
13688 if ac_fn_c_try_run "$LINENO"; then :
13689 ac_cv_c_gcc_strength_bug="no"
13690 else
13691 ac_cv_c_gcc_strength_bug="yes"
13693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13694 conftest.$ac_objext conftest.beam conftest.$ac_ext
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13699 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13700 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13701 then
13702 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13706 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13707 if ${ac_cv_cflags__fno_builtin+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 ac_wine_try_cflags_saved=$CFLAGS
13711 CFLAGS="$CFLAGS -fno-builtin"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 int main(int argc, char **argv) { return 0; }
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 ac_cv_cflags__fno_builtin=yes
13718 else
13719 ac_cv_cflags__fno_builtin=no
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 CFLAGS=$ac_wine_try_cflags_saved
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13726 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13727 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13728 BUILTINFLAG="-fno-builtin"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13732 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13733 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 ac_wine_try_cflags_saved=$CFLAGS
13737 CFLAGS="$CFLAGS -fno-strict-aliasing"
13738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13739 /* end confdefs.h. */
13740 int main(int argc, char **argv) { return 0; }
13741 _ACEOF
13742 if ac_fn_c_try_link "$LINENO"; then :
13743 ac_cv_cflags__fno_strict_aliasing=yes
13744 else
13745 ac_cv_cflags__fno_strict_aliasing=no
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 CFLAGS=$ac_wine_try_cflags_saved
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13752 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13753 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13754 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13756 saved_CFLAGS=$CFLAGS
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13758 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13759 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13760 $as_echo_n "(cached) " >&6
13761 else
13762 ac_wine_try_cflags_saved=$CFLAGS
13763 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13766 int main(int argc, char **argv) { return 0; }
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 ac_cv_cflags__Werror_unknown_warning_option=yes
13770 else
13771 ac_cv_cflags__Werror_unknown_warning_option=no
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 CFLAGS=$ac_wine_try_cflags_saved
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13778 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13779 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13780 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13783 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13784 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_wine_try_cflags_saved=$CFLAGS
13788 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 int main(int argc, char **argv) { return 0; }
13792 _ACEOF
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 ac_cv_cflags__Wdeclaration_after_statement=yes
13795 else
13796 ac_cv_cflags__Wdeclaration_after_statement=no
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 CFLAGS=$ac_wine_try_cflags_saved
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13803 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13804 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13805 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13808 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13809 if ${ac_cv_cflags__Wempty_body+:} false; then :
13810 $as_echo_n "(cached) " >&6
13811 else
13812 ac_wine_try_cflags_saved=$CFLAGS
13813 CFLAGS="$CFLAGS -Wempty-body"
13814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13815 /* end confdefs.h. */
13816 int main(int argc, char **argv) { return 0; }
13817 _ACEOF
13818 if ac_fn_c_try_link "$LINENO"; then :
13819 ac_cv_cflags__Wempty_body=yes
13820 else
13821 ac_cv_cflags__Wempty_body=no
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 CFLAGS=$ac_wine_try_cflags_saved
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13828 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13829 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13830 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13833 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13834 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13835 $as_echo_n "(cached) " >&6
13836 else
13837 ac_wine_try_cflags_saved=$CFLAGS
13838 CFLAGS="$CFLAGS -Wignored-qualifiers"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int main(int argc, char **argv) { return 0; }
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 ac_cv_cflags__Wignored_qualifiers=yes
13845 else
13846 ac_cv_cflags__Wignored_qualifiers=no
13848 rm -f core conftest.err conftest.$ac_objext \
13849 conftest$ac_exeext conftest.$ac_ext
13850 CFLAGS=$ac_wine_try_cflags_saved
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13853 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13854 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13855 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13858 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13859 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13860 $as_echo_n "(cached) " >&6
13861 else
13862 ac_wine_try_cflags_saved=$CFLAGS
13863 CFLAGS="$CFLAGS -Wstrict-prototypes"
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13866 int main(int argc, char **argv) { return 0; }
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"; then :
13869 ac_cv_cflags__Wstrict_prototypes=yes
13870 else
13871 ac_cv_cflags__Wstrict_prototypes=no
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 CFLAGS=$ac_wine_try_cflags_saved
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13878 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13879 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13880 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13883 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13884 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 ac_wine_try_cflags_saved=$CFLAGS
13888 CFLAGS="$CFLAGS -Wtype-limits"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 int main(int argc, char **argv) { return 0; }
13892 _ACEOF
13893 if ac_fn_c_try_link "$LINENO"; then :
13894 ac_cv_cflags__Wtype_limits=yes
13895 else
13896 ac_cv_cflags__Wtype_limits=no
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 CFLAGS=$ac_wine_try_cflags_saved
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13903 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13904 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13905 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13908 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13909 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_wine_try_cflags_saved=$CFLAGS
13913 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 int main(int argc, char **argv) { return 0; }
13917 _ACEOF
13918 if ac_fn_c_try_link "$LINENO"; then :
13919 ac_cv_cflags__Wunused_but_set_parameter=yes
13920 else
13921 ac_cv_cflags__Wunused_but_set_parameter=no
13923 rm -f core conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13925 CFLAGS=$ac_wine_try_cflags_saved
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13928 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13929 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13930 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13933 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13934 if ${ac_cv_cflags__Wvla+:} false; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 ac_wine_try_cflags_saved=$CFLAGS
13938 CFLAGS="$CFLAGS -Wvla"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13941 int main(int argc, char **argv) { return 0; }
13942 _ACEOF
13943 if ac_fn_c_try_link "$LINENO"; then :
13944 ac_cv_cflags__Wvla=yes
13945 else
13946 ac_cv_cflags__Wvla=no
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 CFLAGS=$ac_wine_try_cflags_saved
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13953 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13954 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13955 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13958 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13959 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13960 $as_echo_n "(cached) " >&6
13961 else
13962 ac_wine_try_cflags_saved=$CFLAGS
13963 CFLAGS="$CFLAGS -Wwrite-strings"
13964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h. */
13966 int main(int argc, char **argv) { return 0; }
13967 _ACEOF
13968 if ac_fn_c_try_link "$LINENO"; then :
13969 ac_cv_cflags__Wwrite_strings=yes
13970 else
13971 ac_cv_cflags__Wwrite_strings=no
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13975 CFLAGS=$ac_wine_try_cflags_saved
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13978 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13979 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13980 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13984 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13985 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_wine_try_cflags_saved=$CFLAGS
13989 CFLAGS="$CFLAGS -Wpointer-arith"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13992 int main(int argc, char **argv) { return 0; }
13993 _ACEOF
13994 if ac_fn_c_try_link "$LINENO"; then :
13995 ac_cv_cflags__Wpointer_arith=yes
13996 else
13997 ac_cv_cflags__Wpointer_arith=no
13999 rm -f core conftest.err conftest.$ac_objext \
14000 conftest$ac_exeext conftest.$ac_ext
14001 CFLAGS=$ac_wine_try_cflags_saved
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14004 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14005 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14006 saved_string_h_CFLAGS=$CFLAGS
14007 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14009 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14010 if ${ac_cv_c_string_h_warnings+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 #include <string.h>
14017 main ()
14021 return 0;
14023 _ACEOF
14024 if ac_fn_c_try_compile "$LINENO"; then :
14025 ac_cv_c_string_h_warnings=no
14026 else
14027 ac_cv_c_string_h_warnings=yes
14029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14032 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14033 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14034 CFLAGS=$saved_string_h_CFLAGS
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14038 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14039 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_wine_try_cflags_saved=$CFLAGS
14043 CFLAGS="$CFLAGS -Wlogical-op"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 int main(int argc, char **argv) { return 0; }
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"; then :
14049 ac_cv_cflags__Wlogical_op=yes
14050 else
14051 ac_cv_cflags__Wlogical_op=no
14053 rm -f core conftest.err conftest.$ac_objext \
14054 conftest$ac_exeext conftest.$ac_ext
14055 CFLAGS=$ac_wine_try_cflags_saved
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14058 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14059 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14060 saved_string_h_CFLAGS=$CFLAGS
14061 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14063 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14064 if ${ac_cv_c_logicalop_noisy+:} false; then :
14065 $as_echo_n "(cached) " >&6
14066 else
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14069 #include <string.h>
14070 char*f(const char *h,char n) {return strchr(h,n);}
14072 main ()
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_compile "$LINENO"; then :
14080 ac_cv_c_logicalop_noisy=no
14081 else
14082 ac_cv_c_logicalop_noisy=yes
14084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14087 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14088 CFLAGS=$saved_string_h_CFLAGS
14089 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14092 CFLAGS=$saved_CFLAGS
14094 for ac_flag in $CFLAGS; do
14095 case $ac_flag in
14096 -g) case $host_os in
14097 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14098 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14099 if ${ac_cv_cflags__gstabsp+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 ac_wine_try_cflags_saved=$CFLAGS
14103 CFLAGS="$CFLAGS -gstabs+"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_cflags__gstabsp=yes
14110 else
14111 ac_cv_cflags__gstabsp=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 CFLAGS=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14118 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14119 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14120 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14121 fi ;;
14122 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14123 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14124 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 ac_wine_try_cflags_saved=$CFLAGS
14128 CFLAGS="$CFLAGS -gdwarf-2"
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 ac_cv_cflags__gdwarf_2=yes
14135 else
14136 ac_cv_cflags__gdwarf_2=no
14138 rm -f core conftest.err conftest.$ac_objext \
14139 conftest$ac_exeext conftest.$ac_ext
14140 CFLAGS=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14143 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14144 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14145 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14148 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14149 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_wine_try_cflags_saved=$CFLAGS
14153 CFLAGS="$CFLAGS -gstrict-dwarf"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 ac_cv_cflags__gstrict_dwarf=yes
14160 else
14161 ac_cv_cflags__gstrict_dwarf=no
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 CFLAGS=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14168 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14169 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14170 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14171 fi ;;
14172 esac ;;
14173 esac
14174 done
14176 case $host_cpu in
14177 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14178 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14179 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_wine_try_cflags_saved=$CFLAGS
14183 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 int main(int argc, char **argv) { return 0; }
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 ac_cv_cflags__fno_omit_frame_pointer=yes
14190 else
14191 ac_cv_cflags__fno_omit_frame_pointer=no
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14195 CFLAGS=$ac_wine_try_cflags_saved
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14198 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14199 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14200 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14201 fi ;;
14202 esac
14204 case $host in
14205 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14206 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14207 if ${ac_cv_cflags__Wno_format+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 ac_wine_try_cflags_saved=$CFLAGS
14211 CFLAGS="$CFLAGS -Wno-format"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_cflags__Wno_format=yes
14218 else
14219 ac_cv_cflags__Wno_format=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 CFLAGS=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14226 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14227 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14228 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14229 fi ;;
14230 esac
14232 if test "x$enable_maintainer_mode" = "xyes"
14233 then
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14235 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14236 if ${ac_cv_cflags__Werror+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_wine_try_cflags_saved=$CFLAGS
14240 CFLAGS="$CFLAGS -Werror"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int main(int argc, char **argv) { return 0; }
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_cflags__Werror=yes
14247 else
14248 ac_cv_cflags__Werror=no
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14252 CFLAGS=$ac_wine_try_cflags_saved
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14255 $as_echo "$ac_cv_cflags__Werror" >&6; }
14256 if test "x$ac_cv_cflags__Werror" = xyes; then :
14257 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14261 saved_CFLAGS="$CFLAGS"
14262 CFLAGS="$CFLAGS -Werror"
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14264 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14265 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14272 main ()
14276 return 0;
14278 _ACEOF
14279 if ac_fn_c_try_compile "$LINENO"; then :
14280 ac_cv_have_ms_hook_prologue="yes"
14281 else
14282 ac_cv_have_ms_hook_prologue="no"
14284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14287 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14288 CFLAGS="$saved_CFLAGS"
14289 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14290 then
14292 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14294 else
14295 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14302 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14303 if ${ac_cv_c_fortify_enabled+:} false; then :
14304 $as_echo_n "(cached) " >&6
14305 else
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 #include <string.h>
14310 main ()
14312 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14313 #error Fortify enabled
14314 #endif
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_compile "$LINENO"; then :
14320 ac_cv_c_fortify_enabled=no
14321 else
14322 ac_cv_c_fortify_enabled=yes
14324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14327 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14328 if test "$ac_cv_c_fortify_enabled" = yes
14329 then
14330 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14335 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14336 if ${ac_cv_c_extern_prefix+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 extern int ac_test;
14343 main ()
14345 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_c_extern_prefix="yes"
14352 else
14353 ac_cv_c_extern_prefix="no"
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14359 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14361 case $host_cpu in
14362 *i[3456789]86*)
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14364 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14365 if ${ac_cv_c_stdcall_suffix+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 #ifndef _MSC_VER
14371 #define __stdcall __attribute__((__stdcall__))
14372 #endif
14373 int __stdcall ac_test(int i) { return i; }
14375 main ()
14377 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14379 return 0;
14381 _ACEOF
14382 if ac_fn_c_try_link "$LINENO"; then :
14383 ac_cv_c_stdcall_suffix="yes"
14384 else
14385 ac_cv_c_stdcall_suffix="no"
14387 rm -f core conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14391 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14392 *) ac_cv_c_stdcall_suffix="no" ;;
14393 esac
14396 if test "$ac_cv_c_extern_prefix" = "yes"
14397 then
14398 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14400 asm_name_prefix="_"
14401 else
14402 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14404 asm_name_prefix=""
14408 if test "$ac_cv_c_stdcall_suffix" = "yes"
14409 then
14410 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14412 else
14413 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14419 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14420 if ${ac_cv_asm_func_def+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14427 main ()
14429 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14431 return 0;
14433 _ACEOF
14434 if ac_fn_c_try_link "$LINENO"; then :
14435 ac_cv_asm_func_def=".def"
14436 else
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14441 main ()
14443 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14445 return 0;
14447 _ACEOF
14448 if ac_fn_c_try_link "$LINENO"; then :
14449 ac_cv_asm_func_def=".type @function"
14450 else
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14455 main ()
14457 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"; then :
14463 ac_cv_asm_func_def=".type 2"
14464 else
14465 ac_cv_asm_func_def="unknown"
14467 rm -f core conftest.err conftest.$ac_objext \
14468 conftest$ac_exeext conftest.$ac_ext
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14477 $as_echo "$ac_cv_asm_func_def" >&6; }
14480 case "$ac_cv_asm_func_def" in
14481 ".def")
14482 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14484 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14485 ".type @function")
14486 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14488 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14489 ".type 2")
14490 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14492 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14494 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14496 asm_func_header="" ;;
14497 esac
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14500 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14501 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14502 $as_echo_n "(cached) " >&6
14503 else
14504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14505 /* end confdefs.h. */
14506 asm(".text\n\t.long 0");
14508 main ()
14512 return 0;
14514 _ACEOF
14515 if ac_fn_c_try_compile "$LINENO"; then :
14516 ac_cv_c_asm_outside_funcs="yes"
14517 else
14518 ac_cv_c_asm_outside_funcs="no"
14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14523 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14526 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14527 if ${ac_cv_c_dot_previous+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14531 /* end confdefs.h. */
14534 main ()
14536 asm(".text\nac_test:\t.long 0\n\t.previous");
14538 return 0;
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_c_dot_previous="yes"
14543 else
14544 ac_cv_c_dot_previous="no"
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14550 $as_echo "$ac_cv_c_dot_previous" >&6; }
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14553 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14554 if ${ac_cv_c_cfi_support+:} false; then :
14555 $as_echo_n "(cached) " >&6
14556 else
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14559 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14561 main ()
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_compile "$LINENO"; then :
14569 ac_cv_c_cfi_support="yes"
14570 else
14571 ac_cv_c_cfi_support="no"
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14576 $as_echo "$ac_cv_c_cfi_support" >&6; }
14578 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14579 asm_func_trailer=""
14580 if test "$ac_cv_c_dot_previous" = "yes"
14581 then
14582 asm_func_trailer="\\n\\t.previous"
14584 if test "$ac_cv_c_cfi_support" = "yes"
14585 then
14586 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14587 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14589 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14591 UNWINDFLAGS=-fasynchronous-unwind-tables
14593 else
14594 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14598 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14601 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14602 then
14603 cat >>confdefs.h <<_ACEOF
14604 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14605 _ACEOF
14607 else
14608 cat >>confdefs.h <<_ACEOF
14609 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14610 _ACEOF
14614 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14617 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14621 case $build_os in
14622 cygwin*|mingw32*) TOOLSEXT=".exe"
14624 esac
14626 case $host_os in
14627 linux*)
14628 case $host_cpu in
14629 *i[3456789]86*|x86_64*)
14630 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14631 loader_programs="$loader_programs $wine_binary-preloader"
14632 as_fn_append LOADER_RULES "
14633 $wine_binary-preloader: preloader.o
14634 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14636 install install-lib:: $wine_binary-preloader
14637 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14639 uninstall::
14640 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14642 preloader_EXTRADEFS = $BUILTINFLAG
14643 " ;;
14644 esac
14646 esac
14647 as_fn_append LOADER_RULES "
14648 PROGRAMS = $loader_programs
14652 ac_save_CFLAGS="$CFLAGS"
14653 CFLAGS="$CFLAGS $BUILTINFLAG"
14654 for ac_func in \
14655 __res_get_state \
14656 __res_getservers \
14657 _finite \
14658 _isnan \
14659 _pclose \
14660 _popen \
14661 _snprintf \
14662 _spawnvp \
14663 _strdup \
14664 _stricmp \
14665 _strnicmp \
14666 _strtoi64 \
14667 _strtoui64 \
14668 _vsnprintf \
14669 asctime_r \
14670 chsize \
14671 dlopen \
14672 epoll_create \
14673 ffs \
14674 finitef \
14675 fnmatch \
14676 fork \
14677 fpclass \
14678 fstatfs \
14679 fstatvfs \
14680 ftruncate \
14681 futimens \
14682 futimes \
14683 futimesat \
14684 getattrlist \
14685 getdirentries \
14686 getopt_long_only \
14687 getpwuid \
14688 gettimeofday \
14689 getuid \
14690 if_nameindex \
14691 isnanf \
14692 kqueue \
14693 lstat \
14694 memmove \
14695 mmap \
14696 pclose \
14697 pipe2 \
14698 poll \
14699 popen \
14700 port_create \
14701 prctl \
14702 pread \
14703 proc_pidinfo \
14704 pwrite \
14705 readdir \
14706 readlink \
14707 sched_yield \
14708 select \
14709 setproctitle \
14710 setrlimit \
14711 settimeofday \
14712 sigaltstack \
14713 sigprocmask \
14714 snprintf \
14715 statfs \
14716 statvfs \
14717 strcasecmp \
14718 strdup \
14719 strerror \
14720 strncasecmp \
14721 strtold \
14722 strtoll \
14723 strtoull \
14724 symlink \
14725 tcdrain \
14726 thr_kill2 \
14727 timegm \
14728 usleep \
14729 vsnprintf
14731 do :
14732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14735 cat >>confdefs.h <<_ACEOF
14736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14737 _ACEOF
14740 done
14742 CFLAGS="$ac_save_CFLAGS"
14744 if test "$ac_cv_func_dlopen" = no
14745 then
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14747 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14748 if ${ac_cv_lib_dl_dlopen+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_check_lib_save_LIBS=$LIBS
14752 LIBS="-ldl $LIBS"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 /* Override any GCC internal prototype to avoid an error.
14757 Use char because int might match the return type of a GCC
14758 builtin and then its argument prototype would still apply. */
14759 #ifdef __cplusplus
14760 extern "C"
14761 #endif
14762 char dlopen ();
14764 main ()
14766 return dlopen ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_lib_dl_dlopen=yes
14773 else
14774 ac_cv_lib_dl_dlopen=no
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_check_lib_save_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14781 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14782 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14783 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14784 DL_LIBS="-ldl"
14789 ac_wine_check_funcs_save_LIBS="$LIBS"
14790 LIBS="$LIBS $DL_LIBS"
14791 for ac_func in dladdr
14792 do :
14793 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14794 if test "x$ac_cv_func_dladdr" = xyes; then :
14795 cat >>confdefs.h <<_ACEOF
14796 #define HAVE_DLADDR 1
14797 _ACEOF
14800 done
14802 LIBS="$ac_wine_check_funcs_save_LIBS"
14804 if test "$ac_cv_func_poll" = no
14805 then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14807 $as_echo_n "checking for poll in -lpoll... " >&6; }
14808 if ${ac_cv_lib_poll_poll+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_check_lib_save_LIBS=$LIBS
14812 LIBS="-lpoll $LIBS"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14819 #ifdef __cplusplus
14820 extern "C"
14821 #endif
14822 char poll ();
14824 main ()
14826 return poll ();
14828 return 0;
14830 _ACEOF
14831 if ac_fn_c_try_link "$LINENO"; then :
14832 ac_cv_lib_poll_poll=yes
14833 else
14834 ac_cv_lib_poll_poll=no
14836 rm -f core conftest.err conftest.$ac_objext \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_lib_save_LIBS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14841 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14842 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14843 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14844 POLL_LIBS="-lpoll"
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14851 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14852 if ${ac_cv_search_gethostbyname+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 ac_func_search_save_LIBS=$LIBS
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 char gethostbyname ();
14867 main ()
14869 return gethostbyname ();
14871 return 0;
14873 _ACEOF
14874 for ac_lib in '' nsl; do
14875 if test -z "$ac_lib"; then
14876 ac_res="none required"
14877 else
14878 ac_res=-l$ac_lib
14879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_search_gethostbyname=$ac_res
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext
14886 if ${ac_cv_search_gethostbyname+:} false; then :
14887 break
14889 done
14890 if ${ac_cv_search_gethostbyname+:} false; then :
14892 else
14893 ac_cv_search_gethostbyname=no
14895 rm conftest.$ac_ext
14896 LIBS=$ac_func_search_save_LIBS
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14899 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14900 ac_res=$ac_cv_search_gethostbyname
14901 if test "$ac_res" != no; then :
14902 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14908 $as_echo_n "checking for library containing connect... " >&6; }
14909 if ${ac_cv_search_connect+:} false; then :
14910 $as_echo_n "(cached) " >&6
14911 else
14912 ac_func_search_save_LIBS=$LIBS
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14916 /* Override any GCC internal prototype to avoid an error.
14917 Use char because int might match the return type of a GCC
14918 builtin and then its argument prototype would still apply. */
14919 #ifdef __cplusplus
14920 extern "C"
14921 #endif
14922 char connect ();
14924 main ()
14926 return connect ();
14928 return 0;
14930 _ACEOF
14931 for ac_lib in '' socket; do
14932 if test -z "$ac_lib"; then
14933 ac_res="none required"
14934 else
14935 ac_res=-l$ac_lib
14936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14938 if ac_fn_c_try_link "$LINENO"; then :
14939 ac_cv_search_connect=$ac_res
14941 rm -f core conftest.err conftest.$ac_objext \
14942 conftest$ac_exeext
14943 if ${ac_cv_search_connect+:} false; then :
14944 break
14946 done
14947 if ${ac_cv_search_connect+:} false; then :
14949 else
14950 ac_cv_search_connect=no
14952 rm conftest.$ac_ext
14953 LIBS=$ac_func_search_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14956 $as_echo "$ac_cv_search_connect" >&6; }
14957 ac_res=$ac_cv_search_connect
14958 if test "$ac_res" != no; then :
14959 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14965 $as_echo_n "checking for library containing inet_aton... " >&6; }
14966 if ${ac_cv_search_inet_aton+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 ac_func_search_save_LIBS=$LIBS
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 #ifdef __cplusplus
14977 extern "C"
14978 #endif
14979 char inet_aton ();
14981 main ()
14983 return inet_aton ();
14985 return 0;
14987 _ACEOF
14988 for ac_lib in '' resolv; do
14989 if test -z "$ac_lib"; then
14990 ac_res="none required"
14991 else
14992 ac_res=-l$ac_lib
14993 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14995 if ac_fn_c_try_link "$LINENO"; then :
14996 ac_cv_search_inet_aton=$ac_res
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext
15000 if ${ac_cv_search_inet_aton+:} false; then :
15001 break
15003 done
15004 if ${ac_cv_search_inet_aton+:} false; then :
15006 else
15007 ac_cv_search_inet_aton=no
15009 rm conftest.$ac_ext
15010 LIBS=$ac_func_search_save_LIBS
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15013 $as_echo "$ac_cv_search_inet_aton" >&6; }
15014 ac_res=$ac_cv_search_inet_aton
15015 if test "$ac_res" != no; then :
15016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15021 for ac_func in \
15022 getaddrinfo \
15023 getnameinfo \
15024 getnetbyname \
15025 getprotobyname \
15026 getprotobynumber \
15027 getservbyport \
15028 inet_addr \
15029 inet_network \
15030 inet_ntop \
15031 inet_pton \
15032 sendmsg \
15033 socketpair \
15035 do :
15036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15039 cat >>confdefs.h <<_ACEOF
15040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15041 _ACEOF
15044 done
15047 ac_save_LIBS=$LIBS
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15049 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15050 if ${ac_cv_search_clock_gettime+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_func_search_save_LIBS=$LIBS
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char clock_gettime ();
15065 main ()
15067 return clock_gettime ();
15069 return 0;
15071 _ACEOF
15072 for ac_lib in '' rt; do
15073 if test -z "$ac_lib"; then
15074 ac_res="none required"
15075 else
15076 ac_res=-l$ac_lib
15077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15079 if ac_fn_c_try_link "$LINENO"; then :
15080 ac_cv_search_clock_gettime=$ac_res
15082 rm -f core conftest.err conftest.$ac_objext \
15083 conftest$ac_exeext
15084 if ${ac_cv_search_clock_gettime+:} false; then :
15085 break
15087 done
15088 if ${ac_cv_search_clock_gettime+:} false; then :
15090 else
15091 ac_cv_search_clock_gettime=no
15093 rm conftest.$ac_ext
15094 LIBS=$ac_func_search_save_LIBS
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15097 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15098 ac_res=$ac_cv_search_clock_gettime
15099 if test "$ac_res" != no; then :
15100 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15102 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15104 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15108 LIBS=$ac_save_LIBS
15110 LDAP_LIBS=""
15112 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15113 then
15114 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15116 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15118 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15119 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15120 $as_echo_n "(cached) " >&6
15121 else
15122 ac_check_lib_save_LIBS=$LIBS
15123 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15125 /* end confdefs.h. */
15127 /* Override any GCC internal prototype to avoid an error.
15128 Use char because int might match the return type of a GCC
15129 builtin and then its argument prototype would still apply. */
15130 #ifdef __cplusplus
15131 extern "C"
15132 #endif
15133 char ldap_initialize ();
15135 main ()
15137 return ldap_initialize ();
15139 return 0;
15141 _ACEOF
15142 if ac_fn_c_try_link "$LINENO"; then :
15143 ac_cv_lib_ldap_r_ldap_initialize=yes
15144 else
15145 ac_cv_lib_ldap_r_ldap_initialize=no
15147 rm -f core conftest.err conftest.$ac_objext \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15152 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15153 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15155 $as_echo_n "checking for ber_init in -llber... " >&6; }
15156 if ${ac_cv_lib_lber_ber_init+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 ac_check_lib_save_LIBS=$LIBS
15160 LIBS="-llber $PTHREAD_LIBS $LIBS"
15161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15164 /* Override any GCC internal prototype to avoid an error.
15165 Use char because int might match the return type of a GCC
15166 builtin and then its argument prototype would still apply. */
15167 #ifdef __cplusplus
15168 extern "C"
15169 #endif
15170 char ber_init ();
15172 main ()
15174 return ber_init ();
15176 return 0;
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_lib_lber_ber_init=yes
15181 else
15182 ac_cv_lib_lber_ber_init=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 LIBS=$ac_check_lib_save_LIBS
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15189 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15190 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15192 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15194 LDAP_LIBS="-lldap_r -llber"
15201 ac_wine_check_funcs_save_LIBS="$LIBS"
15202 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15203 for ac_func in \
15204 ldap_count_references \
15205 ldap_first_reference \
15206 ldap_next_reference \
15207 ldap_parse_reference \
15208 ldap_parse_sort_control \
15209 ldap_parse_sortresponse_control \
15210 ldap_parse_vlv_control \
15211 ldap_parse_vlvresponse_control
15212 do :
15213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15216 cat >>confdefs.h <<_ACEOF
15217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15218 _ACEOF
15221 done
15223 LIBS="$ac_wine_check_funcs_save_LIBS"
15225 if test "x$LDAP_LIBS" = "x"; then :
15226 case "x$with_ldap" in
15227 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15228 xno) ;;
15229 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15230 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15231 esac
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15235 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15236 if ${wine_cv_one_arg_mkdir+:} false; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 #include <sys/stat.h>
15243 main ()
15245 mkdir("foo");
15247 return 0;
15249 _ACEOF
15250 if ac_fn_c_try_compile "$LINENO"; then :
15251 wine_cv_one_arg_mkdir=yes
15252 else
15253 wine_cv_one_arg_mkdir=no
15255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15258 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15259 if test "$wine_cv_one_arg_mkdir" = "yes"
15260 then
15262 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15267 $as_echo_n "checking for sched_setaffinity... " >&6; }
15268 if ${wine_cv_have_sched_setaffinity+:} false; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #define _GNU_SOURCE
15274 #include <sched.h>
15276 main ()
15278 sched_setaffinity(0, 0, 0);
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 wine_cv_have_sched_setaffinity=yes
15285 else
15286 wine_cv_have_sched_setaffinity=no
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15292 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15293 if test "$wine_cv_have_sched_setaffinity" = "yes"
15294 then
15296 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15301 $as_echo_n "checking for fallocate... " >&6; }
15302 if ${wine_cv_have_fallocate+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 #define _GNU_SOURCE
15308 #include <fcntl.h>
15310 main ()
15312 fallocate(-1, 0, 0, 0);
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_link "$LINENO"; then :
15318 wine_cv_have_fallocate=yes
15319 else
15320 wine_cv_have_fallocate=no
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15326 $as_echo "$wine_cv_have_fallocate" >&6; }
15327 if test "$wine_cv_have_fallocate" = "yes"
15328 then
15330 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15336 $as_echo_n "checking for inline... " >&6; }
15337 if ${ac_cv_c_inline+:} false; then :
15338 $as_echo_n "(cached) " >&6
15339 else
15340 ac_cv_c_inline=no
15341 for ac_kw in inline __inline__ __inline; do
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #ifndef __cplusplus
15345 typedef int foo_t;
15346 static $ac_kw foo_t static_foo () {return 0; }
15347 $ac_kw foo_t foo () {return 0; }
15348 #endif
15350 _ACEOF
15351 if ac_fn_c_try_compile "$LINENO"; then :
15352 ac_cv_c_inline=$ac_kw
15354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15355 test "$ac_cv_c_inline" != no && break
15356 done
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15360 $as_echo "$ac_cv_c_inline" >&6; }
15362 case $ac_cv_c_inline in
15363 inline | yes) ;;
15365 case $ac_cv_c_inline in
15366 no) ac_val=;;
15367 *) ac_val=$ac_cv_c_inline;;
15368 esac
15369 cat >>confdefs.h <<_ACEOF
15370 #ifndef __cplusplus
15371 #define inline $ac_val
15372 #endif
15373 _ACEOF
15375 esac
15377 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15378 if test "x$ac_cv_type_mode_t" = xyes; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define HAVE_MODE_T 1
15382 _ACEOF
15386 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15387 if test "x$ac_cv_type_off_t" = xyes; then :
15389 cat >>confdefs.h <<_ACEOF
15390 #define HAVE_OFF_T 1
15391 _ACEOF
15395 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15396 if test "x$ac_cv_type_pid_t" = xyes; then :
15398 cat >>confdefs.h <<_ACEOF
15399 #define HAVE_PID_T 1
15400 _ACEOF
15404 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15405 if test "x$ac_cv_type_size_t" = xyes; then :
15407 cat >>confdefs.h <<_ACEOF
15408 #define HAVE_SIZE_T 1
15409 _ACEOF
15413 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15414 if test "x$ac_cv_type_ssize_t" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_SSIZE_T 1
15418 _ACEOF
15422 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15423 if test "x$ac_cv_type_long_long" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_LONG_LONG 1
15427 _ACEOF
15431 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15432 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_FSBLKCNT_T 1
15436 _ACEOF
15440 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15441 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_FSFILCNT_T 1
15445 _ACEOF
15450 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15451 #include <signal.h>
15453 if test "x$ac_cv_type_sigset_t" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_SIGSET_T 1
15457 _ACEOF
15462 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15464 if test "x$ac_cv_type_request_sense" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_REQUEST_SENSE 1
15468 _ACEOF
15474 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15475 #ifdef HAVE_SYS_SOCKET_H
15476 #include <sys/socket.h>
15477 #endif
15478 #ifdef HAVE_SYS_SOCKETVAR_H
15479 #include <sys/socketvar.h>
15480 #endif
15481 #ifdef HAVE_NET_ROUTE_H
15482 #include <net/route.h>
15483 #endif
15484 #ifdef HAVE_NETINET_IN_H
15485 #include <netinet/in.h>
15486 #endif
15487 #ifdef HAVE_NETINET_IN_SYSTM_H
15488 #include <netinet/in_systm.h>
15489 #endif
15490 #ifdef HAVE_NETINET_IP_H
15491 #include <netinet/ip.h>
15492 #endif
15493 #ifdef HAVE_NETINET_IN_PCB_H
15494 #include <netinet/in_pcb.h>
15495 #endif
15497 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_STRUCT_XINPGEN 1
15501 _ACEOF
15507 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15508 #include <link.h>
15509 #endif
15510 #ifdef HAVE_SYS_LINK_H
15511 #include <sys/link.h>
15512 #endif
15514 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define HAVE_STRUCT_R_DEBUG 1
15518 _ACEOF
15522 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15523 #include <link.h>
15524 #endif
15525 #ifdef HAVE_SYS_LINK_H
15526 #include <sys/link.h>
15527 #endif
15529 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15531 cat >>confdefs.h <<_ACEOF
15532 #define HAVE_STRUCT_LINK_MAP 1
15533 _ACEOF
15539 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15540 #include <linux/input.h>
15541 #endif
15543 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15547 _ACEOF
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15554 $as_echo_n "checking for sigaddset... " >&6; }
15555 if ${wine_cv_have_sigaddset+:} false; then :
15556 $as_echo_n "(cached) " >&6
15557 else
15558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h. */
15560 #include <signal.h>
15562 main ()
15564 sigset_t set; sigaddset(&set,SIGTERM);
15566 return 0;
15568 _ACEOF
15569 if ac_fn_c_try_link "$LINENO"; then :
15570 wine_cv_have_sigaddset=yes
15571 else
15572 wine_cv_have_sigaddset=no
15574 rm -f core conftest.err conftest.$ac_objext \
15575 conftest$ac_exeext conftest.$ac_ext
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15578 $as_echo "$wine_cv_have_sigaddset" >&6; }
15579 if test "$wine_cv_have_sigaddset" = "yes"
15580 then
15582 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15588 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15589 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594 #include <netdb.h>
15596 main ()
15599 char *name=0;
15600 struct hostent he;
15601 struct hostent *result;
15602 char *buf=0;
15603 int bufsize=0;
15604 int errnr;
15605 char *addr=0;
15606 int addrlen=0;
15607 int addrtype=0;
15608 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15609 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15612 return 0;
15614 _ACEOF
15615 if ac_fn_c_try_link "$LINENO"; then :
15616 wine_cv_linux_gethostbyname_r_6=yes
15617 else
15618 wine_cv_linux_gethostbyname_r_6=no
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15626 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15627 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15628 then
15630 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15634 if test "$ac_cv_header_linux_joystick_h" = "yes"
15635 then
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15637 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15638 if ${wine_cv_linux_joystick_22_api+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15644 #include <sys/ioctl.h>
15645 #include <sys/types.h>
15646 #include <linux/joystick.h>
15648 struct js_event blub;
15649 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15650 #error "no 2.2 header"
15651 #endif
15654 main ()
15656 /*empty*/
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_compile "$LINENO"; then :
15662 wine_cv_linux_joystick_22_api=yes
15663 else
15664 wine_cv_linux_joystick_22_api=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15670 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15671 if test "$wine_cv_linux_joystick_22_api" = "yes"
15672 then
15674 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15680 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15681 #ifdef HAVE_SYS_PARAM_H
15682 # include <sys/param.h>
15683 #endif
15684 #ifdef HAVE_SYS_MOUNT_H
15685 # include <sys/mount.h>
15686 #endif
15687 #ifdef HAVE_SYS_VFS_H
15688 # include <sys/vfs.h>
15689 #endif
15690 #ifdef HAVE_SYS_STATFS_H
15691 # include <sys/statfs.h>
15692 #endif
15694 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15696 cat >>confdefs.h <<_ACEOF
15697 #define HAVE_STRUCT_STATFS_F_BFREE 1
15698 _ACEOF
15702 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15703 #ifdef HAVE_SYS_PARAM_H
15704 # include <sys/param.h>
15705 #endif
15706 #ifdef HAVE_SYS_MOUNT_H
15707 # include <sys/mount.h>
15708 #endif
15709 #ifdef HAVE_SYS_VFS_H
15710 # include <sys/vfs.h>
15711 #endif
15712 #ifdef HAVE_SYS_STATFS_H
15713 # include <sys/statfs.h>
15714 #endif
15716 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15720 _ACEOF
15724 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15725 #ifdef HAVE_SYS_PARAM_H
15726 # include <sys/param.h>
15727 #endif
15728 #ifdef HAVE_SYS_MOUNT_H
15729 # include <sys/mount.h>
15730 #endif
15731 #ifdef HAVE_SYS_VFS_H
15732 # include <sys/vfs.h>
15733 #endif
15734 #ifdef HAVE_SYS_STATFS_H
15735 # include <sys/statfs.h>
15736 #endif
15738 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15742 _ACEOF
15746 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15747 #ifdef HAVE_SYS_PARAM_H
15748 # include <sys/param.h>
15749 #endif
15750 #ifdef HAVE_SYS_MOUNT_H
15751 # include <sys/mount.h>
15752 #endif
15753 #ifdef HAVE_SYS_VFS_H
15754 # include <sys/vfs.h>
15755 #endif
15756 #ifdef HAVE_SYS_STATFS_H
15757 # include <sys/statfs.h>
15758 #endif
15760 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define HAVE_STRUCT_STATFS_F_FFREE 1
15764 _ACEOF
15768 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15769 #ifdef HAVE_SYS_PARAM_H
15770 # include <sys/param.h>
15771 #endif
15772 #ifdef HAVE_SYS_MOUNT_H
15773 # include <sys/mount.h>
15774 #endif
15775 #ifdef HAVE_SYS_VFS_H
15776 # include <sys/vfs.h>
15777 #endif
15778 #ifdef HAVE_SYS_STATFS_H
15779 # include <sys/statfs.h>
15780 #endif
15782 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15786 _ACEOF
15790 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15791 #ifdef HAVE_SYS_PARAM_H
15792 # include <sys/param.h>
15793 #endif
15794 #ifdef HAVE_SYS_MOUNT_H
15795 # include <sys/mount.h>
15796 #endif
15797 #ifdef HAVE_SYS_VFS_H
15798 # include <sys/vfs.h>
15799 #endif
15800 #ifdef HAVE_SYS_STATFS_H
15801 # include <sys/statfs.h>
15802 #endif
15804 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15806 cat >>confdefs.h <<_ACEOF
15807 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15808 _ACEOF
15814 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15815 #include <sys/statvfs.h>
15816 #endif
15818 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15822 _ACEOF
15828 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15829 #include <dirent.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15836 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_SOCKET_H
15844 # include <sys/socket.h>
15845 #endif
15846 #ifdef HAVE_SYS_UN_H
15847 # include <sys/un.h>
15848 #endif
15850 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15854 _ACEOF
15858 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15859 #ifdef HAVE_SYS_SOCKET_H
15860 # include <sys/socket.h>
15861 #endif
15862 #ifdef HAVE_SYS_UN_H
15863 # include <sys/un.h>
15864 #endif
15866 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15870 _ACEOF
15874 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15875 #ifdef HAVE_SYS_SOCKET_H
15876 # include <sys/socket.h>
15877 #endif
15878 #ifdef HAVE_SYS_UN_H
15879 # include <sys/un.h>
15880 #endif
15882 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15886 _ACEOF
15892 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15893 #ifdef HAVE_SCSI_SG_H
15894 #include <scsi/sg.h>
15895 #endif
15897 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_SCSIREQ_T_CMD 1
15901 _ACEOF
15905 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>
15906 #ifdef HAVE_SCSI_SG_H
15907 #include <scsi/sg.h>
15908 #endif
15910 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15912 cat >>confdefs.h <<_ACEOF
15913 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15914 _ACEOF
15920 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15922 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_SIGINFO_T_SI_FD 1
15926 _ACEOF
15932 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15933 #ifdef HAVE_SYS_MTIO_H
15934 #include <sys/mtio.h>
15935 #endif
15937 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15941 _ACEOF
15945 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15946 #ifdef HAVE_SYS_MTIO_H
15947 #include <sys/mtio.h>
15948 #endif
15950 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15954 _ACEOF
15958 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15959 #ifdef HAVE_SYS_MTIO_H
15960 #include <sys/mtio.h>
15961 #endif
15963 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15967 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15974 #include <getopt.h>
15975 #endif
15977 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_STRUCT_OPTION_NAME 1
15981 _ACEOF
15987 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15988 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15992 _ACEOF
15996 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15997 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_STRUCT_STAT_ST_MTIM 1
16001 _ACEOF
16005 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16006 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16010 _ACEOF
16014 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16015 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16017 cat >>confdefs.h <<_ACEOF
16018 #define HAVE_STRUCT_STAT_ST_CTIM 1
16019 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16024 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16028 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16033 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT_STAT_ST_ATIM 1
16037 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16042 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16046 _ACEOF
16050 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16051 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16055 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16071 cat >>confdefs.h <<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16073 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16082 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16091 _ACEOF
16097 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
16098 #include <sys/types.h>
16099 #endif
16100 #ifdef HAVE_NETINET_IN_H
16101 #include <netinet/in.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16108 _ACEOF
16114 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16115 #include <resolv.h>
16116 #endif
16118 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT___RES_STATE 1
16122 _ACEOF
16128 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
16129 #include <resolv.h>
16130 #endif
16132 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16136 _ACEOF
16142 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16143 #include <sys/types.h>
16144 #endif
16145 #ifdef HAVE_NETINET_IN_H
16146 # include <netinet/in.h>
16147 #endif
16148 #ifdef HAVE_ARPA_NAMESER_H
16149 # include <arpa/nameser.h>
16150 #endif
16152 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_NS_MSG__MSG_PTR 1
16156 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16163 #include <sys/types.h>
16164 #endif
16165 #ifdef HAVE_NETINET_IP_H
16166 #include <netinet/ip.h>
16167 #endif
16168 #ifdef HAVE_NETINET_IP_ICMP_H
16169 #include <netinet/ip_icmp.h>
16170 #endif
16171 #ifdef HAVE_NETINET_ICMP_VAR_H
16172 #include <netinet/icmp_var.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16179 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16187 #endif
16188 #ifdef HAVE_ALIAS_H
16189 #include <alias.h>
16190 #endif
16191 #ifdef HAVE_SYS_SOCKET_H
16192 #include <sys/socket.h>
16193 #endif
16194 #ifdef HAVE_SYS_SOCKETVAR_H
16195 #include <sys/socketvar.h>
16196 #endif
16197 #ifdef HAVE_SYS_TIMEOUT_H
16198 #include <sys/timeout.h>
16199 #endif
16200 #ifdef HAVE_NETINET_IN_H
16201 #include <netinet/in.h>
16202 #endif
16203 #ifdef HAVE_NETINET_IN_SYSTM_H
16204 #include <netinet/in_systm.h>
16205 #endif
16206 #ifdef HAVE_NETINET_IP_H
16207 #include <netinet/ip.h>
16208 #endif
16209 #ifdef HAVE_NETINET_IP_VAR_H
16210 #include <netinet/ip_var.h>
16211 #endif
16212 #ifdef HAVE_NETINET_IP_ICMP_H
16213 #include <netinet/ip_icmp.h>
16214 #endif
16215 #ifdef HAVE_NETINET_ICMP_VAR_H
16216 #include <netinet/icmp_var.h>
16217 #endif
16219 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16221 cat >>confdefs.h <<_ACEOF
16222 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16223 _ACEOF
16229 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16230 #include <sys/types.h>
16231 #endif
16232 #ifdef HAVE_SYS_SOCKETVAR_H
16233 #include <sys/socketvar.h>
16234 #endif
16235 #ifdef HAVE_NETINET_IN_H
16236 #include <netinet/in.h>
16237 #endif
16238 #ifdef HAVE_NETINET_IP_VAR_H
16239 #include <netinet/ip_var.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16246 _ACEOF
16252 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
16253 #include <netinet/ip_var.h>
16254 #endif
16256 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16260 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16267 #include <sys/types.h>
16268 #endif
16269 #ifdef HAVE_SYS_SOCKETVAR_H
16270 #include <sys/socketvar.h>
16271 #endif
16272 #ifdef HAVE_NETINET_IN_H
16273 #include <netinet/in.h>
16274 #endif
16275 #ifdef HAVE_NETINET_TCP_H
16276 #include <netinet/tcp.h>
16277 #endif
16278 #ifdef HAVE_NETINET_TCP_VAR_H
16279 #include <netinet/tcp_var.h>
16280 #endif
16282 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16284 cat >>confdefs.h <<_ACEOF
16285 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16286 _ACEOF
16292 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
16293 #include <netinet/tcp_var.h>
16294 #endif
16296 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16300 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16307 #include <sys/types.h>
16308 #endif
16309 #ifdef HAVE_NETINET_IN_H
16310 #include <netinet/in.h>
16311 #endif
16312 #ifdef HAVE_NETINET_IP_VAR_H
16313 #include <netinet/ip_var.h>
16314 #endif
16315 #ifdef HAVE_NETINET_UDP_H
16316 #include <netinet/udp.h>
16317 #endif
16318 #ifdef HAVE_NETINET_UDP_VAR_H
16319 #include <netinet/udp_var.h>
16320 #endif
16322 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16324 cat >>confdefs.h <<_ACEOF
16325 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16326 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16333 #include <sys/types.h>
16334 #endif
16335 #ifdef HAVE_NET_IF_H
16336 # include <net/if.h>
16337 #endif
16339 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16343 _ACEOF
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16350 $as_echo_n "checking for timezone variable... " >&6; }
16351 if ${ac_cv_have_timezone+:} false; then :
16352 $as_echo_n "(cached) " >&6
16353 else
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16356 #include <time.h>
16358 main ()
16360 timezone = 1
16362 return 0;
16364 _ACEOF
16365 if ac_fn_c_try_link "$LINENO"; then :
16366 ac_cv_have_timezone="yes"
16367 else
16368 ac_cv_have_timezone="no"
16370 rm -f core conftest.err conftest.$ac_objext \
16371 conftest$ac_exeext conftest.$ac_ext
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16374 $as_echo "$ac_cv_have_timezone" >&6; }
16375 if test "$ac_cv_have_timezone" = "yes"
16376 then
16378 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16382 $as_echo_n "checking for daylight variable... " >&6; }
16383 if ${ac_cv_have_daylight+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16388 #include <time.h>
16390 main ()
16392 daylight = 1
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 ac_cv_have_daylight="yes"
16399 else
16400 ac_cv_have_daylight="no"
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16406 $as_echo "$ac_cv_have_daylight" >&6; }
16407 if test "$ac_cv_have_daylight" = "yes"
16408 then
16410 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16414 ac_save_LIBS="$LIBS"
16415 LIBS="$LIBS -lm"
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16417 $as_echo_n "checking for isfinite... " >&6; }
16418 if ${ac_cv_have_isfinite+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #define _GNU_SOURCE
16424 #include <math.h>
16426 main ()
16428 float f = 0.0; return isfinite(f)
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 ac_cv_have_isfinite="yes"
16435 else
16436 ac_cv_have_isfinite="no"
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16442 $as_echo "$ac_cv_have_isfinite" >&6; }
16443 if test "$ac_cv_have_isfinite" = "yes"
16444 then
16446 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16451 $as_echo_n "checking for isinf... " >&6; }
16452 if ${ac_cv_have_isinf+:} false; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #include <math.h>
16459 main ()
16461 float f = 0.0; return isinf(f)
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"; then :
16467 ac_cv_have_isinf="yes"
16468 else
16469 ac_cv_have_isinf="no"
16471 rm -f core conftest.err conftest.$ac_objext \
16472 conftest$ac_exeext conftest.$ac_ext
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16475 $as_echo "$ac_cv_have_isinf" >&6; }
16476 if test "$ac_cv_have_isinf" = "yes"
16477 then
16479 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16484 $as_echo_n "checking for isnan... " >&6; }
16485 if ${ac_cv_have_isnan+:} false; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16490 #include <math.h>
16492 main ()
16494 float f = 0.0; return isnan(f)
16496 return 0;
16498 _ACEOF
16499 if ac_fn_c_try_link "$LINENO"; then :
16500 ac_cv_have_isnan="yes"
16501 else
16502 ac_cv_have_isnan="no"
16504 rm -f core conftest.err conftest.$ac_objext \
16505 conftest$ac_exeext conftest.$ac_ext
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16508 $as_echo "$ac_cv_have_isnan" >&6; }
16509 if test "$ac_cv_have_isnan" = "yes"
16510 then
16512 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16516 for ac_func in \
16517 cbrt \
16518 cbrtf \
16519 exp2 \
16520 exp2f \
16521 llrint \
16522 llrintf \
16523 llround \
16524 llroundf \
16525 log2 \
16526 log2f \
16527 lrint \
16528 lrintf \
16529 lround \
16530 lroundf \
16531 rint \
16532 rintf \
16533 round \
16534 roundf \
16535 trunc \
16536 truncf
16538 do :
16539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16544 _ACEOF
16547 done
16549 LIBS="$ac_save_LIBS"
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16552 $as_echo_n "checking for __builtin_clz... " >&6; }
16553 if ${ac_cv_have___builtin_clz+:} false; then :
16554 $as_echo_n "(cached) " >&6
16555 else
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16560 main ()
16562 return __builtin_clz(1)
16564 return 0;
16566 _ACEOF
16567 if ac_fn_c_try_link "$LINENO"; then :
16568 ac_cv_have___builtin_clz="yes"
16569 else
16570 ac_cv_have___builtin_clz="no"
16572 rm -f core conftest.err conftest.$ac_objext \
16573 conftest$ac_exeext conftest.$ac_ext
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16576 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16577 if test "$ac_cv_have___builtin_clz" = "yes"
16578 then
16580 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16585 case $host_cpu in
16586 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16587 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16588 if ${ac_cv_cpp_def___i386__+:} false; then :
16589 $as_echo_n "(cached) " >&6
16590 else
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16593 #ifndef __i386__
16595 #endif
16596 _ACEOF
16597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16598 $EGREP "yes" >/dev/null 2>&1; then :
16599 ac_cv_cpp_def___i386__=yes
16600 else
16601 ac_cv_cpp_def___i386__=no
16603 rm -f conftest*
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16607 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16608 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16609 CFLAGS="$CFLAGS -D__i386__"
16610 LINTFLAGS="$LINTFLAGS -D__i386__"
16611 fi ;;
16612 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16613 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16614 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #ifndef __x86_64__
16621 #endif
16622 _ACEOF
16623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16624 $EGREP "yes" >/dev/null 2>&1; then :
16625 ac_cv_cpp_def___x86_64__=yes
16626 else
16627 ac_cv_cpp_def___x86_64__=no
16629 rm -f conftest*
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16633 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16634 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16635 CFLAGS="$CFLAGS -D__x86_64__"
16636 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16637 fi ;;
16638 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16639 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16640 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16641 $as_echo_n "(cached) " >&6
16642 else
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16645 #ifndef __sparc64__
16647 #endif
16648 _ACEOF
16649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16650 $EGREP "yes" >/dev/null 2>&1; then :
16651 ac_cv_cpp_def___sparc64__=yes
16652 else
16653 ac_cv_cpp_def___sparc64__=no
16655 rm -f conftest*
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16659 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16660 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16661 CFLAGS="$CFLAGS -D__sparc64__"
16662 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16663 fi ;;
16664 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16665 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16666 if ${ac_cv_cpp_def___sparc__+:} false; then :
16667 $as_echo_n "(cached) " >&6
16668 else
16669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16671 #ifndef __sparc__
16673 #endif
16674 _ACEOF
16675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16676 $EGREP "yes" >/dev/null 2>&1; then :
16677 ac_cv_cpp_def___sparc__=yes
16678 else
16679 ac_cv_cpp_def___sparc__=no
16681 rm -f conftest*
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16685 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16686 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16687 CFLAGS="$CFLAGS -D__sparc__"
16688 LINTFLAGS="$LINTFLAGS -D__sparc__"
16689 fi ;;
16690 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16691 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16692 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16697 #ifndef __powerpc64__
16699 #endif
16700 _ACEOF
16701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16702 $EGREP "yes" >/dev/null 2>&1; then :
16703 ac_cv_cpp_def___powerpc64__=yes
16704 else
16705 ac_cv_cpp_def___powerpc64__=no
16707 rm -f conftest*
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16711 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16712 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16713 CFLAGS="$CFLAGS -D__powerpc64__"
16714 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16715 fi ;;
16716 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16717 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16718 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #ifndef __powerpc__
16725 #endif
16726 _ACEOF
16727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16728 $EGREP "yes" >/dev/null 2>&1; then :
16729 ac_cv_cpp_def___powerpc__=yes
16730 else
16731 ac_cv_cpp_def___powerpc__=no
16733 rm -f conftest*
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16737 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16738 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16739 CFLAGS="$CFLAGS -D__powerpc__"
16740 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16741 fi ;;
16742 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16743 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16744 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16749 #ifndef __aarch64__
16751 #endif
16752 _ACEOF
16753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16754 $EGREP "yes" >/dev/null 2>&1; then :
16755 ac_cv_cpp_def___aarch64__=yes
16756 else
16757 ac_cv_cpp_def___aarch64__=no
16759 rm -f conftest*
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16763 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16764 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16765 CFLAGS="$CFLAGS -D__aarch64__"
16766 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16767 fi ;;
16768 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16769 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16770 if ${ac_cv_cpp_def___arm__+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16775 #ifndef __arm__
16777 #endif
16778 _ACEOF
16779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16780 $EGREP "yes" >/dev/null 2>&1; then :
16781 ac_cv_cpp_def___arm__=yes
16782 else
16783 ac_cv_cpp_def___arm__=no
16785 rm -f conftest*
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16789 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16790 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16791 CFLAGS="$CFLAGS -D__arm__"
16792 LINTFLAGS="$LINTFLAGS -D__arm__"
16793 fi ;;
16794 esac
16796 case $host_vendor in
16797 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16798 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16799 if ${ac_cv_cpp_def___sun__+:} false; then :
16800 $as_echo_n "(cached) " >&6
16801 else
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16804 #ifndef __sun__
16806 #endif
16807 _ACEOF
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev/null 2>&1; then :
16810 ac_cv_cpp_def___sun__=yes
16811 else
16812 ac_cv_cpp_def___sun__=no
16814 rm -f conftest*
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16818 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16819 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16820 CFLAGS="$CFLAGS -D__sun__"
16821 LINTFLAGS="$LINTFLAGS -D__sun__"
16822 fi ;;
16823 esac
16829 ac_config_commands="$ac_config_commands include/stamp-h"
16831 $as_echo_n "creating Makefile rules..." >&6
16833 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16834 SOCKET_LIBS = $SOCKET_LIBS
16835 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16836 IOKIT_LIBS = $IOKIT_LIBS
16837 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16838 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16839 CORESERVICES_LIBS = $CORESERVICES_LIBS
16840 APPKIT_LIBS = $APPKIT_LIBS
16841 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16842 SECURITY_LIBS = $SECURITY_LIBS
16843 COREAUDIO_LIBS = $COREAUDIO_LIBS
16844 OPENAL_LIBS = $OPENAL_LIBS
16845 OPENCL_LIBS = $OPENCL_LIBS
16846 QUICKTIME_LIBS = $QUICKTIME_LIBS
16847 CARBON_LIBS = $CARBON_LIBS
16848 PTHREAD_LIBS = $PTHREAD_LIBS
16849 X_CFLAGS = $X_CFLAGS
16850 X_PRE_LIBS = $X_PRE_LIBS
16851 X_LIBS = $X_LIBS
16852 X_EXTRA_LIBS = $X_EXTRA_LIBS
16853 XML2_CFLAGS = $XML2_CFLAGS
16854 XML2_LIBS = $XML2_LIBS
16855 XSLT_CFLAGS = $XSLT_CFLAGS
16856 XSLT_LIBS = $XSLT_LIBS
16857 DBUS_CFLAGS = $DBUS_CFLAGS
16858 DBUS_LIBS = $DBUS_LIBS
16859 HAL_CFLAGS = $HAL_CFLAGS
16860 HAL_LIBS = $HAL_LIBS
16861 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16862 GNUTLS_LIBS = $GNUTLS_LIBS
16863 SANE_CFLAGS = $SANE_CFLAGS
16864 SANE_LIBS = $SANE_LIBS
16865 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16866 GPHOTO2_LIBS = $GPHOTO2_LIBS
16867 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16868 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16869 RESOLV_LIBS = $RESOLV_LIBS
16870 LCMS2_CFLAGS = $LCMS2_CFLAGS
16871 LCMS2_LIBS = $LCMS2_LIBS
16872 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16873 FREETYPE_LIBS = $FREETYPE_LIBS
16874 Z_LIBS = $Z_LIBS
16875 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16876 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16877 GSTREAMER_LIBS = $GSTREAMER_LIBS
16878 ALSA_LIBS = $ALSA_LIBS
16879 OSS4_CFLAGS = $OSS4_CFLAGS
16880 CAPI20_CFLAGS = $CAPI20_CFLAGS
16881 CAPI20_LIBS = $CAPI20_LIBS
16882 CUPS_CFLAGS = $CUPS_CFLAGS
16883 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16884 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16885 JPEG_CFLAGS = $JPEG_CFLAGS
16886 JPEG_LIBS = $JPEG_LIBS
16887 PNG_CFLAGS = $PNG_CFLAGS
16888 PNG_LIBS = $PNG_LIBS
16889 TIFF_CFLAGS = $TIFF_CFLAGS
16890 TIFF_LIBS = $TIFF_LIBS
16891 MPG123_CFLAGS = $MPG123_CFLAGS
16892 MPG123_LIBS = $MPG123_LIBS
16893 KSTAT_LIBS = $KSTAT_LIBS
16894 PROCSTAT_LIBS = $PROCSTAT_LIBS
16895 DL_LIBS = $DL_LIBS
16896 POLL_LIBS = $POLL_LIBS
16897 RT_LIBS = $RT_LIBS
16898 LDAP_LIBS = $LDAP_LIBS
16903 wine_fn_append_rule "
16904 # Rules automatically generated by configure
16906 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16908 .INIT: Makefile
16909 .MAKEFILEDEPS:
16910 all: Makefile
16911 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16912 @./config.status Make.tmp Makefile"
16914 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16915 .gitignore: config.status
16916 @./config.status .gitignore"
16918 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16919 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16921 if test "x$enable_fonts" != xno; then
16922 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16923 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16924 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16925 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16926 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16928 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16929 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16930 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16931 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16932 ac_config_links="$ac_config_links wine:tools/winewrapper"
16933 wine_fn_config_symlink wine
16934 if test "x$enable_win64" != xno; then
16935 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16936 wine_fn_config_symlink wine64
16939 wine_fn_config_dll acledit enable_acledit
16940 wine_fn_config_dll aclui enable_aclui implib
16941 wine_fn_config_dll activeds enable_activeds implib
16942 wine_fn_config_dll actxprxy enable_actxprxy clean
16943 wine_fn_config_lib adsiid
16944 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16945 wine_fn_config_test dlls/advapi32/tests advapi32_test
16946 wine_fn_config_dll advpack enable_advpack implib
16947 wine_fn_config_test dlls/advpack/tests advpack_test
16948 wine_fn_config_dll amstream enable_amstream clean
16949 wine_fn_config_test dlls/amstream/tests amstream_test
16950 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16951 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16952 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16953 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16954 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16955 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16956 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16957 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16958 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16959 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16960 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16961 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16962 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16963 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16964 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16965 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16966 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16967 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16968 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16969 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16970 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16971 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16972 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16973 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16974 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16975 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16976 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16977 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16978 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
16979 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16983 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16986 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16987 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
16988 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
16997 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16998 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16999 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17000 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17001 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17002 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17003 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17004 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17005 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17006 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17007 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17008 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17009 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17010 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17011 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17012 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17013 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17014 wine_fn_config_dll apphelp enable_apphelp
17015 wine_fn_config_test dlls/apphelp/tests apphelp_test
17016 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17017 wine_fn_config_dll atl enable_atl clean,implib
17018 wine_fn_config_test dlls/atl/tests atl_test
17019 wine_fn_config_dll atl100 enable_atl100 clean,implib
17020 wine_fn_config_test dlls/atl100/tests atl100_test
17021 wine_fn_config_dll atl110 enable_atl110 clean
17022 wine_fn_config_dll atl80 enable_atl80 clean,implib
17023 wine_fn_config_test dlls/atl80/tests atl80_test
17024 wine_fn_config_dll atl90 enable_atl90 clean
17025 wine_fn_config_dll authz enable_authz
17026 wine_fn_config_dll avicap32 enable_avicap32 implib
17027 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17028 wine_fn_config_test dlls/avifil32/tests avifil32_test
17029 wine_fn_config_dll avifile.dll16 enable_win16
17030 wine_fn_config_dll avrt enable_avrt implib
17031 wine_fn_config_dll bcrypt enable_bcrypt
17032 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17033 wine_fn_config_dll browseui enable_browseui clean,po
17034 wine_fn_config_test dlls/browseui/tests browseui_test
17035 wine_fn_config_dll cabinet enable_cabinet implib
17036 wine_fn_config_test dlls/cabinet/tests cabinet_test
17037 wine_fn_config_dll capi2032 enable_capi2032 implib
17038 wine_fn_config_dll cards enable_cards implib
17039 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17040 wine_fn_config_dll clusapi enable_clusapi implib
17041 wine_fn_config_dll combase enable_combase
17042 wine_fn_config_test dlls/combase/tests combase_test
17043 wine_fn_config_dll comcat enable_comcat
17044 wine_fn_config_test dlls/comcat/tests comcat_test
17045 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17046 wine_fn_config_test dlls/comctl32/tests comctl32_test
17047 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17048 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17049 wine_fn_config_dll comm.drv16 enable_win16
17050 wine_fn_config_dll commdlg.dll16 enable_win16
17051 wine_fn_config_dll compobj.dll16 enable_win16
17052 wine_fn_config_dll compstui enable_compstui implib
17053 wine_fn_config_dll comsvcs enable_comsvcs implib
17054 wine_fn_config_dll credui enable_credui implib,po
17055 wine_fn_config_test dlls/credui/tests credui_test
17056 wine_fn_config_dll crtdll enable_crtdll implib
17057 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17058 wine_fn_config_test dlls/crypt32/tests crypt32_test
17059 wine_fn_config_dll cryptdlg enable_cryptdlg po
17060 wine_fn_config_dll cryptdll enable_cryptdll implib
17061 wine_fn_config_dll cryptext enable_cryptext
17062 wine_fn_config_dll cryptnet enable_cryptnet implib
17063 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17064 wine_fn_config_dll cryptui enable_cryptui implib,po
17065 wine_fn_config_test dlls/cryptui/tests cryptui_test
17066 wine_fn_config_dll ctapi32 enable_ctapi32
17067 wine_fn_config_dll ctl3d.dll16 enable_win16
17068 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17069 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17070 wine_fn_config_dll d2d1 enable_d2d1 implib
17071 wine_fn_config_test dlls/d2d1/tests d2d1_test
17072 wine_fn_config_dll d3d10 enable_d3d10 implib
17073 wine_fn_config_test dlls/d3d10/tests d3d10_test
17074 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17075 wine_fn_config_dll d3d10core enable_d3d10core implib
17076 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17077 wine_fn_config_dll d3d11 enable_d3d11
17078 wine_fn_config_dll d3d8 enable_d3d8 implib
17079 wine_fn_config_test dlls/d3d8/tests d3d8_test
17080 wine_fn_config_dll d3d9 enable_d3d9 implib
17081 wine_fn_config_test dlls/d3d9/tests d3d9_test
17082 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17083 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17084 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17085 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17086 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17087 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17088 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17089 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17090 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17091 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17092 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17093 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17094 wine_fn_config_dll d3dim enable_d3dim implib
17095 wine_fn_config_dll d3drm enable_d3drm implib
17096 wine_fn_config_test dlls/d3drm/tests d3drm_test
17097 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17098 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17099 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17100 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17101 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17102 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17103 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17104 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17105 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17106 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17107 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17108 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17109 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17110 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17111 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17112 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17113 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17114 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17115 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17116 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17117 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17118 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17119 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17120 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17121 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17122 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17123 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17124 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17125 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17126 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17127 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17128 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17129 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17130 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17131 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17132 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17133 wine_fn_config_dll dbgeng enable_dbgeng implib
17134 wine_fn_config_dll dbghelp enable_dbghelp implib
17135 wine_fn_config_dll dciman32 enable_dciman32 implib
17136 wine_fn_config_dll ddeml.dll16 enable_win16
17137 wine_fn_config_dll ddraw enable_ddraw clean,implib
17138 wine_fn_config_test dlls/ddraw/tests ddraw_test
17139 wine_fn_config_dll ddrawex enable_ddrawex clean
17140 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17141 wine_fn_config_dll devenum enable_devenum clean,po
17142 wine_fn_config_test dlls/devenum/tests devenum_test
17143 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17144 wine_fn_config_dll difxapi enable_difxapi
17145 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17146 wine_fn_config_test dlls/dinput/tests dinput_test
17147 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17148 wine_fn_config_test dlls/dinput8/tests dinput8_test
17149 wine_fn_config_dll dispdib.dll16 enable_win16
17150 wine_fn_config_dll dispex enable_dispex clean
17151 wine_fn_config_test dlls/dispex/tests dispex_test
17152 wine_fn_config_dll display.drv16 enable_win16
17153 wine_fn_config_dll dmband enable_dmband clean
17154 wine_fn_config_test dlls/dmband/tests dmband_test
17155 wine_fn_config_dll dmcompos enable_dmcompos clean
17156 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17157 wine_fn_config_dll dmime enable_dmime clean
17158 wine_fn_config_test dlls/dmime/tests dmime_test
17159 wine_fn_config_dll dmloader enable_dmloader clean
17160 wine_fn_config_test dlls/dmloader/tests dmloader_test
17161 wine_fn_config_dll dmscript enable_dmscript clean
17162 wine_fn_config_test dlls/dmscript/tests dmscript_test
17163 wine_fn_config_dll dmstyle enable_dmstyle clean
17164 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17165 wine_fn_config_dll dmsynth enable_dmsynth clean
17166 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17167 wine_fn_config_dll dmusic enable_dmusic clean
17168 wine_fn_config_test dlls/dmusic/tests dmusic_test
17169 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17170 wine_fn_config_dll dnsapi enable_dnsapi implib
17171 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17172 wine_fn_config_dll dplay enable_dplay implib
17173 wine_fn_config_dll dplayx enable_dplayx clean,implib
17174 wine_fn_config_test dlls/dplayx/tests dplayx_test
17175 wine_fn_config_dll dpnaddr enable_dpnaddr
17176 wine_fn_config_dll dpnet enable_dpnet clean,implib
17177 wine_fn_config_test dlls/dpnet/tests dpnet_test
17178 wine_fn_config_dll dpnhpast enable_dpnhpast
17179 wine_fn_config_dll dpnlobby enable_dpnlobby
17180 wine_fn_config_dll dpvoice enable_dpvoice clean
17181 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17182 wine_fn_config_dll dpwsockx enable_dpwsockx
17183 wine_fn_config_dll drmclien enable_drmclien
17184 wine_fn_config_dll dsound enable_dsound clean,implib
17185 wine_fn_config_test dlls/dsound/tests dsound_test
17186 wine_fn_config_dll dssenh enable_dssenh
17187 wine_fn_config_test dlls/dssenh/tests dssenh_test
17188 wine_fn_config_dll dswave enable_dswave clean
17189 wine_fn_config_test dlls/dswave/tests dswave_test
17190 wine_fn_config_dll dwmapi enable_dwmapi implib
17191 wine_fn_config_dll dwrite enable_dwrite implib
17192 wine_fn_config_test dlls/dwrite/tests dwrite_test
17193 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17194 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17195 wine_fn_config_lib dxerr8
17196 wine_fn_config_lib dxerr9
17197 wine_fn_config_dll dxgi enable_dxgi implib
17198 wine_fn_config_test dlls/dxgi/tests dxgi_test
17199 wine_fn_config_lib dxguid
17200 wine_fn_config_dll dxva2 enable_dxva2
17201 wine_fn_config_dll explorerframe enable_explorerframe clean
17202 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17203 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17204 wine_fn_config_dll faultrep enable_faultrep implib
17205 wine_fn_config_test dlls/faultrep/tests faultrep_test
17206 wine_fn_config_dll fltlib enable_fltlib
17207 wine_fn_config_dll fntcache enable_fntcache
17208 wine_fn_config_dll fontsub enable_fontsub
17209 wine_fn_config_dll fusion enable_fusion
17210 wine_fn_config_test dlls/fusion/tests fusion_test
17211 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17212 wine_fn_config_dll gameux enable_gameux clean
17213 wine_fn_config_test dlls/gameux/tests gameux_test
17214 wine_fn_config_dll gdi.exe16 enable_win16
17215 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17216 wine_fn_config_test dlls/gdi32/tests gdi32_test
17217 wine_fn_config_dll gdiplus enable_gdiplus implib
17218 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17219 wine_fn_config_dll glu32 enable_glu32 implib
17220 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17221 wine_fn_config_dll gpkcsp enable_gpkcsp
17222 wine_fn_config_dll hal enable_hal
17223 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17224 wine_fn_config_dll hid enable_hid implib
17225 wine_fn_config_dll hlink enable_hlink clean,implib
17226 wine_fn_config_test dlls/hlink/tests hlink_test
17227 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17228 wine_fn_config_dll httpapi enable_httpapi
17229 wine_fn_config_dll iccvid enable_iccvid po
17230 wine_fn_config_dll icmp enable_icmp
17231 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17232 wine_fn_config_test dlls/ieframe/tests ieframe_test
17233 wine_fn_config_dll ifsmgr.vxd enable_win16
17234 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17235 wine_fn_config_dll imagehlp enable_imagehlp implib
17236 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17237 wine_fn_config_dll imm.dll16 enable_win16
17238 wine_fn_config_dll imm32 enable_imm32 implib
17239 wine_fn_config_test dlls/imm32/tests imm32_test
17240 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17241 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17242 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17243 wine_fn_config_dll inetmib1 enable_inetmib1
17244 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17245 wine_fn_config_dll infosoft enable_infosoft clean
17246 wine_fn_config_test dlls/infosoft/tests infosoft_test
17247 wine_fn_config_dll initpki enable_initpki
17248 wine_fn_config_dll inkobj enable_inkobj
17249 wine_fn_config_dll inseng enable_inseng clean
17250 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17251 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17252 wine_fn_config_dll itircl enable_itircl
17253 wine_fn_config_dll itss enable_itss clean
17254 wine_fn_config_test dlls/itss/tests itss_test
17255 wine_fn_config_dll joy.cpl enable_joy_cpl po
17256 wine_fn_config_dll jscript enable_jscript clean,po
17257 wine_fn_config_test dlls/jscript/tests jscript_test
17258 wine_fn_config_dll jsproxy enable_jsproxy implib
17259 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17260 wine_fn_config_test dlls/kernel32/tests kernel32_test
17261 wine_fn_config_dll keyboard.drv16 enable_win16
17262 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17263 wine_fn_config_dll ksuser enable_ksuser
17264 wine_fn_config_dll ktmw32 enable_ktmw32
17265 wine_fn_config_dll loadperf enable_loadperf implib
17266 wine_fn_config_dll localspl enable_localspl po
17267 wine_fn_config_test dlls/localspl/tests localspl_test
17268 wine_fn_config_dll localui enable_localui po
17269 wine_fn_config_test dlls/localui/tests localui_test
17270 wine_fn_config_dll lz32 enable_lz32 implib
17271 wine_fn_config_test dlls/lz32/tests lz32_test
17272 wine_fn_config_dll lzexpand.dll16 enable_win16
17273 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17274 wine_fn_config_test dlls/mapi32/tests mapi32_test
17275 wine_fn_config_dll mapistub enable_mapistub
17276 wine_fn_config_dll mciavi32 enable_mciavi32
17277 wine_fn_config_dll mcicda enable_mcicda
17278 wine_fn_config_dll mciqtz32 enable_mciqtz32
17279 wine_fn_config_dll mciseq enable_mciseq
17280 wine_fn_config_dll mciwave enable_mciwave
17281 wine_fn_config_dll mfplat enable_mfplat
17282 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17283 wine_fn_config_dll mgmtapi enable_mgmtapi
17284 wine_fn_config_dll midimap enable_midimap
17285 wine_fn_config_dll mlang enable_mlang clean,implib
17286 wine_fn_config_test dlls/mlang/tests mlang_test
17287 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17288 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17289 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17290 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17291 wine_fn_config_dll mmdevldr.vxd enable_win16
17292 wine_fn_config_dll mmsystem.dll16 enable_win16
17293 wine_fn_config_dll monodebg.vxd enable_win16
17294 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17295 wine_fn_config_dll mouse.drv16 enable_win16
17296 wine_fn_config_dll mpr enable_mpr implib,po
17297 wine_fn_config_test dlls/mpr/tests mpr_test
17298 wine_fn_config_dll mprapi enable_mprapi implib
17299 wine_fn_config_dll msacm.dll16 enable_win16
17300 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17301 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17302 wine_fn_config_test dlls/msacm32/tests msacm32_test
17303 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17304 wine_fn_config_dll msasn1 enable_msasn1 implib
17305 wine_fn_config_dll mscat32 enable_mscat32
17306 wine_fn_config_dll mscms enable_mscms implib
17307 wine_fn_config_test dlls/mscms/tests mscms_test
17308 wine_fn_config_dll mscoree enable_mscoree clean
17309 wine_fn_config_test dlls/mscoree/tests mscoree_test
17310 wine_fn_config_dll msctf enable_msctf clean
17311 wine_fn_config_test dlls/msctf/tests msctf_test
17312 wine_fn_config_dll msdaps enable_msdaps clean
17313 wine_fn_config_dll msdmo enable_msdmo implib
17314 wine_fn_config_test dlls/msdmo/tests msdmo_test
17315 wine_fn_config_dll msftedit enable_msftedit
17316 wine_fn_config_dll msg711.acm enable_msg711_acm
17317 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17318 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17319 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17320 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17321 wine_fn_config_dll msi enable_msi clean,implib,po
17322 wine_fn_config_test dlls/msi/tests msi_test
17323 wine_fn_config_dll msident enable_msident clean
17324 wine_fn_config_dll msimg32 enable_msimg32 implib
17325 wine_fn_config_dll msimsg enable_msimsg
17326 wine_fn_config_dll msimtf enable_msimtf clean
17327 wine_fn_config_dll msisip enable_msisip
17328 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17329 wine_fn_config_dll msls31 enable_msls31
17330 wine_fn_config_dll msnet32 enable_msnet32
17331 wine_fn_config_dll mspatcha enable_mspatcha
17332 wine_fn_config_dll msrle32 enable_msrle32 po
17333 wine_fn_config_test dlls/msrle32/tests msrle32_test
17334 wine_fn_config_dll mssign32 enable_mssign32
17335 wine_fn_config_dll mssip32 enable_mssip32
17336 wine_fn_config_dll mstask enable_mstask clean
17337 wine_fn_config_test dlls/mstask/tests mstask_test
17338 wine_fn_config_dll msvcirt enable_msvcirt
17339 wine_fn_config_dll msvcm80 enable_msvcm80
17340 wine_fn_config_dll msvcm90 enable_msvcm90
17341 wine_fn_config_dll msvcp100 enable_msvcp100
17342 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17343 wine_fn_config_dll msvcp110 enable_msvcp110
17344 wine_fn_config_dll msvcp120 enable_msvcp120
17345 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17346 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17347 wine_fn_config_dll msvcp60 enable_msvcp60
17348 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17349 wine_fn_config_dll msvcp70 enable_msvcp70
17350 wine_fn_config_dll msvcp71 enable_msvcp71
17351 wine_fn_config_dll msvcp80 enable_msvcp80
17352 wine_fn_config_dll msvcp90 enable_msvcp90
17353 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17354 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17355 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17356 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17357 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17358 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17359 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17360 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17361 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17362 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17363 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17364 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17365 wine_fn_config_dll msvcrt enable_msvcrt implib
17366 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17367 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17368 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17369 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17370 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17371 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17372 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17373 wine_fn_config_dll msvidc32 enable_msvidc32 po
17374 wine_fn_config_dll msvideo.dll16 enable_win16
17375 wine_fn_config_dll mswsock enable_mswsock implib
17376 wine_fn_config_dll msxml enable_msxml clean
17377 wine_fn_config_dll msxml2 enable_msxml2 clean
17378 wine_fn_config_dll msxml3 enable_msxml3 clean
17379 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17380 wine_fn_config_dll msxml4 enable_msxml4 clean
17381 wine_fn_config_dll msxml6 enable_msxml6 clean
17382 wine_fn_config_dll nddeapi enable_nddeapi implib
17383 wine_fn_config_dll ndis.sys enable_ndis_sys
17384 wine_fn_config_dll netapi32 enable_netapi32 implib
17385 wine_fn_config_test dlls/netapi32/tests netapi32_test
17386 wine_fn_config_dll netcfgx enable_netcfgx clean
17387 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17388 wine_fn_config_dll netprofm enable_netprofm clean
17389 wine_fn_config_test dlls/netprofm/tests netprofm_test
17390 wine_fn_config_dll newdev enable_newdev implib
17391 wine_fn_config_dll normaliz enable_normaliz implib
17392 wine_fn_config_dll npmshtml enable_npmshtml
17393 wine_fn_config_dll npptools enable_npptools
17394 wine_fn_config_dll ntdll enable_ntdll implib
17395 wine_fn_config_test dlls/ntdll/tests ntdll_test
17396 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17397 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17398 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17399 wine_fn_config_dll ntprint enable_ntprint
17400 wine_fn_config_test dlls/ntprint/tests ntprint_test
17401 wine_fn_config_dll objsel enable_objsel clean
17402 wine_fn_config_dll odbc32 enable_odbc32 implib
17403 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17404 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17405 wine_fn_config_dll odbccu32 enable_odbccu32
17406 wine_fn_config_dll ole2.dll16 enable_win16
17407 wine_fn_config_dll ole2conv.dll16 enable_win16
17408 wine_fn_config_dll ole2disp.dll16 enable_win16
17409 wine_fn_config_dll ole2nls.dll16 enable_win16
17410 wine_fn_config_dll ole2prox.dll16 enable_win16
17411 wine_fn_config_dll ole2thk.dll16 enable_win16
17412 wine_fn_config_dll ole32 enable_ole32 clean,implib
17413 wine_fn_config_test dlls/ole32/tests ole32_test
17414 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17415 wine_fn_config_test dlls/oleacc/tests oleacc_test
17416 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17417 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17418 wine_fn_config_dll olecli.dll16 enable_win16
17419 wine_fn_config_dll olecli32 enable_olecli32 implib
17420 wine_fn_config_dll oledb32 enable_oledb32 clean
17421 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17422 wine_fn_config_dll oledlg enable_oledlg implib,po
17423 wine_fn_config_dll olepro32 enable_olepro32 implib
17424 wine_fn_config_dll olesvr.dll16 enable_win16
17425 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17426 wine_fn_config_dll olethk32 enable_olethk32
17427 wine_fn_config_dll openal32 enable_openal32
17428 wine_fn_config_dll opencl enable_opencl
17429 wine_fn_config_dll opengl32 enable_opengl32 implib
17430 wine_fn_config_test dlls/opengl32/tests opengl32_test
17431 wine_fn_config_dll packager enable_packager clean
17432 wine_fn_config_test dlls/packager/tests packager_test
17433 wine_fn_config_dll pdh enable_pdh implib
17434 wine_fn_config_test dlls/pdh/tests pdh_test
17435 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17436 wine_fn_config_dll pidgen enable_pidgen
17437 wine_fn_config_dll powrprof enable_powrprof implib
17438 wine_fn_config_dll printui enable_printui
17439 wine_fn_config_dll prntvpt enable_prntvpt
17440 wine_fn_config_dll propsys enable_propsys clean,implib
17441 wine_fn_config_test dlls/propsys/tests propsys_test
17442 wine_fn_config_dll psapi enable_psapi implib
17443 wine_fn_config_test dlls/psapi/tests psapi_test
17444 wine_fn_config_dll pstorec enable_pstorec clean
17445 wine_fn_config_dll qcap enable_qcap
17446 wine_fn_config_test dlls/qcap/tests qcap_test
17447 wine_fn_config_dll qedit enable_qedit clean
17448 wine_fn_config_test dlls/qedit/tests qedit_test
17449 wine_fn_config_dll qmgr enable_qmgr clean
17450 wine_fn_config_test dlls/qmgr/tests qmgr_test
17451 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17452 wine_fn_config_dll quartz enable_quartz clean,implib
17453 wine_fn_config_test dlls/quartz/tests quartz_test clean
17454 wine_fn_config_dll query enable_query
17455 wine_fn_config_dll rasapi16.dll16 enable_win16
17456 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17457 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17458 wine_fn_config_dll rasdlg enable_rasdlg implib
17459 wine_fn_config_dll regapi enable_regapi
17460 wine_fn_config_dll resutils enable_resutils implib
17461 wine_fn_config_dll riched20 enable_riched20 implib
17462 wine_fn_config_test dlls/riched20/tests riched20_test
17463 wine_fn_config_dll riched32 enable_riched32
17464 wine_fn_config_test dlls/riched32/tests riched32_test
17465 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17466 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17467 wine_fn_config_dll rsabase enable_rsabase
17468 wine_fn_config_dll rsaenh enable_rsaenh implib
17469 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17470 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17471 wine_fn_config_dll rtutils enable_rtutils implib
17472 wine_fn_config_dll samlib enable_samlib
17473 wine_fn_config_dll sane.ds enable_sane_ds po
17474 wine_fn_config_dll scarddlg enable_scarddlg
17475 wine_fn_config_dll sccbase enable_sccbase
17476 wine_fn_config_dll schannel enable_schannel
17477 wine_fn_config_test dlls/schannel/tests schannel_test
17478 wine_fn_config_dll schedsvc enable_schedsvc clean
17479 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17480 wine_fn_config_dll scrrun enable_scrrun clean
17481 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17482 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17483 wine_fn_config_dll secur32 enable_secur32 implib
17484 wine_fn_config_test dlls/secur32/tests secur32_test
17485 wine_fn_config_dll security enable_security
17486 wine_fn_config_dll sensapi enable_sensapi implib
17487 wine_fn_config_dll serialui enable_serialui implib,po
17488 wine_fn_config_test dlls/serialui/tests serialui_test
17489 wine_fn_config_dll setupapi enable_setupapi implib,po
17490 wine_fn_config_test dlls/setupapi/tests setupapi_test
17491 wine_fn_config_dll setupx.dll16 enable_win16
17492 wine_fn_config_dll sfc enable_sfc implib
17493 wine_fn_config_dll sfc_os enable_sfc_os implib
17494 wine_fn_config_dll shdoclc enable_shdoclc po
17495 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17496 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17497 wine_fn_config_dll shell.dll16 enable_win16
17498 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17499 wine_fn_config_test dlls/shell32/tests shell32_test
17500 wine_fn_config_dll shfolder enable_shfolder implib
17501 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17502 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17503 wine_fn_config_dll slbcsp enable_slbcsp
17504 wine_fn_config_dll slc enable_slc implib
17505 wine_fn_config_dll snmpapi enable_snmpapi implib
17506 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17507 wine_fn_config_dll softpub enable_softpub
17508 wine_fn_config_dll sound.drv16 enable_win16
17509 wine_fn_config_dll spoolss enable_spoolss implib
17510 wine_fn_config_test dlls/spoolss/tests spoolss_test
17511 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17512 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17513 wine_fn_config_dll sti enable_sti clean,implib
17514 wine_fn_config_test dlls/sti/tests sti_test
17515 wine_fn_config_dll storage.dll16 enable_win16
17516 wine_fn_config_dll stress.dll16 enable_win16
17517 wine_fn_config_lib strmbase
17518 wine_fn_config_lib strmiids
17519 wine_fn_config_dll svrapi enable_svrapi
17520 wine_fn_config_dll sxs enable_sxs implib
17521 wine_fn_config_test dlls/sxs/tests sxs_test
17522 wine_fn_config_dll system.drv16 enable_win16
17523 wine_fn_config_dll t2embed enable_t2embed
17524 wine_fn_config_dll tapi32 enable_tapi32 implib
17525 wine_fn_config_dll taskschd enable_taskschd clean
17526 wine_fn_config_test dlls/taskschd/tests taskschd_test
17527 wine_fn_config_dll toolhelp.dll16 enable_win16
17528 wine_fn_config_dll traffic enable_traffic
17529 wine_fn_config_dll twain.dll16 enable_win16
17530 wine_fn_config_dll twain_32 enable_twain_32
17531 wine_fn_config_test dlls/twain_32/tests twain_32_test
17532 wine_fn_config_dll typelib.dll16 enable_win16
17533 wine_fn_config_dll unicows enable_unicows implib
17534 wine_fn_config_dll updspapi enable_updspapi
17535 wine_fn_config_dll url enable_url implib
17536 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17537 wine_fn_config_test dlls/urlmon/tests urlmon_test
17538 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17539 wine_fn_config_dll user.exe16 enable_win16
17540 wine_fn_config_dll user32 enable_user32 clean,implib,po
17541 wine_fn_config_test dlls/user32/tests user32_test
17542 wine_fn_config_dll userenv enable_userenv implib
17543 wine_fn_config_test dlls/userenv/tests userenv_test
17544 wine_fn_config_dll usp10 enable_usp10 implib
17545 wine_fn_config_test dlls/usp10/tests usp10_test
17546 wine_fn_config_lib uuid
17547 wine_fn_config_dll uxtheme enable_uxtheme implib
17548 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17549 wine_fn_config_dll vbscript enable_vbscript clean
17550 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17551 wine_fn_config_dll vcomp enable_vcomp
17552 wine_fn_config_dll vcomp100 enable_vcomp100
17553 wine_fn_config_dll vcomp90 enable_vcomp90
17554 wine_fn_config_dll vdhcp.vxd enable_win16
17555 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17556 wine_fn_config_dll ver.dll16 enable_win16
17557 wine_fn_config_dll version enable_version implib
17558 wine_fn_config_test dlls/version/tests version_test
17559 wine_fn_config_dll vmm.vxd enable_win16
17560 wine_fn_config_dll vnbt.vxd enable_win16
17561 wine_fn_config_dll vnetbios.vxd enable_win16
17562 wine_fn_config_dll vssapi enable_vssapi
17563 wine_fn_config_dll vtdapi.vxd enable_win16
17564 wine_fn_config_dll vwin32.vxd enable_win16
17565 wine_fn_config_dll w32skrnl enable_win16
17566 wine_fn_config_dll w32sys.dll16 enable_win16
17567 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17568 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17569 wine_fn_config_dll wbemprox enable_wbemprox clean
17570 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17571 wine_fn_config_dll webservices enable_webservices implib
17572 wine_fn_config_dll wer enable_wer implib
17573 wine_fn_config_test dlls/wer/tests wer_test
17574 wine_fn_config_dll wevtapi enable_wevtapi
17575 wine_fn_config_dll wiaservc enable_wiaservc clean
17576 wine_fn_config_dll win32s16.dll16 enable_win16
17577 wine_fn_config_dll win87em.dll16 enable_win16
17578 wine_fn_config_dll winaspi.dll16 enable_win16
17579 wine_fn_config_dll windebug.dll16 enable_win16
17580 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17581 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17582 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17583 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17584 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17585 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17586 wine_fn_config_lib winecrt0
17587 wine_fn_config_dll wined3d enable_wined3d implib
17588 wine_fn_config_dll winegstreamer enable_winegstreamer
17589 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17590 wine_fn_config_dll winemac.drv enable_winemac_drv
17591 wine_fn_config_dll winemapi enable_winemapi
17592 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17593 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17594 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17595 wine_fn_config_dll wineps16.drv16 enable_win16
17596 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17597 wine_fn_config_dll winex11.drv enable_winex11_drv
17598 wine_fn_config_dll wing.dll16 enable_win16
17599 wine_fn_config_dll wing32 enable_wing32
17600 wine_fn_config_dll winhttp enable_winhttp clean,implib
17601 wine_fn_config_test dlls/winhttp/tests winhttp_test
17602 wine_fn_config_dll wininet enable_wininet implib,po
17603 wine_fn_config_test dlls/wininet/tests wininet_test
17604 wine_fn_config_dll winmm enable_winmm implib,po
17605 wine_fn_config_test dlls/winmm/tests winmm_test
17606 wine_fn_config_dll winnls.dll16 enable_win16
17607 wine_fn_config_dll winnls32 enable_winnls32 implib
17608 wine_fn_config_dll winscard enable_winscard implib
17609 wine_fn_config_dll winsock.dll16 enable_win16
17610 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17611 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17612 wine_fn_config_dll winsta enable_winsta
17613 wine_fn_config_dll wintab.dll16 enable_win16
17614 wine_fn_config_dll wintab32 enable_wintab32 implib
17615 wine_fn_config_test dlls/wintab32/tests wintab32_test
17616 wine_fn_config_dll wintrust enable_wintrust implib
17617 wine_fn_config_test dlls/wintrust/tests wintrust_test
17618 wine_fn_config_dll wlanapi enable_wlanapi
17619 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17620 wine_fn_config_test dlls/wldap32/tests wldap32_test
17621 wine_fn_config_dll wmi enable_wmi
17622 wine_fn_config_dll wmiutils enable_wmiutils clean
17623 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17624 wine_fn_config_dll wmp enable_wmp clean
17625 wine_fn_config_test dlls/wmp/tests wmp_test
17626 wine_fn_config_dll wmvcore enable_wmvcore
17627 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17628 wine_fn_config_dll wow32 enable_win16 implib
17629 wine_fn_config_dll wpcap enable_wpcap
17630 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17631 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17632 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17633 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17634 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17635 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17636 wine_fn_config_dll wsock32 enable_wsock32 implib
17637 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17638 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17639 wine_fn_config_dll wuapi enable_wuapi clean
17640 wine_fn_config_dll wuaueng enable_wuaueng
17641 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17642 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17643 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17644 wine_fn_config_dll xinput1_1 enable_xinput1_1
17645 wine_fn_config_dll xinput1_2 enable_xinput1_2
17646 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17647 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17648 wine_fn_config_dll xinput1_4 enable_xinput1_4
17649 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17650 wine_fn_config_dll xmllite enable_xmllite implib
17651 wine_fn_config_test dlls/xmllite/tests xmllite_test
17652 wine_fn_config_dll xolehlp enable_xolehlp
17653 wine_fn_config_dll xpsprint enable_xpsprint
17654 wine_fn_config_dll xpssvcs enable_xpssvcs
17655 wine_fn_config_makefile documentation enable_documentation clean
17656 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17657 wine_fn_config_makefile include enable_include clean,install-dev
17658 wine_fn_config_makefile libs/port enable_libs_port
17659 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17660 wine_fn_config_makefile libs/wpp enable_libs_wpp
17661 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17662 wine_fn_config_program arp enable_arp install
17663 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17664 wine_fn_config_program attrib enable_attrib install,po
17665 wine_fn_config_program cabarc enable_cabarc install
17666 wine_fn_config_program cacls enable_cacls install
17667 wine_fn_config_program clock enable_clock install,po
17668 wine_fn_config_program cmd enable_cmd install,po
17669 wine_fn_config_test programs/cmd/tests cmd.exe_test
17670 wine_fn_config_program conhost enable_conhost install
17671 wine_fn_config_program control enable_control install
17672 wine_fn_config_program cscript enable_cscript clean,install
17673 wine_fn_config_program dpnsvr enable_dpnsvr install
17674 wine_fn_config_program dxdiag enable_dxdiag install,po
17675 wine_fn_config_program eject enable_eject install
17676 wine_fn_config_program expand enable_expand install
17677 wine_fn_config_program explorer enable_explorer install,po
17678 wine_fn_config_program extrac32 enable_extrac32 install
17679 wine_fn_config_program findstr enable_findstr install
17680 wine_fn_config_program hh enable_hh install
17681 wine_fn_config_program hostname enable_hostname install,po
17682 wine_fn_config_program icinfo enable_icinfo install
17683 wine_fn_config_program iexplore enable_iexplore install
17684 wine_fn_config_program ipconfig enable_ipconfig install,po
17685 wine_fn_config_program lodctr enable_lodctr install
17686 wine_fn_config_program mofcomp enable_mofcomp install
17687 wine_fn_config_program mshta enable_mshta install
17688 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17689 wine_fn_config_program net enable_net install,po
17690 wine_fn_config_program netsh enable_netsh install
17691 wine_fn_config_program netstat enable_netstat install,po
17692 wine_fn_config_program ngen enable_ngen install
17693 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17694 wine_fn_config_program oleview enable_oleview install,po
17695 wine_fn_config_program ping enable_ping install
17696 wine_fn_config_program plugplay enable_plugplay install
17697 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17698 wine_fn_config_program progman enable_progman install,po
17699 wine_fn_config_program reg enable_reg install,po
17700 wine_fn_config_test programs/reg/tests reg.exe_test
17701 wine_fn_config_program regasm enable_regasm install
17702 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17703 wine_fn_config_test programs/regedit/tests regedit.exe_test
17704 wine_fn_config_program regsvcs enable_regsvcs install
17705 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17706 wine_fn_config_program rpcss enable_rpcss clean,install
17707 wine_fn_config_program rundll.exe16 enable_win16 install
17708 wine_fn_config_program rundll32 enable_rundll32 install
17709 wine_fn_config_program sc enable_sc install
17710 wine_fn_config_program schtasks enable_schtasks install
17711 wine_fn_config_program sdbinst enable_sdbinst install
17712 wine_fn_config_program secedit enable_secedit install
17713 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17714 wine_fn_config_program services enable_services clean,install
17715 wine_fn_config_test programs/services/tests services.exe_test
17716 wine_fn_config_program spoolsv enable_spoolsv install
17717 wine_fn_config_program start enable_start install,po
17718 wine_fn_config_program svchost enable_svchost install
17719 wine_fn_config_program systeminfo enable_systeminfo install
17720 wine_fn_config_program taskkill enable_taskkill install,po
17721 wine_fn_config_program tasklist enable_tasklist install
17722 wine_fn_config_program taskmgr enable_taskmgr install,po
17723 wine_fn_config_program termsv enable_termsv install
17724 wine_fn_config_program uninstaller enable_uninstaller install,po
17725 wine_fn_config_program unlodctr enable_unlodctr install
17726 wine_fn_config_program view enable_view install,po
17727 wine_fn_config_program wevtutil enable_wevtutil install
17728 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17729 wine_fn_config_program winebrowser enable_winebrowser install
17730 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17731 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17732 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17733 wine_fn_config_program winedevice enable_winedevice install
17734 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17735 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17736 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17737 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17738 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17739 wine_fn_config_program winetest enable_winetest clean
17740 wine_fn_config_program winevdm enable_win16 install
17741 wine_fn_config_program winhelp.exe16 enable_win16 install
17742 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17743 wine_fn_config_program winoldap.mod16 enable_win16 install
17744 wine_fn_config_program winver enable_winver install
17745 wine_fn_config_program wmic enable_wmic install,po
17746 wine_fn_config_program wordpad enable_wordpad install,po
17747 wine_fn_config_program write enable_write install,po
17748 wine_fn_config_program wscript enable_wscript clean,install
17749 wine_fn_config_test programs/wscript/tests wscript.exe_test
17750 wine_fn_config_program wusa enable_wusa install
17751 wine_fn_config_program xcopy enable_xcopy install,po
17752 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17753 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17754 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17755 wine_fn_config_tool tools/sfnt2fon clean
17756 wine_fn_config_tool tools/widl clean,install-dev,manpage
17757 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17758 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17759 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17760 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17761 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17763 LINGUAS="\
17764 ar \
17765 bg \
17766 ca \
17767 cs \
17768 da \
17769 de \
17770 el \
17771 en \
17772 en_US \
17773 eo \
17774 es \
17775 fa \
17776 fi \
17777 fr \
17778 he \
17779 hi \
17780 hr \
17781 hu \
17782 it \
17783 ja \
17784 ko \
17785 lt \
17786 ml \
17787 nb_NO \
17788 nl \
17789 or \
17790 pa \
17791 pl \
17792 pt_BR \
17793 pt_PT \
17794 rm \
17795 ro \
17796 ru \
17797 sk \
17798 sl \
17799 sr_RS@cyrillic \
17800 sr_RS@latin \
17801 sv \
17802 te \
17803 th \
17804 tr \
17805 uk \
17806 wa \
17807 zh_CN \
17808 zh_TW"
17813 wine_fn_ignore_file ".gitignore"
17814 wine_fn_ignore_file "Makefile"
17815 wine_fn_ignore_file "TAGS"
17816 wine_fn_ignore_file "tags"
17817 wine_fn_ignore_file "autom4te.cache"
17818 wine_fn_ignore_file "config.cache"
17819 wine_fn_ignore_file "config.log"
17820 wine_fn_ignore_file "config.status"
17821 wine_fn_ignore_file "configure.lineno"
17822 wine_fn_ignore_file "include/config.h"
17823 wine_fn_ignore_file "include/stamp-h"
17824 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17826 if test "x$enable_tools" != xno
17827 then
17828 wine_fn_ignore_file "tools/makedep$ac_exeext"
17829 ac_config_commands="$ac_config_commands tools/makedep"
17833 ac_config_commands="$ac_config_commands Makefile"
17836 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17840 if test "x$enable_maintainer_mode" = xyes
17841 then
17842 wine_fn_append_rule "configure: configure.ac aclocal.m4
17843 autoconf --warnings=all
17844 include/config.h.in: include/stamp-h.in
17845 include/stamp-h.in: configure.ac aclocal.m4
17846 autoheader --warnings=all
17847 @echo timestamp > \$@"
17850 if test "x$with_gettextpo" = xyes
17851 then
17852 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17853 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17854 \$(LINGUAS:%=po/%.po): po/wine.pot
17855 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17856 po/wine.pot: \$(ALL_POT_FILES)
17857 msgcat -o \$@ \$(ALL_POT_FILES)"
17860 if test "$MSGFMT" != false
17861 then
17862 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17863 clean::
17864 \$(RM) \$(LINGUAS:%=po/%.mo)"
17866 posrc="po"
17867 test "$srcdir" = . || posrc="$srcdir/po"
17868 for i in $LINGUAS
17870 wine_fn_ignore_file "po/$i.mo"
17871 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17872 \$(MSGFMT) -o \$@ $posrc/$i.po"
17873 done
17874 else
17875 LINGUAS=
17878 if test "x$enable_tools" != xno
17879 then
17880 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17881 @./config.status tools/makedep
17882 Makefile: tools/makedep$ac_exeext
17883 distclean:: clean
17884 \$(RM) tools/makedep$ac_exeext"
17885 else
17886 wine_fn_append_rule "\$(MAKEDEP):
17887 @echo \"You need to run make in $TOOLSDIR first\" && false"
17890 if test -n "$with_wine64"
17891 then
17892 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17893 fonts server tools:
17894 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17895 $with_wine64/loader/wine:
17896 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17897 $with_wine64/loader/wine-preloader:
17898 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17899 clean::
17900 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17901 else
17902 as_fn_append LOADER_RULES "
17903 install install-lib:: wine.inf install-man-pages
17904 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17905 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17907 uninstall::
17908 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17912 if test "$srcdir" = .
17913 then
17914 ac_config_commands="$ac_config_commands .gitignore"
17918 $as_echo " done" >&6
17919 cat >confcache <<\_ACEOF
17920 # This file is a shell script that caches the results of configure
17921 # tests run on this system so they can be shared between configure
17922 # scripts and configure runs, see configure's option --config-cache.
17923 # It is not useful on other systems. If it contains results you don't
17924 # want to keep, you may remove or edit it.
17926 # config.status only pays attention to the cache file if you give it
17927 # the --recheck option to rerun configure.
17929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17931 # following values.
17933 _ACEOF
17935 # The following way of writing the cache mishandles newlines in values,
17936 # but we know of no workaround that is simple, portable, and efficient.
17937 # So, we kill variables containing newlines.
17938 # Ultrix sh set writes to stderr and can't be redirected directly,
17939 # and sets the high bit in the cache file unless we assign to the vars.
17941 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17942 eval ac_val=\$$ac_var
17943 case $ac_val in #(
17944 *${as_nl}*)
17945 case $ac_var in #(
17946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17948 esac
17949 case $ac_var in #(
17950 _ | IFS | as_nl) ;; #(
17951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17952 *) { eval $ac_var=; unset $ac_var;} ;;
17953 esac ;;
17954 esac
17955 done
17957 (set) 2>&1 |
17958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17959 *${as_nl}ac_space=\ *)
17960 # `set' does not quote correctly, so add quotes: double-quote
17961 # substitution turns \\\\ into \\, and sed turns \\ into \.
17962 sed -n \
17963 "s/'/'\\\\''/g;
17964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17965 ;; #(
17967 # `set' quotes correctly as required by POSIX, so do not add quotes.
17968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17970 esac |
17971 sort
17973 sed '
17974 /^ac_cv_env_/b end
17975 t clear
17976 :clear
17977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17978 t end
17979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17980 :end' >>confcache
17981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17982 if test -w "$cache_file"; then
17983 if test "x$cache_file" != "x/dev/null"; then
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17985 $as_echo "$as_me: updating cache $cache_file" >&6;}
17986 if test ! -f "$cache_file" || test -h "$cache_file"; then
17987 cat confcache >"$cache_file"
17988 else
17989 case $cache_file in #(
17990 */* | ?:*)
17991 mv -f confcache "$cache_file"$$ &&
17992 mv -f "$cache_file"$$ "$cache_file" ;; #(
17994 mv -f confcache "$cache_file" ;;
17995 esac
17998 else
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18000 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18003 rm -f confcache
18005 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18006 # Let make expand exec_prefix.
18007 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18009 DEFS=-DHAVE_CONFIG_H
18011 ac_libobjs=
18012 ac_ltlibobjs=
18014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18015 # 1. Remove the extension, and $U if already installed.
18016 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18017 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18018 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18019 # will be set to the directory where LIBOBJS objects are built.
18020 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18021 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18022 done
18023 LIBOBJS=$ac_libobjs
18025 LTLIBOBJS=$ac_ltlibobjs
18029 : "${CONFIG_STATUS=./config.status}"
18030 ac_write_fail=0
18031 ac_clean_files_save=$ac_clean_files
18032 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18034 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18035 as_write_fail=0
18036 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18037 #! $SHELL
18038 # Generated by $as_me.
18039 # Run this file to recreate the current configuration.
18040 # Compiler output produced by configure, useful for debugging
18041 # configure, is in config.log if it exists.
18043 debug=false
18044 ac_cs_recheck=false
18045 ac_cs_silent=false
18047 SHELL=\${CONFIG_SHELL-$SHELL}
18048 export SHELL
18049 _ASEOF
18050 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18051 ## -------------------- ##
18052 ## M4sh Initialization. ##
18053 ## -------------------- ##
18055 # Be more Bourne compatible
18056 DUALCASE=1; export DUALCASE # for MKS sh
18057 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18058 emulate sh
18059 NULLCMD=:
18060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18061 # is contrary to our usage. Disable this feature.
18062 alias -g '${1+"$@"}'='"$@"'
18063 setopt NO_GLOB_SUBST
18064 else
18065 case `(set -o) 2>/dev/null` in #(
18066 *posix*) :
18067 set -o posix ;; #(
18068 *) :
18070 esac
18074 as_nl='
18076 export as_nl
18077 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18078 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18080 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18081 # Prefer a ksh shell builtin over an external printf program on Solaris,
18082 # but without wasting forks for bash or zsh.
18083 if test -z "$BASH_VERSION$ZSH_VERSION" \
18084 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18085 as_echo='print -r --'
18086 as_echo_n='print -rn --'
18087 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18088 as_echo='printf %s\n'
18089 as_echo_n='printf %s'
18090 else
18091 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18092 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18093 as_echo_n='/usr/ucb/echo -n'
18094 else
18095 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18096 as_echo_n_body='eval
18097 arg=$1;
18098 case $arg in #(
18099 *"$as_nl"*)
18100 expr "X$arg" : "X\\(.*\\)$as_nl";
18101 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18102 esac;
18103 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18105 export as_echo_n_body
18106 as_echo_n='sh -c $as_echo_n_body as_echo'
18108 export as_echo_body
18109 as_echo='sh -c $as_echo_body as_echo'
18112 # The user is always right.
18113 if test "${PATH_SEPARATOR+set}" != set; then
18114 PATH_SEPARATOR=:
18115 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18116 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18117 PATH_SEPARATOR=';'
18122 # IFS
18123 # We need space, tab and new line, in precisely that order. Quoting is
18124 # there to prevent editors from complaining about space-tab.
18125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18126 # splitting by setting IFS to empty value.)
18127 IFS=" "" $as_nl"
18129 # Find who we are. Look in the path if we contain no directory separator.
18130 as_myself=
18131 case $0 in #((
18132 *[\\/]* ) as_myself=$0 ;;
18133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18134 for as_dir in $PATH
18136 IFS=$as_save_IFS
18137 test -z "$as_dir" && as_dir=.
18138 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18139 done
18140 IFS=$as_save_IFS
18143 esac
18144 # We did not find ourselves, most probably we were run as `sh COMMAND'
18145 # in which case we are not to be found in the path.
18146 if test "x$as_myself" = x; then
18147 as_myself=$0
18149 if test ! -f "$as_myself"; then
18150 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18151 exit 1
18154 # Unset variables that we do not need and which cause bugs (e.g. in
18155 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18156 # suppresses any "Segmentation fault" message there. '((' could
18157 # trigger a bug in pdksh 5.2.14.
18158 for as_var in BASH_ENV ENV MAIL MAILPATH
18159 do eval test x\${$as_var+set} = xset \
18160 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18161 done
18162 PS1='$ '
18163 PS2='> '
18164 PS4='+ '
18166 # NLS nuisances.
18167 LC_ALL=C
18168 export LC_ALL
18169 LANGUAGE=C
18170 export LANGUAGE
18172 # CDPATH.
18173 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18176 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18177 # ----------------------------------------
18178 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18179 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18180 # script with STATUS, using 1 if that was 0.
18181 as_fn_error ()
18183 as_status=$1; test $as_status -eq 0 && as_status=1
18184 if test "$4"; then
18185 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18186 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18188 $as_echo "$as_me: error: $2" >&2
18189 as_fn_exit $as_status
18190 } # as_fn_error
18193 # as_fn_set_status STATUS
18194 # -----------------------
18195 # Set $? to STATUS, without forking.
18196 as_fn_set_status ()
18198 return $1
18199 } # as_fn_set_status
18201 # as_fn_exit STATUS
18202 # -----------------
18203 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18204 as_fn_exit ()
18206 set +e
18207 as_fn_set_status $1
18208 exit $1
18209 } # as_fn_exit
18211 # as_fn_unset VAR
18212 # ---------------
18213 # Portably unset VAR.
18214 as_fn_unset ()
18216 { eval $1=; unset $1;}
18218 as_unset=as_fn_unset
18219 # as_fn_append VAR VALUE
18220 # ----------------------
18221 # Append the text in VALUE to the end of the definition contained in VAR. Take
18222 # advantage of any shell optimizations that allow amortized linear growth over
18223 # repeated appends, instead of the typical quadratic growth present in naive
18224 # implementations.
18225 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18226 eval 'as_fn_append ()
18228 eval $1+=\$2
18230 else
18231 as_fn_append ()
18233 eval $1=\$$1\$2
18235 fi # as_fn_append
18237 # as_fn_arith ARG...
18238 # ------------------
18239 # Perform arithmetic evaluation on the ARGs, and store the result in the
18240 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18241 # must be portable across $(()) and expr.
18242 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18243 eval 'as_fn_arith ()
18245 as_val=$(( $* ))
18247 else
18248 as_fn_arith ()
18250 as_val=`expr "$@" || test $? -eq 1`
18252 fi # as_fn_arith
18255 if expr a : '\(a\)' >/dev/null 2>&1 &&
18256 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18257 as_expr=expr
18258 else
18259 as_expr=false
18262 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18263 as_basename=basename
18264 else
18265 as_basename=false
18268 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18269 as_dirname=dirname
18270 else
18271 as_dirname=false
18274 as_me=`$as_basename -- "$0" ||
18275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18276 X"$0" : 'X\(//\)$' \| \
18277 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18278 $as_echo X/"$0" |
18279 sed '/^.*\/\([^/][^/]*\)\/*$/{
18280 s//\1/
18283 /^X\/\(\/\/\)$/{
18284 s//\1/
18287 /^X\/\(\/\).*/{
18288 s//\1/
18291 s/.*/./; q'`
18293 # Avoid depending upon Character Ranges.
18294 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18295 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18296 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18297 as_cr_digits='0123456789'
18298 as_cr_alnum=$as_cr_Letters$as_cr_digits
18300 ECHO_C= ECHO_N= ECHO_T=
18301 case `echo -n x` in #(((((
18302 -n*)
18303 case `echo 'xy\c'` in
18304 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18305 xy) ECHO_C='\c';;
18306 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18307 ECHO_T=' ';;
18308 esac;;
18310 ECHO_N='-n';;
18311 esac
18313 rm -f conf$$ conf$$.exe conf$$.file
18314 if test -d conf$$.dir; then
18315 rm -f conf$$.dir/conf$$.file
18316 else
18317 rm -f conf$$.dir
18318 mkdir conf$$.dir 2>/dev/null
18320 if (echo >conf$$.file) 2>/dev/null; then
18321 if ln -s conf$$.file conf$$ 2>/dev/null; then
18322 as_ln_s='ln -s'
18323 # ... but there are two gotchas:
18324 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18325 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18326 # In both cases, we have to default to `cp -pR'.
18327 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18328 as_ln_s='cp -pR'
18329 elif ln conf$$.file conf$$ 2>/dev/null; then
18330 as_ln_s=ln
18331 else
18332 as_ln_s='cp -pR'
18334 else
18335 as_ln_s='cp -pR'
18337 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18338 rmdir conf$$.dir 2>/dev/null
18341 # as_fn_mkdir_p
18342 # -------------
18343 # Create "$as_dir" as a directory, including parents if necessary.
18344 as_fn_mkdir_p ()
18347 case $as_dir in #(
18348 -*) as_dir=./$as_dir;;
18349 esac
18350 test -d "$as_dir" || eval $as_mkdir_p || {
18351 as_dirs=
18352 while :; do
18353 case $as_dir in #(
18354 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18355 *) as_qdir=$as_dir;;
18356 esac
18357 as_dirs="'$as_qdir' $as_dirs"
18358 as_dir=`$as_dirname -- "$as_dir" ||
18359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18360 X"$as_dir" : 'X\(//\)[^/]' \| \
18361 X"$as_dir" : 'X\(//\)$' \| \
18362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18363 $as_echo X"$as_dir" |
18364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18365 s//\1/
18368 /^X\(\/\/\)[^/].*/{
18369 s//\1/
18372 /^X\(\/\/\)$/{
18373 s//\1/
18376 /^X\(\/\).*/{
18377 s//\1/
18380 s/.*/./; q'`
18381 test -d "$as_dir" && break
18382 done
18383 test -z "$as_dirs" || eval "mkdir $as_dirs"
18384 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18387 } # as_fn_mkdir_p
18388 if mkdir -p . 2>/dev/null; then
18389 as_mkdir_p='mkdir -p "$as_dir"'
18390 else
18391 test -d ./-p && rmdir ./-p
18392 as_mkdir_p=false
18396 # as_fn_executable_p FILE
18397 # -----------------------
18398 # Test if FILE is an executable regular file.
18399 as_fn_executable_p ()
18401 test -f "$1" && test -x "$1"
18402 } # as_fn_executable_p
18403 as_test_x='test -x'
18404 as_executable_p=as_fn_executable_p
18406 # Sed expression to map a string onto a valid CPP name.
18407 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18409 # Sed expression to map a string onto a valid variable name.
18410 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18413 exec 6>&1
18414 ## ----------------------------------- ##
18415 ## Main body of $CONFIG_STATUS script. ##
18416 ## ----------------------------------- ##
18417 _ASEOF
18418 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18421 # Save the log message, to keep $0 and so on meaningful, and to
18422 # report actual input values of CONFIG_FILES etc. instead of their
18423 # values after options handling.
18424 ac_log="
18425 This file was extended by Wine $as_me 1.7.34, which was
18426 generated by GNU Autoconf 2.69. Invocation command line was
18428 CONFIG_FILES = $CONFIG_FILES
18429 CONFIG_HEADERS = $CONFIG_HEADERS
18430 CONFIG_LINKS = $CONFIG_LINKS
18431 CONFIG_COMMANDS = $CONFIG_COMMANDS
18432 $ $0 $@
18434 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18437 _ACEOF
18439 case $ac_config_files in *"
18440 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18441 esac
18443 case $ac_config_headers in *"
18444 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18445 esac
18448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18449 # Files that config.status was made for.
18450 config_files="$ac_config_files"
18451 config_headers="$ac_config_headers"
18452 config_links="$ac_config_links"
18453 config_commands="$ac_config_commands"
18455 _ACEOF
18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18458 ac_cs_usage="\
18459 \`$as_me' instantiates files and other configuration actions
18460 from templates according to the current configuration. Unless the files
18461 and actions are specified as TAGs, all are instantiated by default.
18463 Usage: $0 [OPTION]... [TAG]...
18465 -h, --help print this help, then exit
18466 -V, --version print version number and configuration settings, then exit
18467 --config print configuration, then exit
18468 -q, --quiet, --silent
18469 do not print progress messages
18470 -d, --debug don't remove temporary files
18471 --recheck update $as_me by reconfiguring in the same conditions
18472 --file=FILE[:TEMPLATE]
18473 instantiate the configuration file FILE
18474 --header=FILE[:TEMPLATE]
18475 instantiate the configuration header FILE
18477 Configuration files:
18478 $config_files
18480 Configuration headers:
18481 $config_headers
18483 Configuration links:
18484 $config_links
18486 Configuration commands:
18487 $config_commands
18489 Report bugs to <wine-devel@winehq.org>.
18490 Wine home page: <http://www.winehq.org>."
18492 _ACEOF
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18495 ac_cs_version="\\
18496 Wine config.status 1.7.34
18497 configured by $0, generated by GNU Autoconf 2.69,
18498 with options \\"\$ac_cs_config\\"
18500 Copyright (C) 2012 Free Software Foundation, Inc.
18501 This config.status script is free software; the Free Software Foundation
18502 gives unlimited permission to copy, distribute and modify it."
18504 ac_pwd='$ac_pwd'
18505 srcdir='$srcdir'
18506 test -n "\$AWK" || AWK=awk
18507 _ACEOF
18509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18510 # The default lists apply if the user does not specify any file.
18511 ac_need_defaults=:
18512 while test $# != 0
18514 case $1 in
18515 --*=?*)
18516 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18517 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18518 ac_shift=:
18520 --*=)
18521 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18522 ac_optarg=
18523 ac_shift=:
18526 ac_option=$1
18527 ac_optarg=$2
18528 ac_shift=shift
18530 esac
18532 case $ac_option in
18533 # Handling of the options.
18534 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18535 ac_cs_recheck=: ;;
18536 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18537 $as_echo "$ac_cs_version"; exit ;;
18538 --config | --confi | --conf | --con | --co | --c )
18539 $as_echo "$ac_cs_config"; exit ;;
18540 --debug | --debu | --deb | --de | --d | -d )
18541 debug=: ;;
18542 --file | --fil | --fi | --f )
18543 $ac_shift
18544 case $ac_optarg in
18545 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18546 '') as_fn_error $? "missing file argument" ;;
18547 esac
18548 as_fn_append CONFIG_FILES " '$ac_optarg'"
18549 ac_need_defaults=false;;
18550 --header | --heade | --head | --hea )
18551 $ac_shift
18552 case $ac_optarg in
18553 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18554 esac
18555 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18556 ac_need_defaults=false;;
18557 --he | --h)
18558 # Conflict between --help and --header
18559 as_fn_error $? "ambiguous option: \`$1'
18560 Try \`$0 --help' for more information.";;
18561 --help | --hel | -h )
18562 $as_echo "$ac_cs_usage"; exit ;;
18563 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18564 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18565 ac_cs_silent=: ;;
18567 # This is an error.
18568 -*) as_fn_error $? "unrecognized option: \`$1'
18569 Try \`$0 --help' for more information." ;;
18571 *) as_fn_append ac_config_targets " $1"
18572 ac_need_defaults=false ;;
18574 esac
18575 shift
18576 done
18578 ac_configure_extra_args=
18580 if $ac_cs_silent; then
18581 exec 6>/dev/null
18582 ac_configure_extra_args="$ac_configure_extra_args --silent"
18585 _ACEOF
18586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18587 if \$ac_cs_recheck; then
18588 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18589 shift
18590 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18591 CONFIG_SHELL='$SHELL'
18592 export CONFIG_SHELL
18593 exec "\$@"
18596 _ACEOF
18597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18598 exec 5>>config.log
18600 echo
18601 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18602 ## Running $as_me. ##
18603 _ASBOX
18604 $as_echo "$ac_log"
18605 } >&5
18607 _ACEOF
18608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18610 # INIT-COMMANDS
18612 wine_fn_output_makedep ()
18614 as_dir=tools; as_fn_mkdir_p
18615 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18617 wine_fn_output_makefile ()
18619 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18620 `cat $wine_rules_file`
18621 _WINE_EOF
18622 as_fn_error $? "could not create Makefile" "$LINENO" 5
18624 wine_fn_output_gitignore ()
18626 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18627 $GITIGNORE
18628 _WINE_EOF
18629 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18632 _ACEOF
18634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18636 # Handling of arguments.
18637 for ac_config_target in $ac_config_targets
18639 case $ac_config_target in
18640 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18641 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18642 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18643 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18644 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18645 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18646 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18647 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18648 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18649 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18650 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18651 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18652 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18653 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18655 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18656 esac
18657 done
18660 # If the user did not use the arguments to specify the items to instantiate,
18661 # then the envvar interface is used. Set only those that are not.
18662 # We use the long form for the default assignment because of an extremely
18663 # bizarre bug on SunOS 4.1.3.
18664 if $ac_need_defaults; then
18665 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18666 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18667 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18668 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18671 # Have a temporary directory for convenience. Make it in the build tree
18672 # simply because there is no reason against having it here, and in addition,
18673 # creating and moving files from /tmp can sometimes cause problems.
18674 # Hook for its removal unless debugging.
18675 # Note that there is a small window in which the directory will not be cleaned:
18676 # after its creation but before its name has been assigned to `$tmp'.
18677 $debug ||
18679 tmp= ac_tmp=
18680 trap 'exit_status=$?
18681 : "${ac_tmp:=$tmp}"
18682 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18684 trap 'as_fn_exit 1' 1 2 13 15
18686 # Create a (secure) tmp directory for tmp files.
18689 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18690 test -d "$tmp"
18691 } ||
18693 tmp=./conf$$-$RANDOM
18694 (umask 077 && mkdir "$tmp")
18695 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18696 ac_tmp=$tmp
18698 # Set up the scripts for CONFIG_FILES section.
18699 # No need to generate them if there are no CONFIG_FILES.
18700 # This happens for instance with `./config.status config.h'.
18701 if test -n "$CONFIG_FILES"; then
18704 ac_cr=`echo X | tr X '\015'`
18705 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18706 # But we know of no other shell where ac_cr would be empty at this
18707 # point, so we can use a bashism as a fallback.
18708 if test "x$ac_cr" = x; then
18709 eval ac_cr=\$\'\\r\'
18711 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18712 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18713 ac_cs_awk_cr='\\r'
18714 else
18715 ac_cs_awk_cr=$ac_cr
18718 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18719 _ACEOF
18723 echo "cat >conf$$subs.awk <<_ACEOF" &&
18724 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18725 echo "_ACEOF"
18726 } >conf$$subs.sh ||
18727 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18728 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18729 ac_delim='%!_!# '
18730 for ac_last_try in false false false false false :; do
18731 . ./conf$$subs.sh ||
18732 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18734 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18735 if test $ac_delim_n = $ac_delim_num; then
18736 break
18737 elif $ac_last_try; then
18738 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18739 else
18740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18742 done
18743 rm -f conf$$subs.sh
18745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18746 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18747 _ACEOF
18748 sed -n '
18750 s/^/S["/; s/!.*/"]=/
18753 s/^[^!]*!//
18754 :repl
18755 t repl
18756 s/'"$ac_delim"'$//
18757 t delim
18760 s/\(.\{148\}\)..*/\1/
18761 t more1
18762 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18765 b repl
18766 :more1
18767 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18770 s/.\{148\}//
18771 t nl
18772 :delim
18774 s/\(.\{148\}\)..*/\1/
18775 t more2
18776 s/["\\]/\\&/g; s/^/"/; s/$/"/
18779 :more2
18780 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18783 s/.\{148\}//
18784 t delim
18785 ' <conf$$subs.awk | sed '
18786 /^[^""]/{
18788 s/\n//
18790 ' >>$CONFIG_STATUS || ac_write_fail=1
18791 rm -f conf$$subs.awk
18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18793 _ACAWK
18794 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18795 for (key in S) S_is_set[key] = 1
18796 FS = "\a"
18800 line = $ 0
18801 nfields = split(line, field, "@")
18802 substed = 0
18803 len = length(field[1])
18804 for (i = 2; i < nfields; i++) {
18805 key = field[i]
18806 keylen = length(key)
18807 if (S_is_set[key]) {
18808 value = S[key]
18809 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18810 len += length(value) + length(field[++i])
18811 substed = 1
18812 } else
18813 len += 1 + keylen
18816 print line
18819 _ACAWK
18820 _ACEOF
18821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18822 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18823 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18824 else
18826 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18827 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18828 _ACEOF
18830 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18831 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18832 # trailing colons and then remove the whole line if VPATH becomes empty
18833 # (actually we leave an empty line to preserve line numbers).
18834 if test "x$srcdir" = x.; then
18835 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18837 s///
18838 s/^/:/
18839 s/[ ]*$/:/
18840 s/:\$(srcdir):/:/g
18841 s/:\${srcdir}:/:/g
18842 s/:@srcdir@:/:/g
18843 s/^:*//
18844 s/:*$//
18846 s/\(=[ ]*\).*/\1/
18848 s/\n//
18849 s/^[^=]*=[ ]*$//
18853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18854 fi # test -n "$CONFIG_FILES"
18856 # Set up the scripts for CONFIG_HEADERS section.
18857 # No need to generate them if there are no CONFIG_HEADERS.
18858 # This happens for instance with `./config.status Makefile'.
18859 if test -n "$CONFIG_HEADERS"; then
18860 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18861 BEGIN {
18862 _ACEOF
18864 # Transform confdefs.h into an awk script `defines.awk', embedded as
18865 # here-document in config.status, that substitutes the proper values into
18866 # config.h.in to produce config.h.
18868 # Create a delimiter string that does not exist in confdefs.h, to ease
18869 # handling of long lines.
18870 ac_delim='%!_!# '
18871 for ac_last_try in false false :; do
18872 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18873 if test -z "$ac_tt"; then
18874 break
18875 elif $ac_last_try; then
18876 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18877 else
18878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18880 done
18882 # For the awk script, D is an array of macro values keyed by name,
18883 # likewise P contains macro parameters if any. Preserve backslash
18884 # newline sequences.
18886 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18887 sed -n '
18888 s/.\{148\}/&'"$ac_delim"'/g
18889 t rset
18890 :rset
18891 s/^[ ]*#[ ]*define[ ][ ]*/ /
18892 t def
18894 :def
18895 s/\\$//
18896 t bsnl
18897 s/["\\]/\\&/g
18898 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18899 D["\1"]=" \3"/p
18900 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18902 :bsnl
18903 s/["\\]/\\&/g
18904 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18905 D["\1"]=" \3\\\\\\n"\\/p
18906 t cont
18907 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18908 t cont
18910 :cont
18912 s/.\{148\}/&'"$ac_delim"'/g
18913 t clear
18914 :clear
18915 s/\\$//
18916 t bsnlc
18917 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18919 :bsnlc
18920 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18921 b cont
18922 ' <confdefs.h | sed '
18923 s/'"$ac_delim"'/"\\\
18924 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18927 for (key in D) D_is_set[key] = 1
18928 FS = "\a"
18930 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18931 line = \$ 0
18932 split(line, arg, " ")
18933 if (arg[1] == "#") {
18934 defundef = arg[2]
18935 mac1 = arg[3]
18936 } else {
18937 defundef = substr(arg[1], 2)
18938 mac1 = arg[2]
18940 split(mac1, mac2, "(") #)
18941 macro = mac2[1]
18942 prefix = substr(line, 1, index(line, defundef) - 1)
18943 if (D_is_set[macro]) {
18944 # Preserve the white space surrounding the "#".
18945 print prefix "define", macro P[macro] D[macro]
18946 next
18947 } else {
18948 # Replace #undef with comments. This is necessary, for example,
18949 # in the case of _POSIX_SOURCE, which is predefined and required
18950 # on some systems where configure will not decide to define it.
18951 if (defundef == "undef") {
18952 print "/*", prefix defundef, macro, "*/"
18953 next
18957 { print }
18958 _ACAWK
18959 _ACEOF
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18962 fi # test -n "$CONFIG_HEADERS"
18965 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18966 shift
18967 for ac_tag
18969 case $ac_tag in
18970 :[FHLC]) ac_mode=$ac_tag; continue;;
18971 esac
18972 case $ac_mode$ac_tag in
18973 :[FHL]*:*);;
18974 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18975 :[FH]-) ac_tag=-:-;;
18976 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18977 esac
18978 ac_save_IFS=$IFS
18979 IFS=:
18980 set x $ac_tag
18981 IFS=$ac_save_IFS
18982 shift
18983 ac_file=$1
18984 shift
18986 case $ac_mode in
18987 :L) ac_source=$1;;
18988 :[FH])
18989 ac_file_inputs=
18990 for ac_f
18992 case $ac_f in
18993 -) ac_f="$ac_tmp/stdin";;
18994 *) # Look for the file first in the build tree, then in the source tree
18995 # (if the path is not absolute). The absolute path cannot be DOS-style,
18996 # because $ac_f cannot contain `:'.
18997 test -f "$ac_f" ||
18998 case $ac_f in
18999 [\\/$]*) false;;
19000 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19001 esac ||
19002 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19003 esac
19004 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19005 as_fn_append ac_file_inputs " '$ac_f'"
19006 done
19008 # Let's still pretend it is `configure' which instantiates (i.e., don't
19009 # use $as_me), people would be surprised to read:
19010 # /* config.h. Generated by config.status. */
19011 configure_input='Generated from '`
19012 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19013 `' by configure.'
19014 if test x"$ac_file" != x-; then
19015 configure_input="$ac_file. $configure_input"
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19017 $as_echo "$as_me: creating $ac_file" >&6;}
19019 # Neutralize special characters interpreted by sed in replacement strings.
19020 case $configure_input in #(
19021 *\&* | *\|* | *\\* )
19022 ac_sed_conf_input=`$as_echo "$configure_input" |
19023 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19024 *) ac_sed_conf_input=$configure_input;;
19025 esac
19027 case $ac_tag in
19028 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19029 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19030 esac
19032 esac
19034 ac_dir=`$as_dirname -- "$ac_file" ||
19035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19036 X"$ac_file" : 'X\(//\)[^/]' \| \
19037 X"$ac_file" : 'X\(//\)$' \| \
19038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19039 $as_echo X"$ac_file" |
19040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19041 s//\1/
19044 /^X\(\/\/\)[^/].*/{
19045 s//\1/
19048 /^X\(\/\/\)$/{
19049 s//\1/
19052 /^X\(\/\).*/{
19053 s//\1/
19056 s/.*/./; q'`
19057 as_dir="$ac_dir"; as_fn_mkdir_p
19058 ac_builddir=.
19060 case "$ac_dir" in
19061 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19063 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19064 # A ".." for each directory in $ac_dir_suffix.
19065 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19066 case $ac_top_builddir_sub in
19067 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19068 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19069 esac ;;
19070 esac
19071 ac_abs_top_builddir=$ac_pwd
19072 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19073 # for backward compatibility:
19074 ac_top_builddir=$ac_top_build_prefix
19076 case $srcdir in
19077 .) # We are building in place.
19078 ac_srcdir=.
19079 ac_top_srcdir=$ac_top_builddir_sub
19080 ac_abs_top_srcdir=$ac_pwd ;;
19081 [\\/]* | ?:[\\/]* ) # Absolute name.
19082 ac_srcdir=$srcdir$ac_dir_suffix;
19083 ac_top_srcdir=$srcdir
19084 ac_abs_top_srcdir=$srcdir ;;
19085 *) # Relative name.
19086 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19087 ac_top_srcdir=$ac_top_build_prefix$srcdir
19088 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19089 esac
19090 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19093 case $ac_mode in
19096 # CONFIG_FILE
19099 _ACEOF
19101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19102 # If the template does not know about datarootdir, expand it.
19103 # FIXME: This hack should be removed a few years after 2.60.
19104 ac_datarootdir_hack=; ac_datarootdir_seen=
19105 ac_sed_dataroot='
19106 /datarootdir/ {
19110 /@datadir@/p
19111 /@docdir@/p
19112 /@infodir@/p
19113 /@localedir@/p
19114 /@mandir@/p'
19115 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19116 *datarootdir*) ac_datarootdir_seen=yes;;
19117 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19119 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19120 _ACEOF
19121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19122 ac_datarootdir_hack='
19123 s&@datadir@&$datadir&g
19124 s&@docdir@&$docdir&g
19125 s&@infodir@&$infodir&g
19126 s&@localedir@&$localedir&g
19127 s&@mandir@&$mandir&g
19128 s&\\\${datarootdir}&$datarootdir&g' ;;
19129 esac
19130 _ACEOF
19132 # Neutralize VPATH when `$srcdir' = `.'.
19133 # Shell code in configure.ac might set extrasub.
19134 # FIXME: do we really want to maintain this feature?
19135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19136 ac_sed_extra="$ac_vpsub
19137 $extrasub
19138 _ACEOF
19139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19142 s|@configure_input@|$ac_sed_conf_input|;t t
19143 s&@top_builddir@&$ac_top_builddir_sub&;t t
19144 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19145 s&@srcdir@&$ac_srcdir&;t t
19146 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19147 s&@top_srcdir@&$ac_top_srcdir&;t t
19148 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19149 s&@builddir@&$ac_builddir&;t t
19150 s&@abs_builddir@&$ac_abs_builddir&;t t
19151 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19152 $ac_datarootdir_hack
19154 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19155 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19160 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19162 which seems to be undefined. Please make sure it is defined" >&5
19163 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19164 which seems to be undefined. Please make sure it is defined" >&2;}
19166 rm -f "$ac_tmp/stdin"
19167 case $ac_file in
19168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19170 esac \
19171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19175 # CONFIG_HEADER
19177 if test x"$ac_file" != x-; then
19179 $as_echo "/* $configure_input */" \
19180 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19181 } >"$ac_tmp/config.h" \
19182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19183 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19185 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19186 else
19187 rm -f "$ac_file"
19188 mv "$ac_tmp/config.h" "$ac_file" \
19189 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19191 else
19192 $as_echo "/* $configure_input */" \
19193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19194 || as_fn_error $? "could not create -" "$LINENO" 5
19199 # CONFIG_LINK
19202 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19204 else
19205 # Prefer the file from the source tree if names are identical.
19206 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19207 ac_source=$srcdir/$ac_source
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19211 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19213 if test ! -r "$ac_source"; then
19214 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19216 rm -f "$ac_file"
19218 # Try a relative symlink, then a hard link, then a copy.
19219 case $ac_source in
19220 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19221 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19222 esac
19223 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19224 ln "$ac_source" "$ac_file" 2>/dev/null ||
19225 cp -p "$ac_source" "$ac_file" ||
19226 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19229 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19230 $as_echo "$as_me: executing $ac_file commands" >&6;}
19232 esac
19235 case $ac_file$ac_mode in
19236 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19237 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19238 "Makefile":C) wine_fn_output_makefile Makefile ;;
19239 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19241 esac
19242 done # for ac_tag
19245 as_fn_exit 0
19246 _ACEOF
19247 ac_clean_files=$ac_clean_files_save
19249 test $ac_write_fail = 0 ||
19250 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19253 # configure is writing to config.log, and then calls config.status.
19254 # config.status does its own redirection, appending to config.log.
19255 # Unfortunately, on DOS this fails, as config.log is still kept open
19256 # by configure, so config.status won't be able to write to it; its
19257 # output is simply discarded. So we exec the FD to /dev/null,
19258 # effectively closing config.log, so it can be properly (re)opened and
19259 # appended to by config.status. When coming back to configure, we
19260 # need to make the FD available again.
19261 if test "$no_create" != yes; then
19262 ac_cs_success=:
19263 ac_config_status_args=
19264 test "$silent" = yes &&
19265 ac_config_status_args="$ac_config_status_args --quiet"
19266 exec 5>/dev/null
19267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19268 exec 5>>config.log
19269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19270 # would make configure fail if this is the last instruction.
19271 $ac_cs_success || as_fn_exit 1
19273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19279 if test "$no_create" = "yes"
19280 then
19281 exit 0
19284 ac_save_IFS="$IFS"
19285 if test "x$wine_notices != "x; then
19286 echo >&6
19287 IFS="|"
19288 for msg in $wine_notices; do
19289 IFS="$ac_save_IFS"
19290 if ${msg:+false} :; then :
19292 else
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19294 $as_echo "$as_me: $msg" >&6;}
19296 done
19298 IFS="|"
19299 for msg in $wine_warnings; do
19300 IFS="$ac_save_IFS"
19301 if ${msg:+false} :; then :
19303 else
19304 echo >&2
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19306 $as_echo "$as_me: WARNING: $msg" >&2;}
19308 done
19309 IFS="$ac_save_IFS"
19311 $as_echo "
19312 $as_me: Finished. Do '${ac_make}' to compile Wine.
19313 " >&6