dwrite: Fix error code returned by GetFontFromFontFace().
[wine/multimedia.git] / configure
blobfd639fc3ada5cd38ff5446b46d87bc716b508e08
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
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.36'
584 PACKAGE_STRING='Wine 1.7.36'
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_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_7
1327 enable_xapofx1_1
1328 enable_xapofx1_4
1329 enable_xapofx1_5
1330 enable_xaudio2_7
1331 enable_xinput1_1
1332 enable_xinput1_2
1333 enable_xinput1_3
1334 enable_xinput1_4
1335 enable_xinput9_1_0
1336 enable_xmllite
1337 enable_xolehlp
1338 enable_xpsprint
1339 enable_xpssvcs
1340 enable_documentation
1341 enable_fonts
1342 enable_include
1343 enable_libs_port
1344 enable_libs_wine
1345 enable_libs_wpp
1346 enable_loader
1347 enable_arp
1348 enable_aspnet_regiis
1349 enable_attrib
1350 enable_cabarc
1351 enable_cacls
1352 enable_clock
1353 enable_cmd
1354 enable_conhost
1355 enable_control
1356 enable_cscript
1357 enable_dpnsvr
1358 enable_dxdiag
1359 enable_eject
1360 enable_expand
1361 enable_explorer
1362 enable_extrac32
1363 enable_findstr
1364 enable_hh
1365 enable_hostname
1366 enable_icinfo
1367 enable_iexplore
1368 enable_ipconfig
1369 enable_lodctr
1370 enable_mofcomp
1371 enable_mshta
1372 enable_msiexec
1373 enable_net
1374 enable_netsh
1375 enable_netstat
1376 enable_ngen
1377 enable_notepad
1378 enable_oleview
1379 enable_ping
1380 enable_plugplay
1381 enable_presentationfontcache
1382 enable_progman
1383 enable_reg
1384 enable_regasm
1385 enable_regedit
1386 enable_regsvcs
1387 enable_regsvr32
1388 enable_rpcss
1389 enable_rundll32
1390 enable_sc
1391 enable_schtasks
1392 enable_sdbinst
1393 enable_secedit
1394 enable_servicemodelreg
1395 enable_services
1396 enable_spoolsv
1397 enable_start
1398 enable_svchost
1399 enable_systeminfo
1400 enable_taskkill
1401 enable_tasklist
1402 enable_taskmgr
1403 enable_termsv
1404 enable_uninstaller
1405 enable_unlodctr
1406 enable_view
1407 enable_wevtutil
1408 enable_wineboot
1409 enable_winebrowser
1410 enable_winecfg
1411 enable_wineconsole
1412 enable_winedbg
1413 enable_winedevice
1414 enable_winefile
1415 enable_winemenubuilder
1416 enable_winemine
1417 enable_winemsibuilder
1418 enable_winepath
1419 enable_winetest
1420 enable_winhlp32
1421 enable_winver
1422 enable_wmic
1423 enable_wordpad
1424 enable_write
1425 enable_wscript
1426 enable_wusa
1427 enable_xcopy
1428 enable_server
1429 enable_tools
1431 ac_precious_vars='build_alias
1432 host_alias
1433 target_alias
1435 CFLAGS
1436 LDFLAGS
1437 LIBS
1438 CPPFLAGS
1440 CXXFLAGS
1443 XMKMF
1444 XML2_CFLAGS
1445 XML2_LIBS
1446 XSLT_CFLAGS
1447 XSLT_LIBS
1448 DBUS_CFLAGS
1449 DBUS_LIBS
1450 HAL_CFLAGS
1451 HAL_LIBS
1452 GNUTLS_CFLAGS
1453 GNUTLS_LIBS
1454 SANE_CFLAGS
1455 SANE_LIBS
1456 GPHOTO2_CFLAGS
1457 GPHOTO2_LIBS
1458 GPHOTO2_PORT_CFLAGS
1459 GPHOTO2_PORT_LIBS
1460 LCMS2_CFLAGS
1461 LCMS2_LIBS
1462 FREETYPE_CFLAGS
1463 FREETYPE_LIBS
1464 GSTREAMER_CFLAGS
1465 GSTREAMER_LIBS
1466 CAPI20_CFLAGS
1467 CAPI20_LIBS
1468 FONTCONFIG_CFLAGS
1469 FONTCONFIG_LIBS
1470 JPEG_CFLAGS
1471 JPEG_LIBS
1472 PNG_CFLAGS
1473 PNG_LIBS
1474 TIFF_CFLAGS
1475 TIFF_LIBS
1476 MPG123_CFLAGS
1477 MPG123_LIBS'
1480 # Initialize some variables set by options.
1481 ac_init_help=
1482 ac_init_version=false
1483 ac_unrecognized_opts=
1484 ac_unrecognized_sep=
1485 # The variables have the same names as the options, with
1486 # dashes changed to underlines.
1487 cache_file=/dev/null
1488 exec_prefix=NONE
1489 no_create=
1490 no_recursion=
1491 prefix=NONE
1492 program_prefix=NONE
1493 program_suffix=NONE
1494 program_transform_name=s,x,x,
1495 silent=
1496 site=
1497 srcdir=
1498 verbose=
1499 x_includes=NONE
1500 x_libraries=NONE
1502 # Installation directory options.
1503 # These are left unexpanded so users can "make install exec_prefix=/foo"
1504 # and all the variables that are supposed to be based on exec_prefix
1505 # by default will actually change.
1506 # Use braces instead of parens because sh, perl, etc. also accept them.
1507 # (The list follows the same order as the GNU Coding Standards.)
1508 bindir='${exec_prefix}/bin'
1509 sbindir='${exec_prefix}/sbin'
1510 libexecdir='${exec_prefix}/libexec'
1511 datarootdir='${prefix}/share'
1512 datadir='${datarootdir}'
1513 sysconfdir='${prefix}/etc'
1514 sharedstatedir='${prefix}/com'
1515 localstatedir='${prefix}/var'
1516 includedir='${prefix}/include'
1517 oldincludedir='/usr/include'
1518 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1519 infodir='${datarootdir}/info'
1520 htmldir='${docdir}'
1521 dvidir='${docdir}'
1522 pdfdir='${docdir}'
1523 psdir='${docdir}'
1524 libdir='${exec_prefix}/lib'
1525 localedir='${datarootdir}/locale'
1526 mandir='${datarootdir}/man'
1528 ac_prev=
1529 ac_dashdash=
1530 for ac_option
1532 # If the previous option needs an argument, assign it.
1533 if test -n "$ac_prev"; then
1534 eval $ac_prev=\$ac_option
1535 ac_prev=
1536 continue
1539 case $ac_option in
1540 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1541 *=) ac_optarg= ;;
1542 *) ac_optarg=yes ;;
1543 esac
1545 # Accept the important Cygnus configure options, so we can diagnose typos.
1547 case $ac_dashdash$ac_option in
1549 ac_dashdash=yes ;;
1551 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1552 ac_prev=bindir ;;
1553 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1554 bindir=$ac_optarg ;;
1556 -build | --build | --buil | --bui | --bu)
1557 ac_prev=build_alias ;;
1558 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1559 build_alias=$ac_optarg ;;
1561 -cache-file | --cache-file | --cache-fil | --cache-fi \
1562 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1563 ac_prev=cache_file ;;
1564 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1565 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1566 cache_file=$ac_optarg ;;
1568 --config-cache | -C)
1569 cache_file=config.cache ;;
1571 -datadir | --datadir | --datadi | --datad)
1572 ac_prev=datadir ;;
1573 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1574 datadir=$ac_optarg ;;
1576 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1577 | --dataroo | --dataro | --datar)
1578 ac_prev=datarootdir ;;
1579 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1580 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1581 datarootdir=$ac_optarg ;;
1583 -disable-* | --disable-*)
1584 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1585 # Reject names that are not valid shell variable names.
1586 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1587 as_fn_error $? "invalid feature name: $ac_useropt"
1588 ac_useropt_orig=$ac_useropt
1589 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1590 case $ac_user_opts in
1592 "enable_$ac_useropt"
1593 "*) ;;
1594 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1595 ac_unrecognized_sep=', ';;
1596 esac
1597 eval enable_$ac_useropt=no ;;
1599 -docdir | --docdir | --docdi | --doc | --do)
1600 ac_prev=docdir ;;
1601 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1602 docdir=$ac_optarg ;;
1604 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1605 ac_prev=dvidir ;;
1606 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1607 dvidir=$ac_optarg ;;
1609 -enable-* | --enable-*)
1610 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1611 # Reject names that are not valid shell variable names.
1612 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1613 as_fn_error $? "invalid feature name: $ac_useropt"
1614 ac_useropt_orig=$ac_useropt
1615 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1616 case $ac_user_opts in
1618 "enable_$ac_useropt"
1619 "*) ;;
1620 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1621 ac_unrecognized_sep=', ';;
1622 esac
1623 eval enable_$ac_useropt=\$ac_optarg ;;
1625 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1626 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1627 | --exec | --exe | --ex)
1628 ac_prev=exec_prefix ;;
1629 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1630 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1631 | --exec=* | --exe=* | --ex=*)
1632 exec_prefix=$ac_optarg ;;
1634 -gas | --gas | --ga | --g)
1635 # Obsolete; use --with-gas.
1636 with_gas=yes ;;
1638 -help | --help | --hel | --he | -h)
1639 ac_init_help=long ;;
1640 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1641 ac_init_help=recursive ;;
1642 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1643 ac_init_help=short ;;
1645 -host | --host | --hos | --ho)
1646 ac_prev=host_alias ;;
1647 -host=* | --host=* | --hos=* | --ho=*)
1648 host_alias=$ac_optarg ;;
1650 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1651 ac_prev=htmldir ;;
1652 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1653 | --ht=*)
1654 htmldir=$ac_optarg ;;
1656 -includedir | --includedir | --includedi | --included | --include \
1657 | --includ | --inclu | --incl | --inc)
1658 ac_prev=includedir ;;
1659 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1660 | --includ=* | --inclu=* | --incl=* | --inc=*)
1661 includedir=$ac_optarg ;;
1663 -infodir | --infodir | --infodi | --infod | --info | --inf)
1664 ac_prev=infodir ;;
1665 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1666 infodir=$ac_optarg ;;
1668 -libdir | --libdir | --libdi | --libd)
1669 ac_prev=libdir ;;
1670 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1671 libdir=$ac_optarg ;;
1673 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1674 | --libexe | --libex | --libe)
1675 ac_prev=libexecdir ;;
1676 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1677 | --libexe=* | --libex=* | --libe=*)
1678 libexecdir=$ac_optarg ;;
1680 -localedir | --localedir | --localedi | --localed | --locale)
1681 ac_prev=localedir ;;
1682 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1683 localedir=$ac_optarg ;;
1685 -localstatedir | --localstatedir | --localstatedi | --localstated \
1686 | --localstate | --localstat | --localsta | --localst | --locals)
1687 ac_prev=localstatedir ;;
1688 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1689 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1690 localstatedir=$ac_optarg ;;
1692 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1693 ac_prev=mandir ;;
1694 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1695 mandir=$ac_optarg ;;
1697 -nfp | --nfp | --nf)
1698 # Obsolete; use --without-fp.
1699 with_fp=no ;;
1701 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1702 | --no-cr | --no-c | -n)
1703 no_create=yes ;;
1705 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1706 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1707 no_recursion=yes ;;
1709 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1710 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1711 | --oldin | --oldi | --old | --ol | --o)
1712 ac_prev=oldincludedir ;;
1713 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1714 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1715 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1716 oldincludedir=$ac_optarg ;;
1718 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1719 ac_prev=prefix ;;
1720 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1721 prefix=$ac_optarg ;;
1723 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1724 | --program-pre | --program-pr | --program-p)
1725 ac_prev=program_prefix ;;
1726 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1727 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1728 program_prefix=$ac_optarg ;;
1730 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1731 | --program-suf | --program-su | --program-s)
1732 ac_prev=program_suffix ;;
1733 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1734 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1735 program_suffix=$ac_optarg ;;
1737 -program-transform-name | --program-transform-name \
1738 | --program-transform-nam | --program-transform-na \
1739 | --program-transform-n | --program-transform- \
1740 | --program-transform | --program-transfor \
1741 | --program-transfo | --program-transf \
1742 | --program-trans | --program-tran \
1743 | --progr-tra | --program-tr | --program-t)
1744 ac_prev=program_transform_name ;;
1745 -program-transform-name=* | --program-transform-name=* \
1746 | --program-transform-nam=* | --program-transform-na=* \
1747 | --program-transform-n=* | --program-transform-=* \
1748 | --program-transform=* | --program-transfor=* \
1749 | --program-transfo=* | --program-transf=* \
1750 | --program-trans=* | --program-tran=* \
1751 | --progr-tra=* | --program-tr=* | --program-t=*)
1752 program_transform_name=$ac_optarg ;;
1754 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1755 ac_prev=pdfdir ;;
1756 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1757 pdfdir=$ac_optarg ;;
1759 -psdir | --psdir | --psdi | --psd | --ps)
1760 ac_prev=psdir ;;
1761 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1762 psdir=$ac_optarg ;;
1764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1765 | -silent | --silent | --silen | --sile | --sil)
1766 silent=yes ;;
1768 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1769 ac_prev=sbindir ;;
1770 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1771 | --sbi=* | --sb=*)
1772 sbindir=$ac_optarg ;;
1774 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1775 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1776 | --sharedst | --shareds | --shared | --share | --shar \
1777 | --sha | --sh)
1778 ac_prev=sharedstatedir ;;
1779 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1780 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1781 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1782 | --sha=* | --sh=*)
1783 sharedstatedir=$ac_optarg ;;
1785 -site | --site | --sit)
1786 ac_prev=site ;;
1787 -site=* | --site=* | --sit=*)
1788 site=$ac_optarg ;;
1790 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1791 ac_prev=srcdir ;;
1792 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1793 srcdir=$ac_optarg ;;
1795 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1796 | --syscon | --sysco | --sysc | --sys | --sy)
1797 ac_prev=sysconfdir ;;
1798 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1799 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1800 sysconfdir=$ac_optarg ;;
1802 -target | --target | --targe | --targ | --tar | --ta | --t)
1803 ac_prev=target_alias ;;
1804 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1805 target_alias=$ac_optarg ;;
1807 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1808 verbose=yes ;;
1810 -version | --version | --versio | --versi | --vers | -V)
1811 ac_init_version=: ;;
1813 -with-* | --with-*)
1814 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1815 # Reject names that are not valid shell variable names.
1816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1817 as_fn_error $? "invalid package name: $ac_useropt"
1818 ac_useropt_orig=$ac_useropt
1819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1820 case $ac_user_opts in
1822 "with_$ac_useropt"
1823 "*) ;;
1824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1825 ac_unrecognized_sep=', ';;
1826 esac
1827 eval with_$ac_useropt=\$ac_optarg ;;
1829 -without-* | --without-*)
1830 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1831 # Reject names that are not valid shell variable names.
1832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1833 as_fn_error $? "invalid package name: $ac_useropt"
1834 ac_useropt_orig=$ac_useropt
1835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1836 case $ac_user_opts in
1838 "with_$ac_useropt"
1839 "*) ;;
1840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1841 ac_unrecognized_sep=', ';;
1842 esac
1843 eval with_$ac_useropt=no ;;
1845 --x)
1846 # Obsolete; use --with-x.
1847 with_x=yes ;;
1849 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1850 | --x-incl | --x-inc | --x-in | --x-i)
1851 ac_prev=x_includes ;;
1852 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1853 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1854 x_includes=$ac_optarg ;;
1856 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1857 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1858 ac_prev=x_libraries ;;
1859 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1860 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1861 x_libraries=$ac_optarg ;;
1863 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1864 Try \`$0 --help' for more information"
1867 *=*)
1868 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1869 # Reject names that are not valid shell variable names.
1870 case $ac_envvar in #(
1871 '' | [0-9]* | *[!_$as_cr_alnum]* )
1872 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1873 esac
1874 eval $ac_envvar=\$ac_optarg
1875 export $ac_envvar ;;
1878 # FIXME: should be removed in autoconf 3.0.
1879 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1880 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1881 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1882 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1885 esac
1886 done
1888 if test -n "$ac_prev"; then
1889 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1890 as_fn_error $? "missing argument to $ac_option"
1893 if test -n "$ac_unrecognized_opts"; then
1894 case $enable_option_checking in
1895 no) ;;
1896 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1897 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1898 esac
1901 # Check all directory arguments for consistency.
1902 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1903 datadir sysconfdir sharedstatedir localstatedir includedir \
1904 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1905 libdir localedir mandir
1907 eval ac_val=\$$ac_var
1908 # Remove trailing slashes.
1909 case $ac_val in
1910 */ )
1911 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1912 eval $ac_var=\$ac_val;;
1913 esac
1914 # Be sure to have absolute directory names.
1915 case $ac_val in
1916 [\\/$]* | ?:[\\/]* ) continue;;
1917 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1918 esac
1919 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1920 done
1922 # There might be people who depend on the old broken behavior: `$host'
1923 # used to hold the argument of --host etc.
1924 # FIXME: To remove some day.
1925 build=$build_alias
1926 host=$host_alias
1927 target=$target_alias
1929 # FIXME: To remove some day.
1930 if test "x$host_alias" != x; then
1931 if test "x$build_alias" = x; then
1932 cross_compiling=maybe
1933 elif test "x$build_alias" != "x$host_alias"; then
1934 cross_compiling=yes
1938 ac_tool_prefix=
1939 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1941 test "$silent" = yes && exec 6>/dev/null
1944 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1945 ac_ls_di=`ls -di .` &&
1946 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1947 as_fn_error $? "working directory cannot be determined"
1948 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1949 as_fn_error $? "pwd does not report name of working directory"
1952 # Find the source files, if location was not specified.
1953 if test -z "$srcdir"; then
1954 ac_srcdir_defaulted=yes
1955 # Try the directory containing this script, then the parent directory.
1956 ac_confdir=`$as_dirname -- "$as_myself" ||
1957 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1958 X"$as_myself" : 'X\(//\)[^/]' \| \
1959 X"$as_myself" : 'X\(//\)$' \| \
1960 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1961 $as_echo X"$as_myself" |
1962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1963 s//\1/
1966 /^X\(\/\/\)[^/].*/{
1967 s//\1/
1970 /^X\(\/\/\)$/{
1971 s//\1/
1974 /^X\(\/\).*/{
1975 s//\1/
1978 s/.*/./; q'`
1979 srcdir=$ac_confdir
1980 if test ! -r "$srcdir/$ac_unique_file"; then
1981 srcdir=..
1983 else
1984 ac_srcdir_defaulted=no
1986 if test ! -r "$srcdir/$ac_unique_file"; then
1987 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1988 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1990 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1991 ac_abs_confdir=`(
1992 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1993 pwd)`
1994 # When building in place, set srcdir=.
1995 if test "$ac_abs_confdir" = "$ac_pwd"; then
1996 srcdir=.
1998 # Remove unnecessary trailing slashes from srcdir.
1999 # Double slashes in file names in object file debugging info
2000 # mess up M-x gdb in Emacs.
2001 case $srcdir in
2002 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2003 esac
2004 for ac_var in $ac_precious_vars; do
2005 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2006 eval ac_env_${ac_var}_value=\$${ac_var}
2007 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2008 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2009 done
2012 # Report the --help message.
2014 if test "$ac_init_help" = "long"; then
2015 # Omit some internal or obsolete options to make the list less imposing.
2016 # This message is too long to be a string in the A/UX 3.1 sh.
2017 cat <<_ACEOF
2018 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2020 Usage: $0 [OPTION]... [VAR=VALUE]...
2022 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2023 VAR=VALUE. See below for descriptions of some of the useful variables.
2025 Defaults for the options are specified in brackets.
2027 Configuration:
2028 -h, --help display this help and exit
2029 --help=short display options specific to this package
2030 --help=recursive display the short help of all the included packages
2031 -V, --version display version information and exit
2032 -q, --quiet, --silent do not print \`checking ...' messages
2033 --cache-file=FILE cache test results in FILE [disabled]
2034 -C, --config-cache alias for \`--cache-file=config.cache'
2035 -n, --no-create do not create output files
2036 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2038 Installation directories:
2039 --prefix=PREFIX install architecture-independent files in PREFIX
2040 [$ac_default_prefix]
2041 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2042 [PREFIX]
2044 By default, \`make install' will install all the files in
2045 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2046 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2047 for instance \`--prefix=\$HOME'.
2049 For better control, use the options below.
2051 Fine tuning of the installation directories:
2052 --bindir=DIR user executables [EPREFIX/bin]
2053 --sbindir=DIR system admin executables [EPREFIX/sbin]
2054 --libexecdir=DIR program executables [EPREFIX/libexec]
2055 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2056 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2057 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2058 --libdir=DIR object code libraries [EPREFIX/lib]
2059 --includedir=DIR C header files [PREFIX/include]
2060 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2061 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2062 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2063 --infodir=DIR info documentation [DATAROOTDIR/info]
2064 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2065 --mandir=DIR man documentation [DATAROOTDIR/man]
2066 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2067 --htmldir=DIR html documentation [DOCDIR]
2068 --dvidir=DIR dvi documentation [DOCDIR]
2069 --pdfdir=DIR pdf documentation [DOCDIR]
2070 --psdir=DIR ps documentation [DOCDIR]
2071 _ACEOF
2073 cat <<\_ACEOF
2075 X features:
2076 --x-includes=DIR X include files are in DIR
2077 --x-libraries=DIR X library files are in DIR
2079 System types:
2080 --build=BUILD configure for building on BUILD [guessed]
2081 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2082 _ACEOF
2085 if test -n "$ac_init_help"; then
2086 case $ac_init_help in
2087 short | recursive ) echo "Configuration of Wine 1.7.36:";;
2088 esac
2089 cat <<\_ACEOF
2091 Optional Features:
2092 --disable-option-checking ignore unrecognized --enable/--with options
2093 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2094 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2095 --disable-win16 do not include Win16 support
2096 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2097 binaries)
2098 --disable-tests do not build the regression tests
2099 --enable-maintainer-mode
2100 enable maintainer-specific build rules
2101 --disable-largefile omit support for large files
2103 Optional Packages:
2104 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2105 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2106 --without-alsa do not use the Alsa sound support
2107 --without-capi do not use CAPI (ISDN support)
2108 --without-cms do not use CMS (color management support)
2109 --without-coreaudio do not use the CoreAudio sound support
2110 --without-cups do not use CUPS
2111 --without-curses do not use (n)curses
2112 --without-dbus do not use DBus (dynamic device support)
2113 --without-fontconfig do not use fontconfig
2114 --without-freetype do not use the FreeType library
2115 --without-gettext do not use gettext
2116 --with-gettextpo use the GetTextPO library to rebuild po files
2117 --without-gphoto do not use gphoto (Digital Camera support)
2118 --without-glu do not use the GLU library
2119 --without-gnutls do not use GnuTLS (schannel support)
2120 --without-gsm do not use libgsm (GSM 06.10 codec support)
2121 --without-gstreamer do not use GStreamer (codecs support)
2122 --without-hal do not use HAL (dynamic device support)
2123 --without-jpeg do not use JPEG
2124 --without-ldap do not use LDAP
2125 --without-mpg123 do not use the mpg123 library
2126 --without-netapi do not use the Samba NetAPI library
2127 --without-openal do not use OpenAL
2128 --without-opencl do not use OpenCL
2129 --without-opengl do not use OpenGL
2130 --without-osmesa do not use the OSMesa library
2131 --without-oss do not use the OSS sound support
2132 --without-pcap do not use the Packet Capture library
2133 --without-png do not use PNG
2134 --without-pthread do not use the pthread library
2135 --without-sane do not use SANE (scanner support)
2136 --without-tiff do not use TIFF
2137 --without-v4l do not use v4l1 (v4l support)
2138 --without-xcomposite do not use the Xcomposite extension
2139 --without-xcursor do not use the Xcursor extension
2140 --without-xinerama do not use Xinerama (multi-monitor support)
2141 --without-xinput do not use the Xinput extension
2142 --without-xinput2 do not use the Xinput 2 extension
2143 --without-xml do not use XML
2144 --without-xrandr do not use Xrandr (resolution changes)
2145 --without-xrender do not use the Xrender extension
2146 --without-xshape do not use the Xshape extension
2147 --without-xshm do not use XShm (shared memory extension)
2148 --without-xslt do not use XSLT
2149 --without-xxf86vm do not use XFree video mode extension
2150 --without-zlib do not use Zlib (data compression)
2151 --with-wine-tools=DIR use Wine tools from directory DIR
2152 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2153 --with-x use the X Window System
2155 Some influential environment variables:
2156 CC C compiler command
2157 CFLAGS C compiler flags
2158 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2159 nonstandard directory <lib dir>
2160 LIBS libraries to pass to the linker, e.g. -l<library>
2161 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2162 you have headers in a nonstandard directory <include dir>
2163 CXX C++ compiler command
2164 CXXFLAGS C++ compiler flags
2165 CPP C preprocessor
2166 XMKMF Path to xmkmf, Makefile generator for X Window System
2167 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2168 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2169 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2170 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2171 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2172 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2173 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2174 HAL_LIBS Linker flags for hal, overriding pkg-config
2175 GNUTLS_CFLAGS
2176 C compiler flags for gnutls, overriding pkg-config
2177 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2178 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2179 SANE_LIBS Linker flags for libsane, overriding pkg-config
2180 GPHOTO2_CFLAGS
2181 C compiler flags for libgphoto2, overriding pkg-config
2182 GPHOTO2_LIBS
2183 Linker flags for libgphoto2, overriding pkg-config
2184 GPHOTO2_PORT_CFLAGS
2185 C compiler flags for libgphoto2_port, overriding pkg-config
2186 GPHOTO2_PORT_LIBS
2187 Linker flags for libgphoto2_port, overriding pkg-config
2188 LCMS2_CFLAGS
2189 C compiler flags for lcms2, overriding pkg-config
2190 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2191 FREETYPE_CFLAGS
2192 C compiler flags for freetype2, overriding pkg-config
2193 FREETYPE_LIBS
2194 Linker flags for freetype2, overriding pkg-config
2195 GSTREAMER_CFLAGS
2196 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2197 GSTREAMER_LIBS
2198 Linker flags for gstreamer-app-0.10, overriding pkg-config
2199 CAPI20_CFLAGS
2200 C compiler flags for capi20, overriding pkg-config
2201 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2202 FONTCONFIG_CFLAGS
2203 C compiler flags for fontconfig, overriding pkg-config
2204 FONTCONFIG_LIBS
2205 Linker flags for fontconfig, overriding pkg-config
2206 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2207 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2208 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2209 PNG_LIBS Linker flags for libpng, overriding pkg-config
2210 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2211 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2212 MPG123_CFLAGS
2213 C compiler flags for libmpg123, overriding pkg-config
2214 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2216 Use these variables to override the choices made by `configure' or to help
2217 it to find libraries and programs with nonstandard names/locations.
2219 Report bugs to <wine-devel@winehq.org>.
2220 Wine home page: <http://www.winehq.org>.
2221 _ACEOF
2222 ac_status=$?
2225 if test "$ac_init_help" = "recursive"; then
2226 # If there are subdirs, report their specific --help.
2227 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2228 test -d "$ac_dir" ||
2229 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2230 continue
2231 ac_builddir=.
2233 case "$ac_dir" in
2234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2237 # A ".." for each directory in $ac_dir_suffix.
2238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2239 case $ac_top_builddir_sub in
2240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2242 esac ;;
2243 esac
2244 ac_abs_top_builddir=$ac_pwd
2245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2246 # for backward compatibility:
2247 ac_top_builddir=$ac_top_build_prefix
2249 case $srcdir in
2250 .) # We are building in place.
2251 ac_srcdir=.
2252 ac_top_srcdir=$ac_top_builddir_sub
2253 ac_abs_top_srcdir=$ac_pwd ;;
2254 [\\/]* | ?:[\\/]* ) # Absolute name.
2255 ac_srcdir=$srcdir$ac_dir_suffix;
2256 ac_top_srcdir=$srcdir
2257 ac_abs_top_srcdir=$srcdir ;;
2258 *) # Relative name.
2259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2260 ac_top_srcdir=$ac_top_build_prefix$srcdir
2261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2262 esac
2263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2265 cd "$ac_dir" || { ac_status=$?; continue; }
2266 # Check for guested configure.
2267 if test -f "$ac_srcdir/configure.gnu"; then
2268 echo &&
2269 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2270 elif test -f "$ac_srcdir/configure"; then
2271 echo &&
2272 $SHELL "$ac_srcdir/configure" --help=recursive
2273 else
2274 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2275 fi || ac_status=$?
2276 cd "$ac_pwd" || { ac_status=$?; break; }
2277 done
2280 test -n "$ac_init_help" && exit $ac_status
2281 if $ac_init_version; then
2282 cat <<\_ACEOF
2283 Wine configure 1.7.36
2284 generated by GNU Autoconf 2.69
2286 Copyright (C) 2012 Free Software Foundation, Inc.
2287 This configure script is free software; the Free Software Foundation
2288 gives unlimited permission to copy, distribute and modify it.
2289 _ACEOF
2290 exit
2293 ## ------------------------ ##
2294 ## Autoconf initialization. ##
2295 ## ------------------------ ##
2297 # ac_fn_c_try_compile LINENO
2298 # --------------------------
2299 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2300 ac_fn_c_try_compile ()
2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303 rm -f conftest.$ac_objext
2304 if { { ac_try="$ac_compile"
2305 case "(($ac_try" in
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2308 esac
2309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2310 $as_echo "$ac_try_echo"; } >&5
2311 (eval "$ac_compile") 2>conftest.err
2312 ac_status=$?
2313 if test -s conftest.err; then
2314 grep -v '^ *+' conftest.err >conftest.er1
2315 cat conftest.er1 >&5
2316 mv -f conftest.er1 conftest.err
2318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319 test $ac_status = 0; } && {
2320 test -z "$ac_c_werror_flag" ||
2321 test ! -s conftest.err
2322 } && test -s conftest.$ac_objext; then :
2323 ac_retval=0
2324 else
2325 $as_echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2328 ac_retval=1
2330 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2331 as_fn_set_status $ac_retval
2333 } # ac_fn_c_try_compile
2335 # ac_fn_cxx_try_compile LINENO
2336 # ----------------------------
2337 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2338 ac_fn_cxx_try_compile ()
2340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2341 rm -f conftest.$ac_objext
2342 if { { ac_try="$ac_compile"
2343 case "(($ac_try" in
2344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2345 *) ac_try_echo=$ac_try;;
2346 esac
2347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2348 $as_echo "$ac_try_echo"; } >&5
2349 (eval "$ac_compile") 2>conftest.err
2350 ac_status=$?
2351 if test -s conftest.err; then
2352 grep -v '^ *+' conftest.err >conftest.er1
2353 cat conftest.er1 >&5
2354 mv -f conftest.er1 conftest.err
2356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2357 test $ac_status = 0; } && {
2358 test -z "$ac_cxx_werror_flag" ||
2359 test ! -s conftest.err
2360 } && test -s conftest.$ac_objext; then :
2361 ac_retval=0
2362 else
2363 $as_echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 ac_retval=1
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 as_fn_set_status $ac_retval
2371 } # ac_fn_cxx_try_compile
2373 # ac_fn_c_try_link LINENO
2374 # -----------------------
2375 # Try to link conftest.$ac_ext, and return whether this succeeded.
2376 ac_fn_c_try_link ()
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2379 rm -f conftest.$ac_objext conftest$ac_exeext
2380 if { { ac_try="$ac_link"
2381 case "(($ac_try" in
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2384 esac
2385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2386 $as_echo "$ac_try_echo"; } >&5
2387 (eval "$ac_link") 2>conftest.err
2388 ac_status=$?
2389 if test -s conftest.err; then
2390 grep -v '^ *+' conftest.err >conftest.er1
2391 cat conftest.er1 >&5
2392 mv -f conftest.er1 conftest.err
2394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2395 test $ac_status = 0; } && {
2396 test -z "$ac_c_werror_flag" ||
2397 test ! -s conftest.err
2398 } && test -s conftest$ac_exeext && {
2399 test "$cross_compiling" = yes ||
2400 test -x conftest$ac_exeext
2401 }; then :
2402 ac_retval=0
2403 else
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2407 ac_retval=1
2409 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2410 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2411 # interfere with the next link command; also delete a directory that is
2412 # left behind by Apple's compiler. We do this before executing the actions.
2413 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2414 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2415 as_fn_set_status $ac_retval
2417 } # ac_fn_c_try_link
2419 # ac_fn_c_try_cpp LINENO
2420 # ----------------------
2421 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2422 ac_fn_c_try_cpp ()
2424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2425 if { { ac_try="$ac_cpp conftest.$ac_ext"
2426 case "(($ac_try" in
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2429 esac
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2433 ac_status=$?
2434 if test -s conftest.err; then
2435 grep -v '^ *+' conftest.err >conftest.er1
2436 cat conftest.er1 >&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } > conftest.i && {
2441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 }; then :
2444 ac_retval=0
2445 else
2446 $as_echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 ac_retval=1
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452 as_fn_set_status $ac_retval
2454 } # ac_fn_c_try_cpp
2456 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2457 # -------------------------------------------------------
2458 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2459 # the include files in INCLUDES and setting the cache variable VAR
2460 # accordingly.
2461 ac_fn_c_check_header_mongrel ()
2463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2464 if eval \${$3+:} false; then :
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2466 $as_echo_n "checking for $2... " >&6; }
2467 if eval \${$3+:} false; then :
2468 $as_echo_n "(cached) " >&6
2470 eval ac_res=\$$3
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473 else
2474 # Is the header compilable?
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2476 $as_echo_n "checking $2 usability... " >&6; }
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2480 #include <$2>
2481 _ACEOF
2482 if ac_fn_c_try_compile "$LINENO"; then :
2483 ac_header_compiler=yes
2484 else
2485 ac_header_compiler=no
2487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2489 $as_echo "$ac_header_compiler" >&6; }
2491 # Is the header present?
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2493 $as_echo_n "checking $2 presence... " >&6; }
2494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2496 #include <$2>
2497 _ACEOF
2498 if ac_fn_c_try_cpp "$LINENO"; then :
2499 ac_header_preproc=yes
2500 else
2501 ac_header_preproc=no
2503 rm -f conftest.err conftest.i conftest.$ac_ext
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2505 $as_echo "$ac_header_preproc" >&6; }
2507 # So? What about this header?
2508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2509 yes:no: )
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2511 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2513 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2515 no:yes:* )
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2517 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2519 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2521 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2523 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2525 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2526 ( $as_echo "## ------------------------------------ ##
2527 ## Report this to wine-devel@winehq.org ##
2528 ## ------------------------------------ ##"
2529 ) | sed "s/^/$as_me: WARNING: /" >&2
2531 esac
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2533 $as_echo_n "checking for $2... " >&6; }
2534 if eval \${$3+:} false; then :
2535 $as_echo_n "(cached) " >&6
2536 else
2537 eval "$3=\$ac_header_compiler"
2539 eval ac_res=\$$3
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 } # ac_fn_c_check_header_mongrel
2547 # ac_fn_c_try_run LINENO
2548 # ----------------------
2549 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2550 # that executables *can* be run.
2551 ac_fn_c_try_run ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 if { { ac_try="$ac_link"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_link") 2>&5
2562 ac_status=$?
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2565 { { case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2568 esac
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_try") 2>&5
2572 ac_status=$?
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }; }; then :
2575 ac_retval=0
2576 else
2577 $as_echo "$as_me: program exited with status $ac_status" >&5
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2581 ac_retval=$ac_status
2583 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 as_fn_set_status $ac_retval
2587 } # ac_fn_c_try_run
2589 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2590 # -------------------------------------------------------
2591 # Tests whether HEADER exists and can be compiled using the include files in
2592 # INCLUDES, setting the cache variable VAR accordingly.
2593 ac_fn_c_check_header_compile ()
2595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2597 $as_echo_n "checking for $2... " >&6; }
2598 if eval \${$3+:} false; then :
2599 $as_echo_n "(cached) " >&6
2600 else
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2604 #include <$2>
2605 _ACEOF
2606 if ac_fn_c_try_compile "$LINENO"; then :
2607 eval "$3=yes"
2608 else
2609 eval "$3=no"
2611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613 eval ac_res=\$$3
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2615 $as_echo "$ac_res" >&6; }
2616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 } # ac_fn_c_check_header_compile
2620 # ac_fn_c_check_func LINENO FUNC VAR
2621 # ----------------------------------
2622 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2623 ac_fn_c_check_func ()
2625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2627 $as_echo_n "checking for $2... " >&6; }
2628 if eval \${$3+:} false; then :
2629 $as_echo_n "(cached) " >&6
2630 else
2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2632 /* end confdefs.h. */
2633 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2635 #define $2 innocuous_$2
2637 /* System header to define __stub macros and hopefully few prototypes,
2638 which can conflict with char $2 (); below.
2639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2640 <limits.h> exists even on freestanding compilers. */
2642 #ifdef __STDC__
2643 # include <limits.h>
2644 #else
2645 # include <assert.h>
2646 #endif
2648 #undef $2
2650 /* Override any GCC internal prototype to avoid an error.
2651 Use char because int might match the return type of a GCC
2652 builtin and then its argument prototype would still apply. */
2653 #ifdef __cplusplus
2654 extern "C"
2655 #endif
2656 char $2 ();
2657 /* The GNU C library defines this for functions which it implements
2658 to always fail with ENOSYS. Some functions are actually named
2659 something starting with __ and the normal name is an alias. */
2660 #if defined __stub_$2 || defined __stub___$2
2661 choke me
2662 #endif
2665 main ()
2667 return $2 ();
2669 return 0;
2671 _ACEOF
2672 if ac_fn_c_try_link "$LINENO"; then :
2673 eval "$3=yes"
2674 else
2675 eval "$3=no"
2677 rm -f core conftest.err conftest.$ac_objext \
2678 conftest$ac_exeext conftest.$ac_ext
2680 eval ac_res=\$$3
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 } # ac_fn_c_check_func
2687 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2688 # ----------------------------------------------------
2689 # Tries to find if the field MEMBER exists in type AGGR, after including
2690 # INCLUDES, setting cache variable VAR accordingly.
2691 ac_fn_c_check_member ()
2693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2695 $as_echo_n "checking for $2.$3... " >&6; }
2696 if eval \${$4+:} false; then :
2697 $as_echo_n "(cached) " >&6
2698 else
2699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2703 main ()
2705 static $2 ac_aggr;
2706 if (ac_aggr.$3)
2707 return 0;
2709 return 0;
2711 _ACEOF
2712 if ac_fn_c_try_compile "$LINENO"; then :
2713 eval "$4=yes"
2714 else
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2719 main ()
2721 static $2 ac_aggr;
2722 if (sizeof ac_aggr.$3)
2723 return 0;
2725 return 0;
2727 _ACEOF
2728 if ac_fn_c_try_compile "$LINENO"; then :
2729 eval "$4=yes"
2730 else
2731 eval "$4=no"
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 eval ac_res=\$$4
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2739 $as_echo "$ac_res" >&6; }
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 } # ac_fn_c_check_member
2744 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2745 # -------------------------------------------
2746 # Tests whether TYPE exists after having included INCLUDES, setting cache
2747 # variable VAR accordingly.
2748 ac_fn_c_check_type ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2752 $as_echo_n "checking for $2... " >&6; }
2753 if eval \${$3+:} false; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 eval "$3=no"
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2761 main ()
2763 if (sizeof ($2))
2764 return 0;
2766 return 0;
2768 _ACEOF
2769 if ac_fn_c_try_compile "$LINENO"; then :
2770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771 /* end confdefs.h. */
2774 main ()
2776 if (sizeof (($2)))
2777 return 0;
2779 return 0;
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2784 else
2785 eval "$3=yes"
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 eval ac_res=\$$3
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2793 $as_echo "$ac_res" >&6; }
2794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 } # ac_fn_c_check_type
2797 cat >config.log <<_ACEOF
2798 This file contains any messages produced by compilers while
2799 running configure, to aid debugging if configure makes a mistake.
2801 It was created by Wine $as_me 1.7.36, which was
2802 generated by GNU Autoconf 2.69. Invocation command line was
2804 $ $0 $@
2806 _ACEOF
2807 exec 5>>config.log
2809 cat <<_ASUNAME
2810 ## --------- ##
2811 ## Platform. ##
2812 ## --------- ##
2814 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2815 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2816 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2817 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2818 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2820 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2821 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2823 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2824 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2825 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2826 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2827 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2828 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2829 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2831 _ASUNAME
2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 for as_dir in $PATH
2836 IFS=$as_save_IFS
2837 test -z "$as_dir" && as_dir=.
2838 $as_echo "PATH: $as_dir"
2839 done
2840 IFS=$as_save_IFS
2842 } >&5
2844 cat >&5 <<_ACEOF
2847 ## ----------- ##
2848 ## Core tests. ##
2849 ## ----------- ##
2851 _ACEOF
2854 # Keep a trace of the command line.
2855 # Strip out --no-create and --no-recursion so they do not pile up.
2856 # Strip out --silent because we don't want to record it for future runs.
2857 # Also quote any args containing shell meta-characters.
2858 # Make two passes to allow for proper duplicate-argument suppression.
2859 ac_configure_args=
2860 ac_configure_args0=
2861 ac_configure_args1=
2862 ac_must_keep_next=false
2863 for ac_pass in 1 2
2865 for ac_arg
2867 case $ac_arg in
2868 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2870 | -silent | --silent | --silen | --sile | --sil)
2871 continue ;;
2872 *\'*)
2873 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2874 esac
2875 case $ac_pass in
2876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2878 as_fn_append ac_configure_args1 " '$ac_arg'"
2879 if test $ac_must_keep_next = true; then
2880 ac_must_keep_next=false # Got value, back to normal.
2881 else
2882 case $ac_arg in
2883 *=* | --config-cache | -C | -disable-* | --disable-* \
2884 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2885 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2886 | -with-* | --with-* | -without-* | --without-* | --x)
2887 case "$ac_configure_args0 " in
2888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2889 esac
2891 -* ) ac_must_keep_next=true ;;
2892 esac
2894 as_fn_append ac_configure_args " '$ac_arg'"
2896 esac
2897 done
2898 done
2899 { ac_configure_args0=; unset ac_configure_args0;}
2900 { ac_configure_args1=; unset ac_configure_args1;}
2902 # When interrupted or exit'd, cleanup temporary files, and complete
2903 # config.log. We remove comments because anyway the quotes in there
2904 # would cause problems or look ugly.
2905 # WARNING: Use '\'' to represent an apostrophe within the trap.
2906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2907 trap 'exit_status=$?
2908 # Save into config.log some information that might help in debugging.
2910 echo
2912 $as_echo "## ---------------- ##
2913 ## Cache variables. ##
2914 ## ---------------- ##"
2915 echo
2916 # The following way of writing the cache mishandles newlines in values,
2918 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2919 eval ac_val=\$$ac_var
2920 case $ac_val in #(
2921 *${as_nl}*)
2922 case $ac_var in #(
2923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2925 esac
2926 case $ac_var in #(
2927 _ | IFS | as_nl) ;; #(
2928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2929 *) { eval $ac_var=; unset $ac_var;} ;;
2930 esac ;;
2931 esac
2932 done
2933 (set) 2>&1 |
2934 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2935 *${as_nl}ac_space=\ *)
2936 sed -n \
2937 "s/'\''/'\''\\\\'\'''\''/g;
2938 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2939 ;; #(
2941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2943 esac |
2944 sort
2946 echo
2948 $as_echo "## ----------------- ##
2949 ## Output variables. ##
2950 ## ----------------- ##"
2951 echo
2952 for ac_var in $ac_subst_vars
2954 eval ac_val=\$$ac_var
2955 case $ac_val in
2956 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2957 esac
2958 $as_echo "$ac_var='\''$ac_val'\''"
2959 done | sort
2960 echo
2962 if test -n "$ac_subst_files"; then
2963 $as_echo "## ------------------- ##
2964 ## File substitutions. ##
2965 ## ------------------- ##"
2966 echo
2967 for ac_var in $ac_subst_files
2969 eval ac_val=\$$ac_var
2970 case $ac_val in
2971 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2972 esac
2973 $as_echo "$ac_var='\''$ac_val'\''"
2974 done | sort
2975 echo
2978 if test -s confdefs.h; then
2979 $as_echo "## ----------- ##
2980 ## confdefs.h. ##
2981 ## ----------- ##"
2982 echo
2983 cat confdefs.h
2984 echo
2986 test "$ac_signal" != 0 &&
2987 $as_echo "$as_me: caught signal $ac_signal"
2988 $as_echo "$as_me: exit $exit_status"
2989 } >&5
2990 rm -f core *.core core.conftest.* &&
2991 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2992 exit $exit_status
2994 for ac_signal in 1 2 13 15; do
2995 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2996 done
2997 ac_signal=0
2999 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3000 rm -f -r conftest* confdefs.h
3002 $as_echo "/* confdefs.h */" > confdefs.h
3004 # Predefined preprocessor variables.
3006 cat >>confdefs.h <<_ACEOF
3007 #define PACKAGE_NAME "$PACKAGE_NAME"
3008 _ACEOF
3010 cat >>confdefs.h <<_ACEOF
3011 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3012 _ACEOF
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3016 _ACEOF
3018 cat >>confdefs.h <<_ACEOF
3019 #define PACKAGE_STRING "$PACKAGE_STRING"
3020 _ACEOF
3022 cat >>confdefs.h <<_ACEOF
3023 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3024 _ACEOF
3026 cat >>confdefs.h <<_ACEOF
3027 #define PACKAGE_URL "$PACKAGE_URL"
3028 _ACEOF
3031 # Let the site file select an alternate cache file if it wants to.
3032 # Prefer an explicitly selected file to automatically selected ones.
3033 ac_site_file1=NONE
3034 ac_site_file2=NONE
3035 if test -n "$CONFIG_SITE"; then
3036 # We do not want a PATH search for config.site.
3037 case $CONFIG_SITE in #((
3038 -*) ac_site_file1=./$CONFIG_SITE;;
3039 */*) ac_site_file1=$CONFIG_SITE;;
3040 *) ac_site_file1=./$CONFIG_SITE;;
3041 esac
3042 elif test "x$prefix" != xNONE; then
3043 ac_site_file1=$prefix/share/config.site
3044 ac_site_file2=$prefix/etc/config.site
3045 else
3046 ac_site_file1=$ac_default_prefix/share/config.site
3047 ac_site_file2=$ac_default_prefix/etc/config.site
3049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3051 test "x$ac_site_file" = xNONE && continue
3052 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3055 sed 's/^/| /' "$ac_site_file" >&5
3056 . "$ac_site_file" \
3057 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3059 as_fn_error $? "failed to load site script $ac_site_file
3060 See \`config.log' for more details" "$LINENO" 5; }
3062 done
3064 if test -r "$cache_file"; then
3065 # Some versions of bash will fail to source /dev/null (special files
3066 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3067 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3069 $as_echo "$as_me: loading cache $cache_file" >&6;}
3070 case $cache_file in
3071 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3072 *) . "./$cache_file";;
3073 esac
3075 else
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3077 $as_echo "$as_me: creating cache $cache_file" >&6;}
3078 >$cache_file
3081 # Check that the precious variables saved in the cache have kept the same
3082 # value.
3083 ac_cache_corrupted=false
3084 for ac_var in $ac_precious_vars; do
3085 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3086 eval ac_new_set=\$ac_env_${ac_var}_set
3087 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3088 eval ac_new_val=\$ac_env_${ac_var}_value
3089 case $ac_old_set,$ac_new_set in
3090 set,)
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3092 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3093 ac_cache_corrupted=: ;;
3094 ,set)
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3096 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3097 ac_cache_corrupted=: ;;
3098 ,);;
3100 if test "x$ac_old_val" != "x$ac_new_val"; then
3101 # differences in whitespace do not lead to failure.
3102 ac_old_val_w=`echo x $ac_old_val`
3103 ac_new_val_w=`echo x $ac_new_val`
3104 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3106 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3107 ac_cache_corrupted=:
3108 else
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3110 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3111 eval $ac_var=\$ac_old_val
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3114 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3116 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3117 fi;;
3118 esac
3119 # Pass precious variables to config.status.
3120 if test "$ac_new_set" = set; then
3121 case $ac_new_val in
3122 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3123 *) ac_arg=$ac_var=$ac_new_val ;;
3124 esac
3125 case " $ac_configure_args " in
3126 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3127 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3128 esac
3130 done
3131 if $ac_cache_corrupted; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3135 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3136 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3138 ## -------------------- ##
3139 ## Main body of script. ##
3140 ## -------------------- ##
3142 ac_ext=c
3143 ac_cpp='$CPP $CPPFLAGS'
3144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3150 ac_config_headers="$ac_config_headers include/config.h"
3152 ac_aux_dir=
3153 for ac_dir in tools "$srcdir"/tools; do
3154 if test -f "$ac_dir/install-sh"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/install-sh -c"
3157 break
3158 elif test -f "$ac_dir/install.sh"; then
3159 ac_aux_dir=$ac_dir
3160 ac_install_sh="$ac_aux_dir/install.sh -c"
3161 break
3162 elif test -f "$ac_dir/shtool"; then
3163 ac_aux_dir=$ac_dir
3164 ac_install_sh="$ac_aux_dir/shtool install -c"
3165 break
3167 done
3168 if test -z "$ac_aux_dir"; then
3169 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3172 # These three variables are undocumented and unsupported,
3173 # and are intended to be withdrawn in a future Autoconf release.
3174 # They can cause serious problems if a builder's source tree is in a directory
3175 # whose full name contains unusual characters.
3176 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3177 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3178 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3182 libwine_version="1.0"
3186 # Check whether --enable-win16 was given.
3187 if test "${enable_win16+set}" = set; then :
3188 enableval=$enable_win16;
3191 # Check whether --enable-win64 was given.
3192 if test "${enable_win64+set}" = set; then :
3193 enableval=$enable_win64;
3196 # Check whether --enable-tests was given.
3197 if test "${enable_tests+set}" = set; then :
3198 enableval=$enable_tests;
3201 # Check whether --enable-maintainer-mode was given.
3202 if test "${enable_maintainer_mode+set}" = set; then :
3203 enableval=$enable_maintainer_mode;
3208 # Check whether --with-alsa was given.
3209 if test "${with_alsa+set}" = set; then :
3210 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3214 # Check whether --with-capi was given.
3215 if test "${with_capi+set}" = set; then :
3216 withval=$with_capi;
3220 # Check whether --with-cms was given.
3221 if test "${with_cms+set}" = set; then :
3222 withval=$with_cms;
3226 # Check whether --with-coreaudio was given.
3227 if test "${with_coreaudio+set}" = set; then :
3228 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3232 # Check whether --with-cups was given.
3233 if test "${with_cups+set}" = set; then :
3234 withval=$with_cups;
3238 # Check whether --with-curses was given.
3239 if test "${with_curses+set}" = set; then :
3240 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3244 # Check whether --with-dbus was given.
3245 if test "${with_dbus+set}" = set; then :
3246 withval=$with_dbus;
3250 # Check whether --with-fontconfig was given.
3251 if test "${with_fontconfig+set}" = set; then :
3252 withval=$with_fontconfig;
3256 # Check whether --with-freetype was given.
3257 if test "${with_freetype+set}" = set; then :
3258 withval=$with_freetype;
3262 # Check whether --with-gettext was given.
3263 if test "${with_gettext+set}" = set; then :
3264 withval=$with_gettext;
3268 # Check whether --with-gettextpo was given.
3269 if test "${with_gettextpo+set}" = set; then :
3270 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3274 # Check whether --with-gphoto was given.
3275 if test "${with_gphoto+set}" = set; then :
3276 withval=$with_gphoto;
3280 # Check whether --with-glu was given.
3281 if test "${with_glu+set}" = set; then :
3282 withval=$with_glu;
3286 # Check whether --with-gnutls was given.
3287 if test "${with_gnutls+set}" = set; then :
3288 withval=$with_gnutls;
3292 # Check whether --with-gsm was given.
3293 if test "${with_gsm+set}" = set; then :
3294 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3298 # Check whether --with-gstreamer was given.
3299 if test "${with_gstreamer+set}" = set; then :
3300 withval=$with_gstreamer;
3304 # Check whether --with-hal was given.
3305 if test "${with_hal+set}" = set; then :
3306 withval=$with_hal;
3310 # Check whether --with-jpeg was given.
3311 if test "${with_jpeg+set}" = set; then :
3312 withval=$with_jpeg;
3316 # Check whether --with-ldap was given.
3317 if test "${with_ldap+set}" = set; then :
3318 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3322 # Check whether --with-mpg123 was given.
3323 if test "${with_mpg123+set}" = set; then :
3324 withval=$with_mpg123;
3328 # Check whether --with-netapi was given.
3329 if test "${with_netapi+set}" = set; then :
3330 withval=$with_netapi;
3334 # Check whether --with-openal was given.
3335 if test "${with_openal+set}" = set; then :
3336 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3340 # Check whether --with-opencl was given.
3341 if test "${with_opencl+set}" = set; then :
3342 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3346 # Check whether --with-opengl was given.
3347 if test "${with_opengl+set}" = set; then :
3348 withval=$with_opengl;
3352 # Check whether --with-osmesa was given.
3353 if test "${with_osmesa+set}" = set; then :
3354 withval=$with_osmesa;
3358 # Check whether --with-oss was given.
3359 if test "${with_oss+set}" = set; then :
3360 withval=$with_oss;
3364 # Check whether --with-pcap was given.
3365 if test "${with_pcap+set}" = set; then :
3366 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3370 # Check whether --with-png was given.
3371 if test "${with_png+set}" = set; then :
3372 withval=$with_png;
3376 # Check whether --with-pthread was given.
3377 if test "${with_pthread+set}" = set; then :
3378 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3382 # Check whether --with-sane was given.
3383 if test "${with_sane+set}" = set; then :
3384 withval=$with_sane;
3388 # Check whether --with-tiff was given.
3389 if test "${with_tiff+set}" = set; then :
3390 withval=$with_tiff;
3394 # Check whether --with-v4l was given.
3395 if test "${with_v4l+set}" = set; then :
3396 withval=$with_v4l;
3400 # Check whether --with-xcomposite was given.
3401 if test "${with_xcomposite+set}" = set; then :
3402 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3406 # Check whether --with-xcursor was given.
3407 if test "${with_xcursor+set}" = set; then :
3408 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3412 # Check whether --with-xinerama was given.
3413 if test "${with_xinerama+set}" = set; then :
3414 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3418 # Check whether --with-xinput was given.
3419 if test "${with_xinput+set}" = set; then :
3420 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3424 # Check whether --with-xinput2 was given.
3425 if test "${with_xinput2+set}" = set; then :
3426 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3430 # Check whether --with-xml was given.
3431 if test "${with_xml+set}" = set; then :
3432 withval=$with_xml;
3436 # Check whether --with-xrandr was given.
3437 if test "${with_xrandr+set}" = set; then :
3438 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3442 # Check whether --with-xrender was given.
3443 if test "${with_xrender+set}" = set; then :
3444 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3448 # Check whether --with-xshape was given.
3449 if test "${with_xshape+set}" = set; then :
3450 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3454 # Check whether --with-xshm was given.
3455 if test "${with_xshm+set}" = set; then :
3456 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3460 # Check whether --with-xslt was given.
3461 if test "${with_xslt+set}" = set; then :
3462 withval=$with_xslt;
3466 # Check whether --with-xxf86vm was given.
3467 if test "${with_xxf86vm+set}" = set; then :
3468 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
3472 # Check whether --with-zlib was given.
3473 if test "${with_zlib+set}" = set; then :
3474 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3479 # Check whether --with-wine-tools was given.
3480 if test "${with_wine_tools+set}" = set; then :
3481 withval=$with_wine_tools;
3485 # Check whether --with-wine64 was given.
3486 if test "${with_wine64+set}" = set; then :
3487 withval=$with_wine64;
3491 # Make sure we can run config.sub.
3492 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3493 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3496 $as_echo_n "checking build system type... " >&6; }
3497 if ${ac_cv_build+:} false; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 ac_build_alias=$build_alias
3501 test "x$ac_build_alias" = x &&
3502 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3503 test "x$ac_build_alias" = x &&
3504 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3505 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3506 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3510 $as_echo "$ac_cv_build" >&6; }
3511 case $ac_cv_build in
3512 *-*-*) ;;
3513 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3514 esac
3515 build=$ac_cv_build
3516 ac_save_IFS=$IFS; IFS='-'
3517 set x $ac_cv_build
3518 shift
3519 build_cpu=$1
3520 build_vendor=$2
3521 shift; shift
3522 # Remember, the first character of IFS is used to create $*,
3523 # except with old shells:
3524 build_os=$*
3525 IFS=$ac_save_IFS
3526 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3530 $as_echo_n "checking host system type... " >&6; }
3531 if ${ac_cv_host+:} false; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 if test "x$host_alias" = x; then
3535 ac_cv_host=$ac_cv_build
3536 else
3537 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3538 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3543 $as_echo "$ac_cv_host" >&6; }
3544 case $ac_cv_host in
3545 *-*-*) ;;
3546 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3547 esac
3548 host=$ac_cv_host
3549 ac_save_IFS=$IFS; IFS='-'
3550 set x $ac_cv_host
3551 shift
3552 host_cpu=$1
3553 host_vendor=$2
3554 shift; shift
3555 # Remember, the first character of IFS is used to create $*,
3556 # except with old shells:
3557 host_os=$*
3558 IFS=$ac_save_IFS
3559 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3563 case "$srcdir" in
3564 .) ;;
3565 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3566 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3567 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3568 fi ;;
3569 esac
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3573 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3574 set x ${MAKE-make}
3575 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3576 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3577 $as_echo_n "(cached) " >&6
3578 else
3579 cat >conftest.make <<\_ACEOF
3580 SHELL = /bin/sh
3581 all:
3582 @echo '@@@%%%=$(MAKE)=@@@%%%'
3583 _ACEOF
3584 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3585 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3586 *@@@%%%=?*=@@@%%%*)
3587 eval ac_cv_prog_make_${ac_make}_set=yes;;
3589 eval ac_cv_prog_make_${ac_make}_set=no;;
3590 esac
3591 rm -f conftest.make
3593 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3596 SET_MAKE=
3597 else
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3600 SET_MAKE="MAKE=${MAKE-make}"
3603 ac_ext=c
3604 ac_cpp='$CPP $CPPFLAGS'
3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if ${ac_cv_prog_CC+:} false; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3626 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3630 done
3631 done
3632 IFS=$as_save_IFS
3636 CC=$ac_cv_prog_CC
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3647 if test -z "$ac_cv_prog_CC"; then
3648 ac_ct_CC=$CC
3649 # Extract the first word of "gcc", so it can be a program name with args.
3650 set dummy gcc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$ac_ct_CC"; then
3657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_ac_ct_CC="gcc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3685 if test "x$ac_ct_CC" = x; then
3686 CC=""
3687 else
3688 case $cross_compiling:$ac_tool_warned in
3689 yes:)
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3692 ac_tool_warned=yes ;;
3693 esac
3694 CC=$ac_ct_CC
3696 else
3697 CC="$ac_cv_prog_CC"
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3703 set dummy ${ac_tool_prefix}cc; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if ${ac_cv_prog_CC+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3715 IFS=$as_save_IFS
3716 test -z "$as_dir" && as_dir=.
3717 for ac_exec_ext in '' $ac_executable_extensions; do
3718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_prog_CC="${ac_tool_prefix}cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 # Extract the first word of "cc", so it can be a program name with args.
3743 set dummy cc; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_CC+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 ac_prog_rejected=no
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3761 ac_prog_rejected=yes
3762 continue
3764 ac_cv_prog_CC="cc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3772 if test $ac_prog_rejected = yes; then
3773 # We found a bogon in the path, so make sure we never use it.
3774 set dummy $ac_cv_prog_CC
3775 shift
3776 if test $# != 0; then
3777 # We chose a different compiler from the bogus one.
3778 # However, it has the same basename, so the bogon will be chosen
3779 # first if we set CC to just the basename; use the full file name.
3780 shift
3781 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3786 CC=$ac_cv_prog_CC
3787 if test -n "$CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3797 if test -z "$CC"; then
3798 if test -n "$ac_tool_prefix"; then
3799 for ac_prog in cl.exe
3801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3822 done
3823 done
3824 IFS=$as_save_IFS
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3838 test -n "$CC" && break
3839 done
3841 if test -z "$CC"; then
3842 ac_ct_CC=$CC
3843 for ac_prog in cl.exe
3845 # Extract the first word of "$ac_prog", so it can be a program name with args.
3846 set dummy $ac_prog; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 if test -n "$ac_ct_CC"; then
3853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3858 IFS=$as_save_IFS
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_ac_ct_CC="$ac_prog"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2
3866 done
3867 done
3868 IFS=$as_save_IFS
3872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3873 if test -n "$ac_ct_CC"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3875 $as_echo "$ac_ct_CC" >&6; }
3876 else
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$ac_ct_CC" && break
3883 done
3885 if test "x$ac_ct_CC" = x; then
3886 CC=""
3887 else
3888 case $cross_compiling:$ac_tool_warned in
3889 yes:)
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned=yes ;;
3893 esac
3894 CC=$ac_ct_CC
3901 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error $? "no acceptable C compiler found in \$PATH
3904 See \`config.log' for more details" "$LINENO" 5; }
3906 # Provide some information about the compiler.
3907 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3908 set X $ac_compile
3909 ac_compiler=$2
3910 for ac_option in --version -v -V -qversion; do
3911 { { ac_try="$ac_compiler $ac_option >&5"
3912 case "(($ac_try" in
3913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914 *) ac_try_echo=$ac_try;;
3915 esac
3916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3917 $as_echo "$ac_try_echo"; } >&5
3918 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3919 ac_status=$?
3920 if test -s conftest.err; then
3921 sed '10a\
3922 ... rest of stderr output deleted ...
3923 10q' conftest.err >conftest.er1
3924 cat conftest.er1 >&5
3926 rm -f conftest.er1 conftest.err
3927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3928 test $ac_status = 0; }
3929 done
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3935 main ()
3939 return 0;
3941 _ACEOF
3942 ac_clean_files_save=$ac_clean_files
3943 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3944 # Try to create an executable without -o first, disregard a.out.
3945 # It will help us diagnose broken compilers, and finding out an intuition
3946 # of exeext.
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3948 $as_echo_n "checking whether the C compiler works... " >&6; }
3949 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3951 # The possible output files:
3952 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3954 ac_rmfiles=
3955 for ac_file in $ac_files
3957 case $ac_file in
3958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3959 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3960 esac
3961 done
3962 rm -f $ac_rmfiles
3964 if { { ac_try="$ac_link_default"
3965 case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3968 esac
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_link_default") 2>&5
3972 ac_status=$?
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; }; then :
3975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3978 # so that the user can short-circuit this test for compilers unknown to
3979 # Autoconf.
3980 for ac_file in $ac_files ''
3982 test -f "$ac_file" || continue
3983 case $ac_file in
3984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3986 [ab].out )
3987 # We found the default executable, but exeext='' is most
3988 # certainly right.
3989 break;;
3990 *.* )
3991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3992 then :; else
3993 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3995 # We set ac_cv_exeext here because the later test for it is not
3996 # safe: cross compilers may not add the suffix if given an `-o'
3997 # argument, so we may need to know it at that point already.
3998 # Even if this section looks crufty: it has the advantage of
3999 # actually working.
4000 break;;
4002 break;;
4003 esac
4004 done
4005 test "$ac_cv_exeext" = no && ac_cv_exeext=
4007 else
4008 ac_file=''
4010 if test -z "$ac_file"; then :
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4013 $as_echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error 77 "C compiler cannot create executables
4019 See \`config.log' for more details" "$LINENO" 5; }
4020 else
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4025 $as_echo_n "checking for C compiler default output file name... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4027 $as_echo "$ac_file" >&6; }
4028 ac_exeext=$ac_cv_exeext
4030 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4031 ac_clean_files=$ac_clean_files_save
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4033 $as_echo_n "checking for suffix of executables... " >&6; }
4034 if { { ac_try="$ac_link"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link") 2>&5
4042 ac_status=$?
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }; then :
4045 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4046 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4047 # work properly (i.e., refer to `conftest.exe'), while it won't with
4048 # `rm'.
4049 for ac_file in conftest.exe conftest conftest.*; do
4050 test -f "$ac_file" || continue
4051 case $ac_file in
4052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4053 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 break;;
4055 * ) break;;
4056 esac
4057 done
4058 else
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4062 See \`config.log' for more details" "$LINENO" 5; }
4064 rm -f conftest conftest$ac_cv_exeext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4066 $as_echo "$ac_cv_exeext" >&6; }
4068 rm -f conftest.$ac_ext
4069 EXEEXT=$ac_cv_exeext
4070 ac_exeext=$EXEEXT
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073 #include <stdio.h>
4075 main ()
4077 FILE *f = fopen ("conftest.out", "w");
4078 return ferror (f) || fclose (f) != 0;
4081 return 0;
4083 _ACEOF
4084 ac_clean_files="$ac_clean_files conftest.out"
4085 # Check that the compiler produces executables we can run. If not, either
4086 # the compiler is broken, or we cross compile.
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4088 $as_echo_n "checking whether we are cross compiling... " >&6; }
4089 if test "$cross_compiling" != yes; then
4090 { { ac_try="$ac_link"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_link") 2>&5
4098 ac_status=$?
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }
4101 if { ac_try='./conftest$ac_cv_exeext'
4102 { { case "(($ac_try" in
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4105 esac
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_try") 2>&5
4109 ac_status=$?
4110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111 test $ac_status = 0; }; }; then
4112 cross_compiling=no
4113 else
4114 if test "$cross_compiling" = maybe; then
4115 cross_compiling=yes
4116 else
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $? "cannot run C compiled programs.
4120 If you meant to cross compile, use \`--host'.
4121 See \`config.log' for more details" "$LINENO" 5; }
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4126 $as_echo "$cross_compiling" >&6; }
4128 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4129 ac_clean_files=$ac_clean_files_save
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4131 $as_echo_n "checking for suffix of object files... " >&6; }
4132 if ${ac_cv_objext+:} false; then :
4133 $as_echo_n "(cached) " >&6
4134 else
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4139 main ()
4143 return 0;
4145 _ACEOF
4146 rm -f conftest.o conftest.obj
4147 if { { ac_try="$ac_compile"
4148 case "(($ac_try" in
4149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150 *) ac_try_echo=$ac_try;;
4151 esac
4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153 $as_echo "$ac_try_echo"; } >&5
4154 (eval "$ac_compile") 2>&5
4155 ac_status=$?
4156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157 test $ac_status = 0; }; then :
4158 for ac_file in conftest.o conftest.obj conftest.*; do
4159 test -f "$ac_file" || continue;
4160 case $ac_file in
4161 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4162 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4163 break;;
4164 esac
4165 done
4166 else
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error $? "cannot compute suffix of object files: cannot compile
4173 See \`config.log' for more details" "$LINENO" 5; }
4175 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4178 $as_echo "$ac_cv_objext" >&6; }
4179 OBJEXT=$ac_cv_objext
4180 ac_objext=$OBJEXT
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4182 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4183 if ${ac_cv_c_compiler_gnu+:} false; then :
4184 $as_echo_n "(cached) " >&6
4185 else
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4192 #ifndef __GNUC__
4193 choke me
4194 #endif
4197 return 0;
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201 ac_compiler_gnu=yes
4202 else
4203 ac_compiler_gnu=no
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4210 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4211 if test $ac_compiler_gnu = yes; then
4212 GCC=yes
4213 else
4214 GCC=
4216 ac_test_CFLAGS=${CFLAGS+set}
4217 ac_save_CFLAGS=$CFLAGS
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4219 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4220 if ${ac_cv_prog_cc_g+:} false; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 ac_save_c_werror_flag=$ac_c_werror_flag
4224 ac_c_werror_flag=yes
4225 ac_cv_prog_cc_g=no
4226 CFLAGS="-g"
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 if ac_fn_c_try_compile "$LINENO"; then :
4239 ac_cv_prog_cc_g=yes
4240 else
4241 CFLAGS=""
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4246 main ()
4250 return 0;
4252 _ACEOF
4253 if ac_fn_c_try_compile "$LINENO"; then :
4255 else
4256 ac_c_werror_flag=$ac_save_c_werror_flag
4257 CFLAGS="-g"
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4262 main ()
4266 return 0;
4268 _ACEOF
4269 if ac_fn_c_try_compile "$LINENO"; then :
4270 ac_cv_prog_cc_g=yes
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 ac_c_werror_flag=$ac_save_c_werror_flag
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4280 $as_echo "$ac_cv_prog_cc_g" >&6; }
4281 if test "$ac_test_CFLAGS" = set; then
4282 CFLAGS=$ac_save_CFLAGS
4283 elif test $ac_cv_prog_cc_g = yes; then
4284 if test "$GCC" = yes; then
4285 CFLAGS="-g -O2"
4286 else
4287 CFLAGS="-g"
4289 else
4290 if test "$GCC" = yes; then
4291 CFLAGS="-O2"
4292 else
4293 CFLAGS=
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4297 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4298 if ${ac_cv_prog_cc_c89+:} false; then :
4299 $as_echo_n "(cached) " >&6
4300 else
4301 ac_cv_prog_cc_c89=no
4302 ac_save_CC=$CC
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4305 #include <stdarg.h>
4306 #include <stdio.h>
4307 struct stat;
4308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4309 struct buf { int x; };
4310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4311 static char *e (p, i)
4312 char **p;
4313 int i;
4315 return p[i];
4317 static char *f (char * (*g) (char **, int), char **p, ...)
4319 char *s;
4320 va_list v;
4321 va_start (v,p);
4322 s = g (p, va_arg (v,int));
4323 va_end (v);
4324 return s;
4327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4328 function prototypes and stuff, but not '\xHH' hex character constants.
4329 These don't provoke an error unfortunately, instead are silently treated
4330 as 'x'. The following induces an error, until -std is added to get
4331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4332 array size at least. It's necessary to write '\x00'==0 to get something
4333 that's true only with -std. */
4334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4337 inside strings and character constants. */
4338 #define FOO(x) 'x'
4339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4341 int test (int i, double x);
4342 struct s1 {int (*f) (int a);};
4343 struct s2 {int (*f) (double a);};
4344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4345 int argc;
4346 char **argv;
4348 main ()
4350 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4352 return 0;
4354 _ACEOF
4355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4358 CC="$ac_save_CC $ac_arg"
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360 ac_cv_prog_cc_c89=$ac_arg
4362 rm -f core conftest.err conftest.$ac_objext
4363 test "x$ac_cv_prog_cc_c89" != "xno" && break
4364 done
4365 rm -f conftest.$ac_ext
4366 CC=$ac_save_CC
4369 # AC_CACHE_VAL
4370 case "x$ac_cv_prog_cc_c89" in
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4373 $as_echo "none needed" >&6; } ;;
4374 xno)
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4376 $as_echo "unsupported" >&6; } ;;
4378 CC="$CC $ac_cv_prog_cc_c89"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4381 esac
4382 if test "x$ac_cv_prog_cc_c89" != xno; then :
4386 ac_ext=c
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4392 ac_ext=cpp
4393 ac_cpp='$CXXCPP $CPPFLAGS'
4394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4397 if test -z "$CXX"; then
4398 if test -n "$CCC"; then
4399 CXX=$CCC
4400 else
4401 if test -n "$ac_tool_prefix"; then
4402 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_CXX+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 if test -n "$CXX"; then
4412 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4413 else
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH
4417 IFS=$as_save_IFS
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4421 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 break 2
4425 done
4426 done
4427 IFS=$as_save_IFS
4431 CXX=$ac_cv_prog_CXX
4432 if test -n "$CXX"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4434 $as_echo "$CXX" >&6; }
4435 else
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4441 test -n "$CXX" && break
4442 done
4444 if test -z "$CXX"; then
4445 ac_ct_CXX=$CXX
4446 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449 set dummy $ac_prog; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 if test -n "$ac_ct_CXX"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4457 else
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH
4461 IFS=$as_save_IFS
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_ac_ct_CXX="$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 break 2
4469 done
4470 done
4471 IFS=$as_save_IFS
4475 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4476 if test -n "$ac_ct_CXX"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4478 $as_echo "$ac_ct_CXX" >&6; }
4479 else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4485 test -n "$ac_ct_CXX" && break
4486 done
4488 if test "x$ac_ct_CXX" = x; then
4489 CXX="g++"
4490 else
4491 case $cross_compiling:$ac_tool_warned in
4492 yes:)
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4496 esac
4497 CXX=$ac_ct_CXX
4503 # Provide some information about the compiler.
4504 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4505 set X $ac_compile
4506 ac_compiler=$2
4507 for ac_option in --version -v -V -qversion; do
4508 { { ac_try="$ac_compiler $ac_option >&5"
4509 case "(($ac_try" in
4510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
4512 esac
4513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514 $as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4516 ac_status=$?
4517 if test -s conftest.err; then
4518 sed '10a\
4519 ... rest of stderr output deleted ...
4520 10q' conftest.err >conftest.er1
4521 cat conftest.er1 >&5
4523 rm -f conftest.er1 conftest.err
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4526 done
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4529 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4530 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4537 main ()
4539 #ifndef __GNUC__
4540 choke me
4541 #endif
4544 return 0;
4546 _ACEOF
4547 if ac_fn_cxx_try_compile "$LINENO"; then :
4548 ac_compiler_gnu=yes
4549 else
4550 ac_compiler_gnu=no
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4553 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4557 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4558 if test $ac_compiler_gnu = yes; then
4559 GXX=yes
4560 else
4561 GXX=
4563 ac_test_CXXFLAGS=${CXXFLAGS+set}
4564 ac_save_CXXFLAGS=$CXXFLAGS
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4566 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4567 if ${ac_cv_prog_cxx_g+:} false; then :
4568 $as_echo_n "(cached) " >&6
4569 else
4570 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4571 ac_cxx_werror_flag=yes
4572 ac_cv_prog_cxx_g=no
4573 CXXFLAGS="-g"
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4582 return 0;
4584 _ACEOF
4585 if ac_fn_cxx_try_compile "$LINENO"; then :
4586 ac_cv_prog_cxx_g=yes
4587 else
4588 CXXFLAGS=""
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4593 main ()
4597 return 0;
4599 _ACEOF
4600 if ac_fn_cxx_try_compile "$LINENO"; then :
4602 else
4603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4613 return 0;
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4627 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4628 if test "$ac_test_CXXFLAGS" = set; then
4629 CXXFLAGS=$ac_save_CXXFLAGS
4630 elif test $ac_cv_prog_cxx_g = yes; then
4631 if test "$GXX" = yes; then
4632 CXXFLAGS="-g -O2"
4633 else
4634 CXXFLAGS="-g"
4636 else
4637 if test "$GXX" = yes; then
4638 CXXFLAGS="-O2"
4639 else
4640 CXXFLAGS=
4643 ac_ext=c
4644 ac_cpp='$CPP $CPPFLAGS'
4645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4649 if test -n "$ac_tool_prefix"; then
4650 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4651 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_CPPBIN+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$CPPBIN"; then
4658 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 CPPBIN=$ac_cv_prog_CPPBIN
4678 if test -n "$CPPBIN"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4680 $as_echo "$CPPBIN" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4688 if test -z "$ac_cv_prog_CPPBIN"; then
4689 ac_ct_CPPBIN=$CPPBIN
4690 # Extract the first word of "cpp", so it can be a program name with args.
4691 set dummy cpp; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 if test -n "$ac_ct_CPPBIN"; then
4698 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4699 else
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 for as_dir in $PATH
4703 IFS=$as_save_IFS
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_ac_ct_CPPBIN="cpp"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 break 2
4711 done
4712 done
4713 IFS=$as_save_IFS
4717 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4718 if test -n "$ac_ct_CPPBIN"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4720 $as_echo "$ac_ct_CPPBIN" >&6; }
4721 else
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4726 if test "x$ac_ct_CPPBIN" = x; then
4727 CPPBIN="cpp"
4728 else
4729 case $cross_compiling:$ac_tool_warned in
4730 yes:)
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733 ac_tool_warned=yes ;;
4734 esac
4735 CPPBIN=$ac_ct_CPPBIN
4737 else
4738 CPPBIN="$ac_cv_prog_CPPBIN"
4742 cat >>confdefs.h <<_ACEOF
4743 #define EXEEXT "$ac_exeext"
4744 _ACEOF
4746 if test -n "$ac_tool_prefix"; then
4747 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4748 set dummy ${ac_tool_prefix}ld; ac_word=$2
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 $as_echo_n "checking for $ac_word... " >&6; }
4751 if ${ac_cv_prog_LD+:} false; then :
4752 $as_echo_n "(cached) " >&6
4753 else
4754 if test -n "$LD"; then
4755 ac_cv_prog_LD="$LD" # Let the user override the test.
4756 else
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH
4760 IFS=$as_save_IFS
4761 test -z "$as_dir" && as_dir=.
4762 for ac_exec_ext in '' $ac_executable_extensions; do
4763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4764 ac_cv_prog_LD="${ac_tool_prefix}ld"
4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4766 break 2
4768 done
4769 done
4770 IFS=$as_save_IFS
4774 LD=$ac_cv_prog_LD
4775 if test -n "$LD"; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4777 $as_echo "$LD" >&6; }
4778 else
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4785 if test -z "$ac_cv_prog_LD"; then
4786 ac_ct_LD=$LD
4787 # Extract the first word of "ld", so it can be a program name with args.
4788 set dummy ld; ac_word=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4792 $as_echo_n "(cached) " >&6
4793 else
4794 if test -n "$ac_ct_LD"; then
4795 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4796 else
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 for as_dir in $PATH
4800 IFS=$as_save_IFS
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4804 ac_cv_prog_ac_ct_LD="ld"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 break 2
4808 done
4809 done
4810 IFS=$as_save_IFS
4814 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4815 if test -n "$ac_ct_LD"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4817 $as_echo "$ac_ct_LD" >&6; }
4818 else
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4823 if test "x$ac_ct_LD" = x; then
4824 LD=""
4825 else
4826 case $cross_compiling:$ac_tool_warned in
4827 yes:)
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4830 ac_tool_warned=yes ;;
4831 esac
4832 LD=$ac_ct_LD
4834 else
4835 LD="$ac_cv_prog_LD"
4839 case $host in
4840 *-darwin*)
4841 if test "x$enable_win64" = "xyes"
4842 then
4843 CC="$CC -m64"
4844 CXX="$CXX -m64"
4845 host_cpu="x86_64"
4846 notice_platform="64-bit "
4847 TARGETFLAGS="-m64"
4849 else
4850 CC="$CC -m32"
4851 CXX="$CXX -m32"
4852 host_cpu="i386"
4853 notice_platform="32-bit "
4854 TARGETFLAGS="-m32"
4856 enable_win16=${enable_win16:-yes}
4858 with_fontconfig=${with_fontconfig:-no}
4860 x86_64*)
4861 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4862 then
4863 CC="$CC -m32"
4864 CXX="$CXX -m32"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4866 $as_echo_n "checking whether $CC works... " >&6; }
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4872 main ()
4876 return 0;
4878 _ACEOF
4879 if ac_fn_c_try_link "$LINENO"; then :
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 $as_echo "yes" >&6; }
4882 else
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4887 rm -f core conftest.err conftest.$ac_objext \
4888 conftest$ac_exeext conftest.$ac_ext
4889 host_cpu="i386"
4890 notice_platform="32-bit "
4891 TARGETFLAGS="-m32"
4893 enable_win16=${enable_win16:-yes}
4894 else
4895 if test "x${GCC}" = "xyes"
4896 then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4898 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4901 #include <stdarg.h>
4903 main ()
4905 void func(__builtin_ms_va_list *args);
4907 return 0;
4909 _ACEOF
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912 $as_echo "yes" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4916 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 TARGETFLAGS="-m64"
4924 arm*)
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4926 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 int ac_test(int i) { return i; }
4931 main ()
4933 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4935 return 0;
4937 _ACEOF
4938 if ac_fn_c_try_link "$LINENO"; then :
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4940 $as_echo "yes" >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4944 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4946 rm -f core conftest.err conftest.$ac_objext \
4947 conftest$ac_exeext conftest.$ac_ext
4948 CFLAGS="$CFLAGS -marm"
4949 TARGETFLAGS="-marm"
4952 *-mingw32*|*-cygwin*)
4953 enable_win16=${enable_win16:-no}
4954 CFLAGS="$CFLAGS -D_WIN32"
4956 i[3456789]86*)
4957 enable_win16=${enable_win16:-yes}
4959 esac
4961 enable_win16=${enable_win16:-no}
4962 enable_win64=${enable_win64:-no}
4964 enable_winetest=${enable_winetest:-$enable_tests}
4966 if test -n "$with_wine64"
4967 then
4968 if test "x$enable_win64" = "xyes"
4969 then
4970 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4971 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4973 enable_fonts=${enable_fonts:-no}
4974 enable_server=${enable_server:-no}
4975 elif test "x$enable_win64" = "xyes"
4976 then
4977 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4981 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4982 if ${wine_cv_toolsdir+:} false; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 wine_cv_toolsdir="$with_wine_tools"
4986 if test -z "$with_wine_tools"; then
4987 if test "$cross_compiling" = "yes"; then
4988 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4989 elif test -n "$with_wine64"; then
4990 wine_cv_toolsdir="$with_wine64"
4993 if test -z "$wine_cv_toolsdir"; then
4994 wine_makedep=tools/makedep
4995 wine_cv_toolsdir="\$(top_builddir)"
4996 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4997 wine_makedep=$wine_cv_toolsdir/tools/makedep
4998 case "$wine_cv_toolsdir" in
4999 /*) ;;
5000 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5001 esac
5002 enable_tools=${enable_tools:-no}
5003 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5004 else
5005 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5009 $as_echo "$wine_cv_toolsdir" >&6; }
5010 TOOLSDIR=$wine_cv_toolsdir
5012 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5013 then
5014 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5018 for ac_prog in flex
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy $ac_prog; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_FLEX+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$FLEX"; then
5028 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_FLEX="$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 FLEX=$ac_cv_prog_FLEX
5048 if test -n "$FLEX"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5050 $as_echo "$FLEX" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$FLEX" && break
5058 done
5059 test -n "$FLEX" || FLEX="none"
5061 if test "$FLEX" = "none"
5062 then
5063 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5066 $as_echo_n "checking whether flex is recent enough... " >&6; }
5067 cat >conftest.l <<EOF
5068 %top{
5069 #include "prediluvian.h"
5073 if $FLEX -t conftest.l >/dev/null 2>&5
5074 then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5076 $as_echo "yes" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5083 for ac_prog in bison
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy $ac_prog; ac_word=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_BISON+:} false; then :
5090 $as_echo_n "(cached) " >&6
5091 else
5092 if test -n "$BISON"; then
5093 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
5099 test -z "$as_dir" && as_dir=.
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_BISON="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 break 2
5106 done
5107 done
5108 IFS=$as_save_IFS
5112 BISON=$ac_cv_prog_BISON
5113 if test -n "$BISON"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5115 $as_echo "$BISON" >&6; }
5116 else
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$BISON" && break
5123 done
5124 test -n "$BISON" || BISON="none"
5126 if test "$BISON" = "none"
5127 then
5128 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5131 if test -n "$ac_tool_prefix"; then
5132 for ac_prog in ar gar
5134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5135 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5137 $as_echo_n "checking for $ac_word... " >&6; }
5138 if ${ac_cv_prog_AR+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 if test -n "$AR"; then
5142 ac_cv_prog_AR="$AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5161 AR=$ac_cv_prog_AR
5162 if test -n "$AR"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5164 $as_echo "$AR" >&6; }
5165 else
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167 $as_echo "no" >&6; }
5171 test -n "$AR" && break
5172 done
5174 if test -z "$AR"; then
5175 ac_ct_AR=$AR
5176 for ac_prog in ar gar
5178 # Extract the first word of "$ac_prog", so it can be a program name with args.
5179 set dummy $ac_prog; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5183 $as_echo_n "(cached) " >&6
5184 else
5185 if test -n "$ac_ct_AR"; then
5186 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5191 IFS=$as_save_IFS
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_AR="$ac_prog"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 break 2
5199 done
5200 done
5201 IFS=$as_save_IFS
5205 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5206 if test -n "$ac_ct_AR"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5208 $as_echo "$ac_ct_AR" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5215 test -n "$ac_ct_AR" && break
5216 done
5218 if test "x$ac_ct_AR" = x; then
5219 AR="ar"
5220 else
5221 case $cross_compiling:$ac_tool_warned in
5222 yes:)
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5225 ac_tool_warned=yes ;;
5226 esac
5227 AR=$ac_ct_AR
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}strip; ac_word=$2
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235 $as_echo_n "checking for $ac_word... " >&6; }
5236 if ${ac_cv_prog_STRIP+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 if test -n "$STRIP"; then
5240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5255 IFS=$as_save_IFS
5259 STRIP=$ac_cv_prog_STRIP
5260 if test -n "$STRIP"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5262 $as_echo "$STRIP" >&6; }
5263 else
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5270 if test -z "$ac_cv_prog_STRIP"; then
5271 ac_ct_STRIP=$STRIP
5272 # Extract the first word of "strip", so it can be a program name with args.
5273 set dummy strip; ac_word=$2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 $as_echo_n "checking for $ac_word... " >&6; }
5276 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5277 $as_echo_n "(cached) " >&6
5278 else
5279 if test -n "$ac_ct_STRIP"; then
5280 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5285 IFS=$as_save_IFS
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_ac_ct_STRIP="strip"
5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 break 2
5293 done
5294 done
5295 IFS=$as_save_IFS
5299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5300 if test -n "$ac_ct_STRIP"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5302 $as_echo "$ac_ct_STRIP" >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5308 if test "x$ac_ct_STRIP" = x; then
5309 STRIP="strip"
5310 else
5311 case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned=yes ;;
5316 esac
5317 STRIP=$ac_ct_STRIP
5319 else
5320 STRIP="$ac_cv_prog_STRIP"
5323 ARFLAGS=rc
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_RANLIB+:} false; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 if test -n "$RANLIB"; then
5334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5335 else
5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5337 for as_dir in $PATH
5339 IFS=$as_save_IFS
5340 test -z "$as_dir" && as_dir=.
5341 for ac_exec_ext in '' $ac_executable_extensions; do
5342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 break 2
5347 done
5348 done
5349 IFS=$as_save_IFS
5353 RANLIB=$ac_cv_prog_RANLIB
5354 if test -n "$RANLIB"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5356 $as_echo "$RANLIB" >&6; }
5357 else
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 if test -z "$ac_cv_prog_RANLIB"; then
5365 ac_ct_RANLIB=$RANLIB
5366 # Extract the first word of "ranlib", so it can be a program name with args.
5367 set dummy ranlib; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$ac_ct_RANLIB"; then
5374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_ac_ct_RANLIB="ranlib"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5387 done
5388 done
5389 IFS=$as_save_IFS
5393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5394 if test -n "$ac_ct_RANLIB"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5396 $as_echo "$ac_ct_RANLIB" >&6; }
5397 else
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5402 if test "x$ac_ct_RANLIB" = x; then
5403 RANLIB=":"
5404 else
5405 case $cross_compiling:$ac_tool_warned in
5406 yes:)
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned=yes ;;
5410 esac
5411 RANLIB=$ac_ct_RANLIB
5413 else
5414 RANLIB="$ac_cv_prog_RANLIB"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5418 $as_echo_n "checking whether ln -s works... " >&6; }
5419 LN_S=$as_ln_s
5420 if test "$LN_S" = "ln -s"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422 $as_echo "yes" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5425 $as_echo "no, using $LN_S" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5429 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5430 if ${ac_cv_path_GREP+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -z "$GREP"; then
5434 ac_path_GREP_found=false
5435 # Loop through the user's path and test for each of PROGNAME-LIST
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_prog in grep ggrep; do
5442 for ac_exec_ext in '' $ac_executable_extensions; do
5443 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5444 as_fn_executable_p "$ac_path_GREP" || continue
5445 # Check for GNU ac_path_GREP and select it if it is found.
5446 # Check for GNU $ac_path_GREP
5447 case `"$ac_path_GREP" --version 2>&1` in
5448 *GNU*)
5449 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5451 ac_count=0
5452 $as_echo_n 0123456789 >"conftest.in"
5453 while :
5455 cat "conftest.in" "conftest.in" >"conftest.tmp"
5456 mv "conftest.tmp" "conftest.in"
5457 cp "conftest.in" "conftest.nl"
5458 $as_echo 'GREP' >> "conftest.nl"
5459 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5461 as_fn_arith $ac_count + 1 && ac_count=$as_val
5462 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5463 # Best one so far, save it but keep looking for a better one
5464 ac_cv_path_GREP="$ac_path_GREP"
5465 ac_path_GREP_max=$ac_count
5467 # 10*(2^10) chars as input seems more than enough
5468 test $ac_count -gt 10 && break
5469 done
5470 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5471 esac
5473 $ac_path_GREP_found && break 3
5474 done
5475 done
5476 done
5477 IFS=$as_save_IFS
5478 if test -z "$ac_cv_path_GREP"; then
5479 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5481 else
5482 ac_cv_path_GREP=$GREP
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5487 $as_echo "$ac_cv_path_GREP" >&6; }
5488 GREP="$ac_cv_path_GREP"
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5492 $as_echo_n "checking for egrep... " >&6; }
5493 if ${ac_cv_path_EGREP+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5497 then ac_cv_path_EGREP="$GREP -E"
5498 else
5499 if test -z "$EGREP"; then
5500 ac_path_EGREP_found=false
5501 # Loop through the user's path and test for each of PROGNAME-LIST
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_prog in egrep; do
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5510 as_fn_executable_p "$ac_path_EGREP" || continue
5511 # Check for GNU ac_path_EGREP and select it if it is found.
5512 # Check for GNU $ac_path_EGREP
5513 case `"$ac_path_EGREP" --version 2>&1` in
5514 *GNU*)
5515 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5517 ac_count=0
5518 $as_echo_n 0123456789 >"conftest.in"
5519 while :
5521 cat "conftest.in" "conftest.in" >"conftest.tmp"
5522 mv "conftest.tmp" "conftest.in"
5523 cp "conftest.in" "conftest.nl"
5524 $as_echo 'EGREP' >> "conftest.nl"
5525 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5527 as_fn_arith $ac_count + 1 && ac_count=$as_val
5528 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5529 # Best one so far, save it but keep looking for a better one
5530 ac_cv_path_EGREP="$ac_path_EGREP"
5531 ac_path_EGREP_max=$ac_count
5533 # 10*(2^10) chars as input seems more than enough
5534 test $ac_count -gt 10 && break
5535 done
5536 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5537 esac
5539 $ac_path_EGREP_found && break 3
5540 done
5541 done
5542 done
5543 IFS=$as_save_IFS
5544 if test -z "$ac_cv_path_EGREP"; then
5545 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5547 else
5548 ac_cv_path_EGREP=$EGREP
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5554 $as_echo "$ac_cv_path_EGREP" >&6; }
5555 EGREP="$ac_cv_path_EGREP"
5558 # Extract the first word of "ldconfig", so it can be a program name with args.
5559 set dummy ldconfig; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_path_LDCONFIG+:} false; then :
5563 $as_echo_n "(cached) " >&6
5564 else
5565 case $LDCONFIG in
5566 [\\/]* | ?:[\\/]*)
5567 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in /sbin /usr/sbin $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5585 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5587 esac
5589 LDCONFIG=$ac_cv_path_LDCONFIG
5590 if test -n "$LDCONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5592 $as_echo "$LDCONFIG" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5599 for ac_prog in msgfmt
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy $ac_prog; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_MSGFMT+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -n "$MSGFMT"; then
5609 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_MSGFMT="$ac_prog"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 break 2
5622 done
5623 done
5624 IFS=$as_save_IFS
5628 MSGFMT=$ac_cv_prog_MSGFMT
5629 if test -n "$MSGFMT"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5631 $as_echo "$MSGFMT" >&6; }
5632 else
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5638 test -n "$MSGFMT" && break
5639 done
5640 test -n "$MSGFMT" || MSGFMT="false"
5642 if ${ac_tool_prefix+:} false; then :
5643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$PKG_CONFIG"; then
5651 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5664 done
5665 done
5666 IFS=$as_save_IFS
5670 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5671 if test -n "$PKG_CONFIG"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5673 $as_echo "$PKG_CONFIG" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5682 if test "x$cross_compiling" = xyes; then :
5684 else
5685 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5686 # Extract the first word of "pkg-config", so it can be a program name with args.
5687 set dummy pkg-config; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 if test -n "$PKG_CONFIG"; then
5694 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5695 else
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_prog_PKG_CONFIG="pkg-config"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5713 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5714 if test -n "$PKG_CONFIG"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5716 $as_echo "$PKG_CONFIG" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5724 else
5725 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5728 if test "x$enable_maintainer_mode" != "xyes"
5729 then
5730 FONTFORGE=""
5731 RSVG=""
5732 CONVERT=""
5733 ICOTOOL=""
5734 else
5735 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5736 for ac_prog in fontforge
5738 # Extract the first word of "$ac_prog", so it can be a program name with args.
5739 set dummy $ac_prog; ac_word=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_FONTFORGE+:} false; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if test -n "$FONTFORGE"; then
5746 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5751 IFS=$as_save_IFS
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_FONTFORGE="$ac_prog"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 break 2
5759 done
5760 done
5761 IFS=$as_save_IFS
5765 FONTFORGE=$ac_cv_prog_FONTFORGE
5766 if test -n "$FONTFORGE"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5768 $as_echo "$FONTFORGE" >&6; }
5769 else
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5775 test -n "$FONTFORGE" && break
5776 done
5777 test -n "$FONTFORGE" || FONTFORGE="false"
5779 for ac_prog in rsvg-convert rsvg
5781 # Extract the first word of "$ac_prog", so it can be a program name with args.
5782 set dummy $ac_prog; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_RSVG+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$RSVG"; then
5789 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RSVG="$ac_prog"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 RSVG=$ac_cv_prog_RSVG
5809 if test -n "$RSVG"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5811 $as_echo "$RSVG" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5818 test -n "$RSVG" && break
5819 done
5820 test -n "$RSVG" || RSVG="false"
5822 for ac_prog in convert
5824 # Extract the first word of "$ac_prog", so it can be a program name with args.
5825 set dummy $ac_prog; ac_word=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if ${ac_cv_prog_CONVERT+:} false; then :
5829 $as_echo_n "(cached) " >&6
5830 else
5831 if test -n "$CONVERT"; then
5832 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5833 else
5834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 for as_dir in $PATH
5837 IFS=$as_save_IFS
5838 test -z "$as_dir" && as_dir=.
5839 for ac_exec_ext in '' $ac_executable_extensions; do
5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5841 ac_cv_prog_CONVERT="$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 break 2
5845 done
5846 done
5847 IFS=$as_save_IFS
5851 CONVERT=$ac_cv_prog_CONVERT
5852 if test -n "$CONVERT"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5854 $as_echo "$CONVERT" >&6; }
5855 else
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$CONVERT" && break
5862 done
5863 test -n "$CONVERT" || CONVERT="false"
5865 for ac_prog in icotool
5867 # Extract the first word of "$ac_prog", so it can be a program name with args.
5868 set dummy $ac_prog; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if ${ac_cv_prog_ICOTOOL+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 if test -n "$ICOTOOL"; then
5875 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5880 IFS=$as_save_IFS
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_ICOTOOL="$ac_prog"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 break 2
5888 done
5889 done
5890 IFS=$as_save_IFS
5894 ICOTOOL=$ac_cv_prog_ICOTOOL
5895 if test -n "$ICOTOOL"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5897 $as_echo "$ICOTOOL" >&6; }
5898 else
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5904 test -n "$ICOTOOL" && break
5905 done
5906 test -n "$ICOTOOL" || ICOTOOL="false"
5908 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5909 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5911 if test "$CONVERT" = false
5912 then
5913 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5916 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5917 convert_version=`convert --version | head -n1`
5918 if test "x$convert_version" != "x"
5919 then
5920 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5921 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5922 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5923 then
5924 CONVERT=false
5927 if test "$CONVERT" = false
5928 then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5930 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5931 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5934 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5938 if test "$ICOTOOL" = false
5939 then
5940 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5943 $as_echo_n "checking for recent enough icotool... " >&6; }
5944 icotool_version=`icotool --version | head -n1`
5945 if test "x$icotool_version" != "x"
5946 then
5947 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5948 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5949 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5950 then
5951 ICOTOOL=false
5952 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5955 if test "$ICOTOOL" = false
5956 then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5958 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5959 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5962 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5966 with_gettext=yes
5967 with_gettextpo=yes
5968 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5971 test "x$with_gettext" != xno || MSGFMT=false
5972 if test "$MSGFMT" != "false"
5973 then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5975 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5976 cat >conftest.po <<EOF
5977 # comment
5978 msgctxt "ctxt"
5979 msgid "id"
5980 msgstr "str"
5982 if $MSGFMT -o /dev/null conftest.po 2>&5
5983 then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 $as_echo "yes" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5989 MSGFMT=false
5992 if test "$MSGFMT" = false; then :
5993 case "x$with_gettext" in
5994 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5995 xno) ;;
5996 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5997 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5998 esac
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6003 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6004 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 ac_check_lib_save_LIBS=$LIBS
6008 LIBS="-li386 $LIBS"
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6012 /* Override any GCC internal prototype to avoid an error.
6013 Use char because int might match the return type of a GCC
6014 builtin and then its argument prototype would still apply. */
6015 #ifdef __cplusplus
6016 extern "C"
6017 #endif
6018 char i386_set_ldt ();
6020 main ()
6022 return i386_set_ldt ();
6024 return 0;
6026 _ACEOF
6027 if ac_fn_c_try_link "$LINENO"; then :
6028 ac_cv_lib_i386_i386_set_ldt=yes
6029 else
6030 ac_cv_lib_i386_i386_set_ldt=no
6032 rm -f core conftest.err conftest.$ac_objext \
6033 conftest$ac_exeext conftest.$ac_ext
6034 LIBS=$ac_check_lib_save_LIBS
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6037 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6038 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6039 cat >>confdefs.h <<_ACEOF
6040 #define HAVE_LIBI386 1
6041 _ACEOF
6043 LIBS="-li386 $LIBS"
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6048 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6049 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6050 $as_echo_n "(cached) " >&6
6051 else
6052 ac_check_lib_save_LIBS=$LIBS
6053 LIBS="-lossaudio $LIBS"
6054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6057 /* Override any GCC internal prototype to avoid an error.
6058 Use char because int might match the return type of a GCC
6059 builtin and then its argument prototype would still apply. */
6060 #ifdef __cplusplus
6061 extern "C"
6062 #endif
6063 char _oss_ioctl ();
6065 main ()
6067 return _oss_ioctl ();
6069 return 0;
6071 _ACEOF
6072 if ac_fn_c_try_link "$LINENO"; then :
6073 ac_cv_lib_ossaudio__oss_ioctl=yes
6074 else
6075 ac_cv_lib_ossaudio__oss_ioctl=no
6077 rm -f core conftest.err conftest.$ac_objext \
6078 conftest$ac_exeext conftest.$ac_ext
6079 LIBS=$ac_check_lib_save_LIBS
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6082 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6083 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6084 cat >>confdefs.h <<_ACEOF
6085 #define HAVE_LIBOSSAUDIO 1
6086 _ACEOF
6088 LIBS="-lossaudio $LIBS"
6093 OPENGL_LIBS=""
6097 # Check whether --enable-largefile was given.
6098 if test "${enable_largefile+set}" = set; then :
6099 enableval=$enable_largefile;
6102 if test "$enable_largefile" != no; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6105 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6106 if ${ac_cv_sys_largefile_CC+:} false; then :
6107 $as_echo_n "(cached) " >&6
6108 else
6109 ac_cv_sys_largefile_CC=no
6110 if test "$GCC" != yes; then
6111 ac_save_CC=$CC
6112 while :; do
6113 # IRIX 6.2 and later do not support large files by default,
6114 # so use the C compiler's -n32 option if that helps.
6115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 #include <sys/types.h>
6118 /* Check that off_t can represent 2**63 - 1 correctly.
6119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6120 since some C++ compilers masquerading as C compilers
6121 incorrectly reject 9223372036854775807. */
6122 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6124 && LARGE_OFF_T % 2147483647 == 1)
6125 ? 1 : -1];
6127 main ()
6131 return 0;
6133 _ACEOF
6134 if ac_fn_c_try_compile "$LINENO"; then :
6135 break
6137 rm -f core conftest.err conftest.$ac_objext
6138 CC="$CC -n32"
6139 if ac_fn_c_try_compile "$LINENO"; then :
6140 ac_cv_sys_largefile_CC=' -n32'; break
6142 rm -f core conftest.err conftest.$ac_objext
6143 break
6144 done
6145 CC=$ac_save_CC
6146 rm -f conftest.$ac_ext
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6150 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6151 if test "$ac_cv_sys_largefile_CC" != no; then
6152 CC=$CC$ac_cv_sys_largefile_CC
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6156 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6157 if ${ac_cv_sys_file_offset_bits+:} false; then :
6158 $as_echo_n "(cached) " >&6
6159 else
6160 while :; do
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 /* Check that off_t can represent 2**63 - 1 correctly.
6165 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6166 since some C++ compilers masquerading as C compilers
6167 incorrectly reject 9223372036854775807. */
6168 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6169 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6170 && LARGE_OFF_T % 2147483647 == 1)
6171 ? 1 : -1];
6173 main ()
6177 return 0;
6179 _ACEOF
6180 if ac_fn_c_try_compile "$LINENO"; then :
6181 ac_cv_sys_file_offset_bits=no; break
6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6185 /* end confdefs.h. */
6186 #define _FILE_OFFSET_BITS 64
6187 #include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly.
6189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6190 since some C++ compilers masquerading as C compilers
6191 incorrectly reject 9223372036854775807. */
6192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6194 && LARGE_OFF_T % 2147483647 == 1)
6195 ? 1 : -1];
6197 main ()
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_compile "$LINENO"; then :
6205 ac_cv_sys_file_offset_bits=64; break
6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 ac_cv_sys_file_offset_bits=unknown
6209 break
6210 done
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6213 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6214 case $ac_cv_sys_file_offset_bits in #(
6215 no | unknown) ;;
6217 cat >>confdefs.h <<_ACEOF
6218 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6219 _ACEOF
6221 esac
6222 rm -rf conftest*
6223 if test $ac_cv_sys_file_offset_bits = unknown; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6225 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6226 if ${ac_cv_sys_large_files+:} false; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 while :; do
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6231 /* end confdefs.h. */
6232 #include <sys/types.h>
6233 /* Check that off_t can represent 2**63 - 1 correctly.
6234 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6235 since some C++ compilers masquerading as C compilers
6236 incorrectly reject 9223372036854775807. */
6237 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6238 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6239 && LARGE_OFF_T % 2147483647 == 1)
6240 ? 1 : -1];
6242 main ()
6246 return 0;
6248 _ACEOF
6249 if ac_fn_c_try_compile "$LINENO"; then :
6250 ac_cv_sys_large_files=no; break
6252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6254 /* end confdefs.h. */
6255 #define _LARGE_FILES 1
6256 #include <sys/types.h>
6257 /* Check that off_t can represent 2**63 - 1 correctly.
6258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6259 since some C++ compilers masquerading as C compilers
6260 incorrectly reject 9223372036854775807. */
6261 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6263 && LARGE_OFF_T % 2147483647 == 1)
6264 ? 1 : -1];
6266 main ()
6270 return 0;
6272 _ACEOF
6273 if ac_fn_c_try_compile "$LINENO"; then :
6274 ac_cv_sys_large_files=1; break
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6277 ac_cv_sys_large_files=unknown
6278 break
6279 done
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6282 $as_echo "$ac_cv_sys_large_files" >&6; }
6283 case $ac_cv_sys_large_files in #(
6284 no | unknown) ;;
6286 cat >>confdefs.h <<_ACEOF
6287 #define _LARGE_FILES $ac_cv_sys_large_files
6288 _ACEOF
6290 esac
6291 rm -rf conftest*
6298 ac_ext=c
6299 ac_cpp='$CPP $CPPFLAGS'
6300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6304 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6305 # On Suns, sometimes $CPP names a directory.
6306 if test -n "$CPP" && test -d "$CPP"; then
6307 CPP=
6309 if test -z "$CPP"; then
6310 if ${ac_cv_prog_CPP+:} false; then :
6311 $as_echo_n "(cached) " >&6
6312 else
6313 # Double quotes because CPP needs to be expanded
6314 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6316 ac_preproc_ok=false
6317 for ac_c_preproc_warn_flag in '' yes
6319 # Use a header file that comes with gcc, so configuring glibc
6320 # with a fresh cross-compiler works.
6321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6322 # <limits.h> exists even on freestanding compilers.
6323 # On the NeXT, cc -E runs the code through the compiler's parser,
6324 # not just through cpp. "Syntax error" is here to catch this case.
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6327 #ifdef __STDC__
6328 # include <limits.h>
6329 #else
6330 # include <assert.h>
6331 #endif
6332 Syntax error
6333 _ACEOF
6334 if ac_fn_c_try_cpp "$LINENO"; then :
6336 else
6337 # Broken: fails on valid input.
6338 continue
6340 rm -f conftest.err conftest.i conftest.$ac_ext
6342 # OK, works on sane cases. Now check whether nonexistent headers
6343 # can be detected and how.
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6346 #include <ac_nonexistent.h>
6347 _ACEOF
6348 if ac_fn_c_try_cpp "$LINENO"; then :
6349 # Broken: success on invalid input.
6350 continue
6351 else
6352 # Passes both tests.
6353 ac_preproc_ok=:
6354 break
6356 rm -f conftest.err conftest.i conftest.$ac_ext
6358 done
6359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6360 rm -f conftest.i conftest.err conftest.$ac_ext
6361 if $ac_preproc_ok; then :
6362 break
6365 done
6366 ac_cv_prog_CPP=$CPP
6369 CPP=$ac_cv_prog_CPP
6370 else
6371 ac_cv_prog_CPP=$CPP
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6374 $as_echo "$CPP" >&6; }
6375 ac_preproc_ok=false
6376 for ac_c_preproc_warn_flag in '' yes
6378 # Use a header file that comes with gcc, so configuring glibc
6379 # with a fresh cross-compiler works.
6380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6381 # <limits.h> exists even on freestanding compilers.
6382 # On the NeXT, cc -E runs the code through the compiler's parser,
6383 # not just through cpp. "Syntax error" is here to catch this case.
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6386 #ifdef __STDC__
6387 # include <limits.h>
6388 #else
6389 # include <assert.h>
6390 #endif
6391 Syntax error
6392 _ACEOF
6393 if ac_fn_c_try_cpp "$LINENO"; then :
6395 else
6396 # Broken: fails on valid input.
6397 continue
6399 rm -f conftest.err conftest.i conftest.$ac_ext
6401 # OK, works on sane cases. Now check whether nonexistent headers
6402 # can be detected and how.
6403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6405 #include <ac_nonexistent.h>
6406 _ACEOF
6407 if ac_fn_c_try_cpp "$LINENO"; then :
6408 # Broken: success on invalid input.
6409 continue
6410 else
6411 # Passes both tests.
6412 ac_preproc_ok=:
6413 break
6415 rm -f conftest.err conftest.i conftest.$ac_ext
6417 done
6418 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6419 rm -f conftest.i conftest.err conftest.$ac_ext
6420 if $ac_preproc_ok; then :
6422 else
6423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6425 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6426 See \`config.log' for more details" "$LINENO" 5; }
6429 ac_ext=c
6430 ac_cpp='$CPP $CPPFLAGS'
6431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6437 $as_echo_n "checking for ANSI C header files... " >&6; }
6438 if ${ac_cv_header_stdc+:} false; then :
6439 $as_echo_n "(cached) " >&6
6440 else
6441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6442 /* end confdefs.h. */
6443 #include <stdlib.h>
6444 #include <stdarg.h>
6445 #include <string.h>
6446 #include <float.h>
6449 main ()
6453 return 0;
6455 _ACEOF
6456 if ac_fn_c_try_compile "$LINENO"; then :
6457 ac_cv_header_stdc=yes
6458 else
6459 ac_cv_header_stdc=no
6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6463 if test $ac_cv_header_stdc = yes; then
6464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <string.h>
6469 _ACEOF
6470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6471 $EGREP "memchr" >/dev/null 2>&1; then :
6473 else
6474 ac_cv_header_stdc=no
6476 rm -f conftest*
6480 if test $ac_cv_header_stdc = yes; then
6481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6483 /* end confdefs.h. */
6484 #include <stdlib.h>
6486 _ACEOF
6487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6488 $EGREP "free" >/dev/null 2>&1; then :
6490 else
6491 ac_cv_header_stdc=no
6493 rm -f conftest*
6497 if test $ac_cv_header_stdc = yes; then
6498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6499 if test "$cross_compiling" = yes; then :
6501 else
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6504 #include <ctype.h>
6505 #include <stdlib.h>
6506 #if ((' ' & 0x0FF) == 0x020)
6507 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6508 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6509 #else
6510 # define ISLOWER(c) \
6511 (('a' <= (c) && (c) <= 'i') \
6512 || ('j' <= (c) && (c) <= 'r') \
6513 || ('s' <= (c) && (c) <= 'z'))
6514 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6515 #endif
6517 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6519 main ()
6521 int i;
6522 for (i = 0; i < 256; i++)
6523 if (XOR (islower (i), ISLOWER (i))
6524 || toupper (i) != TOUPPER (i))
6525 return 2;
6526 return 0;
6528 _ACEOF
6529 if ac_fn_c_try_run "$LINENO"; then :
6531 else
6532 ac_cv_header_stdc=no
6534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6535 conftest.$ac_objext conftest.beam conftest.$ac_ext
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6541 $as_echo "$ac_cv_header_stdc" >&6; }
6542 if test $ac_cv_header_stdc = yes; then
6544 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6548 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6549 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6550 inttypes.h stdint.h unistd.h
6551 do :
6552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6556 cat >>confdefs.h <<_ACEOF
6557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 _ACEOF
6562 done
6565 for ac_header in \
6566 AL/al.h \
6567 ApplicationServices/ApplicationServices.h \
6568 AudioToolbox/AudioConverter.h \
6569 AudioUnit/AudioUnit.h \
6570 AudioUnit/AudioComponent.h \
6571 CL/cl.h \
6572 Carbon/Carbon.h \
6573 CoreAudio/CoreAudio.h \
6574 CoreServices/CoreServices.h \
6575 DiskArbitration/DiskArbitration.h \
6576 IOKit/IOKitLib.h \
6577 IOKit/hid/IOHIDLib.h \
6578 OpenAL/al.h \
6579 OpenCL/opencl.h \
6580 QuickTime/ImageCompression.h \
6581 Security/Security.h \
6582 alias.h \
6583 alsa/asoundlib.h \
6584 arpa/inet.h \
6585 arpa/nameser.h \
6586 asm/types.h \
6587 asm/user.h \
6588 curses.h \
6589 direct.h \
6590 dirent.h \
6591 dlfcn.h \
6592 elf.h \
6593 float.h \
6594 fnmatch.h \
6595 getopt.h \
6596 gettext-po.h \
6597 grp.h \
6598 gsm.h \
6599 gsm/gsm.h \
6600 ieeefp.h \
6601 inet/mib2.h \
6602 io.h \
6603 kstat.h \
6604 lber.h \
6605 ldap.h \
6606 libproc.h \
6607 link.h \
6608 linux/cdrom.h \
6609 linux/compiler.h \
6610 linux/filter.h \
6611 linux/hdreg.h \
6612 linux/input.h \
6613 linux/ioctl.h \
6614 linux/joystick.h \
6615 linux/major.h \
6616 linux/param.h \
6617 linux/serial.h \
6618 linux/types.h \
6619 linux/ucdrom.h \
6620 lwp.h \
6621 mach-o/nlist.h \
6622 mach-o/loader.h \
6623 mach/mach.h \
6624 mach/machine.h \
6625 machine/cpu.h \
6626 machine/limits.h \
6627 machine/sysarch.h \
6628 mntent.h \
6629 ncurses.h \
6630 netdb.h \
6631 netinet/in.h \
6632 netinet/in_systm.h \
6633 netinet/tcp.h \
6634 netinet/tcp_fsm.h \
6635 pcap/pcap.h \
6636 poll.h \
6637 port.h \
6638 process.h \
6639 pthread.h \
6640 pwd.h \
6641 sched.h \
6642 scsi/scsi.h \
6643 scsi/scsi_ioctl.h \
6644 scsi/sg.h \
6645 stdbool.h \
6646 stdint.h \
6647 stropts.h \
6648 sys/asoundlib.h \
6649 sys/attr.h \
6650 sys/cdio.h \
6651 sys/elf32.h \
6652 sys/epoll.h \
6653 sys/event.h \
6654 sys/exec_elf.h \
6655 sys/filio.h \
6656 sys/inotify.h \
6657 sys/ioctl.h \
6658 sys/ipc.h \
6659 sys/limits.h \
6660 sys/link.h \
6661 sys/mman.h \
6662 sys/modem.h \
6663 sys/msg.h \
6664 sys/mtio.h \
6665 sys/param.h \
6666 sys/poll.h \
6667 sys/prctl.h \
6668 sys/protosw.h \
6669 sys/ptrace.h \
6670 sys/queue.h \
6671 sys/resource.h \
6672 sys/scsiio.h \
6673 sys/shm.h \
6674 sys/signal.h \
6675 sys/socket.h \
6676 sys/socketvar.h \
6677 sys/sockio.h \
6678 sys/statvfs.h \
6679 sys/strtio.h \
6680 sys/syscall.h \
6681 sys/tihdr.h \
6682 sys/time.h \
6683 sys/timeout.h \
6684 sys/times.h \
6685 sys/uio.h \
6686 sys/user.h \
6687 sys/utsname.h \
6688 sys/vm86.h \
6689 sys/wait.h \
6690 syscall.h \
6691 termios.h \
6692 unistd.h \
6693 utime.h \
6694 valgrind/memcheck.h \
6695 valgrind/valgrind.h \
6696 zlib.h
6698 do :
6699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6702 cat >>confdefs.h <<_ACEOF
6703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6704 _ACEOF
6708 done
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6711 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6712 if ${ac_cv_header_stat_broken+:} false; then :
6713 $as_echo_n "(cached) " >&6
6714 else
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 #include <sys/types.h>
6718 #include <sys/stat.h>
6720 #if defined S_ISBLK && defined S_IFDIR
6721 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6722 #endif
6724 #if defined S_ISBLK && defined S_IFCHR
6725 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6726 #endif
6728 #if defined S_ISLNK && defined S_IFREG
6729 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6730 #endif
6732 #if defined S_ISSOCK && defined S_IFREG
6733 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6734 #endif
6736 _ACEOF
6737 if ac_fn_c_try_compile "$LINENO"; then :
6738 ac_cv_header_stat_broken=no
6739 else
6740 ac_cv_header_stat_broken=yes
6742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6745 $as_echo "$ac_cv_header_stat_broken" >&6; }
6746 if test $ac_cv_header_stat_broken = yes; then
6748 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6754 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6755 do :
6756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6757 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6758 #ifdef HAVE_SYS_PARAM_H
6759 # include <sys/param.h>
6760 #endif
6762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 _ACEOF
6769 done
6772 for ac_header in \
6773 netinet/ip.h \
6774 net/if.h \
6775 net/if_arp.h \
6776 net/if_dl.h \
6777 net/if_types.h \
6778 net/route.h \
6779 netinet/if_ether.h \
6780 netinet/if_inarp.h \
6781 netinet/in_pcb.h \
6782 netinet/ip_icmp.h \
6783 netinet/ip_var.h \
6784 netinet/udp.h \
6785 netipx/ipx.h \
6786 sys/un.h \
6788 do :
6789 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6790 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6791 #ifdef HAVE_SYS_SOCKET_H
6792 # include <sys/socket.h>
6793 #endif
6794 #ifdef HAVE_SYS_SOCKETVAR_H
6795 # include <sys/socketvar.h>
6796 #endif
6797 #ifdef HAVE_NET_ROUTE_H
6798 # include <net/route.h>
6799 #endif
6800 #ifdef HAVE_NETINET_IN_H
6801 # include <netinet/in.h>
6802 #endif
6803 #ifdef HAVE_NETINET_IN_SYSTM_H
6804 # include <netinet/in_systm.h>
6805 #endif
6806 #ifdef HAVE_NET_IF_H
6807 # include <net/if.h>
6808 #endif
6809 #ifdef HAVE_NETINET_IP_H
6810 # include <netinet/ip.h>
6811 #endif
6813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6814 cat >>confdefs.h <<_ACEOF
6815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6816 _ACEOF
6820 done
6823 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6824 do :
6825 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6826 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6827 #ifdef HAVE_ALIAS_H
6828 # include <alias.h>
6829 #endif
6830 #ifdef HAVE_SYS_SOCKET_H
6831 # include <sys/socket.h>
6832 #endif
6833 #ifdef HAVE_SYS_SOCKETVAR_H
6834 # include <sys/socketvar.h>
6835 #endif
6836 #ifdef HAVE_SYS_TIMEOUT_H
6837 # include <sys/timeout.h>
6838 #endif
6839 #ifdef HAVE_NETINET_IN_H
6840 # include <netinet/in.h>
6841 #endif
6842 #ifdef HAVE_NETINET_IN_SYSTM_H
6843 # include <netinet/in_systm.h>
6844 #endif
6845 #ifdef HAVE_NETINET_IP_H
6846 # include <netinet/ip.h>
6847 #endif
6848 #ifdef HAVE_NETINET_IP_VAR_H
6849 # include <netinet/ip_var.h>
6850 #endif
6851 #ifdef HAVE_NETINET_IP_ICMP_H
6852 # include <netinet/ip_icmp.h>
6853 #endif
6854 #ifdef HAVE_NETINET_UDP_H
6855 # include <netinet/udp.h>
6856 #endif
6857 #ifdef HAVE_NETINET_TCP_H
6858 # include <netinet/tcp.h>
6859 #endif
6860 #ifdef HAVE_NETINET_TCP_TIMER_H
6861 #include <netinet/tcp_timer.h>
6862 #endif
6864 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6865 cat >>confdefs.h <<_ACEOF
6866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6867 _ACEOF
6871 done
6874 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6875 do :
6876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6878 #ifdef HAVE_ASM_TYPES_H
6879 # include <asm/types.h>
6880 #endif
6881 #ifdef HAVE_SYS_SOCKET_H
6882 # include <sys/socket.h>
6883 #endif
6884 #ifdef HAVE_LINUX_TYPES_H
6885 # include <linux/types.h>
6886 #endif
6888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 _ACEOF
6895 done
6898 for ac_header in mach-o/dyld_images.h
6899 do :
6900 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6901 # include <stdbool.h>
6902 #endif
6903 #ifdef HAVE_STDINT_H
6904 # include <stdint.h>
6905 #endif
6907 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6908 cat >>confdefs.h <<_ACEOF
6909 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6910 _ACEOF
6914 done
6917 for ac_header in resolv.h
6918 do :
6919 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6920 #ifdef HAVE_SYS_SOCKET_H
6921 # include <sys/socket.h>
6922 #endif
6923 #ifdef HAVE_NETINET_IN_H
6924 # include <netinet/in.h>
6925 #endif
6926 #ifdef HAVE_ARPA_NAMESER_H
6927 # include <arpa/nameser.h>
6928 #endif
6930 if test "x$ac_cv_header_resolv_h" = xyes; then :
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_RESOLV_H 1
6933 _ACEOF
6937 done
6940 for ac_header in ifaddrs.h
6941 do :
6942 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6944 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6945 cat >>confdefs.h <<_ACEOF
6946 #define HAVE_IFADDRS_H 1
6947 _ACEOF
6951 done
6954 for ac_header in sys/ucontext.h
6955 do :
6956 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6958 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6959 cat >>confdefs.h <<_ACEOF
6960 #define HAVE_SYS_UCONTEXT_H 1
6961 _ACEOF
6965 done
6968 for ac_header in sys/thr.h
6969 do :
6970 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6971 #ifdef HAVE_SYS_UCONTEXT_H
6972 #include <sys/ucontext.h>
6973 #endif
6975 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define HAVE_SYS_THR_H 1
6978 _ACEOF
6982 done
6985 for ac_header in pthread_np.h
6986 do :
6987 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6988 #include <pthread.h>
6989 #endif
6991 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6992 cat >>confdefs.h <<_ACEOF
6993 #define HAVE_PTHREAD_NP_H 1
6994 _ACEOF
6998 done
7001 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7002 do :
7003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7005 #include <sys/time.h>
7006 #endif
7007 #include <sys/types.h>
7008 #ifdef HAVE_ASM_TYPES_H
7009 #include <asm/types.h>
7010 #endif
7012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7015 _ACEOF
7019 done
7022 for ac_header in libprocstat.h
7023 do :
7024 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7025 #include <sys/param.h>
7026 #endif
7027 #ifdef HAVE_SYS_QUEUE_H
7028 #include <sys/queue.h>
7029 #endif
7030 #ifdef HAVE_SYS_SOCKET_H
7031 #include <sys/socket.h>
7032 #endif
7034 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7035 cat >>confdefs.h <<_ACEOF
7036 #define HAVE_LIBPROCSTAT_H 1
7037 _ACEOF
7041 done
7045 dlldir="\${libdir}/wine"
7047 DLLPREFIX=""
7049 DLLFLAGS="-D_REENTRANT"
7051 LDRPATH_INSTALL=""
7053 LDRPATH_LOCAL=""
7055 LIBEXT="so"
7056 DLLEXT=".so"
7057 IMPLIBEXT="def"
7058 STATIC_IMPLIBEXT="def.a"
7059 # Extract the first word of "ldd", so it can be a program name with args.
7060 set dummy ldd; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_path_LDD+:} false; then :
7064 $as_echo_n "(cached) " >&6
7065 else
7066 case $LDD in
7067 [\\/]* | ?:[\\/]*)
7068 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 as_dummy="/sbin:/usr/sbin:$PATH"
7073 for as_dir in $as_dummy
7075 IFS=$as_save_IFS
7076 test -z "$as_dir" && as_dir=.
7077 for ac_exec_ext in '' $ac_executable_extensions; do
7078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081 break 2
7083 done
7084 done
7085 IFS=$as_save_IFS
7087 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7089 esac
7091 LDD=$ac_cv_path_LDD
7092 if test -n "$LDD"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7094 $as_echo "$LDD" >&6; }
7095 else
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7103 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_READELF+:} false; then :
7107 $as_echo_n "(cached) " >&6
7108 else
7109 if test -n "$READELF"; then
7110 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7115 IFS=$as_save_IFS
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 break 2
7123 done
7124 done
7125 IFS=$as_save_IFS
7129 READELF=$ac_cv_prog_READELF
7130 if test -n "$READELF"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7132 $as_echo "$READELF" >&6; }
7133 else
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7140 if test -z "$ac_cv_prog_READELF"; then
7141 ac_ct_READELF=$READELF
7142 # Extract the first word of "readelf", so it can be a program name with args.
7143 set dummy readelf; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7147 $as_echo_n "(cached) " >&6
7148 else
7149 if test -n "$ac_ct_READELF"; then
7150 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7151 else
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 for as_dir in $PATH
7155 IFS=$as_save_IFS
7156 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7159 ac_cv_prog_ac_ct_READELF="readelf"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 break 2
7163 done
7164 done
7165 IFS=$as_save_IFS
7169 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7170 if test -n "$ac_ct_READELF"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7172 $as_echo "$ac_ct_READELF" >&6; }
7173 else
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7178 if test "x$ac_ct_READELF" = x; then
7179 READELF="true"
7180 else
7181 case $cross_compiling:$ac_tool_warned in
7182 yes:)
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185 ac_tool_warned=yes ;;
7186 esac
7187 READELF=$ac_ct_READELF
7189 else
7190 READELF="$ac_cv_prog_READELF"
7193 wine_rules_file=conf$$rules.make
7194 rm -f $wine_rules_file
7195 ALL_POT_FILES=""
7196 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7197 ALL_TEST_RESOURCES=""
7200 wine_fn_append_file ()
7202 as_fn_append $1 " \\$as_nl $2"
7205 wine_fn_ignore_file ()
7207 case "$1" in
7208 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7209 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7210 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7211 esac
7214 wine_fn_append_rule ()
7216 $as_echo "$1" >>$wine_rules_file
7219 wine_fn_has_flag ()
7221 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7224 wine_fn_depend_rules ()
7226 wine_fn_append_rule \
7227 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7228 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7229 depend: $ac_dir/depend
7230 .PHONY: $ac_dir/depend
7231 $ac_dir/depend: \$(MAKEDEP) dummy
7232 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7235 wine_fn_pot_rules ()
7237 test "x$with_gettextpo" = xyes || return
7239 if wine_fn_has_flag mc
7240 then
7241 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7242 wine_fn_append_rule \
7243 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7244 @cd $ac_dir && \$(MAKE) msg.pot
7245 $ac_dir/msg.pot: tools/wmc include"
7247 if wine_fn_has_flag po
7248 then
7249 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7250 wine_fn_append_rule \
7251 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7252 @cd $ac_dir && \$(MAKE) rsrc.pot
7253 $ac_dir/rsrc.pot: tools/wrc include"
7257 wine_fn_all_rules ()
7259 wine_fn_depend_rules
7260 wine_fn_append_rule \
7261 "all: $ac_dir
7262 .PHONY: $ac_dir
7263 $ac_dir: $ac_dir/Makefile dummy
7264 @cd $ac_dir && \$(MAKE)"
7267 wine_fn_install_rules ()
7269 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7271 wine_fn_append_rule \
7272 ".PHONY: $ac_dir/install $ac_dir/uninstall
7273 $ac_dir/install:: $ac_dir
7274 @cd $ac_dir && \$(MAKE) install
7275 $ac_dir/uninstall:: $ac_dir/Makefile
7276 @cd $ac_dir && \$(MAKE) uninstall
7277 install:: $ac_dir/install
7278 __uninstall__: $ac_dir/uninstall"
7280 if wine_fn_has_flag install-lib
7281 then
7282 wine_fn_append_rule \
7283 ".PHONY: $ac_dir/install-lib
7284 $ac_dir/install-lib:: $ac_dir
7285 @cd $ac_dir && \$(MAKE) install-lib
7286 install-lib:: $ac_dir/install-lib"
7289 if wine_fn_has_flag install-dev
7290 then
7291 wine_fn_append_rule \
7292 ".PHONY: $ac_dir/install-dev
7293 $ac_dir/install-dev:: $ac_dir
7294 @cd $ac_dir && \$(MAKE) install-dev
7295 install-dev:: $ac_dir/install-dev"
7299 wine_fn_clean_rules ()
7301 ac_clean=$@
7302 ac_extraclean="$ac_dir/Makefile"
7303 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7304 case $ac_dir in
7305 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7306 esac
7308 if wine_fn_has_flag clean
7309 then
7310 wine_fn_append_rule \
7311 "__clean__: $ac_dir/clean
7312 .PHONY: $ac_dir/clean
7313 $ac_dir/clean: $ac_dir/Makefile
7314 @cd $ac_dir && \$(MAKE) clean
7315 \$(RM) $ac_extraclean"
7316 else
7317 wine_fn_append_rule \
7318 "__clean__: $ac_dir/clean
7319 .PHONY: $ac_dir/clean
7320 $ac_dir/clean: dummy
7321 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7325 wine_fn_disabled_rules ()
7327 ac_clean=$@
7328 ac_extraclean="$ac_dir/Makefile"
7329 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7331 wine_fn_append_rule \
7332 "__clean__: $ac_dir/clean
7333 .PHONY: $ac_dir/clean
7334 $ac_dir/clean: dummy
7335 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7338 wine_fn_config_makefile ()
7340 ac_dir=$1
7341 ac_enable=$2
7342 ac_flags=$3
7344 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7345 wine_fn_disabled_rules; return
7347 wine_fn_all_rules
7348 wine_fn_install_rules
7349 wine_fn_clean_rules
7352 wine_fn_config_lib ()
7354 ac_name=$1
7355 ac_flags=$2
7356 ac_dir=dlls/$ac_name
7357 ac_deps="include"
7359 if test "x$enable_tools" = xno; then :
7361 else
7362 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7364 wine_fn_all_rules
7365 wine_fn_clean_rules
7367 wine_fn_append_rule \
7368 ".PHONY: $ac_dir/install $ac_dir/uninstall
7369 $ac_dir/install:: $ac_dir
7370 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7371 $ac_dir/uninstall::
7372 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7373 install install-dev:: $ac_dir/install
7374 __uninstall__: $ac_dir/uninstall
7375 __builddeps__: $ac_dir
7376 $ac_dir: $ac_deps"
7379 wine_fn_config_dll ()
7381 ac_name=$1
7382 ac_dir=dlls/$ac_name
7383 ac_enable=$2
7384 ac_flags=$3
7385 ac_implib=${4:-$ac_name}
7386 ac_file=$ac_dir/lib$ac_implib
7387 ac_dll=$ac_name
7388 ac_deps="include"
7389 ac_implibflags=""
7391 if test "x$enable_tools" = xno; then :
7393 else
7394 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7396 case $ac_name in
7397 *16) ac_implibflags=" -m16" ;;
7398 *.*) ;;
7399 *) ac_dll=$ac_dll.dll ;;
7400 esac
7402 ac_clean=
7403 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7404 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7405 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7406 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7408 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7409 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7410 then
7411 wine_fn_depend_rules
7412 wine_fn_clean_rules $ac_clean
7413 else
7414 wine_fn_disabled_rules $ac_clean
7415 return
7417 else
7418 wine_fn_all_rules
7419 wine_fn_clean_rules $ac_clean
7420 wine_fn_append_rule \
7421 "$ac_dir: __builddeps__
7422 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7423 @cd $ac_dir && \$(MAKE) \$@
7424 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7425 install install-lib:: $ac_dir/install-lib
7426 __uninstall__: $ac_dir/uninstall"
7427 if test -n "$DLLEXT"
7428 then
7429 wine_fn_append_rule \
7430 "$ac_dir/install-lib:: $ac_dir
7431 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7432 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7433 $ac_dir/uninstall::
7434 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7435 else
7436 wine_fn_append_rule \
7437 "$ac_dir/install-lib:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7439 $ac_dir/uninstall::
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7443 wine_fn_pot_rules
7446 if wine_fn_has_flag staticimplib
7447 then
7448 wine_fn_append_rule \
7449 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7450 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7451 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7452 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7453 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7454 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7455 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7456 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7457 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7458 $ac_dir/uninstall::
7459 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7460 install install-dev:: $ac_dir/install-dev
7461 __uninstall__: $ac_dir/uninstall"
7463 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7464 then
7465 wine_fn_append_rule \
7466 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7467 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7468 $ac_dir/uninstall::
7469 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7472 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7473 then
7474 wine_fn_append_rule \
7475 "__builddeps__: $ac_file.cross.a
7476 $ac_file.cross.a: $ac_dir/Makefile dummy
7477 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7480 elif wine_fn_has_flag implib
7481 then
7482 wine_fn_append_rule \
7483 "__builddeps__: $ac_file.$IMPLIBEXT
7484 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7485 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7486 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7487 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7488 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7489 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7490 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7491 $ac_dir/uninstall::
7492 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7493 install install-dev:: $ac_dir/install-dev
7494 __uninstall__: $ac_dir/uninstall"
7495 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7496 then
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.cross.a
7499 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7500 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7503 if test "$ac_name" != "$ac_implib"
7504 then
7505 wine_fn_append_rule \
7506 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7507 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7508 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7509 clean::
7510 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7511 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7512 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7513 then
7514 wine_fn_append_rule \
7515 "__builddeps__: dlls/lib$ac_implib.cross.a
7516 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7517 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7518 clean::
7519 \$(RM) dlls/lib$ac_implib.cross.a"
7520 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7526 wine_fn_config_program ()
7528 ac_name=$1
7529 ac_dir=programs/$ac_name
7530 ac_enable=$2
7531 ac_flags=$3
7532 ac_program=$ac_name
7534 case $ac_name in
7535 *.*) ;;
7536 *) ac_program=$ac_program.exe ;;
7537 esac
7539 ac_clean=
7540 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7541 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7542 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7543 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7545 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7546 wine_fn_disabled_rules $ac_clean; return
7549 wine_fn_all_rules
7550 wine_fn_clean_rules $ac_clean
7551 wine_fn_append_rule "$ac_dir: __builddeps__"
7552 wine_fn_pot_rules
7554 wine_fn_has_flag install || return
7555 wine_fn_append_rule \
7556 ".PHONY: $ac_dir/install $ac_dir/uninstall
7557 install install-lib:: $ac_dir/install
7558 __uninstall__: $ac_dir/uninstall"
7560 if test -n "$DLLEXT"
7561 then
7562 wine_fn_append_rule \
7563 "$ac_dir/install:: $ac_dir
7564 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7565 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7566 $ac_dir/uninstall::
7567 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7569 if test -z "$with_wine64" && wine_fn_has_flag installbin
7570 then
7571 wine_fn_append_rule \
7572 "$ac_dir/install:: __tooldeps__
7573 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7574 $ac_dir/uninstall::
7575 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7577 else
7578 wine_fn_append_rule \
7579 "$ac_dir/install:: $ac_dir
7580 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7581 $ac_dir/uninstall::
7582 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7585 if test -z "$with_wine64" && wine_fn_has_flag manpage
7586 then
7587 wine_fn_append_rule \
7588 "$ac_dir/install:: $ac_dir
7589 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7590 $ac_dir/uninstall::
7591 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7595 wine_fn_config_test ()
7597 ac_dir=$1
7598 ac_name=$2
7599 ac_flags=$3
7601 ac_clean=
7602 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7603 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7605 if test "x$enable_tests" = xno; then :
7606 wine_fn_disabled_rules $ac_clean; return
7609 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7610 wine_fn_all_rules
7611 wine_fn_clean_rules $ac_clean
7613 wine_fn_append_rule \
7614 "$ac_dir: programs/winetest/Makefile __builddeps__
7615 programs/winetest: $ac_dir
7616 check test: $ac_dir/test
7617 .PHONY: $ac_dir/test
7618 $ac_dir/test: dummy
7619 @cd $ac_dir && \$(MAKE) test
7620 testclean::
7621 \$(RM) $ac_dir/*.ok"
7623 if test -n "$CROSSTARGET"
7624 then
7625 wine_fn_append_rule \
7626 "crosstest: $ac_dir/crosstest
7627 .PHONY: $ac_dir/crosstest
7628 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7629 @cd $ac_dir && \$(MAKE) crosstest"
7633 wine_fn_config_tool ()
7635 ac_dir=$1
7636 ac_flags=$2
7637 if test "x$enable_tools" = xno; then :
7638 return
7641 wine_fn_all_rules
7642 wine_fn_install_rules
7643 wine_fn_clean_rules
7645 wine_fn_append_rule "__tooldeps__: $ac_dir"
7646 wine_fn_append_rule "$ac_dir: libs/port"
7647 case $ac_dir in
7648 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7649 esac
7652 wine_fn_config_symlink ()
7654 ac_linkdir=
7655 if test "x$1" = "x-d"
7656 then
7657 ac_linkdir=$2
7658 shift; shift
7660 ac_links=$@
7661 wine_fn_append_rule \
7662 "$ac_links:
7663 @./config.status \$@
7664 distclean::
7665 \$(RM) $ac_links"
7666 for f in $ac_links; do wine_fn_ignore_file $f; done
7667 test -n "$ac_linkdir" || return
7668 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7671 wine_binary="wine"
7672 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7673 loader_programs="$wine_binary wine-installed"
7674 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7676 LOADER_RULES="
7677 all: wine.inf
7679 install install-lib:: wine-installed
7680 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7682 uninstall::
7683 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7687 case $host_os in
7688 cygwin*|mingw32*)
7689 if test -n "$ac_tool_prefix"; then
7690 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7691 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7693 $as_echo_n "checking for $ac_word... " >&6; }
7694 if ${ac_cv_prog_DLLTOOL+:} false; then :
7695 $as_echo_n "(cached) " >&6
7696 else
7697 if test -n "$DLLTOOL"; then
7698 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7699 else
7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701 for as_dir in $PATH
7703 IFS=$as_save_IFS
7704 test -z "$as_dir" && as_dir=.
7705 for ac_exec_ext in '' $ac_executable_extensions; do
7706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7707 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7709 break 2
7711 done
7712 done
7713 IFS=$as_save_IFS
7717 DLLTOOL=$ac_cv_prog_DLLTOOL
7718 if test -n "$DLLTOOL"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7720 $as_echo "$DLLTOOL" >&6; }
7721 else
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7723 $as_echo "no" >&6; }
7728 if test -z "$ac_cv_prog_DLLTOOL"; then
7729 ac_ct_DLLTOOL=$DLLTOOL
7730 # Extract the first word of "dlltool", so it can be a program name with args.
7731 set dummy dlltool; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7735 $as_echo_n "(cached) " >&6
7736 else
7737 if test -n "$ac_ct_DLLTOOL"; then
7738 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7739 else
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7741 for as_dir in $PATH
7743 IFS=$as_save_IFS
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7749 break 2
7751 done
7752 done
7753 IFS=$as_save_IFS
7757 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7758 if test -n "$ac_ct_DLLTOOL"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7760 $as_echo "$ac_ct_DLLTOOL" >&6; }
7761 else
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7766 if test "x$ac_ct_DLLTOOL" = x; then
7767 DLLTOOL="false"
7768 else
7769 case $cross_compiling:$ac_tool_warned in
7770 yes:)
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7773 ac_tool_warned=yes ;;
7774 esac
7775 DLLTOOL=$ac_ct_DLLTOOL
7777 else
7778 DLLTOOL="$ac_cv_prog_DLLTOOL"
7781 LIBEXT="dll"
7782 DLLEXT=""
7783 IMPLIBEXT="a"
7784 STATIC_IMPLIBEXT="a"
7785 enable_iphlpapi=${enable_iphlpapi:-no}
7786 enable_kernel32=${enable_kernel32:-no}
7787 enable_msvcrt=${enable_msvcrt:-no}
7788 enable_ntdll=${enable_ntdll:-no}
7789 enable_ws2_32=${enable_ws2_32:-no}
7790 enable_loader=${enable_loader:-no}
7791 enable_server=${enable_server:-no}
7792 with_x=${with_x:-no}
7793 with_pthread=${with_pthread:-no}
7795 crtlibs=""
7796 case $host_os in
7797 mingw32*)
7798 crtlibs="-lmsvcrt"
7799 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7801 esac
7803 libwine_targets="libwine.dll libwine.a"
7804 LIBWINE_RULES="
7805 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7807 all: libwine.dll libwine.a
7809 libwine.a: \$(srcdir)/wine.def
7810 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7812 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7813 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7815 install install-lib:: libwine.dll
7816 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7818 install install-dev:: libwine.a
7819 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7821 uninstall::
7822 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7827 darwin*|macosx*)
7828 LIBEXT="dylib"
7829 DLLFLAGS="$DLLFLAGS -fPIC"
7830 LIBWINE_LDFLAGS="-multiply_defined suppress"
7831 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7832 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7833 COREFOUNDATION_LIBS="-framework CoreFoundation"
7835 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7837 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7839 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7841 CORESERVICES_LIBS="-framework CoreServices"
7843 APPKIT_LIBS="-framework AppKit"
7845 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7847 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7848 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 ac_wine_try_cflags_saved=$CFLAGS
7852 CFLAGS="$CFLAGS -Wl,-no_pie"
7853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7855 int main(int argc, char **argv) { return 0; }
7856 _ACEOF
7857 if ac_fn_c_try_link "$LINENO"; then :
7858 ac_cv_cflags__Wl__no_pie=yes
7859 else
7860 ac_cv_cflags__Wl__no_pie=no
7862 rm -f core conftest.err conftest.$ac_objext \
7863 conftest$ac_exeext conftest.$ac_ext
7864 CFLAGS=$ac_wine_try_cflags_saved
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7867 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7868 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7869 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7871 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7872 then
7873 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7876 if test "$ac_cv_header_Security_Security_h" = "yes"
7877 then
7878 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7880 ac_save_LIBS="$LIBS"
7881 LIBS="$LIBS $SECURITY_LIBS"
7882 for ac_func in SSLCopyPeerCertificates
7883 do :
7884 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7885 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7886 cat >>confdefs.h <<_ACEOF
7887 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7888 _ACEOF
7891 done
7893 LIBS="$ac_save_LIBS"
7894 with_gnutls=${with_gnutls:-no}
7896 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7897 then
7898 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7899 then
7900 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7902 else
7903 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7906 ac_save_LIBS="$LIBS"
7907 LIBS="$LIBS $COREAUDIO_LIBS"
7908 for ac_func in AUGraphAddNode
7909 do :
7910 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7911 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7912 cat >>confdefs.h <<_ACEOF
7913 #define HAVE_AUGRAPHADDNODE 1
7914 _ACEOF
7917 done
7919 LIBS="$ac_save_LIBS"
7921 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7922 then
7923 OPENAL_LIBS="-framework OpenAL"
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_OPENAL 1
7928 _ACEOF
7930 ac_cv_lib_openal=yes
7932 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7933 then
7934 OPENCL_LIBS="-framework OpenCL"
7936 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7938 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7939 then
7940 ac_save_LIBS="$LIBS"
7941 LIBS="$LIBS $IOKIT_LIBS"
7942 for ac_func in IOHIDManagerCreate
7943 do :
7944 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7945 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7946 cat >>confdefs.h <<_ACEOF
7947 #define HAVE_IOHIDMANAGERCREATE 1
7948 _ACEOF
7951 done
7953 LIBS="$ac_save_LIBS"
7955 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7956 then
7957 ac_save_LIBS="$LIBS"
7958 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7960 $as_echo_n "checking for the QuickTime framework... " >&6; }
7961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 /* end confdefs.h. */
7963 #include <QuickTime/ImageCompression.h>
7965 main ()
7967 CodecManagerVersion(NULL);
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_link "$LINENO"; then :
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7974 $as_echo "yes" >&6; }
7975 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7977 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7978 else
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7981 ac_cv_header_QuickTime_ImageCompression_h=no
7983 rm -f core conftest.err conftest.$ac_objext \
7984 conftest$ac_exeext conftest.$ac_ext
7985 LIBS="$ac_save_LIBS"
7987 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7988 then
7989 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7991 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7992 then
7993 CARBON_LIBS="-framework Carbon"
7997 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7998 then
7999 ac_save_LIBS="$LIBS"
8000 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8001 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8002 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8003 enable_winemac_drv=${enable_winemac_drv:-yes}
8006 LIBS="$ac_save_LIBS"
8009 if test "x$enable_win16" = "xyes"
8010 then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8012 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8013 if test "$cross_compiling" = yes; then :
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8015 $as_echo "cross-compiling, assuming yes" >&6; }
8016 else
8017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8018 /* end confdefs.h. */
8019 asm(".text\n"
8020 "bad:\tnop;nop\n"
8021 "good:\tnop;nop\n\t"
8022 ".globl _testfunc\n"
8023 "_testfunc:\tcallw good");
8024 extern void testfunc();
8026 main ()
8028 unsigned short *p = (unsigned short *)testfunc;
8029 return p[0] != 0xe866 || p[1] != 0xfffa
8031 return 0;
8033 _ACEOF
8034 if ac_fn_c_try_run "$LINENO"; then :
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8036 $as_echo "yes" >&6; }
8037 else
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8040 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
8042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8043 conftest.$ac_objext conftest.beam conftest.$ac_ext
8048 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8049 LIBWINE_RULES="
8050 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8052 all: libwine.dylib
8054 libwine.$libwine_version.dylib: \$(OBJS)
8055 \$(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 \$@
8057 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8058 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8060 libwine.dylib: libwine.$libwine_soversion.dylib
8061 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8063 install install-lib:: libwine.$libwine_version.dylib
8064 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8065 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8067 install install-dev::
8068 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8070 uninstall::
8071 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8075 as_fn_append LOADER_RULES "
8076 $wine_binary: main.o wine_info.plist
8077 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8079 wine-installed: main.o wine_info.plist
8080 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8084 linux-android*)
8085 DLLFLAGS="$DLLFLAGS -fPIC"
8086 DLLPREFIX="lib"
8087 LDEXECFLAGS=""
8088 dlldir="\${libdir}"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8090 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8091 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8092 $as_echo_n "(cached) " >&6
8093 else
8094 ac_wine_try_cflags_saved=$CFLAGS
8095 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8099 _ACEOF
8100 if ac_fn_c_try_link "$LINENO"; then :
8101 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8102 else
8103 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8105 rm -f core conftest.err conftest.$ac_objext \
8106 conftest$ac_exeext conftest.$ac_ext
8107 CFLAGS=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8110 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8111 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8112 LDEXECFLAGS="-Wl,--export-dynamic"
8114 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8116 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8117 if eval \${$as_ac_var+:} false; then :
8118 $as_echo_n "(cached) " >&6
8119 else
8120 ac_wine_try_cflags_saved=$CFLAGS
8121 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8124 int main(int argc, char **argv) { return 0; }
8125 _ACEOF
8126 if ac_fn_c_try_link "$LINENO"; then :
8127 eval "$as_ac_var=yes"
8128 else
8129 eval "$as_ac_var=no"
8131 rm -f core conftest.err conftest.$ac_objext \
8132 conftest$ac_exeext conftest.$ac_ext
8133 CFLAGS=$ac_wine_try_cflags_saved
8135 eval ac_res=\$$as_ac_var
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8137 $as_echo "$ac_res" >&6; }
8138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8139 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8140 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8141 else
8142 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8144 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8145 if eval \${$as_ac_var+:} false; then :
8146 $as_echo_n "(cached) " >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 eval "$as_ac_var=yes"
8156 else
8157 eval "$as_ac_var=no"
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 CFLAGS=$ac_wine_try_cflags_saved
8163 eval ac_res=\$$as_ac_var
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8165 $as_echo "$ac_res" >&6; }
8166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8167 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8168 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8173 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8174 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 ac_wine_try_cflags_saved=$CFLAGS
8178 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 int main(int argc, char **argv) { return 0; }
8182 _ACEOF
8183 if ac_fn_c_try_link "$LINENO"; then :
8184 ac_cv_cflags__Wl___enable_new_dtags=yes
8185 else
8186 ac_cv_cflags__Wl___enable_new_dtags=no
8188 rm -f core conftest.err conftest.$ac_objext \
8189 conftest$ac_exeext conftest.$ac_ext
8190 CFLAGS=$ac_wine_try_cflags_saved
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8193 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8194 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8195 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8198 case $host_cpu in
8199 *i[3456789]86* | x86_64)
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8201 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8202 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 ac_wine_try_cflags_saved=$CFLAGS
8206 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 int main(int argc, char **argv) { return 0; }
8210 _ACEOF
8211 if ac_fn_c_try_link "$LINENO"; then :
8212 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8213 else
8214 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8216 rm -f core conftest.err conftest.$ac_objext \
8217 conftest$ac_exeext conftest.$ac_ext
8218 CFLAGS=$ac_wine_try_cflags_saved
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8221 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8222 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8223 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8226 esac
8228 libwine_targets="libwine.so"
8229 LIBWINE_RULES="
8230 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8232 all: libwine.so
8234 libwine.so: \$(OBJS)
8235 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8237 install install-lib:: libwine.so
8238 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8240 uninstall::
8241 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8245 as_fn_append LOADER_RULES "
8246 $wine_binary: main.o
8247 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8249 wine-installed: main.o
8250 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8255 DLLFLAGS="$DLLFLAGS -fPIC"
8256 LDEXECFLAGS=""
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8258 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8259 if ${ac_cv_c_dll_gnuelf+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 void myfunc() {}
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 ac_cv_c_dll_gnuelf="yes"
8270 else
8271 ac_cv_c_dll_gnuelf="no"
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8278 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8279 if test "$ac_cv_c_dll_gnuelf" = "yes"
8280 then
8281 LDSHARED="\$(CC) -shared"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8283 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8284 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 ac_wine_try_cflags_saved=$CFLAGS
8288 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8291 int main(int argc, char **argv) { return 0; }
8292 _ACEOF
8293 if ac_fn_c_try_link "$LINENO"; then :
8294 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8295 else
8296 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8298 rm -f core conftest.err conftest.$ac_objext \
8299 conftest$ac_exeext conftest.$ac_ext
8300 CFLAGS=$ac_wine_try_cflags_saved
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8303 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8304 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8305 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8306 else
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8308 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8309 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8317 _ACEOF
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8320 else
8321 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8325 CFLAGS=$ac_wine_try_cflags_saved
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8328 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8329 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8330 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8334 echo '{ global: *; };' >conftest.map
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8336 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8337 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8348 else
8349 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8356 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8357 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8358 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8360 rm -f conftest.map
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8363 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8364 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 ac_wine_try_cflags_saved=$CFLAGS
8368 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 int main(int argc, char **argv) { return 0; }
8372 _ACEOF
8373 if ac_fn_c_try_link "$LINENO"; then :
8374 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8375 else
8376 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8378 rm -f core conftest.err conftest.$ac_objext \
8379 conftest$ac_exeext conftest.$ac_ext
8380 CFLAGS=$ac_wine_try_cflags_saved
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8383 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8384 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8385 LDEXECFLAGS="-Wl,--export-dynamic"
8388 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8390 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8391 if eval \${$as_ac_var+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 eval "$as_ac_var=yes"
8402 else
8403 eval "$as_ac_var=no"
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 eval ac_res=\$$as_ac_var
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8411 $as_echo "$ac_res" >&6; }
8412 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8413 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8414 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8415 else
8416 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8419 if eval \${$as_ac_var+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 eval "$as_ac_var=yes"
8430 else
8431 eval "$as_ac_var=no"
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 eval ac_res=\$$as_ac_var
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8439 $as_echo "$ac_res" >&6; }
8440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8441 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8442 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8447 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8448 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 ac_cv_cflags__Wl___enable_new_dtags=yes
8459 else
8460 ac_cv_cflags__Wl___enable_new_dtags=no
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 CFLAGS=$ac_wine_try_cflags_saved
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8467 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8468 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8469 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8472 case $host_cpu in
8473 *i[3456789]86* | x86_64)
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8475 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8476 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8487 else
8488 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8495 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8497 case $host_os in
8498 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8499 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8500 esac
8503 # Extract the first word of "prelink", so it can be a program name with args.
8504 set dummy prelink; ac_word=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if ${ac_cv_path_PRELINK+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 case $PRELINK in
8511 [\\/]* | ?:[\\/]*)
8512 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 for as_dir in /sbin /usr/sbin $PATH
8518 IFS=$as_save_IFS
8519 test -z "$as_dir" && as_dir=.
8520 for ac_exec_ext in '' $ac_executable_extensions; do
8521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8522 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 break 2
8526 done
8527 done
8528 IFS=$as_save_IFS
8530 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8532 esac
8534 PRELINK=$ac_cv_path_PRELINK
8535 if test -n "$PRELINK"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8537 $as_echo "$PRELINK" >&6; }
8538 else
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8544 if test "x$PRELINK" = xfalse
8545 then
8546 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8549 esac
8551 else
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8553 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8554 if ${ac_cv_c_dll_unixware+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 void myfunc() {}
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 ac_cv_c_dll_unixware="yes"
8565 else
8566 ac_cv_c_dll_unixware="no"
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8573 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8574 if test "$ac_cv_c_dll_unixware" = "yes"
8575 then
8576 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8579 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8580 LIBWINE_RULES="
8581 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8583 all: libwine.so
8585 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8586 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8588 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8589 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8591 libwine.so: libwine.so.$libwine_soversion
8592 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8594 install install-lib:: libwine.so.$libwine_version
8595 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8596 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8598 install install-dev::
8599 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8601 uninstall::
8602 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8606 as_fn_append LOADER_RULES "
8607 $wine_binary: main.o
8608 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8610 wine-installed: main.o
8611 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8614 esac
8616 as_fn_append LIBWINE_RULES "
8617 EXTRA_TARGETS = $libwine_targets
8620 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8621 enable_winemac_drv=${enable_winemac_drv:-no}
8623 CROSSTARGET=""
8625 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8626 then
8627 case "$host_cpu" in
8628 i[3456789]86*)
8629 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
8630 mingw32-gcc" ;;
8631 x86_64)
8632 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 " ;;
8634 ac_prefix_list="" ;;
8635 esac
8636 for ac_prog in $ac_prefix_list
8638 # Extract the first word of "$ac_prog", so it can be a program name with args.
8639 set dummy $ac_prog; ac_word=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 $as_echo_n "checking for $ac_word... " >&6; }
8642 if ${ac_cv_prog_CROSSCC+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 if test -n "$CROSSCC"; then
8646 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8647 else
8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 for as_dir in $PATH
8651 IFS=$as_save_IFS
8652 test -z "$as_dir" && as_dir=.
8653 for ac_exec_ext in '' $ac_executable_extensions; do
8654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8655 ac_cv_prog_CROSSCC="$ac_prog"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8657 break 2
8659 done
8660 done
8661 IFS=$as_save_IFS
8665 CROSSCC=$ac_cv_prog_CROSSCC
8666 if test -n "$CROSSCC"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8668 $as_echo "$CROSSCC" >&6; }
8669 else
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8671 $as_echo "no" >&6; }
8675 test -n "$CROSSCC" && break
8676 done
8677 test -n "$CROSSCC" || CROSSCC="false"
8679 if test "$CROSSCC" != "false"
8680 then
8681 ac_save_CC="$CC"
8682 CC="$CROSSCC"
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8684 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8686 /* end confdefs.h. */
8689 main ()
8693 return 0;
8695 _ACEOF
8696 if ac_fn_c_try_compile "$LINENO"; then :
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8698 $as_echo "yes" >&6; }
8699 set x $CROSSCC
8700 shift
8701 while test $# -ge 1
8703 case "$1" in
8704 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8705 esac
8706 shift
8707 done
8708 else
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8713 CC="$ac_save_CC"
8718 if test "$ac_cv_header_pthread_h" = "yes"
8719 then
8720 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8721 if test "x$ac_cv_func_pthread_create" = xyes; then :
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8725 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8726 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_check_lib_save_LIBS=$LIBS
8730 LIBS="-lpthread $LIBS"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8734 /* Override any GCC internal prototype to avoid an error.
8735 Use char because int might match the return type of a GCC
8736 builtin and then its argument prototype would still apply. */
8737 #ifdef __cplusplus
8738 extern "C"
8739 #endif
8740 char pthread_create ();
8742 main ()
8744 return pthread_create ();
8746 return 0;
8748 _ACEOF
8749 if ac_fn_c_try_link "$LINENO"; then :
8750 ac_cv_lib_pthread_pthread_create=yes
8751 else
8752 ac_cv_lib_pthread_pthread_create=no
8754 rm -f core conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 LIBS=$ac_check_lib_save_LIBS
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8759 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8760 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8761 PTHREAD_LIBS="-lpthread"
8768 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8769 case "x$with_pthread" in
8770 xno) ;;
8771 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8772 Wine cannot support threads without libpthread.
8773 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8774 esac
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8779 $as_echo_n "checking for X... " >&6; }
8782 # Check whether --with-x was given.
8783 if test "${with_x+set}" = set; then :
8784 withval=$with_x;
8787 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8788 if test "x$with_x" = xno; then
8789 # The user explicitly disabled X.
8790 have_x=disabled
8791 else
8792 case $x_includes,$x_libraries in #(
8793 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8794 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 # One or both of the vars are not set, and there is no cached value.
8798 ac_x_includes=no ac_x_libraries=no
8799 rm -f -r conftest.dir
8800 if mkdir conftest.dir; then
8801 cd conftest.dir
8802 cat >Imakefile <<'_ACEOF'
8803 incroot:
8804 @echo incroot='${INCROOT}'
8805 usrlibdir:
8806 @echo usrlibdir='${USRLIBDIR}'
8807 libdir:
8808 @echo libdir='${LIBDIR}'
8809 _ACEOF
8810 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8811 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8812 for ac_var in incroot usrlibdir libdir; do
8813 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8814 done
8815 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8816 for ac_extension in a so sl dylib la dll; do
8817 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8818 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8819 ac_im_usrlibdir=$ac_im_libdir; break
8821 done
8822 # Screen out bogus values from the imake configuration. They are
8823 # bogus both because they are the default anyway, and because
8824 # using them would break gcc on systems where it needs fixed includes.
8825 case $ac_im_incroot in
8826 /usr/include) ac_x_includes= ;;
8827 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8828 esac
8829 case $ac_im_usrlibdir in
8830 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8831 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8832 esac
8834 cd ..
8835 rm -f -r conftest.dir
8838 # Standard set of common directories for X headers.
8839 # Check X11 before X11Rn because it is often a symlink to the current release.
8840 ac_x_header_dirs='
8841 /usr/X11/include
8842 /usr/X11R7/include
8843 /usr/X11R6/include
8844 /usr/X11R5/include
8845 /usr/X11R4/include
8847 /usr/include/X11
8848 /usr/include/X11R7
8849 /usr/include/X11R6
8850 /usr/include/X11R5
8851 /usr/include/X11R4
8853 /usr/local/X11/include
8854 /usr/local/X11R7/include
8855 /usr/local/X11R6/include
8856 /usr/local/X11R5/include
8857 /usr/local/X11R4/include
8859 /usr/local/include/X11
8860 /usr/local/include/X11R7
8861 /usr/local/include/X11R6
8862 /usr/local/include/X11R5
8863 /usr/local/include/X11R4
8865 /usr/X386/include
8866 /usr/x386/include
8867 /usr/XFree86/include/X11
8869 /usr/include
8870 /usr/local/include
8871 /usr/unsupported/include
8872 /usr/athena/include
8873 /usr/local/x11r5/include
8874 /usr/lpp/Xamples/include
8876 /usr/openwin/include
8877 /usr/openwin/share/include'
8879 if test "$ac_x_includes" = no; then
8880 # Guess where to find include files, by looking for Xlib.h.
8881 # First, try using that file with no special directory specified.
8882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8883 /* end confdefs.h. */
8884 #include <X11/Xlib.h>
8885 _ACEOF
8886 if ac_fn_c_try_cpp "$LINENO"; then :
8887 # We can compile using X headers with no special include directory.
8888 ac_x_includes=
8889 else
8890 for ac_dir in $ac_x_header_dirs; do
8891 if test -r "$ac_dir/X11/Xlib.h"; then
8892 ac_x_includes=$ac_dir
8893 break
8895 done
8897 rm -f conftest.err conftest.i conftest.$ac_ext
8898 fi # $ac_x_includes = no
8900 if test "$ac_x_libraries" = no; then
8901 # Check for the libraries.
8902 # See if we find them without any special options.
8903 # Don't add to $LIBS permanently.
8904 ac_save_LIBS=$LIBS
8905 LIBS="-lX11 $LIBS"
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8908 #include <X11/Xlib.h>
8910 main ()
8912 XrmInitialize ()
8914 return 0;
8916 _ACEOF
8917 if ac_fn_c_try_link "$LINENO"; then :
8918 LIBS=$ac_save_LIBS
8919 # We can link X programs with no special library path.
8920 ac_x_libraries=
8921 else
8922 LIBS=$ac_save_LIBS
8923 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8925 # Don't even attempt the hair of trying to link an X program!
8926 for ac_extension in a so sl dylib la dll; do
8927 if test -r "$ac_dir/libX11.$ac_extension"; then
8928 ac_x_libraries=$ac_dir
8929 break 2
8931 done
8932 done
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 fi # $ac_x_libraries = no
8938 case $ac_x_includes,$ac_x_libraries in #(
8939 no,* | *,no | *\'*)
8940 # Didn't find X, or a directory has "'" in its name.
8941 ac_cv_have_x="have_x=no";; #(
8943 # Record where we found X for the cache.
8944 ac_cv_have_x="have_x=yes\
8945 ac_x_includes='$ac_x_includes'\
8946 ac_x_libraries='$ac_x_libraries'"
8947 esac
8949 ;; #(
8950 *) have_x=yes;;
8951 esac
8952 eval "$ac_cv_have_x"
8953 fi # $with_x != no
8955 if test "$have_x" != yes; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8957 $as_echo "$have_x" >&6; }
8958 no_x=yes
8959 else
8960 # If each of the values was on the command line, it overrides each guess.
8961 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8962 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8963 # Update the cache value to reflect the command line values.
8964 ac_cv_have_x="have_x=yes\
8965 ac_x_includes='$x_includes'\
8966 ac_x_libraries='$x_libraries'"
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8968 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8971 if test "$no_x" = yes; then
8972 # Not all programs may use this symbol, but it does not hurt to define it.
8974 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8976 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8977 else
8978 if test -n "$x_includes"; then
8979 X_CFLAGS="$X_CFLAGS -I$x_includes"
8982 # It would also be nice to do this for all -L options, not just this one.
8983 if test -n "$x_libraries"; then
8984 X_LIBS="$X_LIBS -L$x_libraries"
8985 # For Solaris; some versions of Sun CC require a space after -R and
8986 # others require no space. Words are not sufficient . . . .
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8988 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8989 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8990 ac_xsave_c_werror_flag=$ac_c_werror_flag
8991 ac_c_werror_flag=yes
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8996 main ()
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9006 X_LIBS="$X_LIBS -R$x_libraries"
9007 else
9008 LIBS="$ac_xsave_LIBS -R $x_libraries"
9009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9013 main ()
9017 return 0;
9019 _ACEOF
9020 if ac_fn_c_try_link "$LINENO"; then :
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9022 $as_echo "yes" >&6; }
9023 X_LIBS="$X_LIBS -R $x_libraries"
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9026 $as_echo "neither works" >&6; }
9028 rm -f core conftest.err conftest.$ac_objext \
9029 conftest$ac_exeext conftest.$ac_ext
9031 rm -f core conftest.err conftest.$ac_objext \
9032 conftest$ac_exeext conftest.$ac_ext
9033 ac_c_werror_flag=$ac_xsave_c_werror_flag
9034 LIBS=$ac_xsave_LIBS
9037 # Check for system-dependent libraries X programs must link with.
9038 # Do this before checking for the system-independent R6 libraries
9039 # (-lICE), since we may need -lsocket or whatever for X linking.
9041 if test "$ISC" = yes; then
9042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9043 else
9044 # Martyn Johnson says this is needed for Ultrix, if the X
9045 # libraries were built with DECnet support. And Karl Berry says
9046 # the Alpha needs dnet_stub (dnet does not exist).
9047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9054 #ifdef __cplusplus
9055 extern "C"
9056 #endif
9057 char XOpenDisplay ();
9059 main ()
9061 return XOpenDisplay ();
9063 return 0;
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9068 else
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9070 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9071 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9072 $as_echo_n "(cached) " >&6
9073 else
9074 ac_check_lib_save_LIBS=$LIBS
9075 LIBS="-ldnet $LIBS"
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9082 #ifdef __cplusplus
9083 extern "C"
9084 #endif
9085 char dnet_ntoa ();
9087 main ()
9089 return dnet_ntoa ();
9091 return 0;
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095 ac_cv_lib_dnet_dnet_ntoa=yes
9096 else
9097 ac_cv_lib_dnet_dnet_ntoa=no
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 LIBS=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9104 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9105 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9106 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9109 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9111 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9112 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 ac_check_lib_save_LIBS=$LIBS
9116 LIBS="-ldnet_stub $LIBS"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9120 /* Override any GCC internal prototype to avoid an error.
9121 Use char because int might match the return type of a GCC
9122 builtin and then its argument prototype would still apply. */
9123 #ifdef __cplusplus
9124 extern "C"
9125 #endif
9126 char dnet_ntoa ();
9128 main ()
9130 return dnet_ntoa ();
9132 return 0;
9134 _ACEOF
9135 if ac_fn_c_try_link "$LINENO"; then :
9136 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9137 else
9138 ac_cv_lib_dnet_stub_dnet_ntoa=no
9140 rm -f core conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_lib_save_LIBS
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9145 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9146 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9147 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 LIBS="$ac_xsave_LIBS"
9156 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9157 # to get the SysV transport functions.
9158 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9159 # needs -lnsl.
9160 # The nsl library prevents programs from opening the X display
9161 # on Irix 5.2, according to T.E. Dickey.
9162 # The functions gethostbyname, getservbyname, and inet_addr are
9163 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9164 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9165 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9169 if test $ac_cv_func_gethostbyname = no; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9171 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9172 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_lib_save_LIBS=$LIBS
9176 LIBS="-lnsl $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char gethostbyname ();
9188 main ()
9190 return gethostbyname ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 ac_cv_lib_nsl_gethostbyname=yes
9197 else
9198 ac_cv_lib_nsl_gethostbyname=no
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9205 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9206 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9210 if test $ac_cv_lib_nsl_gethostbyname = no; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9212 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9213 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9214 $as_echo_n "(cached) " >&6
9215 else
9216 ac_check_lib_save_LIBS=$LIBS
9217 LIBS="-lbsd $LIBS"
9218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9221 /* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
9224 #ifdef __cplusplus
9225 extern "C"
9226 #endif
9227 char gethostbyname ();
9229 main ()
9231 return gethostbyname ();
9233 return 0;
9235 _ACEOF
9236 if ac_fn_c_try_link "$LINENO"; then :
9237 ac_cv_lib_bsd_gethostbyname=yes
9238 else
9239 ac_cv_lib_bsd_gethostbyname=no
9241 rm -f core conftest.err conftest.$ac_objext \
9242 conftest$ac_exeext conftest.$ac_ext
9243 LIBS=$ac_check_lib_save_LIBS
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9246 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9247 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9248 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9254 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9255 # socket/setsockopt and other routines are undefined under SCO ODT
9256 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9257 # on later versions), says Simon Leinen: it contains gethostby*
9258 # variants that don't use the name server (or something). -lsocket
9259 # must be given before -lnsl if both are needed. We assume that
9260 # if connect needs -lnsl, so does gethostbyname.
9261 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9262 if test "x$ac_cv_func_connect" = xyes; then :
9266 if test $ac_cv_func_connect = no; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9268 $as_echo_n "checking for connect in -lsocket... " >&6; }
9269 if ${ac_cv_lib_socket_connect+:} false; then :
9270 $as_echo_n "(cached) " >&6
9271 else
9272 ac_check_lib_save_LIBS=$LIBS
9273 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9280 #ifdef __cplusplus
9281 extern "C"
9282 #endif
9283 char connect ();
9285 main ()
9287 return connect ();
9289 return 0;
9291 _ACEOF
9292 if ac_fn_c_try_link "$LINENO"; then :
9293 ac_cv_lib_socket_connect=yes
9294 else
9295 ac_cv_lib_socket_connect=no
9297 rm -f core conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 LIBS=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9302 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9303 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9304 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9309 # Guillermo Gomez says -lposix is necessary on A/UX.
9310 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9311 if test "x$ac_cv_func_remove" = xyes; then :
9315 if test $ac_cv_func_remove = no; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9317 $as_echo_n "checking for remove in -lposix... " >&6; }
9318 if ${ac_cv_lib_posix_remove+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_lib_save_LIBS=$LIBS
9322 LIBS="-lposix $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char remove ();
9334 main ()
9336 return remove ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_lib_posix_remove=yes
9343 else
9344 ac_cv_lib_posix_remove=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9351 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9352 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9358 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9359 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9360 if test "x$ac_cv_func_shmat" = xyes; then :
9364 if test $ac_cv_func_shmat = no; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9366 $as_echo_n "checking for shmat in -lipc... " >&6; }
9367 if ${ac_cv_lib_ipc_shmat+:} false; then :
9368 $as_echo_n "(cached) " >&6
9369 else
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lipc $LIBS"
9372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9378 #ifdef __cplusplus
9379 extern "C"
9380 #endif
9381 char shmat ();
9383 main ()
9385 return shmat ();
9387 return 0;
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_lib_ipc_shmat=yes
9392 else
9393 ac_cv_lib_ipc_shmat=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9400 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9401 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9402 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9408 # Check for libraries that X11R6 Xt/Xaw programs need.
9409 ac_save_LDFLAGS=$LDFLAGS
9410 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9411 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9412 # check for ICE first), but we must link in the order -lSM -lICE or
9413 # we get undefined symbols. So assume we have SM if we have ICE.
9414 # These have to be linked with before -lX11, unlike the other
9415 # libraries we check for below, so use a different variable.
9416 # John Interrante, Karl Berry
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9418 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9419 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_check_lib_save_LIBS=$LIBS
9423 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char IceConnectionNumber ();
9435 main ()
9437 return IceConnectionNumber ();
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_lib_ICE_IceConnectionNumber=yes
9444 else
9445 ac_cv_lib_ICE_IceConnectionNumber=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LIBS=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9452 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9453 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9454 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9457 LDFLAGS=$ac_save_LDFLAGS
9462 if test "$have_x" = "yes"
9463 then
9464 ac_save_CPPFLAGS="$CPPFLAGS"
9465 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9468 $as_echo_n "checking for -lX11... " >&6; }
9469 if ${ac_cv_lib_soname_X11+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_check_soname_save_LIBS=$LIBS
9473 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9480 #ifdef __cplusplus
9481 extern "C"
9482 #endif
9483 char XCreateWindow ();
9485 main ()
9487 return XCreateWindow ();
9489 return 0;
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493 case "$LIBEXT" in
9494 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9495 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'` ;;
9496 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9497 if ${ac_cv_lib_soname_X11:+false} :; then :
9498 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9499 fi ;;
9500 esac
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 LIBS=$ac_check_soname_save_LIBS
9506 if ${ac_cv_lib_soname_X11:+false} :; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9508 $as_echo "not found" >&6; }
9510 else
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9512 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9514 cat >>confdefs.h <<_ACEOF
9515 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9516 _ACEOF
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9521 $as_echo_n "checking for -lXext... " >&6; }
9522 if ${ac_cv_lib_soname_Xext+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_soname_save_LIBS=$LIBS
9526 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char XextCreateExtension ();
9538 main ()
9540 return XextCreateExtension ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 case "$LIBEXT" in
9547 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9550 if ${ac_cv_lib_soname_Xext:+false} :; then :
9551 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9552 fi ;;
9553 esac
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_soname_save_LIBS
9559 if ${ac_cv_lib_soname_Xext:+false} :; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9563 else
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9565 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9567 cat >>confdefs.h <<_ACEOF
9568 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9569 _ACEOF
9571 X_LIBS="$X_LIBS -lXext"
9573 X_LIBS="$X_LIBS -lX11"
9575 for ac_header in X11/Xlib.h \
9576 X11/XKBlib.h \
9577 X11/Xutil.h \
9578 X11/Xcursor/Xcursor.h \
9579 X11/extensions/shape.h \
9580 X11/extensions/XInput.h \
9581 X11/extensions/XInput2.h \
9582 X11/extensions/XShm.h \
9583 X11/extensions/Xcomposite.h \
9584 X11/extensions/Xinerama.h \
9585 X11/extensions/Xrandr.h \
9586 X11/extensions/Xrender.h \
9587 X11/extensions/xf86vmode.h \
9588 X11/extensions/xf86vmproto.h
9589 do :
9590 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9591 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9592 # include <X11/Xlib.h>
9593 #endif
9594 #ifdef HAVE_X11_XUTIL_H
9595 # include <X11/Xutil.h>
9596 #endif
9598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9599 cat >>confdefs.h <<_ACEOF
9600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9601 _ACEOF
9605 done
9608 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9609 then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9611 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9612 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_lib_save_LIBS=$LIBS
9616 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char XkbQueryExtension ();
9628 main ()
9630 return XkbQueryExtension ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_lib_X11_XkbQueryExtension=yes
9637 else
9638 ac_cv_lib_X11_XkbQueryExtension=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9645 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9646 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9648 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9654 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9655 then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9657 $as_echo_n "checking for -lXcursor... " >&6; }
9658 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9659 $as_echo_n "(cached) " >&6
9660 else
9661 ac_check_soname_save_LIBS=$LIBS
9662 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664 /* end confdefs.h. */
9666 /* Override any GCC internal prototype to avoid an error.
9667 Use char because int might match the return type of a GCC
9668 builtin and then its argument prototype would still apply. */
9669 #ifdef __cplusplus
9670 extern "C"
9671 #endif
9672 char XcursorImageLoadCursor ();
9674 main ()
9676 return XcursorImageLoadCursor ();
9678 return 0;
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 case "$LIBEXT" in
9683 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9684 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'` ;;
9685 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9686 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9687 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9688 fi ;;
9689 esac
9691 rm -f core conftest.err conftest.$ac_objext \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_soname_save_LIBS
9695 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9697 $as_echo "not found" >&6; }
9699 else
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9701 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9703 cat >>confdefs.h <<_ACEOF
9704 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9705 _ACEOF
9710 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9711 case "x$with_xcursor" in
9712 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9713 xno) ;;
9714 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9715 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9716 esac
9719 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9720 then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9722 $as_echo_n "checking for -lXi... " >&6; }
9723 if ${ac_cv_lib_soname_Xi+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 ac_check_soname_save_LIBS=$LIBS
9727 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9734 #ifdef __cplusplus
9735 extern "C"
9736 #endif
9737 char XOpenDevice ();
9739 main ()
9741 return XOpenDevice ();
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_link "$LINENO"; then :
9747 case "$LIBEXT" in
9748 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9749 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'` ;;
9750 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9751 if ${ac_cv_lib_soname_Xi:+false} :; then :
9752 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9753 fi ;;
9754 esac
9756 rm -f core conftest.err conftest.$ac_objext \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_soname_save_LIBS
9760 if ${ac_cv_lib_soname_Xi:+false} :; then :
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9762 $as_echo "not found" >&6; }
9764 else
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9766 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9768 cat >>confdefs.h <<_ACEOF
9769 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9770 _ACEOF
9775 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9776 case "x$with_xinput" in
9777 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9778 xno) ;;
9779 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9780 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9781 esac
9784 if test "x$ac_cv_lib_soname_Xi" != x
9785 then
9786 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9787 case "x$with_xinput2" in
9788 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9789 xno) ;;
9790 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9791 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9792 esac
9796 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9797 then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9799 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9800 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_check_lib_save_LIBS=$LIBS
9804 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9806 /* end confdefs.h. */
9808 /* Override any GCC internal prototype to avoid an error.
9809 Use char because int might match the return type of a GCC
9810 builtin and then its argument prototype would still apply. */
9811 #ifdef __cplusplus
9812 extern "C"
9813 #endif
9814 char XShmQueryExtension ();
9816 main ()
9818 return XShmQueryExtension ();
9820 return 0;
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"; then :
9824 ac_cv_lib_Xext_XShmQueryExtension=yes
9825 else
9826 ac_cv_lib_Xext_XShmQueryExtension=no
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_lib_save_LIBS
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9833 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9834 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9836 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9841 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9842 case "x$with_xshm" in
9843 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9844 xno) ;;
9845 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9846 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9847 esac
9850 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9851 then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9853 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9854 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9855 $as_echo_n "(cached) " >&6
9856 else
9857 ac_check_lib_save_LIBS=$LIBS
9858 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9865 #ifdef __cplusplus
9866 extern "C"
9867 #endif
9868 char XShapeQueryExtension ();
9870 main ()
9872 return XShapeQueryExtension ();
9874 return 0;
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 ac_cv_lib_Xext_XShapeQueryExtension=yes
9879 else
9880 ac_cv_lib_Xext_XShapeQueryExtension=no
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 LIBS=$ac_check_lib_save_LIBS
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9887 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9888 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9890 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9895 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9896 case "x$with_xshape" in
9897 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9898 xno) ;;
9899 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9900 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9901 esac
9904 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9905 then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9907 $as_echo_n "checking for -lXxf86vm... " >&6; }
9908 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9909 $as_echo_n "(cached) " >&6
9910 else
9911 ac_check_soname_save_LIBS=$LIBS
9912 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9919 #ifdef __cplusplus
9920 extern "C"
9921 #endif
9922 char XF86VidModeQueryExtension ();
9924 main ()
9926 return XF86VidModeQueryExtension ();
9928 return 0;
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 case "$LIBEXT" in
9933 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9936 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9937 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9938 fi ;;
9939 esac
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_soname_save_LIBS
9945 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9947 $as_echo "not found" >&6; }
9949 else
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9951 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9953 cat >>confdefs.h <<_ACEOF
9954 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9955 _ACEOF
9960 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9961 case "x$with_xxf86vm" in
9962 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9963 xno) ;;
9964 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9965 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9966 esac
9969 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9970 then
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9972 $as_echo_n "checking for -lXrender... " >&6; }
9973 if ${ac_cv_lib_soname_Xrender+:} false; then :
9974 $as_echo_n "(cached) " >&6
9975 else
9976 ac_check_soname_save_LIBS=$LIBS
9977 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9981 /* Override any GCC internal prototype to avoid an error.
9982 Use char because int might match the return type of a GCC
9983 builtin and then its argument prototype would still apply. */
9984 #ifdef __cplusplus
9985 extern "C"
9986 #endif
9987 char XRenderQueryExtension ();
9989 main ()
9991 return XRenderQueryExtension ();
9993 return 0;
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 case "$LIBEXT" in
9998 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9999 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'` ;;
10000 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10001 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10002 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10003 fi ;;
10004 esac
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 LIBS=$ac_check_soname_save_LIBS
10010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10012 $as_echo "not found" >&6; }
10014 else
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10016 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10018 cat >>confdefs.h <<_ACEOF
10019 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10020 _ACEOF
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10023 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10024 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_check_lib_save_LIBS=$LIBS
10028 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 char XRenderSetPictureTransform ();
10040 main ()
10042 return XRenderSetPictureTransform ();
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10049 else
10050 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 LIBS=$ac_check_lib_save_LIBS
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10057 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10058 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10060 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10065 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10066 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10067 $as_echo_n "(cached) " >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10077 #ifdef __cplusplus
10078 extern "C"
10079 #endif
10080 char XRenderCreateLinearGradient ();
10082 main ()
10084 return XRenderCreateLinearGradient ();
10086 return 0;
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10091 else
10092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10099 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10100 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10102 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10109 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10110 case "x$with_xrender" in
10111 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10112 xno) ;;
10113 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10114 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10115 esac
10118 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10119 then
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 #include <X11/Xlib.h>
10123 #include <X11/extensions/Xrandr.h>
10125 main ()
10127 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10129 return 0;
10131 _ACEOF
10132 if ac_fn_c_try_compile "$LINENO"; then :
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10134 $as_echo_n "checking for -lXrandr... " >&6; }
10135 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_check_soname_save_LIBS=$LIBS
10139 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10141 /* end confdefs.h. */
10143 /* Override any GCC internal prototype to avoid an error.
10144 Use char because int might match the return type of a GCC
10145 builtin and then its argument prototype would still apply. */
10146 #ifdef __cplusplus
10147 extern "C"
10148 #endif
10149 char XRRQueryExtension ();
10151 main ()
10153 return XRRQueryExtension ();
10155 return 0;
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 case "$LIBEXT" in
10160 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10161 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'` ;;
10162 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10163 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10164 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10165 fi ;;
10166 esac
10168 rm -f core conftest.err conftest.$ac_objext \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10174 $as_echo "not found" >&6; }
10176 else
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10178 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10180 cat >>confdefs.h <<_ACEOF
10181 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10182 _ACEOF
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 #include <X11/Xlib.h>
10187 #include <X11/extensions/Xrandr.h>
10189 main ()
10191 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_compile "$LINENO"; then :
10198 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10207 case "x$with_xrandr" in
10208 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10209 xno) ;;
10210 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10211 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10212 esac
10215 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10216 then
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 #include <X11/Xlib.h>
10220 #include <X11/extensions/Xinerama.h>
10222 main ()
10224 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_compile "$LINENO"; then :
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10231 $as_echo_n "checking for -lXinerama... " >&6; }
10232 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XineramaQueryScreens ();
10248 main ()
10250 return XineramaQueryScreens ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10261 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10273 else
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10275 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10277 cat >>confdefs.h <<_ACEOF
10278 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10279 _ACEOF
10284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10286 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10287 case "x$with_xinerama" in
10288 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10289 xno) ;;
10290 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10291 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10292 esac
10295 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10296 then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10298 $as_echo_n "checking for -lXcomposite... " >&6; }
10299 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10300 $as_echo_n "(cached) " >&6
10301 else
10302 ac_check_soname_save_LIBS=$LIBS
10303 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char XCompositeRedirectWindow ();
10315 main ()
10317 return XCompositeRedirectWindow ();
10319 return 0;
10321 _ACEOF
10322 if ac_fn_c_try_link "$LINENO"; then :
10323 case "$LIBEXT" in
10324 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10325 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'` ;;
10326 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10327 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10328 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10329 fi ;;
10330 esac
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_soname_save_LIBS
10336 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10338 $as_echo "not found" >&6; }
10340 else
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10342 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10344 cat >>confdefs.h <<_ACEOF
10345 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10346 _ACEOF
10351 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10352 case "x$with_xcomposite" in
10353 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10354 xno) ;;
10355 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10356 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10357 esac
10360 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10361 #include <X11/Xlib.h>
10362 #endif
10364 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10366 cat >>confdefs.h <<_ACEOF
10367 #define HAVE_XICCALLBACK_CALLBACK 1
10368 _ACEOF
10372 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10373 #include <X11/Xlib.h>
10374 #endif
10376 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10378 cat >>confdefs.h <<_ACEOF
10379 #define HAVE_XEVENT_XCOOKIE 1
10380 _ACEOF
10387 opengl_msg=""
10388 if test "x$with_opengl" != "xno"
10389 then
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10391 $as_echo_n "checking for -lGL... " >&6; }
10392 if ${ac_cv_lib_soname_GL+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_check_soname_save_LIBS=$LIBS
10396 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10400 /* Override any GCC internal prototype to avoid an error.
10401 Use char because int might match the return type of a GCC
10402 builtin and then its argument prototype would still apply. */
10403 #ifdef __cplusplus
10404 extern "C"
10405 #endif
10406 char glXCreateContext ();
10408 main ()
10410 return glXCreateContext ();
10412 return 0;
10414 _ACEOF
10415 if ac_fn_c_try_link "$LINENO"; then :
10416 case "$LIBEXT" in
10417 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10418 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'` ;;
10419 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10420 if ${ac_cv_lib_soname_GL:+false} :; then :
10421 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10422 fi ;;
10423 esac
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 LIBS=$ac_check_soname_save_LIBS
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10433 $as_echo_n "checking for -lGL... " >&6; }
10434 if ${ac_cv_lib_soname_GL+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_check_soname_save_LIBS=$LIBS
10438 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"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10445 #ifdef __cplusplus
10446 extern "C"
10447 #endif
10448 char glXCreateContext ();
10450 main ()
10452 return glXCreateContext ();
10454 return 0;
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 case "$LIBEXT" in
10459 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10460 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'` ;;
10461 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10462 if ${ac_cv_lib_soname_GL:+false} :; then :
10463 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10464 fi ;;
10465 esac
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_soname_save_LIBS
10471 if ${ac_cv_lib_soname_GL:+false} :; then :
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10473 $as_echo "not found" >&6; }
10474 if test -f /usr/X11R6/lib/libGL.a
10475 then
10476 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10477 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10478 else
10479 opengl_msg="No OpenGL library found on this system."
10481 else
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10483 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10485 cat >>confdefs.h <<_ACEOF
10486 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10487 _ACEOF
10489 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"
10491 else
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10493 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10495 cat >>confdefs.h <<_ACEOF
10496 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10497 _ACEOF
10499 OPENGL_LIBS="-lGL"
10501 if test "x$with_glu" != "xno"
10502 then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10504 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10505 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 ac_check_lib_save_LIBS=$LIBS
10509 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10516 #ifdef __cplusplus
10517 extern "C"
10518 #endif
10519 char gluLookAt ();
10521 main ()
10523 return gluLookAt ();
10525 return 0;
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_lib_GLU_gluLookAt=yes
10530 else
10531 ac_cv_lib_GLU_gluLookAt=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 LIBS=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10538 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10539 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10543 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10544 case "x$with_glu" in
10545 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10546 xno) ;;
10547 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10548 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10549 esac
10553 if test "x$with_osmesa" != "xno"
10554 then
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10556 $as_echo_n "checking for -lOSMesa... " >&6; }
10557 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10558 $as_echo_n "(cached) " >&6
10559 else
10560 ac_check_soname_save_LIBS=$LIBS
10561 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10568 #ifdef __cplusplus
10569 extern "C"
10570 #endif
10571 char glAccum ();
10573 main ()
10575 return glAccum ();
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 case "$LIBEXT" in
10582 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10583 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'` ;;
10584 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10585 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10586 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10587 fi ;;
10588 esac
10590 rm -f core conftest.err conftest.$ac_objext \
10591 conftest$ac_exeext conftest.$ac_ext
10592 LIBS=$ac_check_soname_save_LIBS
10594 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10596 $as_echo "not found" >&6; }
10598 else
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10600 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10602 cat >>confdefs.h <<_ACEOF
10603 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10604 _ACEOF
10608 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10609 case "x$with_osmesa" in
10610 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10611 xno) ;;
10612 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10613 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10614 esac
10618 if test -n "$opengl_msg"; then :
10619 case "x$with_opengl" in
10620 x) as_fn_append wine_warnings "|$opengl_msg
10621 OpenGL and Direct3D won't be supported." ;;
10622 xno) ;;
10623 *) as_fn_error $? "$opengl_msg
10624 OpenGL and Direct3D won't be supported.
10625 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10626 esac
10629 CPPFLAGS="$ac_save_CPPFLAGS"
10630 else
10631 X_CFLAGS=""
10632 X_LIBS=""
10633 enable_winex11_drv=${enable_winex11_drv:-no}
10635 if test "x$X_LIBS" = "x"; then :
10636 case "x$with_x" in
10637 xno) ;;
10638 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10639 without X support, which probably isn't what you want. You will need
10640 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10641 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10642 esac
10645 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10647 if test "$ac_cv_header_CL_cl_h" = "yes"
10648 then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10650 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10651 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-lOpenCL $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char clGetPlatformInfo ();
10667 main ()
10669 return clGetPlatformInfo ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10676 else
10677 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10684 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10685 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10686 OPENCL_LIBS="-lOpenCL"
10691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10692 case "x$with_opencl" in
10693 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10694 xno) ;;
10695 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10696 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10697 esac
10699 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10701 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10702 then
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10704 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10705 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_lib_save_LIBS=$LIBS
10709 LIBS="-lpcap $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char pcap_create ();
10721 main ()
10723 return pcap_create ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 ac_cv_lib_pcap_pcap_create=yes
10730 else
10731 ac_cv_lib_pcap_pcap_create=no
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 LIBS=$ac_check_lib_save_LIBS
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10738 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10739 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10740 LIBPCAP="-lpcap"
10745 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10746 case "x$with_pcap" in
10747 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10748 xno) ;;
10749 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10750 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10751 esac
10753 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10756 if test "x$with_xml" != "xno"
10757 then
10758 if ${XML2_CFLAGS:+false} :; then :
10759 if ${PKG_CONFIG+:} false; then :
10760 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10763 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10764 if ${XML2_LIBS:+false} :; then :
10765 if ${PKG_CONFIG+:} false; then :
10766 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10769 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10770 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10771 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10772 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10773 ac_save_CPPFLAGS=$CPPFLAGS
10774 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10775 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10776 do :
10777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10780 cat >>confdefs.h <<_ACEOF
10781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10782 _ACEOF
10786 done
10788 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"
10789 then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10791 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10792 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 ac_check_lib_save_LIBS=$LIBS
10796 LIBS="-lxml2 $XML2_LIBS $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 char xmlParseMemory ();
10808 main ()
10810 return xmlParseMemory ();
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 ac_cv_lib_xml2_xmlParseMemory=yes
10817 else
10818 ac_cv_lib_xml2_xmlParseMemory=no
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_lib_save_LIBS
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10825 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10826 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10828 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10830 else
10831 XML2_LIBS=""
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10835 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10836 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10837 $as_echo_n "(cached) " >&6
10838 else
10839 ac_check_lib_save_LIBS=$LIBS
10840 LIBS="-lxml2 $XML2_LIBS $LIBS"
10841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10847 #ifdef __cplusplus
10848 extern "C"
10849 #endif
10850 char xmlReadMemory ();
10852 main ()
10854 return xmlReadMemory ();
10856 return 0;
10858 _ACEOF
10859 if ac_fn_c_try_link "$LINENO"; then :
10860 ac_cv_lib_xml2_xmlReadMemory=yes
10861 else
10862 ac_cv_lib_xml2_xmlReadMemory=no
10864 rm -f core conftest.err conftest.$ac_objext \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LIBS=$ac_check_lib_save_LIBS
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10869 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10870 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10872 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10877 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10878 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10879 $as_echo_n "(cached) " >&6
10880 else
10881 ac_check_lib_save_LIBS=$LIBS
10882 LIBS="-lxml2 $XML2_LIBS $LIBS"
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10889 #ifdef __cplusplus
10890 extern "C"
10891 #endif
10892 char xmlNewDocPI ();
10894 main ()
10896 return xmlNewDocPI ();
10898 return 0;
10900 _ACEOF
10901 if ac_fn_c_try_link "$LINENO"; then :
10902 ac_cv_lib_xml2_xmlNewDocPI=yes
10903 else
10904 ac_cv_lib_xml2_xmlNewDocPI=no
10906 rm -f core conftest.err conftest.$ac_objext \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10911 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10912 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10914 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10919 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10920 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10921 $as_echo_n "(cached) " >&6
10922 else
10923 ac_check_lib_save_LIBS=$LIBS
10924 LIBS="-lxml2 $XML2_LIBS $LIBS"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10931 #ifdef __cplusplus
10932 extern "C"
10933 #endif
10934 char xmlSchemaSetParserStructuredErrors ();
10936 main ()
10938 return xmlSchemaSetParserStructuredErrors ();
10940 return 0;
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"; then :
10944 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10945 else
10946 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10953 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10954 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10956 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10961 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10962 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_lib_save_LIBS=$LIBS
10966 LIBS="-lxml2 $XML2_LIBS $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char xmlSchemaSetValidStructuredErrors ();
10978 main ()
10980 return xmlSchemaSetValidStructuredErrors ();
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10987 else
10988 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10995 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10996 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10998 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11003 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11004 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lxml2 $XML2_LIBS $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char xmlFirstElementChild ();
11020 main ()
11022 return xmlFirstElementChild ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_xml2_xmlFirstElementChild=yes
11029 else
11030 ac_cv_lib_xml2_xmlFirstElementChild=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11037 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11038 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11040 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11044 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11046 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11048 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11052 else
11053 XML2_CFLAGS=""
11054 XML2_LIBS=""
11056 CPPFLAGS=$ac_save_CPPFLAGS
11057 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11058 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11061 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11062 case "x$with_xml" in
11063 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11064 xno) ;;
11065 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11066 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11067 esac
11070 if test "x$with_xslt" != "xno"
11071 then
11072 if ${XSLT_CFLAGS:+false} :; then :
11073 if ${PKG_CONFIG+:} false; then :
11074 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11077 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11078 if ${XSLT_LIBS:+false} :; then :
11079 if ${PKG_CONFIG+:} false; then :
11080 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11083 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11084 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11086 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11087 ac_save_CPPFLAGS=$CPPFLAGS
11088 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11089 for ac_header in libxslt/pattern.h libxslt/transform.h
11090 do :
11091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11092 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11093 # include <libxslt/pattern.h>
11094 #endif
11096 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11097 cat >>confdefs.h <<_ACEOF
11098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11099 _ACEOF
11103 done
11105 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11106 then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11108 $as_echo_n "checking for -lxslt... " >&6; }
11109 if ${ac_cv_lib_soname_xslt+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_soname_save_LIBS=$LIBS
11113 LIBS="-lxslt $XSLT_LIBS $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char xsltCompilePattern ();
11125 main ()
11127 return xsltCompilePattern ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 case "$LIBEXT" in
11134 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11135 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'` ;;
11136 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11137 if ${ac_cv_lib_soname_xslt:+false} :; then :
11138 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11139 fi ;;
11140 esac
11142 rm -f core conftest.err conftest.$ac_objext \
11143 conftest$ac_exeext conftest.$ac_ext
11144 LIBS=$ac_check_soname_save_LIBS
11146 if ${ac_cv_lib_soname_xslt:+false} :; then :
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11148 $as_echo "not found" >&6; }
11150 else
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11152 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11154 cat >>confdefs.h <<_ACEOF
11155 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11156 _ACEOF
11160 else
11161 XSLT_CFLAGS=""
11163 CPPFLAGS=$ac_save_CPPFLAGS
11164 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11165 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11168 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11169 case "x$with_xslt" in
11170 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11171 xno) ;;
11172 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11173 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11174 esac
11177 if test "x$with_dbus" != "xno"
11178 then
11179 if ${DBUS_CFLAGS:+false} :; then :
11180 if ${PKG_CONFIG+:} false; then :
11181 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11185 if ${DBUS_LIBS:+false} :; then :
11186 if ${PKG_CONFIG+:} false; then :
11187 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11192 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11193 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11194 ac_save_CPPFLAGS=$CPPFLAGS
11195 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11196 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11197 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11199 $as_echo_n "checking for -ldbus-1... " >&6; }
11200 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11201 $as_echo_n "(cached) " >&6
11202 else
11203 ac_check_soname_save_LIBS=$LIBS
11204 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11211 #ifdef __cplusplus
11212 extern "C"
11213 #endif
11214 char dbus_connection_close ();
11216 main ()
11218 return dbus_connection_close ();
11220 return 0;
11222 _ACEOF
11223 if ac_fn_c_try_link "$LINENO"; then :
11224 case "$LIBEXT" in
11225 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11226 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'` ;;
11227 *) 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'`
11228 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11229 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11230 fi ;;
11231 esac
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_soname_save_LIBS
11237 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11239 $as_echo "not found" >&6; }
11240 DBUS_CFLAGS=""
11241 else
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11243 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11245 cat >>confdefs.h <<_ACEOF
11246 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11247 _ACEOF
11251 else
11252 DBUS_CFLAGS=""
11256 CPPFLAGS=$ac_save_CPPFLAGS
11257 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11258 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11261 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11262 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11263 case "x$with_dbus" in
11264 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11265 xno) ;;
11266 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11267 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11268 esac
11271 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11272 then
11273 if ${HAL_CFLAGS:+false} :; then :
11274 if ${PKG_CONFIG+:} false; then :
11275 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11279 if ${HAL_LIBS:+false} :; then :
11280 if ${PKG_CONFIG+:} false; then :
11281 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11285 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11286 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11287 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11288 ac_save_CPPFLAGS=$CPPFLAGS
11289 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11290 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11291 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11293 $as_echo_n "checking for -lhal... " >&6; }
11294 if ${ac_cv_lib_soname_hal+:} false; then :
11295 $as_echo_n "(cached) " >&6
11296 else
11297 ac_check_soname_save_LIBS=$LIBS
11298 LIBS="-lhal $HAL_LIBS $LIBS"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11305 #ifdef __cplusplus
11306 extern "C"
11307 #endif
11308 char libhal_ctx_new ();
11310 main ()
11312 return libhal_ctx_new ();
11314 return 0;
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 case "$LIBEXT" in
11319 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11320 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'` ;;
11321 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11322 if ${ac_cv_lib_soname_hal:+false} :; then :
11323 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11324 fi ;;
11325 esac
11327 rm -f core conftest.err conftest.$ac_objext \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_soname_save_LIBS
11331 if ${ac_cv_lib_soname_hal:+false} :; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11333 $as_echo "not found" >&6; }
11334 HAL_CFLAGS=""
11335 else
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11337 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11339 cat >>confdefs.h <<_ACEOF
11340 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11341 _ACEOF
11345 else
11346 HAL_CFLAGS=""
11350 CPPFLAGS=$ac_save_CPPFLAGS
11351 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11352 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11354 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11355 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11356 case "x$with_hal" in
11357 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11358 xno) ;;
11359 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11360 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11361 esac
11365 if test "x$with_gnutls" != "xno"
11366 then
11367 if ${GNUTLS_CFLAGS:+false} :; then :
11368 if ${PKG_CONFIG+:} false; then :
11369 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11373 if ${GNUTLS_LIBS:+false} :; then :
11374 if ${PKG_CONFIG+:} false; then :
11375 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11380 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11381 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11382 ac_save_CPPFLAGS=$CPPFLAGS
11383 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11384 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11385 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 #include <gnutls/gnutls.h>
11389 #include <gnutls/crypto.h>
11391 main ()
11393 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11395 return 0;
11397 _ACEOF
11398 if ac_fn_c_try_compile "$LINENO"; then :
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11400 $as_echo_n "checking for -lgnutls... " >&6; }
11401 if ${ac_cv_lib_soname_gnutls+:} false; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_soname_save_LIBS=$LIBS
11405 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char gnutls_global_init ();
11417 main ()
11419 return gnutls_global_init ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 case "$LIBEXT" in
11426 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) 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'`
11429 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11430 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'`
11431 fi ;;
11432 esac
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_soname_save_LIBS
11438 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11440 $as_echo "not found" >&6; }
11441 GNUTLS_CFLAGS=""
11442 else
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11444 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11446 cat >>confdefs.h <<_ACEOF
11447 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11448 _ACEOF
11453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11454 else
11455 GNUTLS_CFLAGS=""
11459 CPPFLAGS=$ac_save_CPPFLAGS
11460 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11461 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11464 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11465 case "x$with_gnutls" in
11466 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11467 xno) ;;
11468 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11469 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11470 esac
11473 CURSES_LIBS=""
11474 if test "$ac_cv_header_ncurses_h" = "yes"
11475 then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11477 $as_echo_n "checking for -lncurses... " >&6; }
11478 if ${ac_cv_lib_soname_ncurses+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-lncurses $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char waddch ();
11494 main ()
11496 return waddch ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) 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'`
11506 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11507 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11521 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11525 _ACEOF
11527 CURSES_LIBS="-lncurses"
11529 elif test "$ac_cv_header_curses_h" = "yes"
11530 then
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11532 $as_echo_n "checking for -lcurses... " >&6; }
11533 if ${ac_cv_lib_soname_curses+:} false; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 ac_check_soname_save_LIBS=$LIBS
11537 LIBS="-lcurses $LIBS"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 char waddch ();
11549 main ()
11551 return waddch ();
11553 return 0;
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 case "$LIBEXT" in
11558 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11559 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'` ;;
11560 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11561 if ${ac_cv_lib_soname_curses:+false} :; then :
11562 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11563 fi ;;
11564 esac
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_soname_save_LIBS
11570 if ${ac_cv_lib_soname_curses:+false} :; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11572 $as_echo "not found" >&6; }
11574 else
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11576 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11578 cat >>confdefs.h <<_ACEOF
11579 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11580 _ACEOF
11582 CURSES_LIBS="-lcurses"
11585 ac_save_LIBS="$LIBS"
11586 LIBS="$LIBS $CURSES_LIBS"
11587 for ac_func in mousemask
11588 do :
11589 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11590 if test "x$ac_cv_func_mousemask" = xyes; then :
11591 cat >>confdefs.h <<_ACEOF
11592 #define HAVE_MOUSEMASK 1
11593 _ACEOF
11596 done
11598 LIBS="$ac_save_LIBS"
11599 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11600 case "x$with_curses" in
11601 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11602 xno) ;;
11603 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11604 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11605 esac
11608 if test "x$with_sane" != "xno"
11609 then
11610 if ${SANE_CFLAGS:+false} :; then :
11611 if ${PKG_CONFIG+:} false; then :
11612 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11615 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11616 if ${SANE_LIBS:+false} :; then :
11617 if ${PKG_CONFIG+:} false; then :
11618 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11621 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11623 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11624 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11625 ac_save_CPPFLAGS=$CPPFLAGS
11626 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11627 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11628 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11630 $as_echo_n "checking for -lsane... " >&6; }
11631 if ${ac_cv_lib_soname_sane+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_soname_save_LIBS=$LIBS
11635 LIBS="-lsane $SANE_LIBS $LIBS"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11639 /* Override any GCC internal prototype to avoid an error.
11640 Use char because int might match the return type of a GCC
11641 builtin and then its argument prototype would still apply. */
11642 #ifdef __cplusplus
11643 extern "C"
11644 #endif
11645 char sane_init ();
11647 main ()
11649 return sane_init ();
11651 return 0;
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 case "$LIBEXT" in
11656 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11657 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'` ;;
11658 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11659 if ${ac_cv_lib_soname_sane:+false} :; then :
11660 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11661 fi ;;
11662 esac
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_soname_save_LIBS
11668 if ${ac_cv_lib_soname_sane:+false} :; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11670 $as_echo "not found" >&6; }
11671 SANE_CFLAGS=""
11672 else
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11674 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11676 cat >>confdefs.h <<_ACEOF
11677 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11678 _ACEOF
11682 else
11683 SANE_CFLAGS=""
11687 CPPFLAGS=$ac_save_CPPFLAGS
11688 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11689 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11692 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11693 case "x$with_sane" in
11694 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11695 xno) ;;
11696 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11697 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11698 esac
11701 if test "x$with_v4l" != "xno"
11702 then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11704 $as_echo_n "checking for -lv4l1... " >&6; }
11705 if ${ac_cv_lib_soname_v4l1+:} false; then :
11706 $as_echo_n "(cached) " >&6
11707 else
11708 ac_check_soname_save_LIBS=$LIBS
11709 LIBS="-lv4l1 $LIBS"
11710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11716 #ifdef __cplusplus
11717 extern "C"
11718 #endif
11719 char v4l1_open ();
11721 main ()
11723 return v4l1_open ();
11725 return 0;
11727 _ACEOF
11728 if ac_fn_c_try_link "$LINENO"; then :
11729 case "$LIBEXT" in
11730 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11733 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11734 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11735 fi ;;
11736 esac
11738 rm -f core conftest.err conftest.$ac_objext \
11739 conftest$ac_exeext conftest.$ac_ext
11740 LIBS=$ac_check_soname_save_LIBS
11742 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11744 $as_echo "not found" >&6; }
11746 else
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11748 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11750 cat >>confdefs.h <<_ACEOF
11751 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11752 _ACEOF
11757 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11758 case "x$with_v4l" in
11759 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11760 xno) ;;
11761 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11762 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11763 esac
11766 if test "x$with_gphoto" != "xno"
11767 then
11768 if ${GPHOTO2_CFLAGS:+false} :; then :
11769 if ${PKG_CONFIG+:} false; then :
11770 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11773 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11774 if ${GPHOTO2_LIBS:+false} :; then :
11775 if ${PKG_CONFIG+:} false; then :
11776 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11779 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11780 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11781 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11782 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11783 ac_save_CPPFLAGS=$CPPFLAGS
11784 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11785 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11786 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11788 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11789 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_lib_save_LIBS=$LIBS
11793 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char gp_camera_new ();
11805 main ()
11807 return gp_camera_new ();
11809 return 0;
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 ac_cv_lib_gphoto2_gp_camera_new=yes
11814 else
11815 ac_cv_lib_gphoto2_gp_camera_new=no
11817 rm -f core conftest.err conftest.$ac_objext \
11818 conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_lib_save_LIBS
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11822 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11823 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11825 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11827 else
11828 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11831 else
11832 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11836 CPPFLAGS=$ac_save_CPPFLAGS
11837 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11838 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11840 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11841 if ${PKG_CONFIG+:} false; then :
11842 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11845 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11846 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11847 if ${PKG_CONFIG+:} false; then :
11848 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11851 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11852 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11853 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11854 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11855 ac_save_CPPFLAGS=$CPPFLAGS
11856 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11857 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11858 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11860 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11861 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11862 $as_echo_n "(cached) " >&6
11863 else
11864 ac_check_lib_save_LIBS=$LIBS
11865 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11872 #ifdef __cplusplus
11873 extern "C"
11874 #endif
11875 char gp_port_info_list_new ();
11877 main ()
11879 return gp_port_info_list_new ();
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11886 else
11887 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11894 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11895 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11897 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11899 else
11900 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11903 else
11904 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11908 CPPFLAGS=$ac_save_CPPFLAGS
11909 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11910 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11913 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11914 case "x$with_gphoto" in
11915 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11918 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11919 esac
11921 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11922 case "x$with_gphoto" in
11923 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11924 xno) ;;
11925 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11926 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11927 esac
11931 if test "$ac_cv_header_resolv_h" = "yes"
11932 then
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11934 $as_echo_n "checking for resolver library... " >&6; }
11935 if ${ac_cv_have_resolv+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 ac_save_LIBS="$LIBS"
11939 for lib in '' -lresolv
11941 LIBS="$lib $ac_save_LIBS"
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef HAVE_NETINET_IN_H
11945 #include <netinet/in.h>
11946 #endif
11947 #include <resolv.h>
11949 main ()
11951 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_have_resolv=${lib:-"none required"}
11958 else
11959 ac_cv_have_resolv="not found"
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 test "x$ac_cv_have_resolv" = "xnot found" || break
11964 done
11965 LIBS="$ac_save_LIBS"
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11968 $as_echo "$ac_cv_have_resolv" >&6; }
11970 case "$ac_cv_have_resolv" in
11971 "not found") ;;
11972 "none required")
11974 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11977 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11979 RESOLV_LIBS=$ac_cv_have_resolv
11981 esac
11984 if test "x$with_cms" != "xno"
11985 then
11986 if ${LCMS2_CFLAGS:+false} :; then :
11987 if ${PKG_CONFIG+:} false; then :
11988 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11992 if ${LCMS2_LIBS:+false} :; then :
11993 if ${PKG_CONFIG+:} false; then :
11994 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11998 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11999 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12000 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12001 ac_save_CPPFLAGS=$CPPFLAGS
12002 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12003 for ac_header in lcms2.h
12004 do :
12005 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12006 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12007 cat >>confdefs.h <<_ACEOF
12008 #define HAVE_LCMS2_H 1
12009 _ACEOF
12013 done
12015 if test "$ac_cv_header_lcms2_h" = "yes"
12016 then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12018 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12019 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 #ifdef __cplusplus
12031 extern "C"
12032 #endif
12033 char cmsOpenProfileFromFile ();
12035 main ()
12037 return cmsOpenProfileFromFile ();
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12044 else
12045 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 LIBS=$ac_check_lib_save_LIBS
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12052 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12053 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12055 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12057 else
12058 LCMS2_LIBS=""
12061 else
12062 LCMS2_CFLAGS=""
12063 LCMS2_LIBS=""
12065 CPPFLAGS=$ac_save_CPPFLAGS
12066 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12067 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12070 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12071 case "x$with_cms" in
12072 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12073 xno) ;;
12074 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12075 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12076 esac
12079 if test "x$with_freetype" != "xno"
12080 then
12081 if ${FREETYPE_CFLAGS:+false} :; then :
12082 if ${PKG_CONFIG+:} false; then :
12083 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12086 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12087 if ${FREETYPE_LIBS:+false} :; then :
12088 if ${PKG_CONFIG+:} false; then :
12089 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12092 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12093 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12094 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12095 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12096 ac_save_CPPFLAGS=$CPPFLAGS
12097 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12098 for ac_header in ft2build.h
12099 do :
12100 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12101 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12102 cat >>confdefs.h <<_ACEOF
12103 #define HAVE_FT2BUILD_H 1
12104 _ACEOF
12108 done
12110 if test "$ac_cv_header_ft2build_h" = "yes"
12111 then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12113 $as_echo_n "checking for -lfreetype... " >&6; }
12114 if ${ac_cv_lib_soname_freetype+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 ac_check_soname_save_LIBS=$LIBS
12118 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char FT_Init_FreeType ();
12130 main ()
12132 return FT_Init_FreeType ();
12134 return 0;
12136 _ACEOF
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 case "$LIBEXT" in
12139 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12140 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'` ;;
12141 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12142 if ${ac_cv_lib_soname_freetype:+false} :; then :
12143 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12144 fi ;;
12145 esac
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_soname_save_LIBS
12151 if ${ac_cv_lib_soname_freetype:+false} :; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12153 $as_echo "not found" >&6; }
12154 FREETYPE_LIBS=""
12155 else
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12157 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12159 cat >>confdefs.h <<_ACEOF
12160 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12161 _ACEOF
12164 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12166 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12167 #include FT_MODULE_H
12169 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12171 cat >>confdefs.h <<_ACEOF
12172 #define HAVE_FT_TRUETYPEENGINETYPE 1
12173 _ACEOF
12179 else
12180 FREETYPE_CFLAGS=""
12181 FREETYPE_LIBS=""
12183 CPPFLAGS=$ac_save_CPPFLAGS
12184 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12185 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12188 if test "x$ac_cv_lib_soname_freetype" = x; then :
12189 case "x$with_freetype" in
12190 xno) ;;
12191 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12192 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12193 esac
12195 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12198 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12199 if ${ac_cv_c_ppdev+:} false; then :
12200 $as_echo_n "(cached) " >&6
12201 else
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12204 #ifdef HAVE_SYS_IOCTL_H
12205 # include <sys/ioctl.h>
12206 #endif
12207 #include <linux/ppdev.h>
12209 main ()
12211 ioctl (1,PPCLAIM,0)
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_compile "$LINENO"; then :
12217 ac_cv_c_ppdev="yes"
12218 else
12219 ac_cv_c_ppdev="no"
12221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12224 $as_echo "$ac_cv_c_ppdev" >&6; }
12225 if test "$ac_cv_c_ppdev" = "yes"
12226 then
12228 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12232 ac_wine_check_funcs_save_LIBS="$LIBS"
12233 LIBS="$LIBS $PTHREAD_LIBS"
12234 for ac_func in \
12235 pthread_attr_get_np \
12236 pthread_getattr_np \
12237 pthread_getthreadid_np \
12238 pthread_get_stackaddr_np \
12239 pthread_get_stacksize_np
12240 do :
12241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12244 cat >>confdefs.h <<_ACEOF
12245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12246 _ACEOF
12249 done
12251 LIBS="$ac_wine_check_funcs_save_LIBS"
12253 if test "$ac_cv_header_zlib_h" = "yes"
12254 then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12256 $as_echo_n "checking for inflate in -lz... " >&6; }
12257 if ${ac_cv_lib_z_inflate+:} false; then :
12258 $as_echo_n "(cached) " >&6
12259 else
12260 ac_check_lib_save_LIBS=$LIBS
12261 LIBS="-lz $LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12268 #ifdef __cplusplus
12269 extern "C"
12270 #endif
12271 char inflate ();
12273 main ()
12275 return inflate ();
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_link "$LINENO"; then :
12281 ac_cv_lib_z_inflate=yes
12282 else
12283 ac_cv_lib_z_inflate=no
12285 rm -f core conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_lib_save_LIBS
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12290 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12291 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12293 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12295 Z_LIBS="-lz"
12300 if test "x$Z_LIBS" = "x"; then :
12301 case "x$with_zlib" in
12302 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12303 xno) ;;
12304 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12305 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12306 esac
12309 if test "x$enable_tools" != xno
12310 then
12311 if test "$ac_cv_header_gettext_po_h" = "yes"
12312 then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12314 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12315 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_lib_save_LIBS=$LIBS
12319 LIBS="-lgettextpo $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char po_message_msgctxt ();
12331 main ()
12333 return po_message_msgctxt ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12340 else
12341 ac_cv_lib_gettextpo_po_message_msgctxt=no
12343 rm -f core conftest.err conftest.$ac_objext \
12344 conftest$ac_exeext conftest.$ac_ext
12345 LIBS=$ac_check_lib_save_LIBS
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12348 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12349 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12351 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12353 GETTEXTPO_LIBS="-lgettextpo"
12358 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12359 case "x$with_gettextpo" in
12360 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12361 xno) ;;
12362 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12363 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12364 esac
12368 if test "x$with_gstreamer" != "xno"
12369 then
12370 if ${GSTREAMER_CFLAGS:+false} :; then :
12371 if ${PKG_CONFIG+:} false; then :
12372 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12376 if ${GSTREAMER_LIBS:+false} :; then :
12377 if ${PKG_CONFIG+:} false; then :
12378 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12383 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12384 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12385 ac_save_CPPFLAGS=$CPPFLAGS
12386 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12387 ac_gst_incl=""
12388 for i in $GSTREAMER_CFLAGS
12390 case "$i" in
12391 -I*) ac_gst_incl="$ac_gst_incl $i";;
12392 esac
12393 done
12394 GSTREAMER_CFLAGS=$ac_gst_incl
12395 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12396 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12398 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12399 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12401 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 #include <gst/app/gstappsink.h>
12406 main ()
12408 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_compile "$LINENO"; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12415 $as_echo "yes" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12417 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12418 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12419 $as_echo_n "(cached) " >&6
12420 else
12421 ac_check_lib_save_LIBS=$LIBS
12422 LIBS="-lgstreamer-0.10 $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char gst_pad_get_caps_reffed ();
12434 main ()
12436 return gst_pad_get_caps_reffed ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12443 else
12444 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12451 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12452 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12454 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12455 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12456 $as_echo_n "(cached) " >&6
12457 else
12458 ac_check_lib_save_LIBS=$LIBS
12459 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 char gst_app_buffer_new ();
12471 main ()
12473 return gst_app_buffer_new ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12480 else
12481 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 LIBS=$ac_check_lib_save_LIBS
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12488 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12489 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12495 else
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12497 $as_echo "no" >&6; }
12499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12503 else
12504 GSTREAMER_CFLAGS=""
12508 CPPFLAGS=$ac_save_CPPFLAGS
12509 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12510 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12513 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12514 case "x$with_gstreamer" in
12515 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12516 xno) ;;
12517 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12518 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12519 esac
12521 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12523 ALSA_LIBS=""
12525 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12526 then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12528 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12529 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12530 $as_echo_n "(cached) " >&6
12531 else
12532 ac_check_lib_save_LIBS=$LIBS
12533 LIBS="-lasound $LIBS"
12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12537 /* Override any GCC internal prototype to avoid an error.
12538 Use char because int might match the return type of a GCC
12539 builtin and then its argument prototype would still apply. */
12540 #ifdef __cplusplus
12541 extern "C"
12542 #endif
12543 char snd_pcm_hw_params_get_access_mask ();
12545 main ()
12547 return snd_pcm_hw_params_get_access_mask ();
12549 return 0;
12551 _ACEOF
12552 if ac_fn_c_try_link "$LINENO"; then :
12553 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12554 else
12555 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12557 rm -f core conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
12559 LIBS=$ac_check_lib_save_LIBS
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12562 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12563 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 #ifdef HAVE_ALSA_ASOUNDLIB_H
12567 #include <alsa/asoundlib.h>
12568 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12569 #include <sys/asoundlib.h>
12570 #endif
12572 main ()
12574 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12576 return 0;
12578 _ACEOF
12579 if ac_fn_c_try_compile "$LINENO"; then :
12580 ALSA_LIBS="-lasound"
12582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12587 if test "x$with_oss" != xno
12588 then
12589 ac_save_CPPFLAGS="$CPPFLAGS"
12590 if test -f /etc/oss.conf
12591 then
12592 . /etc/oss.conf
12594 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12595 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12596 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12597 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12598 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12600 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12602 cat >>confdefs.h <<_ACEOF
12603 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12604 _ACEOF
12606 OSS4_CFLAGS="$ac_oss_incl"
12613 CPPFLAGS="$ac_save_CPPFLAGS"
12614 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12615 then
12616 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12620 if test "x$with_capi" != "xno"
12621 then
12622 if ${CAPI20_CFLAGS:+false} :; then :
12623 if ${PKG_CONFIG+:} false; then :
12624 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12628 if ${CAPI20_LIBS:+false} :; then :
12629 if ${PKG_CONFIG+:} false; then :
12630 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12635 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12636 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12637 ac_save_CPPFLAGS=$CPPFLAGS
12638 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12639 for ac_header in capi20.h linux/capi.h
12640 do :
12641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12645 cat >>confdefs.h <<_ACEOF
12646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12647 _ACEOF
12651 done
12653 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12654 then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12656 $as_echo_n "checking for -lcapi20... " >&6; }
12657 if ${ac_cv_lib_soname_capi20+:} false; then :
12658 $as_echo_n "(cached) " >&6
12659 else
12660 ac_check_soname_save_LIBS=$LIBS
12661 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12668 #ifdef __cplusplus
12669 extern "C"
12670 #endif
12671 char capi20_register ();
12673 main ()
12675 return capi20_register ();
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 case "$LIBEXT" in
12682 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12683 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'` ;;
12684 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12685 if ${ac_cv_lib_soname_capi20:+false} :; then :
12686 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12687 fi ;;
12688 esac
12690 rm -f core conftest.err conftest.$ac_objext \
12691 conftest$ac_exeext conftest.$ac_ext
12692 LIBS=$ac_check_soname_save_LIBS
12694 if ${ac_cv_lib_soname_capi20:+false} :; then :
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12696 $as_echo "not found" >&6; }
12698 else
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12700 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12702 cat >>confdefs.h <<_ACEOF
12703 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12704 _ACEOF
12709 CPPFLAGS=$ac_save_CPPFLAGS
12710 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12711 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12714 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12715 case "x$with_capi" in
12716 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12717 xno) ;;
12718 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12719 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12720 esac
12723 CUPS_CFLAGS=""
12725 if test "x$with_cups" != "xno"
12726 then
12727 ac_save_CPPFLAGS="$CPPFLAGS"
12728 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12729 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12730 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12731 for ac_header in cups/cups.h
12732 do :
12733 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12735 cat >>confdefs.h <<_ACEOF
12736 #define HAVE_CUPS_CUPS_H 1
12737 _ACEOF
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12739 $as_echo_n "checking for -lcups... " >&6; }
12740 if ${ac_cv_lib_soname_cups+:} false; then :
12741 $as_echo_n "(cached) " >&6
12742 else
12743 ac_check_soname_save_LIBS=$LIBS
12744 LIBS="-lcups $ac_cups_libs $LIBS"
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12751 #ifdef __cplusplus
12752 extern "C"
12753 #endif
12754 char cupsGetDefault ();
12756 main ()
12758 return cupsGetDefault ();
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_link "$LINENO"; then :
12764 case "$LIBEXT" in
12765 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12766 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'` ;;
12767 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12768 if ${ac_cv_lib_soname_cups:+false} :; then :
12769 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12770 fi ;;
12771 esac
12773 rm -f core conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12775 LIBS=$ac_check_soname_save_LIBS
12777 if ${ac_cv_lib_soname_cups:+false} :; then :
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12779 $as_echo "not found" >&6; }
12781 else
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12783 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12785 cat >>confdefs.h <<_ACEOF
12786 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12787 _ACEOF
12789 CUPS_CFLAGS="$ac_cups_cflags"
12793 done
12795 CPPFLAGS="$ac_save_CPPFLAGS"
12797 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12798 case "x$with_cups" in
12799 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12802 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12803 esac
12806 if test "x$with_fontconfig" != "xno"
12807 then
12808 if ${FONTCONFIG_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12813 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12814 if ${FONTCONFIG_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12819 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12821 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12825 for ac_header in fontconfig/fontconfig.h
12826 do :
12827 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12828 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12829 cat >>confdefs.h <<_ACEOF
12830 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12831 _ACEOF
12835 done
12837 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12838 then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12840 $as_echo_n "checking for -lfontconfig... " >&6; }
12841 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 ac_check_soname_save_LIBS=$LIBS
12845 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12847 /* end confdefs.h. */
12849 /* Override any GCC internal prototype to avoid an error.
12850 Use char because int might match the return type of a GCC
12851 builtin and then its argument prototype would still apply. */
12852 #ifdef __cplusplus
12853 extern "C"
12854 #endif
12855 char FcInit ();
12857 main ()
12859 return FcInit ();
12861 return 0;
12863 _ACEOF
12864 if ac_fn_c_try_link "$LINENO"; then :
12865 case "$LIBEXT" in
12866 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12867 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'` ;;
12868 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12869 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12870 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12871 fi ;;
12872 esac
12874 rm -f core conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12876 LIBS=$ac_check_soname_save_LIBS
12878 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12880 $as_echo "not found" >&6; }
12881 FONTCONFIG_CFLAGS=""
12882 else
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12884 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12886 cat >>confdefs.h <<_ACEOF
12887 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12888 _ACEOF
12892 else
12893 FONTCONFIG_CFLAGS=""
12895 CPPFLAGS=$ac_save_CPPFLAGS
12896 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12897 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12900 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12901 case "x$with_fontconfig" in
12902 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12903 xno) ;;
12904 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12905 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12906 esac
12909 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12910 then
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12912 $as_echo_n "checking for -lgsm... " >&6; }
12913 if ${ac_cv_lib_soname_gsm+:} false; then :
12914 $as_echo_n "(cached) " >&6
12915 else
12916 ac_check_soname_save_LIBS=$LIBS
12917 LIBS="-lgsm $LIBS"
12918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12924 #ifdef __cplusplus
12925 extern "C"
12926 #endif
12927 char gsm_create ();
12929 main ()
12931 return gsm_create ();
12933 return 0;
12935 _ACEOF
12936 if ac_fn_c_try_link "$LINENO"; then :
12937 case "$LIBEXT" in
12938 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12939 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'` ;;
12940 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12941 if ${ac_cv_lib_soname_gsm:+false} :; then :
12942 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12943 fi ;;
12944 esac
12946 rm -f core conftest.err conftest.$ac_objext \
12947 conftest$ac_exeext conftest.$ac_ext
12948 LIBS=$ac_check_soname_save_LIBS
12950 if ${ac_cv_lib_soname_gsm:+false} :; then :
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12952 $as_echo "not found" >&6; }
12954 else
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12956 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12958 cat >>confdefs.h <<_ACEOF
12959 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12960 _ACEOF
12965 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12966 case "x$with_gsm" in
12967 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12968 xno) ;;
12969 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12970 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12971 esac
12974 if test "x$with_jpeg" != "xno"
12975 then
12976 if ${JPEG_CFLAGS:+false} :; then :
12977 if ${PKG_CONFIG+:} false; then :
12978 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12982 if ${JPEG_LIBS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12990 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12991 ac_save_CPPFLAGS=$CPPFLAGS
12992 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12993 for ac_header in jpeglib.h
12994 do :
12995 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12997 cat >>confdefs.h <<_ACEOF
12998 #define HAVE_JPEGLIB_H 1
12999 _ACEOF
13003 done
13005 if test "$ac_cv_header_jpeglib_h" = "yes"
13006 then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13008 $as_echo_n "checking for -ljpeg... " >&6; }
13009 if ${ac_cv_lib_soname_jpeg+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 ac_check_soname_save_LIBS=$LIBS
13013 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 char jpeg_start_decompress ();
13025 main ()
13027 return jpeg_start_decompress ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"; then :
13033 case "$LIBEXT" in
13034 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13038 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13039 fi ;;
13040 esac
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_soname_save_LIBS
13046 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13049 JPEG_CFLAGS=""
13050 else
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13052 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13054 cat >>confdefs.h <<_ACEOF
13055 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13056 _ACEOF
13060 else
13061 JPEG_CFLAGS=""
13063 CPPFLAGS=$ac_save_CPPFLAGS
13064 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13065 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13068 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13069 case "x$with_jpeg" in
13070 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13071 xno) ;;
13072 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13073 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13074 esac
13077 if test "x$with_png" != "xno"
13078 then
13079 if ${PNG_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13084 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13085 if ${PNG_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13090 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13092 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13094 ac_save_CPPFLAGS=$CPPFLAGS
13095 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13096 for ac_header in png.h
13097 do :
13098 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13099 if test "x$ac_cv_header_png_h" = xyes; then :
13100 cat >>confdefs.h <<_ACEOF
13101 #define HAVE_PNG_H 1
13102 _ACEOF
13106 done
13108 if test "$ac_cv_header_png_h" = "yes"
13109 then
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13111 $as_echo_n "checking for -lpng... " >&6; }
13112 if ${ac_cv_lib_soname_png+:} false; then :
13113 $as_echo_n "(cached) " >&6
13114 else
13115 ac_check_soname_save_LIBS=$LIBS
13116 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13118 /* end confdefs.h. */
13120 /* Override any GCC internal prototype to avoid an error.
13121 Use char because int might match the return type of a GCC
13122 builtin and then its argument prototype would still apply. */
13123 #ifdef __cplusplus
13124 extern "C"
13125 #endif
13126 char png_create_read_struct ();
13128 main ()
13130 return png_create_read_struct ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"; then :
13136 case "$LIBEXT" in
13137 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13138 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'` ;;
13139 *) 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'`
13140 if ${ac_cv_lib_soname_png:+false} :; then :
13141 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13142 fi ;;
13143 esac
13145 rm -f core conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if ${ac_cv_lib_soname_png:+false} :; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13151 $as_echo "not found" >&6; }
13152 PNG_CFLAGS=""
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13155 $as_echo "$ac_cv_lib_soname_png" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13159 _ACEOF
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13163 #include <png.h>
13165 main ()
13167 typeof(png_set_expand_gray_1_2_4_to_8) *p
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_compile "$LINENO"; then :
13174 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13179 else
13180 PNG_CFLAGS=""
13182 CPPFLAGS=$ac_save_CPPFLAGS
13183 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13184 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13187 if test "x$ac_cv_lib_soname_png" = "x"; then :
13188 case "x$with_png" in
13189 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13190 xno) ;;
13191 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13192 This is an error since --with-png was requested." "$LINENO" 5 ;;
13193 esac
13196 if test "x$with_tiff" != "xno"
13197 then
13198 if ${TIFF_CFLAGS:+false} :; then :
13199 if ${PKG_CONFIG+:} false; then :
13200 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13204 if ${TIFF_LIBS:+false} :; then :
13205 if ${PKG_CONFIG+:} false; then :
13206 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13211 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13212 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13213 ac_save_CPPFLAGS=$CPPFLAGS
13214 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13215 for ac_header in tiffio.h
13216 do :
13217 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13218 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13219 cat >>confdefs.h <<_ACEOF
13220 #define HAVE_TIFFIO_H 1
13221 _ACEOF
13225 done
13227 if test "$ac_cv_header_tiffio_h" = "yes"
13228 then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13230 $as_echo_n "checking for -ltiff... " >&6; }
13231 if ${ac_cv_lib_soname_tiff+:} false; then :
13232 $as_echo_n "(cached) " >&6
13233 else
13234 ac_check_soname_save_LIBS=$LIBS
13235 LIBS="-ltiff $TIFF_LIBS $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 char TIFFClientOpen ();
13247 main ()
13249 return TIFFClientOpen ();
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 case "$LIBEXT" in
13256 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13257 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'` ;;
13258 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13259 if ${ac_cv_lib_soname_tiff:+false} :; then :
13260 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13261 fi ;;
13262 esac
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13266 LIBS=$ac_check_soname_save_LIBS
13268 if ${ac_cv_lib_soname_tiff:+false} :; then :
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13270 $as_echo "not found" >&6; }
13272 else
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13274 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13276 cat >>confdefs.h <<_ACEOF
13277 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13278 _ACEOF
13283 CPPFLAGS=$ac_save_CPPFLAGS
13284 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13285 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13288 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13289 case "x$with_tiff" in
13290 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13291 xno) ;;
13292 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13293 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13294 esac
13297 if test "x$with_mpg123" != "xno"
13298 then
13299 if ${MPG123_CFLAGS:+false} :; then :
13300 if ${PKG_CONFIG+:} false; then :
13301 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13305 if ${MPG123_LIBS:+false} :; then :
13306 if ${PKG_CONFIG+:} false; then :
13307 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13311 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13312 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13313 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13314 ac_save_CPPFLAGS=$CPPFLAGS
13315 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13316 for ac_header in mpg123.h
13317 do :
13318 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13319 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13320 cat >>confdefs.h <<_ACEOF
13321 #define HAVE_MPG123_H 1
13322 _ACEOF
13326 done
13328 if test "$ac_cv_header_mpg123_h" = "yes"
13329 then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13331 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13332 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13333 $as_echo_n "(cached) " >&6
13334 else
13335 ac_check_lib_save_LIBS=$LIBS
13336 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 #ifdef __cplusplus
13344 extern "C"
13345 #endif
13346 char mpg123_feed ();
13348 main ()
13350 return mpg123_feed ();
13352 return 0;
13354 _ACEOF
13355 if ac_fn_c_try_link "$LINENO"; then :
13356 ac_cv_lib_mpg123_mpg123_feed=yes
13357 else
13358 ac_cv_lib_mpg123_mpg123_feed=no
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_lib_save_LIBS
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13365 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13366 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13368 else
13369 MPG123_LIBS=""
13372 else
13373 MPG123_CFLAGS=""
13374 MPG123_LIBS=""
13376 CPPFLAGS=$ac_save_CPPFLAGS
13377 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13378 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13381 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13382 case "x$with_mpg123" in
13383 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13384 xno) ;;
13385 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13386 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13387 esac
13389 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}
13391 if test "$ac_cv_header_AL_al_h" = "yes"
13392 then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13394 $as_echo_n "checking for -lopenal... " >&6; }
13395 if ${ac_cv_lib_soname_openal+:} false; then :
13396 $as_echo_n "(cached) " >&6
13397 else
13398 ac_check_soname_save_LIBS=$LIBS
13399 LIBS="-lopenal $LIBS"
13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char alGetSource3i ();
13411 main ()
13413 return alGetSource3i ();
13415 return 0;
13417 _ACEOF
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 case "$LIBEXT" in
13420 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13421 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'` ;;
13422 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13423 if ${ac_cv_lib_soname_openal:+false} :; then :
13424 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13425 fi ;;
13426 esac
13428 rm -f core conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13430 LIBS=$ac_check_soname_save_LIBS
13432 if ${ac_cv_lib_soname_openal:+false} :; then :
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13434 $as_echo "not found" >&6; }
13436 else
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13438 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13440 cat >>confdefs.h <<_ACEOF
13441 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13442 _ACEOF
13444 OPENAL_LIBS="-lopenal"
13446 ac_cv_lib_openal=yes
13448 cat >>confdefs.h <<_ACEOF
13449 #define HAVE_OPENAL 1
13450 _ACEOF
13454 if test "x$ac_cv_lib_openal" != xyes; then :
13455 case "x$with_openal" in
13456 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13457 xno) ;;
13458 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13459 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13460 esac
13462 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13464 if test "$ac_cv_header_kstat_h" = "yes"
13465 then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13467 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13468 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13469 $as_echo_n "(cached) " >&6
13470 else
13471 ac_check_lib_save_LIBS=$LIBS
13472 LIBS="-lkstat $LIBS"
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13476 /* Override any GCC internal prototype to avoid an error.
13477 Use char because int might match the return type of a GCC
13478 builtin and then its argument prototype would still apply. */
13479 #ifdef __cplusplus
13480 extern "C"
13481 #endif
13482 char kstat_open ();
13484 main ()
13486 return kstat_open ();
13488 return 0;
13490 _ACEOF
13491 if ac_fn_c_try_link "$LINENO"; then :
13492 ac_cv_lib_kstat_kstat_open=yes
13493 else
13494 ac_cv_lib_kstat_kstat_open=no
13496 rm -f core conftest.err conftest.$ac_objext \
13497 conftest$ac_exeext conftest.$ac_ext
13498 LIBS=$ac_check_lib_save_LIBS
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13501 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13502 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13504 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13506 KSTAT_LIBS="-lkstat"
13512 if test "$ac_cv_header_libprocstat_h" = "yes"
13513 then
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13515 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13516 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 ac_check_lib_save_LIBS=$LIBS
13520 LIBS="-lprocstat $LIBS"
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13527 #ifdef __cplusplus
13528 extern "C"
13529 #endif
13530 char procstat_open_sysctl ();
13532 main ()
13534 return procstat_open_sysctl ();
13536 return 0;
13538 _ACEOF
13539 if ac_fn_c_try_link "$LINENO"; then :
13540 ac_cv_lib_procstat_procstat_open_sysctl=yes
13541 else
13542 ac_cv_lib_procstat_procstat_open_sysctl=no
13544 rm -f core conftest.err conftest.$ac_objext \
13545 conftest$ac_exeext conftest.$ac_ext
13546 LIBS=$ac_check_lib_save_LIBS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13549 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13550 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13552 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13554 PROCSTAT_LIBS="-lprocstat"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13561 $as_echo_n "checking for -lodbc... " >&6; }
13562 if ${ac_cv_lib_soname_odbc+:} false; then :
13563 $as_echo_n "(cached) " >&6
13564 else
13565 ac_check_soname_save_LIBS=$LIBS
13566 LIBS="-lodbc $LIBS"
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13573 #ifdef __cplusplus
13574 extern "C"
13575 #endif
13576 char SQLConnect ();
13578 main ()
13580 return SQLConnect ();
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_link "$LINENO"; then :
13586 case "$LIBEXT" in
13587 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13588 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'` ;;
13589 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13590 if ${ac_cv_lib_soname_odbc:+false} :; then :
13591 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13592 fi ;;
13593 esac
13595 rm -f core conftest.err conftest.$ac_objext \
13596 conftest$ac_exeext conftest.$ac_ext
13597 LIBS=$ac_check_soname_save_LIBS
13599 if ${ac_cv_lib_soname_odbc:+false} :; then :
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13601 $as_echo "not found" >&6; }
13602 cat >>confdefs.h <<_ACEOF
13603 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13604 _ACEOF
13606 else
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13608 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13612 _ACEOF
13617 if test "x$with_netapi" != "xno"
13618 then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13620 $as_echo_n "checking for -lnetapi... " >&6; }
13621 if ${ac_cv_lib_soname_netapi+:} false; then :
13622 $as_echo_n "(cached) " >&6
13623 else
13624 ac_check_soname_save_LIBS=$LIBS
13625 LIBS="-lnetapi $LIBS"
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char libnetapi_init ();
13637 main ()
13639 return libnetapi_init ();
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 case "$LIBEXT" in
13646 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13647 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'` ;;
13648 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13649 if ${ac_cv_lib_soname_netapi:+false} :; then :
13650 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13651 fi ;;
13652 esac
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 LIBS=$ac_check_soname_save_LIBS
13658 if ${ac_cv_lib_soname_netapi:+false} :; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13660 $as_echo "not found" >&6; }
13661 cat >>confdefs.h <<_ACEOF
13662 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13663 _ACEOF
13665 else
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13667 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13669 cat >>confdefs.h <<_ACEOF
13670 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13671 _ACEOF
13677 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13678 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13679 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13680 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13682 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13683 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13684 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13685 then
13686 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13690 EXTRACFLAGS=""
13692 if test "x${GCC}" = "xyes"
13693 then
13694 EXTRACFLAGS="-Wall -pipe"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13697 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13698 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 if test "$cross_compiling" = yes; then :
13702 ac_cv_c_gcc_strength_bug="yes"
13703 else
13704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 /* end confdefs.h. */
13706 int L[4] = {0,1,2,3};
13708 main ()
13710 static int Array[3];
13711 unsigned int B = 3;
13712 int i;
13713 for(i=0; i<B; i++) Array[i] = i - 3;
13714 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13715 L[i] = 4;
13716 return (Array[1] != -2 || L[2] != 3)
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_run "$LINENO"; then :
13722 ac_cv_c_gcc_strength_bug="no"
13723 else
13724 ac_cv_c_gcc_strength_bug="yes"
13726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13727 conftest.$ac_objext conftest.beam conftest.$ac_ext
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13732 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13733 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13734 then
13735 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13739 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13740 if ${ac_cv_cflags__fno_builtin+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_wine_try_cflags_saved=$CFLAGS
13744 CFLAGS="$CFLAGS -fno-builtin"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_cflags__fno_builtin=yes
13751 else
13752 ac_cv_cflags__fno_builtin=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13759 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13760 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13761 BUILTINFLAG="-fno-builtin"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13765 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13766 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13767 $as_echo_n "(cached) " >&6
13768 else
13769 ac_wine_try_cflags_saved=$CFLAGS
13770 CFLAGS="$CFLAGS -fno-strict-aliasing"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13774 _ACEOF
13775 if ac_fn_c_try_link "$LINENO"; then :
13776 ac_cv_cflags__fno_strict_aliasing=yes
13777 else
13778 ac_cv_cflags__fno_strict_aliasing=no
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 CFLAGS=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13785 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13786 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13787 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13789 saved_CFLAGS=$CFLAGS
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13791 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13792 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13793 $as_echo_n "(cached) " >&6
13794 else
13795 ac_wine_try_cflags_saved=$CFLAGS
13796 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_cflags__Werror_unknown_warning_option=yes
13803 else
13804 ac_cv_cflags__Werror_unknown_warning_option=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 CFLAGS=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13811 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13812 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13813 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13816 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13817 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_wine_try_cflags_saved=$CFLAGS
13821 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13825 _ACEOF
13826 if ac_fn_c_try_link "$LINENO"; then :
13827 ac_cv_cflags__Wdeclaration_after_statement=yes
13828 else
13829 ac_cv_cflags__Wdeclaration_after_statement=no
13831 rm -f core conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13833 CFLAGS=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13836 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13837 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13838 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13841 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13842 if ${ac_cv_cflags__Wempty_body+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 ac_wine_try_cflags_saved=$CFLAGS
13846 CFLAGS="$CFLAGS -Wempty-body"
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 ac_cv_cflags__Wempty_body=yes
13853 else
13854 ac_cv_cflags__Wempty_body=no
13856 rm -f core conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 CFLAGS=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13861 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13862 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13863 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13866 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13867 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 ac_wine_try_cflags_saved=$CFLAGS
13871 CFLAGS="$CFLAGS -Wignored-qualifiers"
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 int main(int argc, char **argv) { return 0; }
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 ac_cv_cflags__Wignored_qualifiers=yes
13878 else
13879 ac_cv_cflags__Wignored_qualifiers=no
13881 rm -f core conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 CFLAGS=$ac_wine_try_cflags_saved
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13886 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13887 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13888 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13891 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13892 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 ac_wine_try_cflags_saved=$CFLAGS
13896 CFLAGS="$CFLAGS -Wstrict-prototypes"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13899 int main(int argc, char **argv) { return 0; }
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_cflags__Wstrict_prototypes=yes
13903 else
13904 ac_cv_cflags__Wstrict_prototypes=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 CFLAGS=$ac_wine_try_cflags_saved
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13911 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13912 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13913 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13916 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13917 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13918 $as_echo_n "(cached) " >&6
13919 else
13920 ac_wine_try_cflags_saved=$CFLAGS
13921 CFLAGS="$CFLAGS -Wtype-limits"
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923 /* end confdefs.h. */
13924 int main(int argc, char **argv) { return 0; }
13925 _ACEOF
13926 if ac_fn_c_try_link "$LINENO"; then :
13927 ac_cv_cflags__Wtype_limits=yes
13928 else
13929 ac_cv_cflags__Wtype_limits=no
13931 rm -f core conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 CFLAGS=$ac_wine_try_cflags_saved
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13936 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13937 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13938 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13941 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13942 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_wine_try_cflags_saved=$CFLAGS
13946 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 int main(int argc, char **argv) { return 0; }
13950 _ACEOF
13951 if ac_fn_c_try_link "$LINENO"; then :
13952 ac_cv_cflags__Wunused_but_set_parameter=yes
13953 else
13954 ac_cv_cflags__Wunused_but_set_parameter=no
13956 rm -f core conftest.err conftest.$ac_objext \
13957 conftest$ac_exeext conftest.$ac_ext
13958 CFLAGS=$ac_wine_try_cflags_saved
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13961 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13962 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13963 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13966 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13967 if ${ac_cv_cflags__Wvla+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 ac_wine_try_cflags_saved=$CFLAGS
13971 CFLAGS="$CFLAGS -Wvla"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 int main(int argc, char **argv) { return 0; }
13975 _ACEOF
13976 if ac_fn_c_try_link "$LINENO"; then :
13977 ac_cv_cflags__Wvla=yes
13978 else
13979 ac_cv_cflags__Wvla=no
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 CFLAGS=$ac_wine_try_cflags_saved
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13986 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13987 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13988 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13991 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13992 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_wine_try_cflags_saved=$CFLAGS
13996 CFLAGS="$CFLAGS -Wwrite-strings"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
13999 int main(int argc, char **argv) { return 0; }
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"; then :
14002 ac_cv_cflags__Wwrite_strings=yes
14003 else
14004 ac_cv_cflags__Wwrite_strings=no
14006 rm -f core conftest.err conftest.$ac_objext \
14007 conftest$ac_exeext conftest.$ac_ext
14008 CFLAGS=$ac_wine_try_cflags_saved
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14011 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14012 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14013 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14017 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14018 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_wine_try_cflags_saved=$CFLAGS
14022 CFLAGS="$CFLAGS -Wpointer-arith"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14025 int main(int argc, char **argv) { return 0; }
14026 _ACEOF
14027 if ac_fn_c_try_link "$LINENO"; then :
14028 ac_cv_cflags__Wpointer_arith=yes
14029 else
14030 ac_cv_cflags__Wpointer_arith=no
14032 rm -f core conftest.err conftest.$ac_objext \
14033 conftest$ac_exeext conftest.$ac_ext
14034 CFLAGS=$ac_wine_try_cflags_saved
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14037 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14038 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14039 saved_string_h_CFLAGS=$CFLAGS
14040 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14042 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14043 if ${ac_cv_c_string_h_warnings+:} false; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #include <string.h>
14050 main ()
14054 return 0;
14056 _ACEOF
14057 if ac_fn_c_try_compile "$LINENO"; then :
14058 ac_cv_c_string_h_warnings=no
14059 else
14060 ac_cv_c_string_h_warnings=yes
14062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14065 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14066 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14067 CFLAGS=$saved_string_h_CFLAGS
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14071 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14072 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_wine_try_cflags_saved=$CFLAGS
14076 CFLAGS="$CFLAGS -Wlogical-op"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14079 int main(int argc, char **argv) { return 0; }
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_cflags__Wlogical_op=yes
14083 else
14084 ac_cv_cflags__Wlogical_op=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 CFLAGS=$ac_wine_try_cflags_saved
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14091 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14092 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14093 saved_string_h_CFLAGS=$CFLAGS
14094 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14096 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14097 if ${ac_cv_c_logicalop_noisy+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 #include <string.h>
14103 char*f(const char *h,char n) {return strchr(h,n);}
14105 main ()
14109 return 0;
14111 _ACEOF
14112 if ac_fn_c_try_compile "$LINENO"; then :
14113 ac_cv_c_logicalop_noisy=no
14114 else
14115 ac_cv_c_logicalop_noisy=yes
14117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14120 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14121 CFLAGS=$saved_string_h_CFLAGS
14122 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14125 CFLAGS=$saved_CFLAGS
14127 for ac_flag in $CFLAGS; do
14128 case $ac_flag in
14129 -g) case $host_os in
14130 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14131 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14132 if ${ac_cv_cflags__gstabsp+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_wine_try_cflags_saved=$CFLAGS
14136 CFLAGS="$CFLAGS -gstabs+"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 int main(int argc, char **argv) { return 0; }
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_cflags__gstabsp=yes
14143 else
14144 ac_cv_cflags__gstabsp=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 CFLAGS=$ac_wine_try_cflags_saved
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14151 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14152 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14153 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14154 fi ;;
14155 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14156 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14157 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14158 $as_echo_n "(cached) " >&6
14159 else
14160 ac_wine_try_cflags_saved=$CFLAGS
14161 CFLAGS="$CFLAGS -gdwarf-2"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14164 int main(int argc, char **argv) { return 0; }
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 ac_cv_cflags__gdwarf_2=yes
14168 else
14169 ac_cv_cflags__gdwarf_2=no
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 CFLAGS=$ac_wine_try_cflags_saved
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14176 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14177 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14178 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14181 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14182 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_wine_try_cflags_saved=$CFLAGS
14186 CFLAGS="$CFLAGS -gstrict-dwarf"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 int main(int argc, char **argv) { return 0; }
14190 _ACEOF
14191 if ac_fn_c_try_link "$LINENO"; then :
14192 ac_cv_cflags__gstrict_dwarf=yes
14193 else
14194 ac_cv_cflags__gstrict_dwarf=no
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14198 CFLAGS=$ac_wine_try_cflags_saved
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14201 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14202 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14203 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14204 fi ;;
14205 esac ;;
14206 esac
14207 done
14209 case $host_cpu in
14210 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14211 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14212 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 ac_wine_try_cflags_saved=$CFLAGS
14216 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 int main(int argc, char **argv) { return 0; }
14220 _ACEOF
14221 if ac_fn_c_try_link "$LINENO"; then :
14222 ac_cv_cflags__fno_omit_frame_pointer=yes
14223 else
14224 ac_cv_cflags__fno_omit_frame_pointer=no
14226 rm -f core conftest.err conftest.$ac_objext \
14227 conftest$ac_exeext conftest.$ac_ext
14228 CFLAGS=$ac_wine_try_cflags_saved
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14231 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14232 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14233 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14234 fi ;;
14235 esac
14237 case $host in
14238 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14239 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14240 if ${ac_cv_cflags__Wno_format+:} false; then :
14241 $as_echo_n "(cached) " >&6
14242 else
14243 ac_wine_try_cflags_saved=$CFLAGS
14244 CFLAGS="$CFLAGS -Wno-format"
14245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 int main(int argc, char **argv) { return 0; }
14248 _ACEOF
14249 if ac_fn_c_try_link "$LINENO"; then :
14250 ac_cv_cflags__Wno_format=yes
14251 else
14252 ac_cv_cflags__Wno_format=no
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 CFLAGS=$ac_wine_try_cflags_saved
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14259 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14260 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14261 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14262 fi ;;
14263 esac
14265 if test "x$enable_maintainer_mode" = "xyes"
14266 then
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14268 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14269 if ${ac_cv_cflags__Werror+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 ac_wine_try_cflags_saved=$CFLAGS
14273 CFLAGS="$CFLAGS -Werror"
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 int main(int argc, char **argv) { return 0; }
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_cflags__Werror=yes
14280 else
14281 ac_cv_cflags__Werror=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 CFLAGS=$ac_wine_try_cflags_saved
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14288 $as_echo "$ac_cv_cflags__Werror" >&6; }
14289 if test "x$ac_cv_cflags__Werror" = xyes; then :
14290 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14294 saved_CFLAGS="$CFLAGS"
14295 CFLAGS="$CFLAGS -Werror"
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14297 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14298 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14299 $as_echo_n "(cached) " >&6
14300 else
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14303 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14305 main ()
14309 return 0;
14311 _ACEOF
14312 if ac_fn_c_try_compile "$LINENO"; then :
14313 ac_cv_have_ms_hook_prologue="yes"
14314 else
14315 ac_cv_have_ms_hook_prologue="no"
14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14320 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14321 CFLAGS="$saved_CFLAGS"
14322 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14323 then
14325 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14327 else
14328 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14335 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14336 if ${ac_cv_c_fortify_enabled+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14340 /* end confdefs.h. */
14341 #include <string.h>
14343 main ()
14345 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14346 #error Fortify enabled
14347 #endif
14349 return 0;
14351 _ACEOF
14352 if ac_fn_c_try_compile "$LINENO"; then :
14353 ac_cv_c_fortify_enabled=no
14354 else
14355 ac_cv_c_fortify_enabled=yes
14357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14360 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14361 if test "$ac_cv_c_fortify_enabled" = yes
14362 then
14363 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14368 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14369 if ${ac_cv_c_extern_prefix+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14374 extern int ac_test;
14376 main ()
14378 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14380 return 0;
14382 _ACEOF
14383 if ac_fn_c_try_link "$LINENO"; then :
14384 ac_cv_c_extern_prefix="yes"
14385 else
14386 ac_cv_c_extern_prefix="no"
14388 rm -f core conftest.err conftest.$ac_objext \
14389 conftest$ac_exeext conftest.$ac_ext
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14392 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14394 case $host_cpu in
14395 *i[3456789]86*)
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14397 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14398 if ${ac_cv_c_stdcall_suffix+:} false; then :
14399 $as_echo_n "(cached) " >&6
14400 else
14401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14402 /* end confdefs.h. */
14403 #ifndef _MSC_VER
14404 #define __stdcall __attribute__((__stdcall__))
14405 #endif
14406 int __stdcall ac_test(int i) { return i; }
14408 main ()
14410 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_c_stdcall_suffix="yes"
14417 else
14418 ac_cv_c_stdcall_suffix="no"
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14424 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14425 *) ac_cv_c_stdcall_suffix="no" ;;
14426 esac
14429 if test "$ac_cv_c_extern_prefix" = "yes"
14430 then
14431 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14433 asm_name_prefix="_"
14434 else
14435 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14437 asm_name_prefix=""
14441 if test "$ac_cv_c_stdcall_suffix" = "yes"
14442 then
14443 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14445 else
14446 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14452 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14453 if ${ac_cv_asm_func_def+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14460 main ()
14462 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14464 return 0;
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468 ac_cv_asm_func_def=".def"
14469 else
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14474 main ()
14476 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"; then :
14482 ac_cv_asm_func_def=".type @function"
14483 else
14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14488 main ()
14490 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_asm_func_def=".type 2"
14497 else
14498 ac_cv_asm_func_def="unknown"
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14510 $as_echo "$ac_cv_asm_func_def" >&6; }
14513 case "$ac_cv_asm_func_def" in
14514 ".def")
14515 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14517 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14518 ".type @function")
14519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14521 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14522 ".type 2")
14523 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14525 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14527 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14529 asm_func_header="" ;;
14530 esac
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14533 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14534 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14535 $as_echo_n "(cached) " >&6
14536 else
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 asm(".text\n\t.long 0");
14541 main ()
14545 return 0;
14547 _ACEOF
14548 if ac_fn_c_try_compile "$LINENO"; then :
14549 ac_cv_c_asm_outside_funcs="yes"
14550 else
14551 ac_cv_c_asm_outside_funcs="no"
14553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14556 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14559 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14560 if ${ac_cv_c_dot_previous+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14567 main ()
14569 asm(".text\nac_test:\t.long 0\n\t.previous");
14571 return 0;
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_c_dot_previous="yes"
14576 else
14577 ac_cv_c_dot_previous="no"
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14583 $as_echo "$ac_cv_c_dot_previous" >&6; }
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14586 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14587 if ${ac_cv_c_cfi_support+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14594 main ()
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_compile "$LINENO"; then :
14602 ac_cv_c_cfi_support="yes"
14603 else
14604 ac_cv_c_cfi_support="no"
14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14609 $as_echo "$ac_cv_c_cfi_support" >&6; }
14611 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14612 asm_func_trailer=""
14613 if test "$ac_cv_c_dot_previous" = "yes"
14614 then
14615 asm_func_trailer="\\n\\t.previous"
14617 if test "$ac_cv_c_cfi_support" = "yes"
14618 then
14619 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14620 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14622 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14624 UNWINDFLAGS=-fasynchronous-unwind-tables
14626 else
14627 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14631 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14634 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14635 then
14636 cat >>confdefs.h <<_ACEOF
14637 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14638 _ACEOF
14640 else
14641 cat >>confdefs.h <<_ACEOF
14642 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14643 _ACEOF
14647 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14650 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14654 case $build_os in
14655 cygwin*|mingw32*) TOOLSEXT=".exe"
14657 esac
14659 case $host_os in
14660 linux*)
14661 case $host_cpu in
14662 *i[3456789]86*|x86_64*)
14663 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14664 loader_programs="$loader_programs $wine_binary-preloader"
14665 as_fn_append LOADER_RULES "
14666 $wine_binary-preloader: preloader.o
14667 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14669 install install-lib:: $wine_binary-preloader
14670 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14672 uninstall::
14673 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14675 preloader_EXTRADEFS = $BUILTINFLAG
14676 " ;;
14677 esac
14679 esac
14680 as_fn_append LOADER_RULES "
14681 PROGRAMS = $loader_programs
14685 ac_save_CFLAGS="$CFLAGS"
14686 CFLAGS="$CFLAGS $BUILTINFLAG"
14687 for ac_func in \
14688 __res_get_state \
14689 __res_getservers \
14690 _finite \
14691 _isnan \
14692 _pclose \
14693 _popen \
14694 _snprintf \
14695 _spawnvp \
14696 _strdup \
14697 _stricmp \
14698 _strnicmp \
14699 _strtoi64 \
14700 _strtoui64 \
14701 _vsnprintf \
14702 asctime_r \
14703 chsize \
14704 dlopen \
14705 epoll_create \
14706 ffs \
14707 finitef \
14708 fnmatch \
14709 fork \
14710 fpclass \
14711 fstatfs \
14712 fstatvfs \
14713 ftruncate \
14714 futimens \
14715 futimes \
14716 futimesat \
14717 getattrlist \
14718 getdirentries \
14719 getopt_long_only \
14720 getpwuid \
14721 gettimeofday \
14722 getuid \
14723 if_nameindex \
14724 isnanf \
14725 kqueue \
14726 lstat \
14727 memmove \
14728 mmap \
14729 pclose \
14730 pipe2 \
14731 poll \
14732 popen \
14733 port_create \
14734 prctl \
14735 pread \
14736 proc_pidinfo \
14737 pwrite \
14738 readdir \
14739 readlink \
14740 sched_yield \
14741 select \
14742 setproctitle \
14743 setrlimit \
14744 settimeofday \
14745 sigaltstack \
14746 sigprocmask \
14747 snprintf \
14748 statfs \
14749 statvfs \
14750 strcasecmp \
14751 strdup \
14752 strerror \
14753 strncasecmp \
14754 strtold \
14755 strtoll \
14756 strtoull \
14757 symlink \
14758 tcdrain \
14759 thr_kill2 \
14760 timegm \
14761 usleep \
14762 vsnprintf
14764 do :
14765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14767 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14768 cat >>confdefs.h <<_ACEOF
14769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14770 _ACEOF
14773 done
14775 CFLAGS="$ac_save_CFLAGS"
14777 if test "$ac_cv_func_dlopen" = no
14778 then
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14780 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14781 if ${ac_cv_lib_dl_dlopen+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 ac_check_lib_save_LIBS=$LIBS
14785 LIBS="-ldl $LIBS"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14792 #ifdef __cplusplus
14793 extern "C"
14794 #endif
14795 char dlopen ();
14797 main ()
14799 return dlopen ();
14801 return 0;
14803 _ACEOF
14804 if ac_fn_c_try_link "$LINENO"; then :
14805 ac_cv_lib_dl_dlopen=yes
14806 else
14807 ac_cv_lib_dl_dlopen=no
14809 rm -f core conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 LIBS=$ac_check_lib_save_LIBS
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14814 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14815 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14816 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14817 DL_LIBS="-ldl"
14822 ac_wine_check_funcs_save_LIBS="$LIBS"
14823 LIBS="$LIBS $DL_LIBS"
14824 for ac_func in dladdr
14825 do :
14826 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14827 if test "x$ac_cv_func_dladdr" = xyes; then :
14828 cat >>confdefs.h <<_ACEOF
14829 #define HAVE_DLADDR 1
14830 _ACEOF
14833 done
14835 LIBS="$ac_wine_check_funcs_save_LIBS"
14837 if test "$ac_cv_func_poll" = no
14838 then
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14840 $as_echo_n "checking for poll in -lpoll... " >&6; }
14841 if ${ac_cv_lib_poll_poll+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lpoll $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14852 #ifdef __cplusplus
14853 extern "C"
14854 #endif
14855 char poll ();
14857 main ()
14859 return poll ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_lib_poll_poll=yes
14866 else
14867 ac_cv_lib_poll_poll=no
14869 rm -f core conftest.err conftest.$ac_objext \
14870 conftest$ac_exeext conftest.$ac_ext
14871 LIBS=$ac_check_lib_save_LIBS
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14874 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14875 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14876 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14877 POLL_LIBS="-lpoll"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14884 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14885 if ${ac_cv_search_gethostbyname+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_func_search_save_LIBS=$LIBS
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14895 #ifdef __cplusplus
14896 extern "C"
14897 #endif
14898 char gethostbyname ();
14900 main ()
14902 return gethostbyname ();
14904 return 0;
14906 _ACEOF
14907 for ac_lib in '' nsl; do
14908 if test -z "$ac_lib"; then
14909 ac_res="none required"
14910 else
14911 ac_res=-l$ac_lib
14912 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 ac_cv_search_gethostbyname=$ac_res
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext
14919 if ${ac_cv_search_gethostbyname+:} false; then :
14920 break
14922 done
14923 if ${ac_cv_search_gethostbyname+:} false; then :
14925 else
14926 ac_cv_search_gethostbyname=no
14928 rm conftest.$ac_ext
14929 LIBS=$ac_func_search_save_LIBS
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14932 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14933 ac_res=$ac_cv_search_gethostbyname
14934 if test "$ac_res" != no; then :
14935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14941 $as_echo_n "checking for library containing connect... " >&6; }
14942 if ${ac_cv_search_connect+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 ac_func_search_save_LIBS=$LIBS
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 #ifdef __cplusplus
14953 extern "C"
14954 #endif
14955 char connect ();
14957 main ()
14959 return connect ();
14961 return 0;
14963 _ACEOF
14964 for ac_lib in '' socket; do
14965 if test -z "$ac_lib"; then
14966 ac_res="none required"
14967 else
14968 ac_res=-l$ac_lib
14969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 ac_cv_search_connect=$ac_res
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext
14976 if ${ac_cv_search_connect+:} false; then :
14977 break
14979 done
14980 if ${ac_cv_search_connect+:} false; then :
14982 else
14983 ac_cv_search_connect=no
14985 rm conftest.$ac_ext
14986 LIBS=$ac_func_search_save_LIBS
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14989 $as_echo "$ac_cv_search_connect" >&6; }
14990 ac_res=$ac_cv_search_connect
14991 if test "$ac_res" != no; then :
14992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14998 $as_echo_n "checking for library containing inet_aton... " >&6; }
14999 if ${ac_cv_search_inet_aton+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_func_search_save_LIBS=$LIBS
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 #ifdef __cplusplus
15010 extern "C"
15011 #endif
15012 char inet_aton ();
15014 main ()
15016 return inet_aton ();
15018 return 0;
15020 _ACEOF
15021 for ac_lib in '' resolv; do
15022 if test -z "$ac_lib"; then
15023 ac_res="none required"
15024 else
15025 ac_res=-l$ac_lib
15026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15028 if ac_fn_c_try_link "$LINENO"; then :
15029 ac_cv_search_inet_aton=$ac_res
15031 rm -f core conftest.err conftest.$ac_objext \
15032 conftest$ac_exeext
15033 if ${ac_cv_search_inet_aton+:} false; then :
15034 break
15036 done
15037 if ${ac_cv_search_inet_aton+:} false; then :
15039 else
15040 ac_cv_search_inet_aton=no
15042 rm conftest.$ac_ext
15043 LIBS=$ac_func_search_save_LIBS
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15046 $as_echo "$ac_cv_search_inet_aton" >&6; }
15047 ac_res=$ac_cv_search_inet_aton
15048 if test "$ac_res" != no; then :
15049 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15054 for ac_func in \
15055 getaddrinfo \
15056 getnameinfo \
15057 getnetbyname \
15058 getprotobyname \
15059 getprotobynumber \
15060 getservbyport \
15061 inet_addr \
15062 inet_network \
15063 inet_ntop \
15064 inet_pton \
15065 sendmsg \
15066 socketpair \
15068 do :
15069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15072 cat >>confdefs.h <<_ACEOF
15073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15074 _ACEOF
15077 done
15080 ac_save_LIBS=$LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15082 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15083 if ${ac_cv_search_clock_gettime+:} false; then :
15084 $as_echo_n "(cached) " >&6
15085 else
15086 ac_func_search_save_LIBS=$LIBS
15087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15093 #ifdef __cplusplus
15094 extern "C"
15095 #endif
15096 char clock_gettime ();
15098 main ()
15100 return clock_gettime ();
15102 return 0;
15104 _ACEOF
15105 for ac_lib in '' rt; do
15106 if test -z "$ac_lib"; then
15107 ac_res="none required"
15108 else
15109 ac_res=-l$ac_lib
15110 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15112 if ac_fn_c_try_link "$LINENO"; then :
15113 ac_cv_search_clock_gettime=$ac_res
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext
15117 if ${ac_cv_search_clock_gettime+:} false; then :
15118 break
15120 done
15121 if ${ac_cv_search_clock_gettime+:} false; then :
15123 else
15124 ac_cv_search_clock_gettime=no
15126 rm conftest.$ac_ext
15127 LIBS=$ac_func_search_save_LIBS
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15130 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15131 ac_res=$ac_cv_search_clock_gettime
15132 if test "$ac_res" != no; then :
15133 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15135 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15137 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15141 LIBS=$ac_save_LIBS
15143 LDAP_LIBS=""
15145 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15146 then
15147 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15149 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15151 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15152 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 ac_check_lib_save_LIBS=$LIBS
15156 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15160 /* Override any GCC internal prototype to avoid an error.
15161 Use char because int might match the return type of a GCC
15162 builtin and then its argument prototype would still apply. */
15163 #ifdef __cplusplus
15164 extern "C"
15165 #endif
15166 char ldap_initialize ();
15168 main ()
15170 return ldap_initialize ();
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_link "$LINENO"; then :
15176 ac_cv_lib_ldap_r_ldap_initialize=yes
15177 else
15178 ac_cv_lib_ldap_r_ldap_initialize=no
15180 rm -f core conftest.err conftest.$ac_objext \
15181 conftest$ac_exeext conftest.$ac_ext
15182 LIBS=$ac_check_lib_save_LIBS
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15185 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15186 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15188 $as_echo_n "checking for ber_init in -llber... " >&6; }
15189 if ${ac_cv_lib_lber_ber_init+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 ac_check_lib_save_LIBS=$LIBS
15193 LIBS="-llber $PTHREAD_LIBS $LIBS"
15194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 char ber_init ();
15205 main ()
15207 return ber_init ();
15209 return 0;
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 ac_cv_lib_lber_ber_init=yes
15214 else
15215 ac_cv_lib_lber_ber_init=no
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15219 LIBS=$ac_check_lib_save_LIBS
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15222 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15223 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15225 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15227 LDAP_LIBS="-lldap_r -llber"
15234 ac_wine_check_funcs_save_LIBS="$LIBS"
15235 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15236 for ac_func in \
15237 ldap_count_references \
15238 ldap_first_reference \
15239 ldap_next_reference \
15240 ldap_parse_reference \
15241 ldap_parse_sort_control \
15242 ldap_parse_sortresponse_control \
15243 ldap_parse_vlv_control \
15244 ldap_parse_vlvresponse_control
15245 do :
15246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15249 cat >>confdefs.h <<_ACEOF
15250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15251 _ACEOF
15254 done
15256 LIBS="$ac_wine_check_funcs_save_LIBS"
15258 if test "x$LDAP_LIBS" = "x"; then :
15259 case "x$with_ldap" in
15260 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15263 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15264 esac
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15268 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15269 if ${wine_cv_one_arg_mkdir+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15274 #include <sys/stat.h>
15276 main ()
15278 mkdir("foo");
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_compile "$LINENO"; then :
15284 wine_cv_one_arg_mkdir=yes
15285 else
15286 wine_cv_one_arg_mkdir=no
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15291 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15292 if test "$wine_cv_one_arg_mkdir" = "yes"
15293 then
15295 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15300 $as_echo_n "checking for sched_setaffinity... " >&6; }
15301 if ${wine_cv_have_sched_setaffinity+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 #define _GNU_SOURCE
15307 #include <sched.h>
15309 main ()
15311 sched_setaffinity(0, 0, 0);
15313 return 0;
15315 _ACEOF
15316 if ac_fn_c_try_link "$LINENO"; then :
15317 wine_cv_have_sched_setaffinity=yes
15318 else
15319 wine_cv_have_sched_setaffinity=no
15321 rm -f core conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext conftest.$ac_ext
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15325 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15326 if test "$wine_cv_have_sched_setaffinity" = "yes"
15327 then
15329 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15334 $as_echo_n "checking for fallocate... " >&6; }
15335 if ${wine_cv_have_fallocate+:} false; then :
15336 $as_echo_n "(cached) " >&6
15337 else
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15340 #define _GNU_SOURCE
15341 #include <fcntl.h>
15343 main ()
15345 fallocate(-1, 0, 0, 0);
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"; then :
15351 wine_cv_have_fallocate=yes
15352 else
15353 wine_cv_have_fallocate=no
15355 rm -f core conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15359 $as_echo "$wine_cv_have_fallocate" >&6; }
15360 if test "$wine_cv_have_fallocate" = "yes"
15361 then
15363 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15369 $as_echo_n "checking for inline... " >&6; }
15370 if ${ac_cv_c_inline+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 ac_cv_c_inline=no
15374 for ac_kw in inline __inline__ __inline; do
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15377 #ifndef __cplusplus
15378 typedef int foo_t;
15379 static $ac_kw foo_t static_foo () {return 0; }
15380 $ac_kw foo_t foo () {return 0; }
15381 #endif
15383 _ACEOF
15384 if ac_fn_c_try_compile "$LINENO"; then :
15385 ac_cv_c_inline=$ac_kw
15387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15388 test "$ac_cv_c_inline" != no && break
15389 done
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15393 $as_echo "$ac_cv_c_inline" >&6; }
15395 case $ac_cv_c_inline in
15396 inline | yes) ;;
15398 case $ac_cv_c_inline in
15399 no) ac_val=;;
15400 *) ac_val=$ac_cv_c_inline;;
15401 esac
15402 cat >>confdefs.h <<_ACEOF
15403 #ifndef __cplusplus
15404 #define inline $ac_val
15405 #endif
15406 _ACEOF
15408 esac
15410 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15411 if test "x$ac_cv_type_mode_t" = xyes; then :
15413 cat >>confdefs.h <<_ACEOF
15414 #define HAVE_MODE_T 1
15415 _ACEOF
15419 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15420 if test "x$ac_cv_type_off_t" = xyes; then :
15422 cat >>confdefs.h <<_ACEOF
15423 #define HAVE_OFF_T 1
15424 _ACEOF
15428 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15429 if test "x$ac_cv_type_pid_t" = xyes; then :
15431 cat >>confdefs.h <<_ACEOF
15432 #define HAVE_PID_T 1
15433 _ACEOF
15437 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15438 if test "x$ac_cv_type_size_t" = xyes; then :
15440 cat >>confdefs.h <<_ACEOF
15441 #define HAVE_SIZE_T 1
15442 _ACEOF
15446 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15447 if test "x$ac_cv_type_ssize_t" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_SSIZE_T 1
15451 _ACEOF
15455 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15456 if test "x$ac_cv_type_long_long" = xyes; then :
15458 cat >>confdefs.h <<_ACEOF
15459 #define HAVE_LONG_LONG 1
15460 _ACEOF
15464 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15465 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15467 cat >>confdefs.h <<_ACEOF
15468 #define HAVE_FSBLKCNT_T 1
15469 _ACEOF
15473 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15474 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15476 cat >>confdefs.h <<_ACEOF
15477 #define HAVE_FSFILCNT_T 1
15478 _ACEOF
15483 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15484 #include <signal.h>
15486 if test "x$ac_cv_type_sigset_t" = xyes; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_SIGSET_T 1
15490 _ACEOF
15495 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15497 if test "x$ac_cv_type_request_sense" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_REQUEST_SENSE 1
15501 _ACEOF
15507 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15508 #ifdef HAVE_SYS_SOCKET_H
15509 #include <sys/socket.h>
15510 #endif
15511 #ifdef HAVE_SYS_SOCKETVAR_H
15512 #include <sys/socketvar.h>
15513 #endif
15514 #ifdef HAVE_NET_ROUTE_H
15515 #include <net/route.h>
15516 #endif
15517 #ifdef HAVE_NETINET_IN_H
15518 #include <netinet/in.h>
15519 #endif
15520 #ifdef HAVE_NETINET_IN_SYSTM_H
15521 #include <netinet/in_systm.h>
15522 #endif
15523 #ifdef HAVE_NETINET_IP_H
15524 #include <netinet/ip.h>
15525 #endif
15526 #ifdef HAVE_NETINET_IN_PCB_H
15527 #include <netinet/in_pcb.h>
15528 #endif
15530 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15532 cat >>confdefs.h <<_ACEOF
15533 #define HAVE_STRUCT_XINPGEN 1
15534 _ACEOF
15540 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15541 #include <link.h>
15542 #endif
15543 #ifdef HAVE_SYS_LINK_H
15544 #include <sys/link.h>
15545 #endif
15547 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_R_DEBUG 1
15551 _ACEOF
15555 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15556 #include <link.h>
15557 #endif
15558 #ifdef HAVE_SYS_LINK_H
15559 #include <sys/link.h>
15560 #endif
15562 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15564 cat >>confdefs.h <<_ACEOF
15565 #define HAVE_STRUCT_LINK_MAP 1
15566 _ACEOF
15572 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15573 #include <linux/input.h>
15574 #endif
15576 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15578 cat >>confdefs.h <<_ACEOF
15579 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15580 _ACEOF
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15587 $as_echo_n "checking for sigaddset... " >&6; }
15588 if ${wine_cv_have_sigaddset+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15593 #include <signal.h>
15595 main ()
15597 sigset_t set; sigaddset(&set,SIGTERM);
15599 return 0;
15601 _ACEOF
15602 if ac_fn_c_try_link "$LINENO"; then :
15603 wine_cv_have_sigaddset=yes
15604 else
15605 wine_cv_have_sigaddset=no
15607 rm -f core conftest.err conftest.$ac_objext \
15608 conftest$ac_exeext conftest.$ac_ext
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15611 $as_echo "$wine_cv_have_sigaddset" >&6; }
15612 if test "$wine_cv_have_sigaddset" = "yes"
15613 then
15615 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15621 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15622 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15623 $as_echo_n "(cached) " >&6
15624 else
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 #include <netdb.h>
15629 main ()
15632 char *name=0;
15633 struct hostent he;
15634 struct hostent *result;
15635 char *buf=0;
15636 int bufsize=0;
15637 int errnr;
15638 char *addr=0;
15639 int addrlen=0;
15640 int addrtype=0;
15641 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15642 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15645 return 0;
15647 _ACEOF
15648 if ac_fn_c_try_link "$LINENO"; then :
15649 wine_cv_linux_gethostbyname_r_6=yes
15650 else
15651 wine_cv_linux_gethostbyname_r_6=no
15654 rm -f core conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15659 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15660 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15661 then
15663 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15667 if test "$ac_cv_header_linux_joystick_h" = "yes"
15668 then
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15670 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15671 if ${wine_cv_linux_joystick_22_api+:} false; then :
15672 $as_echo_n "(cached) " >&6
15673 else
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 #include <sys/ioctl.h>
15678 #include <sys/types.h>
15679 #include <linux/joystick.h>
15681 struct js_event blub;
15682 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15683 #error "no 2.2 header"
15684 #endif
15687 main ()
15689 /*empty*/
15691 return 0;
15693 _ACEOF
15694 if ac_fn_c_try_compile "$LINENO"; then :
15695 wine_cv_linux_joystick_22_api=yes
15696 else
15697 wine_cv_linux_joystick_22_api=no
15699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15703 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15704 if test "$wine_cv_linux_joystick_22_api" = "yes"
15705 then
15707 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15713 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_PARAM_H
15715 # include <sys/param.h>
15716 #endif
15717 #ifdef HAVE_SYS_MOUNT_H
15718 # include <sys/mount.h>
15719 #endif
15720 #ifdef HAVE_SYS_VFS_H
15721 # include <sys/vfs.h>
15722 #endif
15723 #ifdef HAVE_SYS_STATFS_H
15724 # include <sys/statfs.h>
15725 #endif
15727 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_STRUCT_STATFS_F_BFREE 1
15731 _ACEOF
15735 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15736 #ifdef HAVE_SYS_PARAM_H
15737 # include <sys/param.h>
15738 #endif
15739 #ifdef HAVE_SYS_MOUNT_H
15740 # include <sys/mount.h>
15741 #endif
15742 #ifdef HAVE_SYS_VFS_H
15743 # include <sys/vfs.h>
15744 #endif
15745 #ifdef HAVE_SYS_STATFS_H
15746 # include <sys/statfs.h>
15747 #endif
15749 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15753 _ACEOF
15757 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15758 #ifdef HAVE_SYS_PARAM_H
15759 # include <sys/param.h>
15760 #endif
15761 #ifdef HAVE_SYS_MOUNT_H
15762 # include <sys/mount.h>
15763 #endif
15764 #ifdef HAVE_SYS_VFS_H
15765 # include <sys/vfs.h>
15766 #endif
15767 #ifdef HAVE_SYS_STATFS_H
15768 # include <sys/statfs.h>
15769 #endif
15771 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15775 _ACEOF
15779 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15780 #ifdef HAVE_SYS_PARAM_H
15781 # include <sys/param.h>
15782 #endif
15783 #ifdef HAVE_SYS_MOUNT_H
15784 # include <sys/mount.h>
15785 #endif
15786 #ifdef HAVE_SYS_VFS_H
15787 # include <sys/vfs.h>
15788 #endif
15789 #ifdef HAVE_SYS_STATFS_H
15790 # include <sys/statfs.h>
15791 #endif
15793 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15795 cat >>confdefs.h <<_ACEOF
15796 #define HAVE_STRUCT_STATFS_F_FFREE 1
15797 _ACEOF
15801 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15802 #ifdef HAVE_SYS_PARAM_H
15803 # include <sys/param.h>
15804 #endif
15805 #ifdef HAVE_SYS_MOUNT_H
15806 # include <sys/mount.h>
15807 #endif
15808 #ifdef HAVE_SYS_VFS_H
15809 # include <sys/vfs.h>
15810 #endif
15811 #ifdef HAVE_SYS_STATFS_H
15812 # include <sys/statfs.h>
15813 #endif
15815 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15819 _ACEOF
15823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15824 #ifdef HAVE_SYS_PARAM_H
15825 # include <sys/param.h>
15826 #endif
15827 #ifdef HAVE_SYS_MOUNT_H
15828 # include <sys/mount.h>
15829 #endif
15830 #ifdef HAVE_SYS_VFS_H
15831 # include <sys/vfs.h>
15832 #endif
15833 #ifdef HAVE_SYS_STATFS_H
15834 # include <sys/statfs.h>
15835 #endif
15837 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15841 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15848 #include <sys/statvfs.h>
15849 #endif
15851 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15855 _ACEOF
15861 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15862 #include <dirent.h>
15863 #endif
15865 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15869 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15876 #ifdef HAVE_SYS_SOCKET_H
15877 # include <sys/socket.h>
15878 #endif
15879 #ifdef HAVE_SYS_UN_H
15880 # include <sys/un.h>
15881 #endif
15883 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15887 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15892 #ifdef HAVE_SYS_SOCKET_H
15893 # include <sys/socket.h>
15894 #endif
15895 #ifdef HAVE_SYS_UN_H
15896 # include <sys/un.h>
15897 #endif
15899 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15908 #ifdef HAVE_SYS_SOCKET_H
15909 # include <sys/socket.h>
15910 #endif
15911 #ifdef HAVE_SYS_UN_H
15912 # include <sys/un.h>
15913 #endif
15915 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15919 _ACEOF
15925 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15926 #ifdef HAVE_SCSI_SG_H
15927 #include <scsi/sg.h>
15928 #endif
15930 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_SCSIREQ_T_CMD 1
15934 _ACEOF
15938 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>
15939 #ifdef HAVE_SCSI_SG_H
15940 #include <scsi/sg.h>
15941 #endif
15943 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15947 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15955 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_SIGINFO_T_SI_FD 1
15959 _ACEOF
15965 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15966 #ifdef HAVE_SYS_MTIO_H
15967 #include <sys/mtio.h>
15968 #endif
15970 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15974 _ACEOF
15978 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15979 #ifdef HAVE_SYS_MTIO_H
15980 #include <sys/mtio.h>
15981 #endif
15983 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15987 _ACEOF
15991 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15992 #ifdef HAVE_SYS_MTIO_H
15993 #include <sys/mtio.h>
15994 #endif
15996 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16000 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16007 #include <getopt.h>
16008 #endif
16010 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_STRUCT_OPTION_NAME 1
16014 _ACEOF
16020 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16021 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16023 cat >>confdefs.h <<_ACEOF
16024 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16025 _ACEOF
16029 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16030 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_STRUCT_STAT_ST_MTIM 1
16034 _ACEOF
16038 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16039 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16043 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16048 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_STAT_ST_CTIM 1
16052 _ACEOF
16056 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16057 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16061 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16066 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_STRUCT_STAT_ST_ATIM 1
16070 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16075 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16079 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16084 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16088 _ACEOF
16092 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16093 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16097 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16102 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16106 _ACEOF
16110 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16111 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16115 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16120 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16124 _ACEOF
16130 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
16131 #include <sys/types.h>
16132 #endif
16133 #ifdef HAVE_NETINET_IN_H
16134 #include <netinet/in.h>
16135 #endif
16137 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16141 _ACEOF
16147 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16148 #include <resolv.h>
16149 #endif
16151 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT___RES_STATE 1
16155 _ACEOF
16161 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
16162 #include <resolv.h>
16163 #endif
16165 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16169 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16176 #include <sys/types.h>
16177 #endif
16178 #ifdef HAVE_NETINET_IN_H
16179 # include <netinet/in.h>
16180 #endif
16181 #ifdef HAVE_ARPA_NAMESER_H
16182 # include <arpa/nameser.h>
16183 #endif
16185 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_NS_MSG__MSG_PTR 1
16189 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16196 #include <sys/types.h>
16197 #endif
16198 #ifdef HAVE_NETINET_IP_H
16199 #include <netinet/ip.h>
16200 #endif
16201 #ifdef HAVE_NETINET_IP_ICMP_H
16202 #include <netinet/ip_icmp.h>
16203 #endif
16204 #ifdef HAVE_NETINET_ICMP_VAR_H
16205 #include <netinet/icmp_var.h>
16206 #endif
16208 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16212 _ACEOF
16218 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16219 #include <sys/types.h>
16220 #endif
16221 #ifdef HAVE_ALIAS_H
16222 #include <alias.h>
16223 #endif
16224 #ifdef HAVE_SYS_SOCKET_H
16225 #include <sys/socket.h>
16226 #endif
16227 #ifdef HAVE_SYS_SOCKETVAR_H
16228 #include <sys/socketvar.h>
16229 #endif
16230 #ifdef HAVE_SYS_TIMEOUT_H
16231 #include <sys/timeout.h>
16232 #endif
16233 #ifdef HAVE_NETINET_IN_H
16234 #include <netinet/in.h>
16235 #endif
16236 #ifdef HAVE_NETINET_IN_SYSTM_H
16237 #include <netinet/in_systm.h>
16238 #endif
16239 #ifdef HAVE_NETINET_IP_H
16240 #include <netinet/ip.h>
16241 #endif
16242 #ifdef HAVE_NETINET_IP_VAR_H
16243 #include <netinet/ip_var.h>
16244 #endif
16245 #ifdef HAVE_NETINET_IP_ICMP_H
16246 #include <netinet/ip_icmp.h>
16247 #endif
16248 #ifdef HAVE_NETINET_ICMP_VAR_H
16249 #include <netinet/icmp_var.h>
16250 #endif
16252 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16254 cat >>confdefs.h <<_ACEOF
16255 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16256 _ACEOF
16262 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16263 #include <sys/types.h>
16264 #endif
16265 #ifdef HAVE_SYS_SOCKETVAR_H
16266 #include <sys/socketvar.h>
16267 #endif
16268 #ifdef HAVE_NETINET_IN_H
16269 #include <netinet/in.h>
16270 #endif
16271 #ifdef HAVE_NETINET_IP_VAR_H
16272 #include <netinet/ip_var.h>
16273 #endif
16275 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16279 _ACEOF
16285 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
16286 #include <netinet/ip_var.h>
16287 #endif
16289 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16293 _ACEOF
16299 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16300 #include <sys/types.h>
16301 #endif
16302 #ifdef HAVE_SYS_SOCKETVAR_H
16303 #include <sys/socketvar.h>
16304 #endif
16305 #ifdef HAVE_NETINET_IN_H
16306 #include <netinet/in.h>
16307 #endif
16308 #ifdef HAVE_NETINET_TCP_H
16309 #include <netinet/tcp.h>
16310 #endif
16311 #ifdef HAVE_NETINET_TCP_VAR_H
16312 #include <netinet/tcp_var.h>
16313 #endif
16315 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16319 _ACEOF
16325 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
16326 #include <netinet/tcp_var.h>
16327 #endif
16329 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16333 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16340 #include <sys/types.h>
16341 #endif
16342 #ifdef HAVE_NETINET_IN_H
16343 #include <netinet/in.h>
16344 #endif
16345 #ifdef HAVE_NETINET_IP_VAR_H
16346 #include <netinet/ip_var.h>
16347 #endif
16348 #ifdef HAVE_NETINET_UDP_H
16349 #include <netinet/udp.h>
16350 #endif
16351 #ifdef HAVE_NETINET_UDP_VAR_H
16352 #include <netinet/udp_var.h>
16353 #endif
16355 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16359 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16366 #include <sys/types.h>
16367 #endif
16368 #ifdef HAVE_NET_IF_H
16369 # include <net/if.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16376 _ACEOF
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16383 $as_echo_n "checking for timezone variable... " >&6; }
16384 if ${ac_cv_have_timezone+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <time.h>
16391 main ()
16393 timezone = 1
16395 return 0;
16397 _ACEOF
16398 if ac_fn_c_try_link "$LINENO"; then :
16399 ac_cv_have_timezone="yes"
16400 else
16401 ac_cv_have_timezone="no"
16403 rm -f core conftest.err conftest.$ac_objext \
16404 conftest$ac_exeext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16407 $as_echo "$ac_cv_have_timezone" >&6; }
16408 if test "$ac_cv_have_timezone" = "yes"
16409 then
16411 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16415 $as_echo_n "checking for daylight variable... " >&6; }
16416 if ${ac_cv_have_daylight+:} false; then :
16417 $as_echo_n "(cached) " >&6
16418 else
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16420 /* end confdefs.h. */
16421 #include <time.h>
16423 main ()
16425 daylight = 1
16427 return 0;
16429 _ACEOF
16430 if ac_fn_c_try_link "$LINENO"; then :
16431 ac_cv_have_daylight="yes"
16432 else
16433 ac_cv_have_daylight="no"
16435 rm -f core conftest.err conftest.$ac_objext \
16436 conftest$ac_exeext conftest.$ac_ext
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16439 $as_echo "$ac_cv_have_daylight" >&6; }
16440 if test "$ac_cv_have_daylight" = "yes"
16441 then
16443 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16447 ac_save_LIBS="$LIBS"
16448 LIBS="$LIBS -lm"
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16450 $as_echo_n "checking for isfinite... " >&6; }
16451 if ${ac_cv_have_isfinite+:} false; then :
16452 $as_echo_n "(cached) " >&6
16453 else
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456 #define _GNU_SOURCE
16457 #include <math.h>
16459 main ()
16461 float f = 0.0; return isfinite(f)
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"; then :
16467 ac_cv_have_isfinite="yes"
16468 else
16469 ac_cv_have_isfinite="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_isfinite" >&5
16475 $as_echo "$ac_cv_have_isfinite" >&6; }
16476 if test "$ac_cv_have_isfinite" = "yes"
16477 then
16479 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16484 $as_echo_n "checking for isinf... " >&6; }
16485 if ${ac_cv_have_isinf+:} 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 isinf(f)
16496 return 0;
16498 _ACEOF
16499 if ac_fn_c_try_link "$LINENO"; then :
16500 ac_cv_have_isinf="yes"
16501 else
16502 ac_cv_have_isinf="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_isinf" >&5
16508 $as_echo "$ac_cv_have_isinf" >&6; }
16509 if test "$ac_cv_have_isinf" = "yes"
16510 then
16512 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16517 $as_echo_n "checking for isnan... " >&6; }
16518 if ${ac_cv_have_isnan+:} false; then :
16519 $as_echo_n "(cached) " >&6
16520 else
16521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16522 /* end confdefs.h. */
16523 #include <math.h>
16525 main ()
16527 float f = 0.0; return isnan(f)
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_link "$LINENO"; then :
16533 ac_cv_have_isnan="yes"
16534 else
16535 ac_cv_have_isnan="no"
16537 rm -f core conftest.err conftest.$ac_objext \
16538 conftest$ac_exeext conftest.$ac_ext
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16541 $as_echo "$ac_cv_have_isnan" >&6; }
16542 if test "$ac_cv_have_isnan" = "yes"
16543 then
16545 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16549 for ac_func in \
16550 cbrt \
16551 cbrtf \
16552 exp2 \
16553 exp2f \
16554 llrint \
16555 llrintf \
16556 llround \
16557 llroundf \
16558 log2 \
16559 log2f \
16560 lrint \
16561 lrintf \
16562 lround \
16563 lroundf \
16564 rint \
16565 rintf \
16566 round \
16567 roundf \
16568 trunc \
16569 truncf
16571 do :
16572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16577 _ACEOF
16580 done
16582 LIBS="$ac_save_LIBS"
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16585 $as_echo_n "checking for __builtin_clz... " >&6; }
16586 if ${ac_cv_have___builtin_clz+:} false; then :
16587 $as_echo_n "(cached) " >&6
16588 else
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16593 main ()
16595 return __builtin_clz(1)
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"; then :
16601 ac_cv_have___builtin_clz="yes"
16602 else
16603 ac_cv_have___builtin_clz="no"
16605 rm -f core conftest.err conftest.$ac_objext \
16606 conftest$ac_exeext conftest.$ac_ext
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16609 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16610 if test "$ac_cv_have___builtin_clz" = "yes"
16611 then
16613 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16618 case $host_cpu in
16619 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16620 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16621 if ${ac_cv_cpp_def___i386__+:} false; then :
16622 $as_echo_n "(cached) " >&6
16623 else
16624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16626 #ifndef __i386__
16628 #endif
16629 _ACEOF
16630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16631 $EGREP "yes" >/dev/null 2>&1; then :
16632 ac_cv_cpp_def___i386__=yes
16633 else
16634 ac_cv_cpp_def___i386__=no
16636 rm -f conftest*
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16640 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16641 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16642 CFLAGS="$CFLAGS -D__i386__"
16643 LINTFLAGS="$LINTFLAGS -D__i386__"
16644 fi ;;
16645 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16646 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16647 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #ifndef __x86_64__
16654 #endif
16655 _ACEOF
16656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16657 $EGREP "yes" >/dev/null 2>&1; then :
16658 ac_cv_cpp_def___x86_64__=yes
16659 else
16660 ac_cv_cpp_def___x86_64__=no
16662 rm -f conftest*
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16666 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16667 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16668 CFLAGS="$CFLAGS -D__x86_64__"
16669 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16670 fi ;;
16671 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16672 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16673 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16678 #ifndef __sparc64__
16680 #endif
16681 _ACEOF
16682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16683 $EGREP "yes" >/dev/null 2>&1; then :
16684 ac_cv_cpp_def___sparc64__=yes
16685 else
16686 ac_cv_cpp_def___sparc64__=no
16688 rm -f conftest*
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16692 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16693 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16694 CFLAGS="$CFLAGS -D__sparc64__"
16695 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16696 fi ;;
16697 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16698 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16699 if ${ac_cv_cpp_def___sparc__+:} false; then :
16700 $as_echo_n "(cached) " >&6
16701 else
16702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703 /* end confdefs.h. */
16704 #ifndef __sparc__
16706 #endif
16707 _ACEOF
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "yes" >/dev/null 2>&1; then :
16710 ac_cv_cpp_def___sparc__=yes
16711 else
16712 ac_cv_cpp_def___sparc__=no
16714 rm -f conftest*
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16718 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16719 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16720 CFLAGS="$CFLAGS -D__sparc__"
16721 LINTFLAGS="$LINTFLAGS -D__sparc__"
16722 fi ;;
16723 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16724 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16725 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16730 #ifndef __powerpc64__
16732 #endif
16733 _ACEOF
16734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16735 $EGREP "yes" >/dev/null 2>&1; then :
16736 ac_cv_cpp_def___powerpc64__=yes
16737 else
16738 ac_cv_cpp_def___powerpc64__=no
16740 rm -f conftest*
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16744 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16745 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16746 CFLAGS="$CFLAGS -D__powerpc64__"
16747 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16748 fi ;;
16749 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16750 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16751 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16752 $as_echo_n "(cached) " >&6
16753 else
16754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16756 #ifndef __powerpc__
16758 #endif
16759 _ACEOF
16760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16761 $EGREP "yes" >/dev/null 2>&1; then :
16762 ac_cv_cpp_def___powerpc__=yes
16763 else
16764 ac_cv_cpp_def___powerpc__=no
16766 rm -f conftest*
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16770 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16771 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16772 CFLAGS="$CFLAGS -D__powerpc__"
16773 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16774 fi ;;
16775 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16776 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16777 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16782 #ifndef __aarch64__
16784 #endif
16785 _ACEOF
16786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16787 $EGREP "yes" >/dev/null 2>&1; then :
16788 ac_cv_cpp_def___aarch64__=yes
16789 else
16790 ac_cv_cpp_def___aarch64__=no
16792 rm -f conftest*
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16796 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16797 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16798 CFLAGS="$CFLAGS -D__aarch64__"
16799 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16800 fi ;;
16801 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16802 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16803 if ${ac_cv_cpp_def___arm__+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 #ifndef __arm__
16810 #endif
16811 _ACEOF
16812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16813 $EGREP "yes" >/dev/null 2>&1; then :
16814 ac_cv_cpp_def___arm__=yes
16815 else
16816 ac_cv_cpp_def___arm__=no
16818 rm -f conftest*
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16822 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16823 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16824 CFLAGS="$CFLAGS -D__arm__"
16825 LINTFLAGS="$LINTFLAGS -D__arm__"
16826 fi ;;
16827 esac
16829 case $host_vendor in
16830 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16831 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16832 if ${ac_cv_cpp_def___sun__+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #ifndef __sun__
16839 #endif
16840 _ACEOF
16841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16842 $EGREP "yes" >/dev/null 2>&1; then :
16843 ac_cv_cpp_def___sun__=yes
16844 else
16845 ac_cv_cpp_def___sun__=no
16847 rm -f conftest*
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16851 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16852 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16853 CFLAGS="$CFLAGS -D__sun__"
16854 LINTFLAGS="$LINTFLAGS -D__sun__"
16855 fi ;;
16856 esac
16862 ac_config_commands="$ac_config_commands include/stamp-h"
16864 $as_echo_n "creating Makefile rules..." >&6
16866 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16867 SOCKET_LIBS = $SOCKET_LIBS
16868 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16869 IOKIT_LIBS = $IOKIT_LIBS
16870 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16871 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16872 CORESERVICES_LIBS = $CORESERVICES_LIBS
16873 APPKIT_LIBS = $APPKIT_LIBS
16874 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16875 SECURITY_LIBS = $SECURITY_LIBS
16876 COREAUDIO_LIBS = $COREAUDIO_LIBS
16877 OPENAL_LIBS = $OPENAL_LIBS
16878 OPENCL_LIBS = $OPENCL_LIBS
16879 QUICKTIME_LIBS = $QUICKTIME_LIBS
16880 CARBON_LIBS = $CARBON_LIBS
16881 PTHREAD_LIBS = $PTHREAD_LIBS
16882 X_CFLAGS = $X_CFLAGS
16883 X_PRE_LIBS = $X_PRE_LIBS
16884 X_LIBS = $X_LIBS
16885 X_EXTRA_LIBS = $X_EXTRA_LIBS
16886 XML2_CFLAGS = $XML2_CFLAGS
16887 XML2_LIBS = $XML2_LIBS
16888 XSLT_CFLAGS = $XSLT_CFLAGS
16889 XSLT_LIBS = $XSLT_LIBS
16890 DBUS_CFLAGS = $DBUS_CFLAGS
16891 DBUS_LIBS = $DBUS_LIBS
16892 HAL_CFLAGS = $HAL_CFLAGS
16893 HAL_LIBS = $HAL_LIBS
16894 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16895 GNUTLS_LIBS = $GNUTLS_LIBS
16896 SANE_CFLAGS = $SANE_CFLAGS
16897 SANE_LIBS = $SANE_LIBS
16898 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16899 GPHOTO2_LIBS = $GPHOTO2_LIBS
16900 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16901 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16902 RESOLV_LIBS = $RESOLV_LIBS
16903 LCMS2_CFLAGS = $LCMS2_CFLAGS
16904 LCMS2_LIBS = $LCMS2_LIBS
16905 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16906 FREETYPE_LIBS = $FREETYPE_LIBS
16907 Z_LIBS = $Z_LIBS
16908 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16909 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16910 GSTREAMER_LIBS = $GSTREAMER_LIBS
16911 ALSA_LIBS = $ALSA_LIBS
16912 OSS4_CFLAGS = $OSS4_CFLAGS
16913 CAPI20_CFLAGS = $CAPI20_CFLAGS
16914 CAPI20_LIBS = $CAPI20_LIBS
16915 CUPS_CFLAGS = $CUPS_CFLAGS
16916 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16917 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16918 JPEG_CFLAGS = $JPEG_CFLAGS
16919 JPEG_LIBS = $JPEG_LIBS
16920 PNG_CFLAGS = $PNG_CFLAGS
16921 PNG_LIBS = $PNG_LIBS
16922 TIFF_CFLAGS = $TIFF_CFLAGS
16923 TIFF_LIBS = $TIFF_LIBS
16924 MPG123_CFLAGS = $MPG123_CFLAGS
16925 MPG123_LIBS = $MPG123_LIBS
16926 KSTAT_LIBS = $KSTAT_LIBS
16927 PROCSTAT_LIBS = $PROCSTAT_LIBS
16928 DL_LIBS = $DL_LIBS
16929 POLL_LIBS = $POLL_LIBS
16930 RT_LIBS = $RT_LIBS
16931 LDAP_LIBS = $LDAP_LIBS
16936 wine_fn_append_rule "
16937 # Rules automatically generated by configure
16939 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16941 .INIT: Makefile
16942 .MAKEFILEDEPS:
16943 all: Makefile
16944 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16945 @./config.status Make.tmp Makefile"
16947 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16948 .gitignore: config.status
16949 @./config.status .gitignore"
16951 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16952 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16954 if test "x$enable_fonts" != xno; then
16955 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16956 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16957 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16958 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16959 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16961 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16962 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16963 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16964 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16965 ac_config_links="$ac_config_links wine:tools/winewrapper"
16966 wine_fn_config_symlink wine
16967 if test "x$enable_win64" != xno; then
16968 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16969 wine_fn_config_symlink wine64
16972 wine_fn_config_dll acledit enable_acledit
16973 wine_fn_config_dll aclui enable_aclui implib
16974 wine_fn_config_dll activeds enable_activeds implib
16975 wine_fn_config_dll actxprxy enable_actxprxy clean
16976 wine_fn_config_lib adsiid
16977 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16978 wine_fn_config_test dlls/advapi32/tests advapi32_test
16979 wine_fn_config_dll advpack enable_advpack implib
16980 wine_fn_config_test dlls/advpack/tests advpack_test
16981 wine_fn_config_dll amstream enable_amstream clean
16982 wine_fn_config_test dlls/amstream/tests amstream_test
16983 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16985 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16989 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16990 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16992 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16993 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16994 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16995 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16997 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16998 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17004 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17008 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17011 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17012 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17020 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17021 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17027 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17039 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17040 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17041 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17042 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17043 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17044 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17045 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17046 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17047 wine_fn_config_dll apphelp enable_apphelp
17048 wine_fn_config_test dlls/apphelp/tests apphelp_test
17049 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17050 wine_fn_config_dll atl enable_atl clean,implib
17051 wine_fn_config_test dlls/atl/tests atl_test
17052 wine_fn_config_dll atl100 enable_atl100 clean,implib
17053 wine_fn_config_test dlls/atl100/tests atl100_test
17054 wine_fn_config_dll atl110 enable_atl110 clean
17055 wine_fn_config_dll atl80 enable_atl80 clean,implib
17056 wine_fn_config_test dlls/atl80/tests atl80_test
17057 wine_fn_config_dll atl90 enable_atl90 clean
17058 wine_fn_config_dll authz enable_authz
17059 wine_fn_config_dll avicap32 enable_avicap32 implib
17060 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17061 wine_fn_config_test dlls/avifil32/tests avifil32_test
17062 wine_fn_config_dll avifile.dll16 enable_win16
17063 wine_fn_config_dll avrt enable_avrt implib
17064 wine_fn_config_dll bcrypt enable_bcrypt
17065 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17066 wine_fn_config_dll browseui enable_browseui clean,po
17067 wine_fn_config_test dlls/browseui/tests browseui_test
17068 wine_fn_config_dll cabinet enable_cabinet implib
17069 wine_fn_config_test dlls/cabinet/tests cabinet_test
17070 wine_fn_config_dll capi2032 enable_capi2032 implib
17071 wine_fn_config_dll cards enable_cards implib
17072 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17073 wine_fn_config_dll clusapi enable_clusapi implib
17074 wine_fn_config_dll combase enable_combase
17075 wine_fn_config_test dlls/combase/tests combase_test
17076 wine_fn_config_dll comcat enable_comcat
17077 wine_fn_config_test dlls/comcat/tests comcat_test
17078 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17079 wine_fn_config_test dlls/comctl32/tests comctl32_test
17080 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17081 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17082 wine_fn_config_dll comm.drv16 enable_win16
17083 wine_fn_config_dll commdlg.dll16 enable_win16
17084 wine_fn_config_dll compobj.dll16 enable_win16
17085 wine_fn_config_dll compstui enable_compstui implib
17086 wine_fn_config_dll comsvcs enable_comsvcs implib
17087 wine_fn_config_dll connect enable_connect
17088 wine_fn_config_dll credui enable_credui implib,po
17089 wine_fn_config_test dlls/credui/tests credui_test
17090 wine_fn_config_dll crtdll enable_crtdll implib
17091 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17092 wine_fn_config_test dlls/crypt32/tests crypt32_test
17093 wine_fn_config_dll cryptdlg enable_cryptdlg po
17094 wine_fn_config_dll cryptdll enable_cryptdll implib
17095 wine_fn_config_dll cryptext enable_cryptext
17096 wine_fn_config_dll cryptnet enable_cryptnet implib
17097 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17098 wine_fn_config_dll cryptui enable_cryptui implib,po
17099 wine_fn_config_test dlls/cryptui/tests cryptui_test
17100 wine_fn_config_dll ctapi32 enable_ctapi32
17101 wine_fn_config_dll ctl3d.dll16 enable_win16
17102 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17103 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17104 wine_fn_config_dll d2d1 enable_d2d1 implib
17105 wine_fn_config_test dlls/d2d1/tests d2d1_test
17106 wine_fn_config_dll d3d10 enable_d3d10 implib
17107 wine_fn_config_test dlls/d3d10/tests d3d10_test
17108 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17109 wine_fn_config_dll d3d10core enable_d3d10core implib
17110 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17111 wine_fn_config_dll d3d11 enable_d3d11
17112 wine_fn_config_dll d3d8 enable_d3d8 implib
17113 wine_fn_config_test dlls/d3d8/tests d3d8_test
17114 wine_fn_config_dll d3d9 enable_d3d9 implib
17115 wine_fn_config_test dlls/d3d9/tests d3d9_test
17116 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17117 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17118 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17119 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17120 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17121 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17122 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17123 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17124 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17125 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17126 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17127 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17128 wine_fn_config_dll d3dim enable_d3dim implib
17129 wine_fn_config_dll d3drm enable_d3drm implib
17130 wine_fn_config_test dlls/d3drm/tests d3drm_test
17131 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17132 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17133 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17134 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17135 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17136 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17137 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17138 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17139 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17140 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17141 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17142 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17143 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17144 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17145 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17146 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17147 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17148 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17149 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17150 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17151 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17152 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17153 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17154 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17155 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17156 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17157 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17158 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17159 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17160 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17161 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17162 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17163 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17164 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17165 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17166 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17167 wine_fn_config_dll dbgeng enable_dbgeng implib
17168 wine_fn_config_dll dbghelp enable_dbghelp implib
17169 wine_fn_config_dll dciman32 enable_dciman32 implib
17170 wine_fn_config_dll ddeml.dll16 enable_win16
17171 wine_fn_config_dll ddraw enable_ddraw clean,implib
17172 wine_fn_config_test dlls/ddraw/tests ddraw_test
17173 wine_fn_config_dll ddrawex enable_ddrawex clean
17174 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17175 wine_fn_config_dll devenum enable_devenum clean,po
17176 wine_fn_config_test dlls/devenum/tests devenum_test
17177 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17178 wine_fn_config_dll difxapi enable_difxapi
17179 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17180 wine_fn_config_test dlls/dinput/tests dinput_test
17181 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17182 wine_fn_config_test dlls/dinput8/tests dinput8_test
17183 wine_fn_config_dll dispdib.dll16 enable_win16
17184 wine_fn_config_dll dispex enable_dispex clean
17185 wine_fn_config_test dlls/dispex/tests dispex_test
17186 wine_fn_config_dll display.drv16 enable_win16
17187 wine_fn_config_dll dmband enable_dmband clean
17188 wine_fn_config_test dlls/dmband/tests dmband_test
17189 wine_fn_config_dll dmcompos enable_dmcompos clean
17190 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17191 wine_fn_config_dll dmime enable_dmime clean
17192 wine_fn_config_test dlls/dmime/tests dmime_test
17193 wine_fn_config_dll dmloader enable_dmloader clean
17194 wine_fn_config_test dlls/dmloader/tests dmloader_test
17195 wine_fn_config_dll dmscript enable_dmscript clean
17196 wine_fn_config_test dlls/dmscript/tests dmscript_test
17197 wine_fn_config_dll dmstyle enable_dmstyle clean
17198 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17199 wine_fn_config_dll dmsynth enable_dmsynth clean
17200 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17201 wine_fn_config_dll dmusic enable_dmusic clean
17202 wine_fn_config_test dlls/dmusic/tests dmusic_test
17203 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17204 wine_fn_config_dll dnsapi enable_dnsapi implib
17205 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17206 wine_fn_config_dll dplay enable_dplay implib
17207 wine_fn_config_dll dplayx enable_dplayx clean,implib
17208 wine_fn_config_test dlls/dplayx/tests dplayx_test
17209 wine_fn_config_dll dpnaddr enable_dpnaddr
17210 wine_fn_config_dll dpnet enable_dpnet clean,implib
17211 wine_fn_config_test dlls/dpnet/tests dpnet_test
17212 wine_fn_config_dll dpnhpast enable_dpnhpast
17213 wine_fn_config_dll dpnlobby enable_dpnlobby
17214 wine_fn_config_dll dpvoice enable_dpvoice clean
17215 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17216 wine_fn_config_dll dpwsockx enable_dpwsockx
17217 wine_fn_config_dll drmclien enable_drmclien
17218 wine_fn_config_dll dsound enable_dsound clean,implib
17219 wine_fn_config_test dlls/dsound/tests dsound_test
17220 wine_fn_config_dll dssenh enable_dssenh
17221 wine_fn_config_test dlls/dssenh/tests dssenh_test
17222 wine_fn_config_dll dswave enable_dswave clean
17223 wine_fn_config_test dlls/dswave/tests dswave_test
17224 wine_fn_config_dll dwmapi enable_dwmapi implib
17225 wine_fn_config_dll dwrite enable_dwrite implib
17226 wine_fn_config_test dlls/dwrite/tests dwrite_test
17227 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17228 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17229 wine_fn_config_lib dxerr8
17230 wine_fn_config_lib dxerr9
17231 wine_fn_config_dll dxgi enable_dxgi implib
17232 wine_fn_config_test dlls/dxgi/tests dxgi_test
17233 wine_fn_config_lib dxguid
17234 wine_fn_config_dll dxva2 enable_dxva2
17235 wine_fn_config_dll evr enable_evr
17236 wine_fn_config_dll explorerframe enable_explorerframe clean
17237 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17238 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17239 wine_fn_config_dll faultrep enable_faultrep implib
17240 wine_fn_config_test dlls/faultrep/tests faultrep_test
17241 wine_fn_config_dll fltlib enable_fltlib
17242 wine_fn_config_dll fntcache enable_fntcache
17243 wine_fn_config_dll fontsub enable_fontsub
17244 wine_fn_config_dll fusion enable_fusion
17245 wine_fn_config_test dlls/fusion/tests fusion_test
17246 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17247 wine_fn_config_dll gameux enable_gameux clean
17248 wine_fn_config_test dlls/gameux/tests gameux_test
17249 wine_fn_config_dll gdi.exe16 enable_win16
17250 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17251 wine_fn_config_test dlls/gdi32/tests gdi32_test
17252 wine_fn_config_dll gdiplus enable_gdiplus implib
17253 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17254 wine_fn_config_dll glu32 enable_glu32 implib
17255 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17256 wine_fn_config_dll gpkcsp enable_gpkcsp
17257 wine_fn_config_dll hal enable_hal
17258 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17259 wine_fn_config_dll hid enable_hid implib
17260 wine_fn_config_dll hlink enable_hlink clean,implib
17261 wine_fn_config_test dlls/hlink/tests hlink_test
17262 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17263 wine_fn_config_dll httpapi enable_httpapi
17264 wine_fn_config_dll iccvid enable_iccvid po
17265 wine_fn_config_dll icmp enable_icmp
17266 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17267 wine_fn_config_test dlls/ieframe/tests ieframe_test
17268 wine_fn_config_dll ifsmgr.vxd enable_win16
17269 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17270 wine_fn_config_dll imagehlp enable_imagehlp implib
17271 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17272 wine_fn_config_dll imm.dll16 enable_win16
17273 wine_fn_config_dll imm32 enable_imm32 implib
17274 wine_fn_config_test dlls/imm32/tests imm32_test
17275 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17276 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17277 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17278 wine_fn_config_dll inetmib1 enable_inetmib1
17279 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17280 wine_fn_config_dll infosoft enable_infosoft clean
17281 wine_fn_config_test dlls/infosoft/tests infosoft_test
17282 wine_fn_config_dll initpki enable_initpki
17283 wine_fn_config_dll inkobj enable_inkobj
17284 wine_fn_config_dll inseng enable_inseng clean
17285 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17286 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17287 wine_fn_config_dll itircl enable_itircl
17288 wine_fn_config_dll itss enable_itss clean
17289 wine_fn_config_test dlls/itss/tests itss_test
17290 wine_fn_config_dll joy.cpl enable_joy_cpl po
17291 wine_fn_config_dll jscript enable_jscript clean,po
17292 wine_fn_config_test dlls/jscript/tests jscript_test
17293 wine_fn_config_dll jsproxy enable_jsproxy implib
17294 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17295 wine_fn_config_test dlls/kernel32/tests kernel32_test
17296 wine_fn_config_dll keyboard.drv16 enable_win16
17297 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17298 wine_fn_config_dll ksuser enable_ksuser
17299 wine_fn_config_dll ktmw32 enable_ktmw32
17300 wine_fn_config_dll loadperf enable_loadperf implib
17301 wine_fn_config_dll localspl enable_localspl po
17302 wine_fn_config_test dlls/localspl/tests localspl_test
17303 wine_fn_config_dll localui enable_localui po
17304 wine_fn_config_test dlls/localui/tests localui_test
17305 wine_fn_config_dll lz32 enable_lz32 implib
17306 wine_fn_config_test dlls/lz32/tests lz32_test
17307 wine_fn_config_dll lzexpand.dll16 enable_win16
17308 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17309 wine_fn_config_test dlls/mapi32/tests mapi32_test
17310 wine_fn_config_dll mapistub enable_mapistub
17311 wine_fn_config_dll mciavi32 enable_mciavi32
17312 wine_fn_config_dll mcicda enable_mcicda
17313 wine_fn_config_dll mciqtz32 enable_mciqtz32
17314 wine_fn_config_dll mciseq enable_mciseq
17315 wine_fn_config_dll mciwave enable_mciwave
17316 wine_fn_config_dll mf enable_mf
17317 wine_fn_config_dll mfplat enable_mfplat
17318 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17319 wine_fn_config_dll mgmtapi enable_mgmtapi
17320 wine_fn_config_dll midimap enable_midimap
17321 wine_fn_config_dll mlang enable_mlang clean,implib
17322 wine_fn_config_test dlls/mlang/tests mlang_test
17323 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17324 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17325 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17326 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17327 wine_fn_config_dll mmdevldr.vxd enable_win16
17328 wine_fn_config_dll mmsystem.dll16 enable_win16
17329 wine_fn_config_dll monodebg.vxd enable_win16
17330 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17331 wine_fn_config_dll mouse.drv16 enable_win16
17332 wine_fn_config_dll mpr enable_mpr implib,po
17333 wine_fn_config_test dlls/mpr/tests mpr_test
17334 wine_fn_config_dll mprapi enable_mprapi implib
17335 wine_fn_config_dll msacm.dll16 enable_win16
17336 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17337 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17338 wine_fn_config_test dlls/msacm32/tests msacm32_test
17339 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17340 wine_fn_config_dll msasn1 enable_msasn1 implib
17341 wine_fn_config_dll mscat32 enable_mscat32
17342 wine_fn_config_dll mscms enable_mscms implib
17343 wine_fn_config_test dlls/mscms/tests mscms_test
17344 wine_fn_config_dll mscoree enable_mscoree clean
17345 wine_fn_config_test dlls/mscoree/tests mscoree_test
17346 wine_fn_config_dll msctf enable_msctf clean
17347 wine_fn_config_test dlls/msctf/tests msctf_test
17348 wine_fn_config_dll msdaps enable_msdaps clean
17349 wine_fn_config_dll msdmo enable_msdmo implib
17350 wine_fn_config_test dlls/msdmo/tests msdmo_test
17351 wine_fn_config_dll msftedit enable_msftedit
17352 wine_fn_config_dll msg711.acm enable_msg711_acm
17353 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17354 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17355 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17356 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17357 wine_fn_config_dll msi enable_msi clean,implib,po
17358 wine_fn_config_test dlls/msi/tests msi_test
17359 wine_fn_config_dll msident enable_msident clean
17360 wine_fn_config_dll msimg32 enable_msimg32 implib
17361 wine_fn_config_dll msimsg enable_msimsg
17362 wine_fn_config_dll msimtf enable_msimtf clean
17363 wine_fn_config_dll msisip enable_msisip
17364 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17365 wine_fn_config_dll msls31 enable_msls31
17366 wine_fn_config_dll msnet32 enable_msnet32
17367 wine_fn_config_dll mspatcha enable_mspatcha
17368 wine_fn_config_dll msrle32 enable_msrle32 po
17369 wine_fn_config_test dlls/msrle32/tests msrle32_test
17370 wine_fn_config_dll mssign32 enable_mssign32
17371 wine_fn_config_dll mssip32 enable_mssip32
17372 wine_fn_config_dll mstask enable_mstask clean
17373 wine_fn_config_test dlls/mstask/tests mstask_test
17374 wine_fn_config_dll msvcirt enable_msvcirt
17375 wine_fn_config_dll msvcm80 enable_msvcm80
17376 wine_fn_config_dll msvcm90 enable_msvcm90
17377 wine_fn_config_dll msvcp100 enable_msvcp100
17378 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17379 wine_fn_config_dll msvcp110 enable_msvcp110
17380 wine_fn_config_dll msvcp120 enable_msvcp120
17381 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17382 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17383 wine_fn_config_dll msvcp60 enable_msvcp60
17384 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17385 wine_fn_config_dll msvcp70 enable_msvcp70
17386 wine_fn_config_dll msvcp71 enable_msvcp71
17387 wine_fn_config_dll msvcp80 enable_msvcp80
17388 wine_fn_config_dll msvcp90 enable_msvcp90
17389 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17390 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17391 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17392 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17393 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17394 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17395 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17396 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17397 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17398 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17399 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17400 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17401 wine_fn_config_dll msvcrt enable_msvcrt implib
17402 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17403 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17404 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17405 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17406 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17407 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17408 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17409 wine_fn_config_dll msvidc32 enable_msvidc32 po
17410 wine_fn_config_dll msvideo.dll16 enable_win16
17411 wine_fn_config_dll mswsock enable_mswsock implib
17412 wine_fn_config_dll msxml enable_msxml clean
17413 wine_fn_config_dll msxml2 enable_msxml2 clean
17414 wine_fn_config_dll msxml3 enable_msxml3 clean
17415 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17416 wine_fn_config_dll msxml4 enable_msxml4 clean
17417 wine_fn_config_dll msxml6 enable_msxml6 clean
17418 wine_fn_config_dll nddeapi enable_nddeapi implib
17419 wine_fn_config_dll ndis.sys enable_ndis_sys
17420 wine_fn_config_dll netapi32 enable_netapi32 implib
17421 wine_fn_config_test dlls/netapi32/tests netapi32_test
17422 wine_fn_config_dll netcfgx enable_netcfgx clean
17423 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17424 wine_fn_config_dll netprofm enable_netprofm clean
17425 wine_fn_config_test dlls/netprofm/tests netprofm_test
17426 wine_fn_config_dll newdev enable_newdev implib
17427 wine_fn_config_dll normaliz enable_normaliz implib
17428 wine_fn_config_dll npmshtml enable_npmshtml
17429 wine_fn_config_dll npptools enable_npptools
17430 wine_fn_config_dll ntdll enable_ntdll implib
17431 wine_fn_config_test dlls/ntdll/tests ntdll_test
17432 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17433 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17434 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17435 wine_fn_config_dll ntprint enable_ntprint
17436 wine_fn_config_test dlls/ntprint/tests ntprint_test
17437 wine_fn_config_dll objsel enable_objsel clean
17438 wine_fn_config_dll odbc32 enable_odbc32 implib
17439 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17440 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17441 wine_fn_config_dll odbccu32 enable_odbccu32
17442 wine_fn_config_dll ole2.dll16 enable_win16
17443 wine_fn_config_dll ole2conv.dll16 enable_win16
17444 wine_fn_config_dll ole2disp.dll16 enable_win16
17445 wine_fn_config_dll ole2nls.dll16 enable_win16
17446 wine_fn_config_dll ole2prox.dll16 enable_win16
17447 wine_fn_config_dll ole2thk.dll16 enable_win16
17448 wine_fn_config_dll ole32 enable_ole32 clean,implib
17449 wine_fn_config_test dlls/ole32/tests ole32_test
17450 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17451 wine_fn_config_test dlls/oleacc/tests oleacc_test
17452 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17453 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17454 wine_fn_config_dll olecli.dll16 enable_win16
17455 wine_fn_config_dll olecli32 enable_olecli32 implib
17456 wine_fn_config_dll oledb32 enable_oledb32 clean
17457 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17458 wine_fn_config_dll oledlg enable_oledlg implib,po
17459 wine_fn_config_dll olepro32 enable_olepro32 implib
17460 wine_fn_config_dll olesvr.dll16 enable_win16
17461 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17462 wine_fn_config_dll olethk32 enable_olethk32
17463 wine_fn_config_dll openal32 enable_openal32
17464 wine_fn_config_dll opencl enable_opencl
17465 wine_fn_config_dll opengl32 enable_opengl32 implib
17466 wine_fn_config_test dlls/opengl32/tests opengl32_test
17467 wine_fn_config_dll packager enable_packager clean
17468 wine_fn_config_test dlls/packager/tests packager_test
17469 wine_fn_config_dll pdh enable_pdh implib
17470 wine_fn_config_test dlls/pdh/tests pdh_test
17471 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17472 wine_fn_config_dll pidgen enable_pidgen
17473 wine_fn_config_dll powrprof enable_powrprof implib
17474 wine_fn_config_dll printui enable_printui
17475 wine_fn_config_dll prntvpt enable_prntvpt
17476 wine_fn_config_dll propsys enable_propsys clean,implib
17477 wine_fn_config_test dlls/propsys/tests propsys_test
17478 wine_fn_config_dll psapi enable_psapi implib
17479 wine_fn_config_test dlls/psapi/tests psapi_test
17480 wine_fn_config_dll pstorec enable_pstorec clean
17481 wine_fn_config_dll qcap enable_qcap
17482 wine_fn_config_test dlls/qcap/tests qcap_test
17483 wine_fn_config_dll qedit enable_qedit clean
17484 wine_fn_config_test dlls/qedit/tests qedit_test
17485 wine_fn_config_dll qmgr enable_qmgr clean
17486 wine_fn_config_test dlls/qmgr/tests qmgr_test
17487 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17488 wine_fn_config_dll quartz enable_quartz clean,implib
17489 wine_fn_config_test dlls/quartz/tests quartz_test clean
17490 wine_fn_config_dll query enable_query
17491 wine_fn_config_dll rasapi16.dll16 enable_win16
17492 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17493 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17494 wine_fn_config_dll rasdlg enable_rasdlg implib
17495 wine_fn_config_dll regapi enable_regapi
17496 wine_fn_config_dll resutils enable_resutils implib
17497 wine_fn_config_dll riched20 enable_riched20 implib
17498 wine_fn_config_test dlls/riched20/tests riched20_test
17499 wine_fn_config_dll riched32 enable_riched32
17500 wine_fn_config_test dlls/riched32/tests riched32_test
17501 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17502 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17503 wine_fn_config_dll rsabase enable_rsabase
17504 wine_fn_config_dll rsaenh enable_rsaenh implib
17505 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17506 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17507 wine_fn_config_dll rtutils enable_rtutils implib
17508 wine_fn_config_dll samlib enable_samlib
17509 wine_fn_config_dll sane.ds enable_sane_ds po
17510 wine_fn_config_dll scarddlg enable_scarddlg
17511 wine_fn_config_dll sccbase enable_sccbase
17512 wine_fn_config_dll schannel enable_schannel
17513 wine_fn_config_test dlls/schannel/tests schannel_test
17514 wine_fn_config_dll schedsvc enable_schedsvc clean
17515 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17516 wine_fn_config_dll scrrun enable_scrrun clean
17517 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17518 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17519 wine_fn_config_dll secur32 enable_secur32 implib
17520 wine_fn_config_test dlls/secur32/tests secur32_test
17521 wine_fn_config_dll security enable_security
17522 wine_fn_config_dll sensapi enable_sensapi implib
17523 wine_fn_config_dll serialui enable_serialui implib,po
17524 wine_fn_config_test dlls/serialui/tests serialui_test
17525 wine_fn_config_dll setupapi enable_setupapi implib,po
17526 wine_fn_config_test dlls/setupapi/tests setupapi_test
17527 wine_fn_config_dll setupx.dll16 enable_win16
17528 wine_fn_config_dll sfc enable_sfc implib
17529 wine_fn_config_dll sfc_os enable_sfc_os implib
17530 wine_fn_config_dll shdoclc enable_shdoclc po
17531 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17532 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17533 wine_fn_config_dll shell.dll16 enable_win16
17534 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17535 wine_fn_config_test dlls/shell32/tests shell32_test
17536 wine_fn_config_dll shfolder enable_shfolder implib
17537 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17538 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17539 wine_fn_config_dll slbcsp enable_slbcsp
17540 wine_fn_config_dll slc enable_slc implib
17541 wine_fn_config_test dlls/slc/tests slc_test
17542 wine_fn_config_dll snmpapi enable_snmpapi implib
17543 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17544 wine_fn_config_dll softpub enable_softpub
17545 wine_fn_config_dll sound.drv16 enable_win16
17546 wine_fn_config_dll spoolss enable_spoolss implib
17547 wine_fn_config_test dlls/spoolss/tests spoolss_test
17548 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17549 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17550 wine_fn_config_dll sti enable_sti clean,implib
17551 wine_fn_config_test dlls/sti/tests sti_test
17552 wine_fn_config_dll storage.dll16 enable_win16
17553 wine_fn_config_dll stress.dll16 enable_win16
17554 wine_fn_config_lib strmbase
17555 wine_fn_config_lib strmiids
17556 wine_fn_config_dll svrapi enable_svrapi
17557 wine_fn_config_dll sxs enable_sxs implib
17558 wine_fn_config_test dlls/sxs/tests sxs_test
17559 wine_fn_config_dll system.drv16 enable_win16
17560 wine_fn_config_dll t2embed enable_t2embed
17561 wine_fn_config_dll tapi32 enable_tapi32 implib
17562 wine_fn_config_dll taskschd enable_taskschd clean
17563 wine_fn_config_test dlls/taskschd/tests taskschd_test
17564 wine_fn_config_dll toolhelp.dll16 enable_win16
17565 wine_fn_config_dll traffic enable_traffic
17566 wine_fn_config_dll twain.dll16 enable_win16
17567 wine_fn_config_dll twain_32 enable_twain_32
17568 wine_fn_config_test dlls/twain_32/tests twain_32_test
17569 wine_fn_config_dll typelib.dll16 enable_win16
17570 wine_fn_config_dll unicows enable_unicows implib
17571 wine_fn_config_dll updspapi enable_updspapi
17572 wine_fn_config_dll url enable_url implib
17573 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17574 wine_fn_config_test dlls/urlmon/tests urlmon_test
17575 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17576 wine_fn_config_dll user.exe16 enable_win16
17577 wine_fn_config_dll user32 enable_user32 clean,implib,po
17578 wine_fn_config_test dlls/user32/tests user32_test
17579 wine_fn_config_dll userenv enable_userenv implib
17580 wine_fn_config_test dlls/userenv/tests userenv_test
17581 wine_fn_config_dll usp10 enable_usp10 implib
17582 wine_fn_config_test dlls/usp10/tests usp10_test
17583 wine_fn_config_lib uuid
17584 wine_fn_config_dll uxtheme enable_uxtheme implib
17585 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17586 wine_fn_config_dll vbscript enable_vbscript clean
17587 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17588 wine_fn_config_dll vcomp enable_vcomp
17589 wine_fn_config_dll vcomp100 enable_vcomp100
17590 wine_fn_config_dll vcomp90 enable_vcomp90
17591 wine_fn_config_dll vdhcp.vxd enable_win16
17592 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17593 wine_fn_config_dll ver.dll16 enable_win16
17594 wine_fn_config_dll version enable_version implib
17595 wine_fn_config_test dlls/version/tests version_test
17596 wine_fn_config_dll vmm.vxd enable_win16
17597 wine_fn_config_dll vnbt.vxd enable_win16
17598 wine_fn_config_dll vnetbios.vxd enable_win16
17599 wine_fn_config_dll vssapi enable_vssapi
17600 wine_fn_config_dll vtdapi.vxd enable_win16
17601 wine_fn_config_dll vwin32.vxd enable_win16
17602 wine_fn_config_dll w32skrnl enable_win16
17603 wine_fn_config_dll w32sys.dll16 enable_win16
17604 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17605 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17606 wine_fn_config_dll wbemprox enable_wbemprox clean
17607 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17608 wine_fn_config_dll webservices enable_webservices implib
17609 wine_fn_config_dll wer enable_wer implib
17610 wine_fn_config_test dlls/wer/tests wer_test
17611 wine_fn_config_dll wevtapi enable_wevtapi
17612 wine_fn_config_dll wiaservc enable_wiaservc clean
17613 wine_fn_config_dll win32s16.dll16 enable_win16
17614 wine_fn_config_dll win87em.dll16 enable_win16
17615 wine_fn_config_dll winaspi.dll16 enable_win16
17616 wine_fn_config_dll windebug.dll16 enable_win16
17617 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17618 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17619 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17620 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17621 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17622 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17623 wine_fn_config_lib winecrt0
17624 wine_fn_config_dll wined3d enable_wined3d implib
17625 wine_fn_config_dll winegstreamer enable_winegstreamer
17626 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17627 wine_fn_config_dll winemac.drv enable_winemac_drv
17628 wine_fn_config_dll winemapi enable_winemapi
17629 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17630 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17631 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17632 wine_fn_config_dll wineps16.drv16 enable_win16
17633 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17634 wine_fn_config_dll winex11.drv enable_winex11_drv
17635 wine_fn_config_dll wing.dll16 enable_win16
17636 wine_fn_config_dll wing32 enable_wing32
17637 wine_fn_config_dll winhttp enable_winhttp clean,implib
17638 wine_fn_config_test dlls/winhttp/tests winhttp_test
17639 wine_fn_config_dll wininet enable_wininet implib,po
17640 wine_fn_config_test dlls/wininet/tests wininet_test
17641 wine_fn_config_dll winmm enable_winmm implib,po
17642 wine_fn_config_test dlls/winmm/tests winmm_test
17643 wine_fn_config_dll winnls.dll16 enable_win16
17644 wine_fn_config_dll winnls32 enable_winnls32 implib
17645 wine_fn_config_dll winscard enable_winscard implib
17646 wine_fn_config_dll winsock.dll16 enable_win16
17647 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17648 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17649 wine_fn_config_dll winsta enable_winsta
17650 wine_fn_config_dll wintab.dll16 enable_win16
17651 wine_fn_config_dll wintab32 enable_wintab32 implib
17652 wine_fn_config_test dlls/wintab32/tests wintab32_test
17653 wine_fn_config_dll wintrust enable_wintrust implib
17654 wine_fn_config_test dlls/wintrust/tests wintrust_test
17655 wine_fn_config_dll wlanapi enable_wlanapi
17656 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17657 wine_fn_config_test dlls/wldap32/tests wldap32_test
17658 wine_fn_config_dll wmi enable_wmi
17659 wine_fn_config_dll wmiutils enable_wmiutils clean
17660 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17661 wine_fn_config_dll wmp enable_wmp clean
17662 wine_fn_config_test dlls/wmp/tests wmp_test
17663 wine_fn_config_dll wmvcore enable_wmvcore
17664 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17665 wine_fn_config_dll wow32 enable_win16 implib
17666 wine_fn_config_dll wpcap enable_wpcap
17667 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17668 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17669 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17670 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17671 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17672 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17673 wine_fn_config_dll wsock32 enable_wsock32 implib
17674 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17675 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17676 wine_fn_config_dll wuapi enable_wuapi clean
17677 wine_fn_config_dll wuaueng enable_wuaueng
17678 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17679 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17680 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17681 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17682 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17683 wine_fn_config_dll xinput1_1 enable_xinput1_1
17684 wine_fn_config_dll xinput1_2 enable_xinput1_2
17685 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17686 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17687 wine_fn_config_dll xinput1_4 enable_xinput1_4
17688 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17689 wine_fn_config_dll xmllite enable_xmllite implib
17690 wine_fn_config_test dlls/xmllite/tests xmllite_test
17691 wine_fn_config_dll xolehlp enable_xolehlp
17692 wine_fn_config_dll xpsprint enable_xpsprint
17693 wine_fn_config_dll xpssvcs enable_xpssvcs
17694 wine_fn_config_makefile documentation enable_documentation clean
17695 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17696 wine_fn_config_makefile include enable_include clean,install-dev
17697 wine_fn_config_makefile libs/port enable_libs_port
17698 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17699 wine_fn_config_makefile libs/wpp enable_libs_wpp
17700 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17701 wine_fn_config_program arp enable_arp install
17702 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17703 wine_fn_config_program attrib enable_attrib install,po
17704 wine_fn_config_program cabarc enable_cabarc install
17705 wine_fn_config_program cacls enable_cacls install
17706 wine_fn_config_program clock enable_clock install,po
17707 wine_fn_config_program cmd enable_cmd install,po
17708 wine_fn_config_test programs/cmd/tests cmd.exe_test
17709 wine_fn_config_program conhost enable_conhost install
17710 wine_fn_config_program control enable_control install
17711 wine_fn_config_program cscript enable_cscript clean,install
17712 wine_fn_config_program dpnsvr enable_dpnsvr install
17713 wine_fn_config_program dxdiag enable_dxdiag install,po
17714 wine_fn_config_program eject enable_eject install
17715 wine_fn_config_program expand enable_expand install
17716 wine_fn_config_program explorer enable_explorer install,po
17717 wine_fn_config_program extrac32 enable_extrac32 install
17718 wine_fn_config_program findstr enable_findstr install
17719 wine_fn_config_program hh enable_hh install
17720 wine_fn_config_program hostname enable_hostname install,po
17721 wine_fn_config_program icinfo enable_icinfo install
17722 wine_fn_config_program iexplore enable_iexplore install
17723 wine_fn_config_program ipconfig enable_ipconfig install,po
17724 wine_fn_config_program lodctr enable_lodctr install
17725 wine_fn_config_program mofcomp enable_mofcomp install
17726 wine_fn_config_program mshta enable_mshta install
17727 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17728 wine_fn_config_program net enable_net install,po
17729 wine_fn_config_program netsh enable_netsh install
17730 wine_fn_config_program netstat enable_netstat install,po
17731 wine_fn_config_program ngen enable_ngen install
17732 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17733 wine_fn_config_program oleview enable_oleview install,po
17734 wine_fn_config_program ping enable_ping install
17735 wine_fn_config_program plugplay enable_plugplay install
17736 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17737 wine_fn_config_program progman enable_progman install,po
17738 wine_fn_config_program reg enable_reg install,po
17739 wine_fn_config_test programs/reg/tests reg.exe_test
17740 wine_fn_config_program regasm enable_regasm install
17741 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17742 wine_fn_config_test programs/regedit/tests regedit.exe_test
17743 wine_fn_config_program regsvcs enable_regsvcs install
17744 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17745 wine_fn_config_program rpcss enable_rpcss clean,install
17746 wine_fn_config_program rundll.exe16 enable_win16 install
17747 wine_fn_config_program rundll32 enable_rundll32 install
17748 wine_fn_config_program sc enable_sc install
17749 wine_fn_config_program schtasks enable_schtasks install
17750 wine_fn_config_program sdbinst enable_sdbinst install
17751 wine_fn_config_program secedit enable_secedit install
17752 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17753 wine_fn_config_program services enable_services clean,install
17754 wine_fn_config_test programs/services/tests services.exe_test
17755 wine_fn_config_program spoolsv enable_spoolsv install
17756 wine_fn_config_program start enable_start install,po
17757 wine_fn_config_program svchost enable_svchost install
17758 wine_fn_config_program systeminfo enable_systeminfo install
17759 wine_fn_config_program taskkill enable_taskkill install,po
17760 wine_fn_config_program tasklist enable_tasklist install
17761 wine_fn_config_program taskmgr enable_taskmgr install,po
17762 wine_fn_config_program termsv enable_termsv install
17763 wine_fn_config_program uninstaller enable_uninstaller install,po
17764 wine_fn_config_program unlodctr enable_unlodctr install
17765 wine_fn_config_program view enable_view install,po
17766 wine_fn_config_program wevtutil enable_wevtutil install
17767 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17768 wine_fn_config_program winebrowser enable_winebrowser install
17769 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17770 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17771 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17772 wine_fn_config_program winedevice enable_winedevice install
17773 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17774 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17775 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17776 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17777 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17778 wine_fn_config_program winetest enable_winetest clean
17779 wine_fn_config_program winevdm enable_win16 install
17780 wine_fn_config_program winhelp.exe16 enable_win16 install
17781 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17782 wine_fn_config_program winoldap.mod16 enable_win16 install
17783 wine_fn_config_program winver enable_winver install
17784 wine_fn_config_program wmic enable_wmic install,po
17785 wine_fn_config_program wordpad enable_wordpad install,po
17786 wine_fn_config_program write enable_write install,po
17787 wine_fn_config_program wscript enable_wscript clean,install
17788 wine_fn_config_test programs/wscript/tests wscript.exe_test
17789 wine_fn_config_program wusa enable_wusa install
17790 wine_fn_config_program xcopy enable_xcopy install,po
17791 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17792 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17793 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17794 wine_fn_config_tool tools/sfnt2fon clean
17795 wine_fn_config_tool tools/widl clean,install-dev,manpage
17796 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17797 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17798 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17799 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17800 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17802 LINGUAS="\
17803 ar \
17804 bg \
17805 ca \
17806 cs \
17807 da \
17808 de \
17809 el \
17810 en \
17811 en_US \
17812 eo \
17813 es \
17814 fa \
17815 fi \
17816 fr \
17817 he \
17818 hi \
17819 hr \
17820 hu \
17821 it \
17822 ja \
17823 ko \
17824 lt \
17825 ml \
17826 nb_NO \
17827 nl \
17828 or \
17829 pa \
17830 pl \
17831 pt_BR \
17832 pt_PT \
17833 rm \
17834 ro \
17835 ru \
17836 sk \
17837 sl \
17838 sr_RS@cyrillic \
17839 sr_RS@latin \
17840 sv \
17841 te \
17842 th \
17843 tr \
17844 uk \
17845 wa \
17846 zh_CN \
17847 zh_TW"
17852 wine_fn_ignore_file ".gitignore"
17853 wine_fn_ignore_file "Makefile"
17854 wine_fn_ignore_file "TAGS"
17855 wine_fn_ignore_file "tags"
17856 wine_fn_ignore_file "autom4te.cache"
17857 wine_fn_ignore_file "config.cache"
17858 wine_fn_ignore_file "config.log"
17859 wine_fn_ignore_file "config.status"
17860 wine_fn_ignore_file "configure.lineno"
17861 wine_fn_ignore_file "include/config.h"
17862 wine_fn_ignore_file "include/stamp-h"
17863 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17865 if test "x$enable_tools" != xno
17866 then
17867 wine_fn_ignore_file "tools/makedep$ac_exeext"
17868 ac_config_commands="$ac_config_commands tools/makedep"
17872 ac_config_commands="$ac_config_commands Makefile"
17875 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17879 if test "x$enable_maintainer_mode" = xyes
17880 then
17881 wine_fn_append_rule "configure: configure.ac aclocal.m4
17882 autoconf --warnings=all
17883 include/config.h.in: include/stamp-h.in
17884 include/stamp-h.in: configure.ac aclocal.m4
17885 autoheader --warnings=all
17886 @echo timestamp > \$@"
17889 if test "x$with_gettextpo" = xyes
17890 then
17891 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17892 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17893 \$(LINGUAS:%=po/%.po): po/wine.pot
17894 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17895 po/wine.pot: \$(ALL_POT_FILES)
17896 msgcat -o \$@ \$(ALL_POT_FILES)"
17899 if test "$MSGFMT" != false
17900 then
17901 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17902 clean::
17903 \$(RM) \$(LINGUAS:%=po/%.mo)"
17905 posrc="po"
17906 test "$srcdir" = . || posrc="$srcdir/po"
17907 for i in $LINGUAS
17909 wine_fn_ignore_file "po/$i.mo"
17910 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17911 \$(MSGFMT) -o \$@ $posrc/$i.po"
17912 done
17913 else
17914 LINGUAS=
17917 if test "x$enable_tools" != xno
17918 then
17919 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17920 @./config.status tools/makedep
17921 Makefile: tools/makedep$ac_exeext
17922 distclean:: clean
17923 \$(RM) tools/makedep$ac_exeext"
17924 else
17925 wine_fn_append_rule "\$(MAKEDEP):
17926 @echo \"You need to run make in $TOOLSDIR first\" && false"
17929 if test -n "$with_wine64"
17930 then
17931 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17932 fonts server tools:
17933 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17934 $with_wine64/loader/wine:
17935 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17936 $with_wine64/loader/wine-preloader:
17937 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17938 clean::
17939 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17940 else
17941 as_fn_append LOADER_RULES "
17942 install install-lib:: wine.inf install-man-pages
17943 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17944 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17946 uninstall::
17947 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17951 if test "$srcdir" = .
17952 then
17953 ac_config_commands="$ac_config_commands .gitignore"
17957 $as_echo " done" >&6
17958 cat >confcache <<\_ACEOF
17959 # This file is a shell script that caches the results of configure
17960 # tests run on this system so they can be shared between configure
17961 # scripts and configure runs, see configure's option --config-cache.
17962 # It is not useful on other systems. If it contains results you don't
17963 # want to keep, you may remove or edit it.
17965 # config.status only pays attention to the cache file if you give it
17966 # the --recheck option to rerun configure.
17968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17970 # following values.
17972 _ACEOF
17974 # The following way of writing the cache mishandles newlines in values,
17975 # but we know of no workaround that is simple, portable, and efficient.
17976 # So, we kill variables containing newlines.
17977 # Ultrix sh set writes to stderr and can't be redirected directly,
17978 # and sets the high bit in the cache file unless we assign to the vars.
17980 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17981 eval ac_val=\$$ac_var
17982 case $ac_val in #(
17983 *${as_nl}*)
17984 case $ac_var in #(
17985 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17987 esac
17988 case $ac_var in #(
17989 _ | IFS | as_nl) ;; #(
17990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17991 *) { eval $ac_var=; unset $ac_var;} ;;
17992 esac ;;
17993 esac
17994 done
17996 (set) 2>&1 |
17997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17998 *${as_nl}ac_space=\ *)
17999 # `set' does not quote correctly, so add quotes: double-quote
18000 # substitution turns \\\\ into \\, and sed turns \\ into \.
18001 sed -n \
18002 "s/'/'\\\\''/g;
18003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18004 ;; #(
18006 # `set' quotes correctly as required by POSIX, so do not add quotes.
18007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18009 esac |
18010 sort
18012 sed '
18013 /^ac_cv_env_/b end
18014 t clear
18015 :clear
18016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18017 t end
18018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18019 :end' >>confcache
18020 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18021 if test -w "$cache_file"; then
18022 if test "x$cache_file" != "x/dev/null"; then
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18024 $as_echo "$as_me: updating cache $cache_file" >&6;}
18025 if test ! -f "$cache_file" || test -h "$cache_file"; then
18026 cat confcache >"$cache_file"
18027 else
18028 case $cache_file in #(
18029 */* | ?:*)
18030 mv -f confcache "$cache_file"$$ &&
18031 mv -f "$cache_file"$$ "$cache_file" ;; #(
18033 mv -f confcache "$cache_file" ;;
18034 esac
18037 else
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18042 rm -f confcache
18044 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18045 # Let make expand exec_prefix.
18046 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18048 DEFS=-DHAVE_CONFIG_H
18050 ac_libobjs=
18051 ac_ltlibobjs=
18053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18054 # 1. Remove the extension, and $U if already installed.
18055 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18056 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18057 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18058 # will be set to the directory where LIBOBJS objects are built.
18059 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18060 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18061 done
18062 LIBOBJS=$ac_libobjs
18064 LTLIBOBJS=$ac_ltlibobjs
18068 : "${CONFIG_STATUS=./config.status}"
18069 ac_write_fail=0
18070 ac_clean_files_save=$ac_clean_files
18071 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18073 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18074 as_write_fail=0
18075 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18076 #! $SHELL
18077 # Generated by $as_me.
18078 # Run this file to recreate the current configuration.
18079 # Compiler output produced by configure, useful for debugging
18080 # configure, is in config.log if it exists.
18082 debug=false
18083 ac_cs_recheck=false
18084 ac_cs_silent=false
18086 SHELL=\${CONFIG_SHELL-$SHELL}
18087 export SHELL
18088 _ASEOF
18089 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18090 ## -------------------- ##
18091 ## M4sh Initialization. ##
18092 ## -------------------- ##
18094 # Be more Bourne compatible
18095 DUALCASE=1; export DUALCASE # for MKS sh
18096 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18097 emulate sh
18098 NULLCMD=:
18099 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18100 # is contrary to our usage. Disable this feature.
18101 alias -g '${1+"$@"}'='"$@"'
18102 setopt NO_GLOB_SUBST
18103 else
18104 case `(set -o) 2>/dev/null` in #(
18105 *posix*) :
18106 set -o posix ;; #(
18107 *) :
18109 esac
18113 as_nl='
18115 export as_nl
18116 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18117 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18118 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18119 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18120 # Prefer a ksh shell builtin over an external printf program on Solaris,
18121 # but without wasting forks for bash or zsh.
18122 if test -z "$BASH_VERSION$ZSH_VERSION" \
18123 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18124 as_echo='print -r --'
18125 as_echo_n='print -rn --'
18126 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18127 as_echo='printf %s\n'
18128 as_echo_n='printf %s'
18129 else
18130 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18131 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18132 as_echo_n='/usr/ucb/echo -n'
18133 else
18134 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18135 as_echo_n_body='eval
18136 arg=$1;
18137 case $arg in #(
18138 *"$as_nl"*)
18139 expr "X$arg" : "X\\(.*\\)$as_nl";
18140 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18141 esac;
18142 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18144 export as_echo_n_body
18145 as_echo_n='sh -c $as_echo_n_body as_echo'
18147 export as_echo_body
18148 as_echo='sh -c $as_echo_body as_echo'
18151 # The user is always right.
18152 if test "${PATH_SEPARATOR+set}" != set; then
18153 PATH_SEPARATOR=:
18154 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18155 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18156 PATH_SEPARATOR=';'
18161 # IFS
18162 # We need space, tab and new line, in precisely that order. Quoting is
18163 # there to prevent editors from complaining about space-tab.
18164 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18165 # splitting by setting IFS to empty value.)
18166 IFS=" "" $as_nl"
18168 # Find who we are. Look in the path if we contain no directory separator.
18169 as_myself=
18170 case $0 in #((
18171 *[\\/]* ) as_myself=$0 ;;
18172 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18173 for as_dir in $PATH
18175 IFS=$as_save_IFS
18176 test -z "$as_dir" && as_dir=.
18177 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18178 done
18179 IFS=$as_save_IFS
18182 esac
18183 # We did not find ourselves, most probably we were run as `sh COMMAND'
18184 # in which case we are not to be found in the path.
18185 if test "x$as_myself" = x; then
18186 as_myself=$0
18188 if test ! -f "$as_myself"; then
18189 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18190 exit 1
18193 # Unset variables that we do not need and which cause bugs (e.g. in
18194 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18195 # suppresses any "Segmentation fault" message there. '((' could
18196 # trigger a bug in pdksh 5.2.14.
18197 for as_var in BASH_ENV ENV MAIL MAILPATH
18198 do eval test x\${$as_var+set} = xset \
18199 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18200 done
18201 PS1='$ '
18202 PS2='> '
18203 PS4='+ '
18205 # NLS nuisances.
18206 LC_ALL=C
18207 export LC_ALL
18208 LANGUAGE=C
18209 export LANGUAGE
18211 # CDPATH.
18212 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18215 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18216 # ----------------------------------------
18217 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18218 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18219 # script with STATUS, using 1 if that was 0.
18220 as_fn_error ()
18222 as_status=$1; test $as_status -eq 0 && as_status=1
18223 if test "$4"; then
18224 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18225 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18227 $as_echo "$as_me: error: $2" >&2
18228 as_fn_exit $as_status
18229 } # as_fn_error
18232 # as_fn_set_status STATUS
18233 # -----------------------
18234 # Set $? to STATUS, without forking.
18235 as_fn_set_status ()
18237 return $1
18238 } # as_fn_set_status
18240 # as_fn_exit STATUS
18241 # -----------------
18242 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18243 as_fn_exit ()
18245 set +e
18246 as_fn_set_status $1
18247 exit $1
18248 } # as_fn_exit
18250 # as_fn_unset VAR
18251 # ---------------
18252 # Portably unset VAR.
18253 as_fn_unset ()
18255 { eval $1=; unset $1;}
18257 as_unset=as_fn_unset
18258 # as_fn_append VAR VALUE
18259 # ----------------------
18260 # Append the text in VALUE to the end of the definition contained in VAR. Take
18261 # advantage of any shell optimizations that allow amortized linear growth over
18262 # repeated appends, instead of the typical quadratic growth present in naive
18263 # implementations.
18264 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18265 eval 'as_fn_append ()
18267 eval $1+=\$2
18269 else
18270 as_fn_append ()
18272 eval $1=\$$1\$2
18274 fi # as_fn_append
18276 # as_fn_arith ARG...
18277 # ------------------
18278 # Perform arithmetic evaluation on the ARGs, and store the result in the
18279 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18280 # must be portable across $(()) and expr.
18281 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18282 eval 'as_fn_arith ()
18284 as_val=$(( $* ))
18286 else
18287 as_fn_arith ()
18289 as_val=`expr "$@" || test $? -eq 1`
18291 fi # as_fn_arith
18294 if expr a : '\(a\)' >/dev/null 2>&1 &&
18295 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18296 as_expr=expr
18297 else
18298 as_expr=false
18301 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18302 as_basename=basename
18303 else
18304 as_basename=false
18307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18308 as_dirname=dirname
18309 else
18310 as_dirname=false
18313 as_me=`$as_basename -- "$0" ||
18314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18315 X"$0" : 'X\(//\)$' \| \
18316 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18317 $as_echo X/"$0" |
18318 sed '/^.*\/\([^/][^/]*\)\/*$/{
18319 s//\1/
18322 /^X\/\(\/\/\)$/{
18323 s//\1/
18326 /^X\/\(\/\).*/{
18327 s//\1/
18330 s/.*/./; q'`
18332 # Avoid depending upon Character Ranges.
18333 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18335 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18336 as_cr_digits='0123456789'
18337 as_cr_alnum=$as_cr_Letters$as_cr_digits
18339 ECHO_C= ECHO_N= ECHO_T=
18340 case `echo -n x` in #(((((
18341 -n*)
18342 case `echo 'xy\c'` in
18343 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18344 xy) ECHO_C='\c';;
18345 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18346 ECHO_T=' ';;
18347 esac;;
18349 ECHO_N='-n';;
18350 esac
18352 rm -f conf$$ conf$$.exe conf$$.file
18353 if test -d conf$$.dir; then
18354 rm -f conf$$.dir/conf$$.file
18355 else
18356 rm -f conf$$.dir
18357 mkdir conf$$.dir 2>/dev/null
18359 if (echo >conf$$.file) 2>/dev/null; then
18360 if ln -s conf$$.file conf$$ 2>/dev/null; then
18361 as_ln_s='ln -s'
18362 # ... but there are two gotchas:
18363 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18364 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18365 # In both cases, we have to default to `cp -pR'.
18366 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18367 as_ln_s='cp -pR'
18368 elif ln conf$$.file conf$$ 2>/dev/null; then
18369 as_ln_s=ln
18370 else
18371 as_ln_s='cp -pR'
18373 else
18374 as_ln_s='cp -pR'
18376 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18377 rmdir conf$$.dir 2>/dev/null
18380 # as_fn_mkdir_p
18381 # -------------
18382 # Create "$as_dir" as a directory, including parents if necessary.
18383 as_fn_mkdir_p ()
18386 case $as_dir in #(
18387 -*) as_dir=./$as_dir;;
18388 esac
18389 test -d "$as_dir" || eval $as_mkdir_p || {
18390 as_dirs=
18391 while :; do
18392 case $as_dir in #(
18393 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18394 *) as_qdir=$as_dir;;
18395 esac
18396 as_dirs="'$as_qdir' $as_dirs"
18397 as_dir=`$as_dirname -- "$as_dir" ||
18398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18399 X"$as_dir" : 'X\(//\)[^/]' \| \
18400 X"$as_dir" : 'X\(//\)$' \| \
18401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18402 $as_echo X"$as_dir" |
18403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18404 s//\1/
18407 /^X\(\/\/\)[^/].*/{
18408 s//\1/
18411 /^X\(\/\/\)$/{
18412 s//\1/
18415 /^X\(\/\).*/{
18416 s//\1/
18419 s/.*/./; q'`
18420 test -d "$as_dir" && break
18421 done
18422 test -z "$as_dirs" || eval "mkdir $as_dirs"
18423 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18426 } # as_fn_mkdir_p
18427 if mkdir -p . 2>/dev/null; then
18428 as_mkdir_p='mkdir -p "$as_dir"'
18429 else
18430 test -d ./-p && rmdir ./-p
18431 as_mkdir_p=false
18435 # as_fn_executable_p FILE
18436 # -----------------------
18437 # Test if FILE is an executable regular file.
18438 as_fn_executable_p ()
18440 test -f "$1" && test -x "$1"
18441 } # as_fn_executable_p
18442 as_test_x='test -x'
18443 as_executable_p=as_fn_executable_p
18445 # Sed expression to map a string onto a valid CPP name.
18446 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18448 # Sed expression to map a string onto a valid variable name.
18449 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18452 exec 6>&1
18453 ## ----------------------------------- ##
18454 ## Main body of $CONFIG_STATUS script. ##
18455 ## ----------------------------------- ##
18456 _ASEOF
18457 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18460 # Save the log message, to keep $0 and so on meaningful, and to
18461 # report actual input values of CONFIG_FILES etc. instead of their
18462 # values after options handling.
18463 ac_log="
18464 This file was extended by Wine $as_me 1.7.36, which was
18465 generated by GNU Autoconf 2.69. Invocation command line was
18467 CONFIG_FILES = $CONFIG_FILES
18468 CONFIG_HEADERS = $CONFIG_HEADERS
18469 CONFIG_LINKS = $CONFIG_LINKS
18470 CONFIG_COMMANDS = $CONFIG_COMMANDS
18471 $ $0 $@
18473 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18476 _ACEOF
18478 case $ac_config_files in *"
18479 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18480 esac
18482 case $ac_config_headers in *"
18483 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18484 esac
18487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18488 # Files that config.status was made for.
18489 config_files="$ac_config_files"
18490 config_headers="$ac_config_headers"
18491 config_links="$ac_config_links"
18492 config_commands="$ac_config_commands"
18494 _ACEOF
18496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18497 ac_cs_usage="\
18498 \`$as_me' instantiates files and other configuration actions
18499 from templates according to the current configuration. Unless the files
18500 and actions are specified as TAGs, all are instantiated by default.
18502 Usage: $0 [OPTION]... [TAG]...
18504 -h, --help print this help, then exit
18505 -V, --version print version number and configuration settings, then exit
18506 --config print configuration, then exit
18507 -q, --quiet, --silent
18508 do not print progress messages
18509 -d, --debug don't remove temporary files
18510 --recheck update $as_me by reconfiguring in the same conditions
18511 --file=FILE[:TEMPLATE]
18512 instantiate the configuration file FILE
18513 --header=FILE[:TEMPLATE]
18514 instantiate the configuration header FILE
18516 Configuration files:
18517 $config_files
18519 Configuration headers:
18520 $config_headers
18522 Configuration links:
18523 $config_links
18525 Configuration commands:
18526 $config_commands
18528 Report bugs to <wine-devel@winehq.org>.
18529 Wine home page: <http://www.winehq.org>."
18531 _ACEOF
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18534 ac_cs_version="\\
18535 Wine config.status 1.7.36
18536 configured by $0, generated by GNU Autoconf 2.69,
18537 with options \\"\$ac_cs_config\\"
18539 Copyright (C) 2012 Free Software Foundation, Inc.
18540 This config.status script is free software; the Free Software Foundation
18541 gives unlimited permission to copy, distribute and modify it."
18543 ac_pwd='$ac_pwd'
18544 srcdir='$srcdir'
18545 test -n "\$AWK" || AWK=awk
18546 _ACEOF
18548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18549 # The default lists apply if the user does not specify any file.
18550 ac_need_defaults=:
18551 while test $# != 0
18553 case $1 in
18554 --*=?*)
18555 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18556 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18557 ac_shift=:
18559 --*=)
18560 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18561 ac_optarg=
18562 ac_shift=:
18565 ac_option=$1
18566 ac_optarg=$2
18567 ac_shift=shift
18569 esac
18571 case $ac_option in
18572 # Handling of the options.
18573 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18574 ac_cs_recheck=: ;;
18575 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18576 $as_echo "$ac_cs_version"; exit ;;
18577 --config | --confi | --conf | --con | --co | --c )
18578 $as_echo "$ac_cs_config"; exit ;;
18579 --debug | --debu | --deb | --de | --d | -d )
18580 debug=: ;;
18581 --file | --fil | --fi | --f )
18582 $ac_shift
18583 case $ac_optarg in
18584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18585 '') as_fn_error $? "missing file argument" ;;
18586 esac
18587 as_fn_append CONFIG_FILES " '$ac_optarg'"
18588 ac_need_defaults=false;;
18589 --header | --heade | --head | --hea )
18590 $ac_shift
18591 case $ac_optarg in
18592 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18593 esac
18594 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18595 ac_need_defaults=false;;
18596 --he | --h)
18597 # Conflict between --help and --header
18598 as_fn_error $? "ambiguous option: \`$1'
18599 Try \`$0 --help' for more information.";;
18600 --help | --hel | -h )
18601 $as_echo "$ac_cs_usage"; exit ;;
18602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18603 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18604 ac_cs_silent=: ;;
18606 # This is an error.
18607 -*) as_fn_error $? "unrecognized option: \`$1'
18608 Try \`$0 --help' for more information." ;;
18610 *) as_fn_append ac_config_targets " $1"
18611 ac_need_defaults=false ;;
18613 esac
18614 shift
18615 done
18617 ac_configure_extra_args=
18619 if $ac_cs_silent; then
18620 exec 6>/dev/null
18621 ac_configure_extra_args="$ac_configure_extra_args --silent"
18624 _ACEOF
18625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18626 if \$ac_cs_recheck; then
18627 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18628 shift
18629 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18630 CONFIG_SHELL='$SHELL'
18631 export CONFIG_SHELL
18632 exec "\$@"
18635 _ACEOF
18636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18637 exec 5>>config.log
18639 echo
18640 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18641 ## Running $as_me. ##
18642 _ASBOX
18643 $as_echo "$ac_log"
18644 } >&5
18646 _ACEOF
18647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18649 # INIT-COMMANDS
18651 wine_fn_output_makedep ()
18653 as_dir=tools; as_fn_mkdir_p
18654 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18656 wine_fn_output_makefile ()
18658 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18659 `cat $wine_rules_file`
18660 _WINE_EOF
18661 as_fn_error $? "could not create Makefile" "$LINENO" 5
18663 wine_fn_output_gitignore ()
18665 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18666 $GITIGNORE
18667 _WINE_EOF
18668 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18671 _ACEOF
18673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18675 # Handling of arguments.
18676 for ac_config_target in $ac_config_targets
18678 case $ac_config_target in
18679 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18680 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18681 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18682 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18683 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18684 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18685 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18686 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18687 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18688 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18689 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18690 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18691 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18692 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18694 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18695 esac
18696 done
18699 # If the user did not use the arguments to specify the items to instantiate,
18700 # then the envvar interface is used. Set only those that are not.
18701 # We use the long form for the default assignment because of an extremely
18702 # bizarre bug on SunOS 4.1.3.
18703 if $ac_need_defaults; then
18704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18706 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18710 # Have a temporary directory for convenience. Make it in the build tree
18711 # simply because there is no reason against having it here, and in addition,
18712 # creating and moving files from /tmp can sometimes cause problems.
18713 # Hook for its removal unless debugging.
18714 # Note that there is a small window in which the directory will not be cleaned:
18715 # after its creation but before its name has been assigned to `$tmp'.
18716 $debug ||
18718 tmp= ac_tmp=
18719 trap 'exit_status=$?
18720 : "${ac_tmp:=$tmp}"
18721 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18723 trap 'as_fn_exit 1' 1 2 13 15
18725 # Create a (secure) tmp directory for tmp files.
18728 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18729 test -d "$tmp"
18730 } ||
18732 tmp=./conf$$-$RANDOM
18733 (umask 077 && mkdir "$tmp")
18734 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18735 ac_tmp=$tmp
18737 # Set up the scripts for CONFIG_FILES section.
18738 # No need to generate them if there are no CONFIG_FILES.
18739 # This happens for instance with `./config.status config.h'.
18740 if test -n "$CONFIG_FILES"; then
18743 ac_cr=`echo X | tr X '\015'`
18744 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18745 # But we know of no other shell where ac_cr would be empty at this
18746 # point, so we can use a bashism as a fallback.
18747 if test "x$ac_cr" = x; then
18748 eval ac_cr=\$\'\\r\'
18750 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18751 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18752 ac_cs_awk_cr='\\r'
18753 else
18754 ac_cs_awk_cr=$ac_cr
18757 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18758 _ACEOF
18762 echo "cat >conf$$subs.awk <<_ACEOF" &&
18763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18764 echo "_ACEOF"
18765 } >conf$$subs.sh ||
18766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18768 ac_delim='%!_!# '
18769 for ac_last_try in false false false false false :; do
18770 . ./conf$$subs.sh ||
18771 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18773 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18774 if test $ac_delim_n = $ac_delim_num; then
18775 break
18776 elif $ac_last_try; then
18777 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18778 else
18779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18781 done
18782 rm -f conf$$subs.sh
18784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18785 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18786 _ACEOF
18787 sed -n '
18789 s/^/S["/; s/!.*/"]=/
18792 s/^[^!]*!//
18793 :repl
18794 t repl
18795 s/'"$ac_delim"'$//
18796 t delim
18799 s/\(.\{148\}\)..*/\1/
18800 t more1
18801 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18804 b repl
18805 :more1
18806 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18809 s/.\{148\}//
18810 t nl
18811 :delim
18813 s/\(.\{148\}\)..*/\1/
18814 t more2
18815 s/["\\]/\\&/g; s/^/"/; s/$/"/
18818 :more2
18819 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18822 s/.\{148\}//
18823 t delim
18824 ' <conf$$subs.awk | sed '
18825 /^[^""]/{
18827 s/\n//
18829 ' >>$CONFIG_STATUS || ac_write_fail=1
18830 rm -f conf$$subs.awk
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 _ACAWK
18833 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18834 for (key in S) S_is_set[key] = 1
18835 FS = "\a"
18839 line = $ 0
18840 nfields = split(line, field, "@")
18841 substed = 0
18842 len = length(field[1])
18843 for (i = 2; i < nfields; i++) {
18844 key = field[i]
18845 keylen = length(key)
18846 if (S_is_set[key]) {
18847 value = S[key]
18848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18849 len += length(value) + length(field[++i])
18850 substed = 1
18851 } else
18852 len += 1 + keylen
18855 print line
18858 _ACAWK
18859 _ACEOF
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18861 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18862 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18863 else
18865 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18866 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18867 _ACEOF
18869 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18870 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18871 # trailing colons and then remove the whole line if VPATH becomes empty
18872 # (actually we leave an empty line to preserve line numbers).
18873 if test "x$srcdir" = x.; then
18874 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18876 s///
18877 s/^/:/
18878 s/[ ]*$/:/
18879 s/:\$(srcdir):/:/g
18880 s/:\${srcdir}:/:/g
18881 s/:@srcdir@:/:/g
18882 s/^:*//
18883 s/:*$//
18885 s/\(=[ ]*\).*/\1/
18887 s/\n//
18888 s/^[^=]*=[ ]*$//
18892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18893 fi # test -n "$CONFIG_FILES"
18895 # Set up the scripts for CONFIG_HEADERS section.
18896 # No need to generate them if there are no CONFIG_HEADERS.
18897 # This happens for instance with `./config.status Makefile'.
18898 if test -n "$CONFIG_HEADERS"; then
18899 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18900 BEGIN {
18901 _ACEOF
18903 # Transform confdefs.h into an awk script `defines.awk', embedded as
18904 # here-document in config.status, that substitutes the proper values into
18905 # config.h.in to produce config.h.
18907 # Create a delimiter string that does not exist in confdefs.h, to ease
18908 # handling of long lines.
18909 ac_delim='%!_!# '
18910 for ac_last_try in false false :; do
18911 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18912 if test -z "$ac_tt"; then
18913 break
18914 elif $ac_last_try; then
18915 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18916 else
18917 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18919 done
18921 # For the awk script, D is an array of macro values keyed by name,
18922 # likewise P contains macro parameters if any. Preserve backslash
18923 # newline sequences.
18925 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18926 sed -n '
18927 s/.\{148\}/&'"$ac_delim"'/g
18928 t rset
18929 :rset
18930 s/^[ ]*#[ ]*define[ ][ ]*/ /
18931 t def
18933 :def
18934 s/\\$//
18935 t bsnl
18936 s/["\\]/\\&/g
18937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18938 D["\1"]=" \3"/p
18939 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18941 :bsnl
18942 s/["\\]/\\&/g
18943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18944 D["\1"]=" \3\\\\\\n"\\/p
18945 t cont
18946 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18947 t cont
18949 :cont
18951 s/.\{148\}/&'"$ac_delim"'/g
18952 t clear
18953 :clear
18954 s/\\$//
18955 t bsnlc
18956 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18958 :bsnlc
18959 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18960 b cont
18961 ' <confdefs.h | sed '
18962 s/'"$ac_delim"'/"\\\
18963 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18966 for (key in D) D_is_set[key] = 1
18967 FS = "\a"
18969 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18970 line = \$ 0
18971 split(line, arg, " ")
18972 if (arg[1] == "#") {
18973 defundef = arg[2]
18974 mac1 = arg[3]
18975 } else {
18976 defundef = substr(arg[1], 2)
18977 mac1 = arg[2]
18979 split(mac1, mac2, "(") #)
18980 macro = mac2[1]
18981 prefix = substr(line, 1, index(line, defundef) - 1)
18982 if (D_is_set[macro]) {
18983 # Preserve the white space surrounding the "#".
18984 print prefix "define", macro P[macro] D[macro]
18985 next
18986 } else {
18987 # Replace #undef with comments. This is necessary, for example,
18988 # in the case of _POSIX_SOURCE, which is predefined and required
18989 # on some systems where configure will not decide to define it.
18990 if (defundef == "undef") {
18991 print "/*", prefix defundef, macro, "*/"
18992 next
18996 { print }
18997 _ACAWK
18998 _ACEOF
18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19000 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19001 fi # test -n "$CONFIG_HEADERS"
19004 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19005 shift
19006 for ac_tag
19008 case $ac_tag in
19009 :[FHLC]) ac_mode=$ac_tag; continue;;
19010 esac
19011 case $ac_mode$ac_tag in
19012 :[FHL]*:*);;
19013 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19014 :[FH]-) ac_tag=-:-;;
19015 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19016 esac
19017 ac_save_IFS=$IFS
19018 IFS=:
19019 set x $ac_tag
19020 IFS=$ac_save_IFS
19021 shift
19022 ac_file=$1
19023 shift
19025 case $ac_mode in
19026 :L) ac_source=$1;;
19027 :[FH])
19028 ac_file_inputs=
19029 for ac_f
19031 case $ac_f in
19032 -) ac_f="$ac_tmp/stdin";;
19033 *) # Look for the file first in the build tree, then in the source tree
19034 # (if the path is not absolute). The absolute path cannot be DOS-style,
19035 # because $ac_f cannot contain `:'.
19036 test -f "$ac_f" ||
19037 case $ac_f in
19038 [\\/$]*) false;;
19039 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19040 esac ||
19041 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19042 esac
19043 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19044 as_fn_append ac_file_inputs " '$ac_f'"
19045 done
19047 # Let's still pretend it is `configure' which instantiates (i.e., don't
19048 # use $as_me), people would be surprised to read:
19049 # /* config.h. Generated by config.status. */
19050 configure_input='Generated from '`
19051 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19052 `' by configure.'
19053 if test x"$ac_file" != x-; then
19054 configure_input="$ac_file. $configure_input"
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19056 $as_echo "$as_me: creating $ac_file" >&6;}
19058 # Neutralize special characters interpreted by sed in replacement strings.
19059 case $configure_input in #(
19060 *\&* | *\|* | *\\* )
19061 ac_sed_conf_input=`$as_echo "$configure_input" |
19062 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19063 *) ac_sed_conf_input=$configure_input;;
19064 esac
19066 case $ac_tag in
19067 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19069 esac
19071 esac
19073 ac_dir=`$as_dirname -- "$ac_file" ||
19074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19075 X"$ac_file" : 'X\(//\)[^/]' \| \
19076 X"$ac_file" : 'X\(//\)$' \| \
19077 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19078 $as_echo X"$ac_file" |
19079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19080 s//\1/
19083 /^X\(\/\/\)[^/].*/{
19084 s//\1/
19087 /^X\(\/\/\)$/{
19088 s//\1/
19091 /^X\(\/\).*/{
19092 s//\1/
19095 s/.*/./; q'`
19096 as_dir="$ac_dir"; as_fn_mkdir_p
19097 ac_builddir=.
19099 case "$ac_dir" in
19100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19102 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19103 # A ".." for each directory in $ac_dir_suffix.
19104 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19105 case $ac_top_builddir_sub in
19106 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19107 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19108 esac ;;
19109 esac
19110 ac_abs_top_builddir=$ac_pwd
19111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19112 # for backward compatibility:
19113 ac_top_builddir=$ac_top_build_prefix
19115 case $srcdir in
19116 .) # We are building in place.
19117 ac_srcdir=.
19118 ac_top_srcdir=$ac_top_builddir_sub
19119 ac_abs_top_srcdir=$ac_pwd ;;
19120 [\\/]* | ?:[\\/]* ) # Absolute name.
19121 ac_srcdir=$srcdir$ac_dir_suffix;
19122 ac_top_srcdir=$srcdir
19123 ac_abs_top_srcdir=$srcdir ;;
19124 *) # Relative name.
19125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19126 ac_top_srcdir=$ac_top_build_prefix$srcdir
19127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19128 esac
19129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19132 case $ac_mode in
19135 # CONFIG_FILE
19138 _ACEOF
19140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19141 # If the template does not know about datarootdir, expand it.
19142 # FIXME: This hack should be removed a few years after 2.60.
19143 ac_datarootdir_hack=; ac_datarootdir_seen=
19144 ac_sed_dataroot='
19145 /datarootdir/ {
19149 /@datadir@/p
19150 /@docdir@/p
19151 /@infodir@/p
19152 /@localedir@/p
19153 /@mandir@/p'
19154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19155 *datarootdir*) ac_datarootdir_seen=yes;;
19156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19159 _ACEOF
19160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19161 ac_datarootdir_hack='
19162 s&@datadir@&$datadir&g
19163 s&@docdir@&$docdir&g
19164 s&@infodir@&$infodir&g
19165 s&@localedir@&$localedir&g
19166 s&@mandir@&$mandir&g
19167 s&\\\${datarootdir}&$datarootdir&g' ;;
19168 esac
19169 _ACEOF
19171 # Neutralize VPATH when `$srcdir' = `.'.
19172 # Shell code in configure.ac might set extrasub.
19173 # FIXME: do we really want to maintain this feature?
19174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19175 ac_sed_extra="$ac_vpsub
19176 $extrasub
19177 _ACEOF
19178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19181 s|@configure_input@|$ac_sed_conf_input|;t t
19182 s&@top_builddir@&$ac_top_builddir_sub&;t t
19183 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19184 s&@srcdir@&$ac_srcdir&;t t
19185 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19186 s&@top_srcdir@&$ac_top_srcdir&;t t
19187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19188 s&@builddir@&$ac_builddir&;t t
19189 s&@abs_builddir@&$ac_abs_builddir&;t t
19190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19191 $ac_datarootdir_hack
19193 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19194 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19196 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19197 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19198 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19199 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19201 which seems to be undefined. Please make sure it is defined" >&5
19202 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19203 which seems to be undefined. Please make sure it is defined" >&2;}
19205 rm -f "$ac_tmp/stdin"
19206 case $ac_file in
19207 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19208 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19209 esac \
19210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19214 # CONFIG_HEADER
19216 if test x"$ac_file" != x-; then
19218 $as_echo "/* $configure_input */" \
19219 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19220 } >"$ac_tmp/config.h" \
19221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19222 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19224 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19225 else
19226 rm -f "$ac_file"
19227 mv "$ac_tmp/config.h" "$ac_file" \
19228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19230 else
19231 $as_echo "/* $configure_input */" \
19232 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19233 || as_fn_error $? "could not create -" "$LINENO" 5
19238 # CONFIG_LINK
19241 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19243 else
19244 # Prefer the file from the source tree if names are identical.
19245 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19246 ac_source=$srcdir/$ac_source
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19250 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19252 if test ! -r "$ac_source"; then
19253 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19255 rm -f "$ac_file"
19257 # Try a relative symlink, then a hard link, then a copy.
19258 case $ac_source in
19259 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19260 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19261 esac
19262 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19263 ln "$ac_source" "$ac_file" 2>/dev/null ||
19264 cp -p "$ac_source" "$ac_file" ||
19265 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19268 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19269 $as_echo "$as_me: executing $ac_file commands" >&6;}
19271 esac
19274 case $ac_file$ac_mode in
19275 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19276 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19277 "Makefile":C) wine_fn_output_makefile Makefile ;;
19278 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19280 esac
19281 done # for ac_tag
19284 as_fn_exit 0
19285 _ACEOF
19286 ac_clean_files=$ac_clean_files_save
19288 test $ac_write_fail = 0 ||
19289 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19292 # configure is writing to config.log, and then calls config.status.
19293 # config.status does its own redirection, appending to config.log.
19294 # Unfortunately, on DOS this fails, as config.log is still kept open
19295 # by configure, so config.status won't be able to write to it; its
19296 # output is simply discarded. So we exec the FD to /dev/null,
19297 # effectively closing config.log, so it can be properly (re)opened and
19298 # appended to by config.status. When coming back to configure, we
19299 # need to make the FD available again.
19300 if test "$no_create" != yes; then
19301 ac_cs_success=:
19302 ac_config_status_args=
19303 test "$silent" = yes &&
19304 ac_config_status_args="$ac_config_status_args --quiet"
19305 exec 5>/dev/null
19306 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19307 exec 5>>config.log
19308 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19309 # would make configure fail if this is the last instruction.
19310 $ac_cs_success || as_fn_exit 1
19312 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19314 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19318 if test "$no_create" = "yes"
19319 then
19320 exit 0
19323 ac_save_IFS="$IFS"
19324 if test "x$wine_notices != "x; then
19325 echo >&6
19326 IFS="|"
19327 for msg in $wine_notices; do
19328 IFS="$ac_save_IFS"
19329 if ${msg:+false} :; then :
19331 else
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19333 $as_echo "$as_me: $msg" >&6;}
19335 done
19337 IFS="|"
19338 for msg in $wine_warnings; do
19339 IFS="$ac_save_IFS"
19340 if ${msg:+false} :; then :
19342 else
19343 echo >&2
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19345 $as_echo "$as_me: WARNING: $msg" >&2;}
19347 done
19348 IFS="$ac_save_IFS"
19350 $as_echo "
19351 $as_me: Finished. Do '${ac_make}' to compile Wine.
19352 " >&6