wined3d: Only consider POSITION0 PS inputs as vpos.
[wine/multimedia.git] / configure
blobd8376c8914bd3a043618b30d9f6b07709de47939
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_credui
946 enable_crtdll
947 enable_crypt32
948 enable_cryptdlg
949 enable_cryptdll
950 enable_cryptext
951 enable_cryptnet
952 enable_cryptui
953 enable_ctapi32
954 enable_ctl3d32
955 enable_d2d1
956 enable_d3d10
957 enable_d3d10_1
958 enable_d3d10core
959 enable_d3d11
960 enable_d3d8
961 enable_d3d9
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
973 enable_d3dim
974 enable_d3drm
975 enable_d3dx10_33
976 enable_d3dx10_34
977 enable_d3dx10_35
978 enable_d3dx10_36
979 enable_d3dx10_37
980 enable_d3dx10_38
981 enable_d3dx10_39
982 enable_d3dx10_40
983 enable_d3dx10_41
984 enable_d3dx10_42
985 enable_d3dx10_43
986 enable_d3dx11_42
987 enable_d3dx11_43
988 enable_d3dx9_24
989 enable_d3dx9_25
990 enable_d3dx9_26
991 enable_d3dx9_27
992 enable_d3dx9_28
993 enable_d3dx9_29
994 enable_d3dx9_30
995 enable_d3dx9_31
996 enable_d3dx9_32
997 enable_d3dx9_33
998 enable_d3dx9_34
999 enable_d3dx9_35
1000 enable_d3dx9_36
1001 enable_d3dx9_37
1002 enable_d3dx9_38
1003 enable_d3dx9_39
1004 enable_d3dx9_40
1005 enable_d3dx9_41
1006 enable_d3dx9_42
1007 enable_d3dx9_43
1008 enable_d3dxof
1009 enable_dbgeng
1010 enable_dbghelp
1011 enable_dciman32
1012 enable_ddraw
1013 enable_ddrawex
1014 enable_devenum
1015 enable_dhcpcsvc
1016 enable_difxapi
1017 enable_dinput
1018 enable_dinput8
1019 enable_dispex
1020 enable_dmband
1021 enable_dmcompos
1022 enable_dmime
1023 enable_dmloader
1024 enable_dmscript
1025 enable_dmstyle
1026 enable_dmsynth
1027 enable_dmusic
1028 enable_dmusic32
1029 enable_dnsapi
1030 enable_dplay
1031 enable_dplayx
1032 enable_dpnaddr
1033 enable_dpnet
1034 enable_dpnhpast
1035 enable_dpnlobby
1036 enable_dpvoice
1037 enable_dpwsockx
1038 enable_drmclien
1039 enable_dsound
1040 enable_dssenh
1041 enable_dswave
1042 enable_dwmapi
1043 enable_dwrite
1044 enable_dxdiagn
1045 enable_dxgi
1046 enable_dxva2
1047 enable_evr
1048 enable_explorerframe
1049 enable_ext_ms_win_gdi_devcaps_l1_1_0
1050 enable_faultrep
1051 enable_fltlib
1052 enable_fntcache
1053 enable_fontsub
1054 enable_fusion
1055 enable_fwpuclnt
1056 enable_gameux
1057 enable_gdi32
1058 enable_gdiplus
1059 enable_glu32
1060 enable_gphoto2_ds
1061 enable_gpkcsp
1062 enable_hal
1063 enable_hhctrl_ocx
1064 enable_hid
1065 enable_hlink
1066 enable_hnetcfg
1067 enable_httpapi
1068 enable_iccvid
1069 enable_icmp
1070 enable_ieframe
1071 enable_imaadp32_acm
1072 enable_imagehlp
1073 enable_imm32
1074 enable_inetcomm
1075 enable_inetcpl_cpl
1076 enable_inetmib1
1077 enable_infosoft
1078 enable_initpki
1079 enable_inkobj
1080 enable_inseng
1081 enable_iphlpapi
1082 enable_itircl
1083 enable_itss
1084 enable_joy_cpl
1085 enable_jscript
1086 enable_jsproxy
1087 enable_kernel32
1088 enable_ksuser
1089 enable_ktmw32
1090 enable_loadperf
1091 enable_localspl
1092 enable_localui
1093 enable_lz32
1094 enable_mapi32
1095 enable_mapistub
1096 enable_mciavi32
1097 enable_mcicda
1098 enable_mciqtz32
1099 enable_mciseq
1100 enable_mciwave
1101 enable_mfplat
1102 enable_mfreadwrite
1103 enable_mgmtapi
1104 enable_midimap
1105 enable_mlang
1106 enable_mmcndmgr
1107 enable_mmdevapi
1108 enable_mountmgr_sys
1109 enable_mpr
1110 enable_mprapi
1111 enable_msacm32_drv
1112 enable_msacm32
1113 enable_msadp32_acm
1114 enable_msasn1
1115 enable_mscat32
1116 enable_mscms
1117 enable_mscoree
1118 enable_msctf
1119 enable_msdaps
1120 enable_msdmo
1121 enable_msftedit
1122 enable_msg711_acm
1123 enable_msgsm32_acm
1124 enable_mshtml_tlb
1125 enable_mshtml
1126 enable_msi
1127 enable_msident
1128 enable_msimg32
1129 enable_msimsg
1130 enable_msimtf
1131 enable_msisip
1132 enable_msisys_ocx
1133 enable_msls31
1134 enable_msnet32
1135 enable_mspatcha
1136 enable_msrle32
1137 enable_mssign32
1138 enable_mssip32
1139 enable_mstask
1140 enable_msvcirt
1141 enable_msvcm80
1142 enable_msvcm90
1143 enable_msvcp100
1144 enable_msvcp110
1145 enable_msvcp120
1146 enable_msvcp120_app
1147 enable_msvcp60
1148 enable_msvcp70
1149 enable_msvcp71
1150 enable_msvcp80
1151 enable_msvcp90
1152 enable_msvcr100
1153 enable_msvcr110
1154 enable_msvcr120
1155 enable_msvcr120_app
1156 enable_msvcr70
1157 enable_msvcr71
1158 enable_msvcr80
1159 enable_msvcr90
1160 enable_msvcrt
1161 enable_msvcrt20
1162 enable_msvcrt40
1163 enable_msvcrtd
1164 enable_msvfw32
1165 enable_msvidc32
1166 enable_mswsock
1167 enable_msxml
1168 enable_msxml2
1169 enable_msxml3
1170 enable_msxml4
1171 enable_msxml6
1172 enable_nddeapi
1173 enable_ndis_sys
1174 enable_netapi32
1175 enable_netcfgx
1176 enable_netprofm
1177 enable_newdev
1178 enable_normaliz
1179 enable_npmshtml
1180 enable_npptools
1181 enable_ntdll
1182 enable_ntdsapi
1183 enable_ntoskrnl_exe
1184 enable_ntprint
1185 enable_objsel
1186 enable_odbc32
1187 enable_odbccp32
1188 enable_odbccu32
1189 enable_ole32
1190 enable_oleacc
1191 enable_oleaut32
1192 enable_olecli32
1193 enable_oledb32
1194 enable_oledlg
1195 enable_olepro32
1196 enable_olesvr32
1197 enable_olethk32
1198 enable_openal32
1199 enable_opencl
1200 enable_opengl32
1201 enable_packager
1202 enable_pdh
1203 enable_photometadatahandler
1204 enable_pidgen
1205 enable_powrprof
1206 enable_printui
1207 enable_prntvpt
1208 enable_propsys
1209 enable_psapi
1210 enable_pstorec
1211 enable_qcap
1212 enable_qedit
1213 enable_qmgr
1214 enable_qmgrprxy
1215 enable_quartz
1216 enable_query
1217 enable_rasapi32
1218 enable_rasdlg
1219 enable_regapi
1220 enable_resutils
1221 enable_riched20
1222 enable_riched32
1223 enable_rpcrt4
1224 enable_rsabase
1225 enable_rsaenh
1226 enable_rstrtmgr
1227 enable_rtutils
1228 enable_samlib
1229 enable_sane_ds
1230 enable_scarddlg
1231 enable_sccbase
1232 enable_schannel
1233 enable_schedsvc
1234 enable_scrrun
1235 enable_scsiport_sys
1236 enable_secur32
1237 enable_security
1238 enable_sensapi
1239 enable_serialui
1240 enable_setupapi
1241 enable_sfc
1242 enable_sfc_os
1243 enable_shdoclc
1244 enable_shdocvw
1245 enable_shell32
1246 enable_shfolder
1247 enable_shlwapi
1248 enable_slbcsp
1249 enable_slc
1250 enable_snmpapi
1251 enable_softpub
1252 enable_spoolss
1253 enable_stdole2_tlb
1254 enable_stdole32_tlb
1255 enable_sti
1256 enable_svrapi
1257 enable_sxs
1258 enable_t2embed
1259 enable_tapi32
1260 enable_taskschd
1261 enable_traffic
1262 enable_twain_32
1263 enable_unicows
1264 enable_updspapi
1265 enable_url
1266 enable_urlmon
1267 enable_usbd_sys
1268 enable_user32
1269 enable_userenv
1270 enable_usp10
1271 enable_uxtheme
1272 enable_vbscript
1273 enable_vcomp
1274 enable_vcomp100
1275 enable_vcomp90
1276 enable_vdmdbg
1277 enable_version
1278 enable_vssapi
1279 enable_wbemdisp
1280 enable_wbemprox
1281 enable_webservices
1282 enable_wer
1283 enable_wevtapi
1284 enable_wiaservc
1285 enable_windowscodecs
1286 enable_windowscodecsext
1287 enable_winealsa_drv
1288 enable_winecoreaudio_drv
1289 enable_wined3d
1290 enable_winegstreamer
1291 enable_winejoystick_drv
1292 enable_winemac_drv
1293 enable_winemapi
1294 enable_winemp3_acm
1295 enable_wineoss_drv
1296 enable_wineps_drv
1297 enable_wineqtdecoder
1298 enable_winex11_drv
1299 enable_wing32
1300 enable_winhttp
1301 enable_wininet
1302 enable_winmm
1303 enable_winnls32
1304 enable_winscard
1305 enable_winspool_drv
1306 enable_winsta
1307 enable_wintab32
1308 enable_wintrust
1309 enable_wlanapi
1310 enable_wldap32
1311 enable_wmi
1312 enable_wmiutils
1313 enable_wmp
1314 enable_wmvcore
1315 enable_wnaspi32
1316 enable_wpcap
1317 enable_ws2_32
1318 enable_wshom_ocx
1319 enable_wsnmp32
1320 enable_wsock32
1321 enable_wtsapi32
1322 enable_wuapi
1323 enable_wuaueng
1324 enable_x3daudio1_7
1325 enable_xapofx1_1
1326 enable_xaudio2_7
1327 enable_xinput1_1
1328 enable_xinput1_2
1329 enable_xinput1_3
1330 enable_xinput1_4
1331 enable_xinput9_1_0
1332 enable_xmllite
1333 enable_xolehlp
1334 enable_xpsprint
1335 enable_xpssvcs
1336 enable_documentation
1337 enable_fonts
1338 enable_include
1339 enable_libs_port
1340 enable_libs_wine
1341 enable_libs_wpp
1342 enable_loader
1343 enable_arp
1344 enable_aspnet_regiis
1345 enable_attrib
1346 enable_cabarc
1347 enable_cacls
1348 enable_clock
1349 enable_cmd
1350 enable_conhost
1351 enable_control
1352 enable_cscript
1353 enable_dpnsvr
1354 enable_dxdiag
1355 enable_eject
1356 enable_expand
1357 enable_explorer
1358 enable_extrac32
1359 enable_findstr
1360 enable_hh
1361 enable_hostname
1362 enable_icinfo
1363 enable_iexplore
1364 enable_ipconfig
1365 enable_lodctr
1366 enable_mofcomp
1367 enable_mshta
1368 enable_msiexec
1369 enable_net
1370 enable_netsh
1371 enable_netstat
1372 enable_ngen
1373 enable_notepad
1374 enable_oleview
1375 enable_ping
1376 enable_plugplay
1377 enable_presentationfontcache
1378 enable_progman
1379 enable_reg
1380 enable_regasm
1381 enable_regedit
1382 enable_regsvcs
1383 enable_regsvr32
1384 enable_rpcss
1385 enable_rundll32
1386 enable_sc
1387 enable_schtasks
1388 enable_sdbinst
1389 enable_secedit
1390 enable_servicemodelreg
1391 enable_services
1392 enable_spoolsv
1393 enable_start
1394 enable_svchost
1395 enable_systeminfo
1396 enable_taskkill
1397 enable_tasklist
1398 enable_taskmgr
1399 enable_termsv
1400 enable_uninstaller
1401 enable_unlodctr
1402 enable_view
1403 enable_wevtutil
1404 enable_wineboot
1405 enable_winebrowser
1406 enable_winecfg
1407 enable_wineconsole
1408 enable_winedbg
1409 enable_winedevice
1410 enable_winefile
1411 enable_winemenubuilder
1412 enable_winemine
1413 enable_winemsibuilder
1414 enable_winepath
1415 enable_winetest
1416 enable_winhlp32
1417 enable_winver
1418 enable_wmic
1419 enable_wordpad
1420 enable_write
1421 enable_wscript
1422 enable_wusa
1423 enable_xcopy
1424 enable_server
1425 enable_tools
1427 ac_precious_vars='build_alias
1428 host_alias
1429 target_alias
1431 CFLAGS
1432 LDFLAGS
1433 LIBS
1434 CPPFLAGS
1436 CXXFLAGS
1439 XMKMF
1440 XML2_CFLAGS
1441 XML2_LIBS
1442 XSLT_CFLAGS
1443 XSLT_LIBS
1444 DBUS_CFLAGS
1445 DBUS_LIBS
1446 HAL_CFLAGS
1447 HAL_LIBS
1448 GNUTLS_CFLAGS
1449 GNUTLS_LIBS
1450 SANE_CFLAGS
1451 SANE_LIBS
1452 GPHOTO2_CFLAGS
1453 GPHOTO2_LIBS
1454 GPHOTO2_PORT_CFLAGS
1455 GPHOTO2_PORT_LIBS
1456 LCMS2_CFLAGS
1457 LCMS2_LIBS
1458 FREETYPE_CFLAGS
1459 FREETYPE_LIBS
1460 GSTREAMER_CFLAGS
1461 GSTREAMER_LIBS
1462 CAPI20_CFLAGS
1463 CAPI20_LIBS
1464 FONTCONFIG_CFLAGS
1465 FONTCONFIG_LIBS
1466 JPEG_CFLAGS
1467 JPEG_LIBS
1468 PNG_CFLAGS
1469 PNG_LIBS
1470 TIFF_CFLAGS
1471 TIFF_LIBS
1472 MPG123_CFLAGS
1473 MPG123_LIBS'
1476 # Initialize some variables set by options.
1477 ac_init_help=
1478 ac_init_version=false
1479 ac_unrecognized_opts=
1480 ac_unrecognized_sep=
1481 # The variables have the same names as the options, with
1482 # dashes changed to underlines.
1483 cache_file=/dev/null
1484 exec_prefix=NONE
1485 no_create=
1486 no_recursion=
1487 prefix=NONE
1488 program_prefix=NONE
1489 program_suffix=NONE
1490 program_transform_name=s,x,x,
1491 silent=
1492 site=
1493 srcdir=
1494 verbose=
1495 x_includes=NONE
1496 x_libraries=NONE
1498 # Installation directory options.
1499 # These are left unexpanded so users can "make install exec_prefix=/foo"
1500 # and all the variables that are supposed to be based on exec_prefix
1501 # by default will actually change.
1502 # Use braces instead of parens because sh, perl, etc. also accept them.
1503 # (The list follows the same order as the GNU Coding Standards.)
1504 bindir='${exec_prefix}/bin'
1505 sbindir='${exec_prefix}/sbin'
1506 libexecdir='${exec_prefix}/libexec'
1507 datarootdir='${prefix}/share'
1508 datadir='${datarootdir}'
1509 sysconfdir='${prefix}/etc'
1510 sharedstatedir='${prefix}/com'
1511 localstatedir='${prefix}/var'
1512 includedir='${prefix}/include'
1513 oldincludedir='/usr/include'
1514 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1515 infodir='${datarootdir}/info'
1516 htmldir='${docdir}'
1517 dvidir='${docdir}'
1518 pdfdir='${docdir}'
1519 psdir='${docdir}'
1520 libdir='${exec_prefix}/lib'
1521 localedir='${datarootdir}/locale'
1522 mandir='${datarootdir}/man'
1524 ac_prev=
1525 ac_dashdash=
1526 for ac_option
1528 # If the previous option needs an argument, assign it.
1529 if test -n "$ac_prev"; then
1530 eval $ac_prev=\$ac_option
1531 ac_prev=
1532 continue
1535 case $ac_option in
1536 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1537 *=) ac_optarg= ;;
1538 *) ac_optarg=yes ;;
1539 esac
1541 # Accept the important Cygnus configure options, so we can diagnose typos.
1543 case $ac_dashdash$ac_option in
1545 ac_dashdash=yes ;;
1547 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1548 ac_prev=bindir ;;
1549 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1550 bindir=$ac_optarg ;;
1552 -build | --build | --buil | --bui | --bu)
1553 ac_prev=build_alias ;;
1554 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1555 build_alias=$ac_optarg ;;
1557 -cache-file | --cache-file | --cache-fil | --cache-fi \
1558 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1559 ac_prev=cache_file ;;
1560 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1561 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1562 cache_file=$ac_optarg ;;
1564 --config-cache | -C)
1565 cache_file=config.cache ;;
1567 -datadir | --datadir | --datadi | --datad)
1568 ac_prev=datadir ;;
1569 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1570 datadir=$ac_optarg ;;
1572 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1573 | --dataroo | --dataro | --datar)
1574 ac_prev=datarootdir ;;
1575 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1576 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1577 datarootdir=$ac_optarg ;;
1579 -disable-* | --disable-*)
1580 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1581 # Reject names that are not valid shell variable names.
1582 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583 as_fn_error $? "invalid feature name: $ac_useropt"
1584 ac_useropt_orig=$ac_useropt
1585 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1586 case $ac_user_opts in
1588 "enable_$ac_useropt"
1589 "*) ;;
1590 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1591 ac_unrecognized_sep=', ';;
1592 esac
1593 eval enable_$ac_useropt=no ;;
1595 -docdir | --docdir | --docdi | --doc | --do)
1596 ac_prev=docdir ;;
1597 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1598 docdir=$ac_optarg ;;
1600 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1601 ac_prev=dvidir ;;
1602 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1603 dvidir=$ac_optarg ;;
1605 -enable-* | --enable-*)
1606 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1607 # Reject names that are not valid shell variable names.
1608 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1609 as_fn_error $? "invalid feature name: $ac_useropt"
1610 ac_useropt_orig=$ac_useropt
1611 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1612 case $ac_user_opts in
1614 "enable_$ac_useropt"
1615 "*) ;;
1616 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1617 ac_unrecognized_sep=', ';;
1618 esac
1619 eval enable_$ac_useropt=\$ac_optarg ;;
1621 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1622 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1623 | --exec | --exe | --ex)
1624 ac_prev=exec_prefix ;;
1625 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1626 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1627 | --exec=* | --exe=* | --ex=*)
1628 exec_prefix=$ac_optarg ;;
1630 -gas | --gas | --ga | --g)
1631 # Obsolete; use --with-gas.
1632 with_gas=yes ;;
1634 -help | --help | --hel | --he | -h)
1635 ac_init_help=long ;;
1636 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1637 ac_init_help=recursive ;;
1638 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1639 ac_init_help=short ;;
1641 -host | --host | --hos | --ho)
1642 ac_prev=host_alias ;;
1643 -host=* | --host=* | --hos=* | --ho=*)
1644 host_alias=$ac_optarg ;;
1646 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1647 ac_prev=htmldir ;;
1648 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1649 | --ht=*)
1650 htmldir=$ac_optarg ;;
1652 -includedir | --includedir | --includedi | --included | --include \
1653 | --includ | --inclu | --incl | --inc)
1654 ac_prev=includedir ;;
1655 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1656 | --includ=* | --inclu=* | --incl=* | --inc=*)
1657 includedir=$ac_optarg ;;
1659 -infodir | --infodir | --infodi | --infod | --info | --inf)
1660 ac_prev=infodir ;;
1661 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1662 infodir=$ac_optarg ;;
1664 -libdir | --libdir | --libdi | --libd)
1665 ac_prev=libdir ;;
1666 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1667 libdir=$ac_optarg ;;
1669 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1670 | --libexe | --libex | --libe)
1671 ac_prev=libexecdir ;;
1672 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1673 | --libexe=* | --libex=* | --libe=*)
1674 libexecdir=$ac_optarg ;;
1676 -localedir | --localedir | --localedi | --localed | --locale)
1677 ac_prev=localedir ;;
1678 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1679 localedir=$ac_optarg ;;
1681 -localstatedir | --localstatedir | --localstatedi | --localstated \
1682 | --localstate | --localstat | --localsta | --localst | --locals)
1683 ac_prev=localstatedir ;;
1684 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1685 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1686 localstatedir=$ac_optarg ;;
1688 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1689 ac_prev=mandir ;;
1690 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1691 mandir=$ac_optarg ;;
1693 -nfp | --nfp | --nf)
1694 # Obsolete; use --without-fp.
1695 with_fp=no ;;
1697 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1698 | --no-cr | --no-c | -n)
1699 no_create=yes ;;
1701 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1702 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1703 no_recursion=yes ;;
1705 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1706 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1707 | --oldin | --oldi | --old | --ol | --o)
1708 ac_prev=oldincludedir ;;
1709 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1710 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1711 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1712 oldincludedir=$ac_optarg ;;
1714 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1715 ac_prev=prefix ;;
1716 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1717 prefix=$ac_optarg ;;
1719 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1720 | --program-pre | --program-pr | --program-p)
1721 ac_prev=program_prefix ;;
1722 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1723 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1724 program_prefix=$ac_optarg ;;
1726 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1727 | --program-suf | --program-su | --program-s)
1728 ac_prev=program_suffix ;;
1729 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1730 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1731 program_suffix=$ac_optarg ;;
1733 -program-transform-name | --program-transform-name \
1734 | --program-transform-nam | --program-transform-na \
1735 | --program-transform-n | --program-transform- \
1736 | --program-transform | --program-transfor \
1737 | --program-transfo | --program-transf \
1738 | --program-trans | --program-tran \
1739 | --progr-tra | --program-tr | --program-t)
1740 ac_prev=program_transform_name ;;
1741 -program-transform-name=* | --program-transform-name=* \
1742 | --program-transform-nam=* | --program-transform-na=* \
1743 | --program-transform-n=* | --program-transform-=* \
1744 | --program-transform=* | --program-transfor=* \
1745 | --program-transfo=* | --program-transf=* \
1746 | --program-trans=* | --program-tran=* \
1747 | --progr-tra=* | --program-tr=* | --program-t=*)
1748 program_transform_name=$ac_optarg ;;
1750 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1751 ac_prev=pdfdir ;;
1752 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1753 pdfdir=$ac_optarg ;;
1755 -psdir | --psdir | --psdi | --psd | --ps)
1756 ac_prev=psdir ;;
1757 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1758 psdir=$ac_optarg ;;
1760 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1761 | -silent | --silent | --silen | --sile | --sil)
1762 silent=yes ;;
1764 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1765 ac_prev=sbindir ;;
1766 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1767 | --sbi=* | --sb=*)
1768 sbindir=$ac_optarg ;;
1770 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1771 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1772 | --sharedst | --shareds | --shared | --share | --shar \
1773 | --sha | --sh)
1774 ac_prev=sharedstatedir ;;
1775 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1776 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1777 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1778 | --sha=* | --sh=*)
1779 sharedstatedir=$ac_optarg ;;
1781 -site | --site | --sit)
1782 ac_prev=site ;;
1783 -site=* | --site=* | --sit=*)
1784 site=$ac_optarg ;;
1786 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1787 ac_prev=srcdir ;;
1788 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1789 srcdir=$ac_optarg ;;
1791 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1792 | --syscon | --sysco | --sysc | --sys | --sy)
1793 ac_prev=sysconfdir ;;
1794 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1795 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1796 sysconfdir=$ac_optarg ;;
1798 -target | --target | --targe | --targ | --tar | --ta | --t)
1799 ac_prev=target_alias ;;
1800 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1801 target_alias=$ac_optarg ;;
1803 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1804 verbose=yes ;;
1806 -version | --version | --versio | --versi | --vers | -V)
1807 ac_init_version=: ;;
1809 -with-* | --with-*)
1810 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1811 # Reject names that are not valid shell variable names.
1812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1813 as_fn_error $? "invalid package name: $ac_useropt"
1814 ac_useropt_orig=$ac_useropt
1815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1816 case $ac_user_opts in
1818 "with_$ac_useropt"
1819 "*) ;;
1820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1821 ac_unrecognized_sep=', ';;
1822 esac
1823 eval with_$ac_useropt=\$ac_optarg ;;
1825 -without-* | --without-*)
1826 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1827 # Reject names that are not valid shell variable names.
1828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1829 as_fn_error $? "invalid package name: $ac_useropt"
1830 ac_useropt_orig=$ac_useropt
1831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1832 case $ac_user_opts in
1834 "with_$ac_useropt"
1835 "*) ;;
1836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1837 ac_unrecognized_sep=', ';;
1838 esac
1839 eval with_$ac_useropt=no ;;
1841 --x)
1842 # Obsolete; use --with-x.
1843 with_x=yes ;;
1845 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1846 | --x-incl | --x-inc | --x-in | --x-i)
1847 ac_prev=x_includes ;;
1848 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1849 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1850 x_includes=$ac_optarg ;;
1852 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1853 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1854 ac_prev=x_libraries ;;
1855 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1856 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1857 x_libraries=$ac_optarg ;;
1859 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1860 Try \`$0 --help' for more information"
1863 *=*)
1864 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1865 # Reject names that are not valid shell variable names.
1866 case $ac_envvar in #(
1867 '' | [0-9]* | *[!_$as_cr_alnum]* )
1868 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1869 esac
1870 eval $ac_envvar=\$ac_optarg
1871 export $ac_envvar ;;
1874 # FIXME: should be removed in autoconf 3.0.
1875 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1876 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1877 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1878 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1881 esac
1882 done
1884 if test -n "$ac_prev"; then
1885 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1886 as_fn_error $? "missing argument to $ac_option"
1889 if test -n "$ac_unrecognized_opts"; then
1890 case $enable_option_checking in
1891 no) ;;
1892 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1893 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1894 esac
1897 # Check all directory arguments for consistency.
1898 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1899 datadir sysconfdir sharedstatedir localstatedir includedir \
1900 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1901 libdir localedir mandir
1903 eval ac_val=\$$ac_var
1904 # Remove trailing slashes.
1905 case $ac_val in
1906 */ )
1907 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1908 eval $ac_var=\$ac_val;;
1909 esac
1910 # Be sure to have absolute directory names.
1911 case $ac_val in
1912 [\\/$]* | ?:[\\/]* ) continue;;
1913 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1914 esac
1915 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1916 done
1918 # There might be people who depend on the old broken behavior: `$host'
1919 # used to hold the argument of --host etc.
1920 # FIXME: To remove some day.
1921 build=$build_alias
1922 host=$host_alias
1923 target=$target_alias
1925 # FIXME: To remove some day.
1926 if test "x$host_alias" != x; then
1927 if test "x$build_alias" = x; then
1928 cross_compiling=maybe
1929 elif test "x$build_alias" != "x$host_alias"; then
1930 cross_compiling=yes
1934 ac_tool_prefix=
1935 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1937 test "$silent" = yes && exec 6>/dev/null
1940 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1941 ac_ls_di=`ls -di .` &&
1942 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1943 as_fn_error $? "working directory cannot be determined"
1944 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1945 as_fn_error $? "pwd does not report name of working directory"
1948 # Find the source files, if location was not specified.
1949 if test -z "$srcdir"; then
1950 ac_srcdir_defaulted=yes
1951 # Try the directory containing this script, then the parent directory.
1952 ac_confdir=`$as_dirname -- "$as_myself" ||
1953 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1954 X"$as_myself" : 'X\(//\)[^/]' \| \
1955 X"$as_myself" : 'X\(//\)$' \| \
1956 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1957 $as_echo X"$as_myself" |
1958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1959 s//\1/
1962 /^X\(\/\/\)[^/].*/{
1963 s//\1/
1966 /^X\(\/\/\)$/{
1967 s//\1/
1970 /^X\(\/\).*/{
1971 s//\1/
1974 s/.*/./; q'`
1975 srcdir=$ac_confdir
1976 if test ! -r "$srcdir/$ac_unique_file"; then
1977 srcdir=..
1979 else
1980 ac_srcdir_defaulted=no
1982 if test ! -r "$srcdir/$ac_unique_file"; then
1983 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1984 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1986 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1987 ac_abs_confdir=`(
1988 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1989 pwd)`
1990 # When building in place, set srcdir=.
1991 if test "$ac_abs_confdir" = "$ac_pwd"; then
1992 srcdir=.
1994 # Remove unnecessary trailing slashes from srcdir.
1995 # Double slashes in file names in object file debugging info
1996 # mess up M-x gdb in Emacs.
1997 case $srcdir in
1998 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1999 esac
2000 for ac_var in $ac_precious_vars; do
2001 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2002 eval ac_env_${ac_var}_value=\$${ac_var}
2003 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2004 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2005 done
2008 # Report the --help message.
2010 if test "$ac_init_help" = "long"; then
2011 # Omit some internal or obsolete options to make the list less imposing.
2012 # This message is too long to be a string in the A/UX 3.1 sh.
2013 cat <<_ACEOF
2014 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2016 Usage: $0 [OPTION]... [VAR=VALUE]...
2018 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2019 VAR=VALUE. See below for descriptions of some of the useful variables.
2021 Defaults for the options are specified in brackets.
2023 Configuration:
2024 -h, --help display this help and exit
2025 --help=short display options specific to this package
2026 --help=recursive display the short help of all the included packages
2027 -V, --version display version information and exit
2028 -q, --quiet, --silent do not print \`checking ...' messages
2029 --cache-file=FILE cache test results in FILE [disabled]
2030 -C, --config-cache alias for \`--cache-file=config.cache'
2031 -n, --no-create do not create output files
2032 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2034 Installation directories:
2035 --prefix=PREFIX install architecture-independent files in PREFIX
2036 [$ac_default_prefix]
2037 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2038 [PREFIX]
2040 By default, \`make install' will install all the files in
2041 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2042 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2043 for instance \`--prefix=\$HOME'.
2045 For better control, use the options below.
2047 Fine tuning of the installation directories:
2048 --bindir=DIR user executables [EPREFIX/bin]
2049 --sbindir=DIR system admin executables [EPREFIX/sbin]
2050 --libexecdir=DIR program executables [EPREFIX/libexec]
2051 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2052 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2053 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2054 --libdir=DIR object code libraries [EPREFIX/lib]
2055 --includedir=DIR C header files [PREFIX/include]
2056 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2057 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2058 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2059 --infodir=DIR info documentation [DATAROOTDIR/info]
2060 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2061 --mandir=DIR man documentation [DATAROOTDIR/man]
2062 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2063 --htmldir=DIR html documentation [DOCDIR]
2064 --dvidir=DIR dvi documentation [DOCDIR]
2065 --pdfdir=DIR pdf documentation [DOCDIR]
2066 --psdir=DIR ps documentation [DOCDIR]
2067 _ACEOF
2069 cat <<\_ACEOF
2071 X features:
2072 --x-includes=DIR X include files are in DIR
2073 --x-libraries=DIR X library files are in DIR
2075 System types:
2076 --build=BUILD configure for building on BUILD [guessed]
2077 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2078 _ACEOF
2081 if test -n "$ac_init_help"; then
2082 case $ac_init_help in
2083 short | recursive ) echo "Configuration of Wine 1.7.36:";;
2084 esac
2085 cat <<\_ACEOF
2087 Optional Features:
2088 --disable-option-checking ignore unrecognized --enable/--with options
2089 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2090 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2091 --disable-win16 do not include Win16 support
2092 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2093 binaries)
2094 --disable-tests do not build the regression tests
2095 --enable-maintainer-mode
2096 enable maintainer-specific build rules
2097 --disable-largefile omit support for large files
2099 Optional Packages:
2100 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2101 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2102 --without-alsa do not use the Alsa sound support
2103 --without-capi do not use CAPI (ISDN support)
2104 --without-cms do not use CMS (color management support)
2105 --without-coreaudio do not use the CoreAudio sound support
2106 --without-cups do not use CUPS
2107 --without-curses do not use (n)curses
2108 --without-dbus do not use DBus (dynamic device support)
2109 --without-fontconfig do not use fontconfig
2110 --without-freetype do not use the FreeType library
2111 --without-gettext do not use gettext
2112 --with-gettextpo use the GetTextPO library to rebuild po files
2113 --without-gphoto do not use gphoto (Digital Camera support)
2114 --without-glu do not use the GLU library
2115 --without-gnutls do not use GnuTLS (schannel support)
2116 --without-gsm do not use libgsm (GSM 06.10 codec support)
2117 --without-gstreamer do not use GStreamer (codecs support)
2118 --without-hal do not use HAL (dynamic device support)
2119 --without-jpeg do not use JPEG
2120 --without-ldap do not use LDAP
2121 --without-mpg123 do not use the mpg123 library
2122 --without-netapi do not use the Samba NetAPI library
2123 --without-openal do not use OpenAL
2124 --without-opencl do not use OpenCL
2125 --without-opengl do not use OpenGL
2126 --without-osmesa do not use the OSMesa library
2127 --without-oss do not use the OSS sound support
2128 --without-pcap do not use the Packet Capture library
2129 --without-png do not use PNG
2130 --without-pthread do not use the pthread library
2131 --without-sane do not use SANE (scanner support)
2132 --without-tiff do not use TIFF
2133 --without-v4l do not use v4l1 (v4l support)
2134 --without-xcomposite do not use the Xcomposite extension
2135 --without-xcursor do not use the Xcursor extension
2136 --without-xinerama do not use Xinerama (multi-monitor support)
2137 --without-xinput do not use the Xinput extension
2138 --without-xinput2 do not use the Xinput 2 extension
2139 --without-xml do not use XML
2140 --without-xrandr do not use Xrandr (resolution changes)
2141 --without-xrender do not use the Xrender extension
2142 --without-xshape do not use the Xshape extension
2143 --without-xshm do not use XShm (shared memory extension)
2144 --without-xslt do not use XSLT
2145 --without-xxf86vm do not use XFree video mode extension
2146 --without-zlib do not use Zlib (data compression)
2147 --with-wine-tools=DIR use Wine tools from directory DIR
2148 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2149 --with-x use the X Window System
2151 Some influential environment variables:
2152 CC C compiler command
2153 CFLAGS C compiler flags
2154 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2155 nonstandard directory <lib dir>
2156 LIBS libraries to pass to the linker, e.g. -l<library>
2157 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2158 you have headers in a nonstandard directory <include dir>
2159 CXX C++ compiler command
2160 CXXFLAGS C++ compiler flags
2161 CPP C preprocessor
2162 XMKMF Path to xmkmf, Makefile generator for X Window System
2163 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2164 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2165 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2166 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2167 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2168 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2169 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2170 HAL_LIBS Linker flags for hal, overriding pkg-config
2171 GNUTLS_CFLAGS
2172 C compiler flags for gnutls, overriding pkg-config
2173 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2174 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2175 SANE_LIBS Linker flags for libsane, overriding pkg-config
2176 GPHOTO2_CFLAGS
2177 C compiler flags for libgphoto2, overriding pkg-config
2178 GPHOTO2_LIBS
2179 Linker flags for libgphoto2, overriding pkg-config
2180 GPHOTO2_PORT_CFLAGS
2181 C compiler flags for libgphoto2_port, overriding pkg-config
2182 GPHOTO2_PORT_LIBS
2183 Linker flags for libgphoto2_port, overriding pkg-config
2184 LCMS2_CFLAGS
2185 C compiler flags for lcms2, overriding pkg-config
2186 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2187 FREETYPE_CFLAGS
2188 C compiler flags for freetype2, overriding pkg-config
2189 FREETYPE_LIBS
2190 Linker flags for freetype2, overriding pkg-config
2191 GSTREAMER_CFLAGS
2192 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2193 GSTREAMER_LIBS
2194 Linker flags for gstreamer-app-0.10, overriding pkg-config
2195 CAPI20_CFLAGS
2196 C compiler flags for capi20, overriding pkg-config
2197 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2198 FONTCONFIG_CFLAGS
2199 C compiler flags for fontconfig, overriding pkg-config
2200 FONTCONFIG_LIBS
2201 Linker flags for fontconfig, overriding pkg-config
2202 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2203 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2204 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2205 PNG_LIBS Linker flags for libpng, overriding pkg-config
2206 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2207 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2208 MPG123_CFLAGS
2209 C compiler flags for libmpg123, overriding pkg-config
2210 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2212 Use these variables to override the choices made by `configure' or to help
2213 it to find libraries and programs with nonstandard names/locations.
2215 Report bugs to <wine-devel@winehq.org>.
2216 Wine home page: <http://www.winehq.org>.
2217 _ACEOF
2218 ac_status=$?
2221 if test "$ac_init_help" = "recursive"; then
2222 # If there are subdirs, report their specific --help.
2223 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2224 test -d "$ac_dir" ||
2225 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2226 continue
2227 ac_builddir=.
2229 case "$ac_dir" in
2230 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2232 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2233 # A ".." for each directory in $ac_dir_suffix.
2234 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2235 case $ac_top_builddir_sub in
2236 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2237 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2238 esac ;;
2239 esac
2240 ac_abs_top_builddir=$ac_pwd
2241 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2242 # for backward compatibility:
2243 ac_top_builddir=$ac_top_build_prefix
2245 case $srcdir in
2246 .) # We are building in place.
2247 ac_srcdir=.
2248 ac_top_srcdir=$ac_top_builddir_sub
2249 ac_abs_top_srcdir=$ac_pwd ;;
2250 [\\/]* | ?:[\\/]* ) # Absolute name.
2251 ac_srcdir=$srcdir$ac_dir_suffix;
2252 ac_top_srcdir=$srcdir
2253 ac_abs_top_srcdir=$srcdir ;;
2254 *) # Relative name.
2255 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2256 ac_top_srcdir=$ac_top_build_prefix$srcdir
2257 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2258 esac
2259 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2261 cd "$ac_dir" || { ac_status=$?; continue; }
2262 # Check for guested configure.
2263 if test -f "$ac_srcdir/configure.gnu"; then
2264 echo &&
2265 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2266 elif test -f "$ac_srcdir/configure"; then
2267 echo &&
2268 $SHELL "$ac_srcdir/configure" --help=recursive
2269 else
2270 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2271 fi || ac_status=$?
2272 cd "$ac_pwd" || { ac_status=$?; break; }
2273 done
2276 test -n "$ac_init_help" && exit $ac_status
2277 if $ac_init_version; then
2278 cat <<\_ACEOF
2279 Wine configure 1.7.36
2280 generated by GNU Autoconf 2.69
2282 Copyright (C) 2012 Free Software Foundation, Inc.
2283 This configure script is free software; the Free Software Foundation
2284 gives unlimited permission to copy, distribute and modify it.
2285 _ACEOF
2286 exit
2289 ## ------------------------ ##
2290 ## Autoconf initialization. ##
2291 ## ------------------------ ##
2293 # ac_fn_c_try_compile LINENO
2294 # --------------------------
2295 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2296 ac_fn_c_try_compile ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 rm -f conftest.$ac_objext
2300 if { { ac_try="$ac_compile"
2301 case "(($ac_try" in
2302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2303 *) ac_try_echo=$ac_try;;
2304 esac
2305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2306 $as_echo "$ac_try_echo"; } >&5
2307 (eval "$ac_compile") 2>conftest.err
2308 ac_status=$?
2309 if test -s conftest.err; then
2310 grep -v '^ *+' conftest.err >conftest.er1
2311 cat conftest.er1 >&5
2312 mv -f conftest.er1 conftest.err
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; } && {
2316 test -z "$ac_c_werror_flag" ||
2317 test ! -s conftest.err
2318 } && test -s conftest.$ac_objext; then :
2319 ac_retval=0
2320 else
2321 $as_echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.$ac_ext >&5
2324 ac_retval=1
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_c_try_compile
2331 # ac_fn_cxx_try_compile LINENO
2332 # ----------------------------
2333 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2334 ac_fn_cxx_try_compile ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 rm -f conftest.$ac_objext
2338 if { { ac_try="$ac_compile"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_compile") 2>conftest.err
2346 ac_status=$?
2347 if test -s conftest.err; then
2348 grep -v '^ *+' conftest.err >conftest.er1
2349 cat conftest.er1 >&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } && {
2354 test -z "$ac_cxx_werror_flag" ||
2355 test ! -s conftest.err
2356 } && test -s conftest.$ac_objext; then :
2357 ac_retval=0
2358 else
2359 $as_echo "$as_me: failed program was:" >&5
2360 sed 's/^/| /' conftest.$ac_ext >&5
2362 ac_retval=1
2364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365 as_fn_set_status $ac_retval
2367 } # ac_fn_cxx_try_compile
2369 # ac_fn_c_try_link LINENO
2370 # -----------------------
2371 # Try to link conftest.$ac_ext, and return whether this succeeded.
2372 ac_fn_c_try_link ()
2374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2375 rm -f conftest.$ac_objext conftest$ac_exeext
2376 if { { ac_try="$ac_link"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2382 $as_echo "$ac_try_echo"; } >&5
2383 (eval "$ac_link") 2>conftest.err
2384 ac_status=$?
2385 if test -s conftest.err; then
2386 grep -v '^ *+' conftest.err >conftest.er1
2387 cat conftest.er1 >&5
2388 mv -f conftest.er1 conftest.err
2390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391 test $ac_status = 0; } && {
2392 test -z "$ac_c_werror_flag" ||
2393 test ! -s conftest.err
2394 } && test -s conftest$ac_exeext && {
2395 test "$cross_compiling" = yes ||
2396 test -x conftest$ac_exeext
2397 }; then :
2398 ac_retval=0
2399 else
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2403 ac_retval=1
2405 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2406 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2407 # interfere with the next link command; also delete a directory that is
2408 # left behind by Apple's compiler. We do this before executing the actions.
2409 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2411 as_fn_set_status $ac_retval
2413 } # ac_fn_c_try_link
2415 # ac_fn_c_try_cpp LINENO
2416 # ----------------------
2417 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2418 ac_fn_c_try_cpp ()
2420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2421 if { { ac_try="$ac_cpp conftest.$ac_ext"
2422 case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425 esac
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2429 ac_status=$?
2430 if test -s conftest.err; then
2431 grep -v '^ *+' conftest.err >conftest.er1
2432 cat conftest.er1 >&5
2433 mv -f conftest.er1 conftest.err
2435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2436 test $ac_status = 0; } > conftest.i && {
2437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2438 test ! -s conftest.err
2439 }; then :
2440 ac_retval=0
2441 else
2442 $as_echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 ac_retval=1
2447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2448 as_fn_set_status $ac_retval
2450 } # ac_fn_c_try_cpp
2452 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2453 # -------------------------------------------------------
2454 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2455 # the include files in INCLUDES and setting the cache variable VAR
2456 # accordingly.
2457 ac_fn_c_check_header_mongrel ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 if eval \${$3+:} false; then :
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2462 $as_echo_n "checking for $2... " >&6; }
2463 if eval \${$3+:} false; then :
2464 $as_echo_n "(cached) " >&6
2466 eval ac_res=\$$3
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2468 $as_echo "$ac_res" >&6; }
2469 else
2470 # Is the header compilable?
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2472 $as_echo_n "checking $2 usability... " >&6; }
2473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474 /* end confdefs.h. */
2476 #include <$2>
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2479 ac_header_compiler=yes
2480 else
2481 ac_header_compiler=no
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2485 $as_echo "$ac_header_compiler" >&6; }
2487 # Is the header present?
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2489 $as_echo_n "checking $2 presence... " >&6; }
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2492 #include <$2>
2493 _ACEOF
2494 if ac_fn_c_try_cpp "$LINENO"; then :
2495 ac_header_preproc=yes
2496 else
2497 ac_header_preproc=no
2499 rm -f conftest.err conftest.i conftest.$ac_ext
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2501 $as_echo "$ac_header_preproc" >&6; }
2503 # So? What about this header?
2504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2505 yes:no: )
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2507 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2509 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2511 no:yes:* )
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2513 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2515 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2517 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2519 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2521 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2522 ( $as_echo "## ------------------------------------ ##
2523 ## Report this to wine-devel@winehq.org ##
2524 ## ------------------------------------ ##"
2525 ) | sed "s/^/$as_me: WARNING: /" >&2
2527 esac
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2529 $as_echo_n "checking for $2... " >&6; }
2530 if eval \${$3+:} false; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 eval "$3=\$ac_header_compiler"
2535 eval ac_res=\$$3
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2537 $as_echo "$ac_res" >&6; }
2539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2541 } # ac_fn_c_check_header_mongrel
2543 # ac_fn_c_try_run LINENO
2544 # ----------------------
2545 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2546 # that executables *can* be run.
2547 ac_fn_c_try_run ()
2549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2550 if { { ac_try="$ac_link"
2551 case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link") 2>&5
2558 ac_status=$?
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2561 { { case "(($ac_try" in
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2564 esac
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_try") 2>&5
2568 ac_status=$?
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; }; }; then :
2571 ac_retval=0
2572 else
2573 $as_echo "$as_me: program exited with status $ac_status" >&5
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2577 ac_retval=$ac_status
2579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status $ac_retval
2583 } # ac_fn_c_try_run
2585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2586 # -------------------------------------------------------
2587 # Tests whether HEADER exists and can be compiled using the include files in
2588 # INCLUDES, setting the cache variable VAR accordingly.
2589 ac_fn_c_check_header_compile ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2593 $as_echo_n "checking for $2... " >&6; }
2594 if eval \${$3+:} false; then :
2595 $as_echo_n "(cached) " >&6
2596 else
2597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2600 #include <$2>
2601 _ACEOF
2602 if ac_fn_c_try_compile "$LINENO"; then :
2603 eval "$3=yes"
2604 else
2605 eval "$3=no"
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 eval ac_res=\$$3
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2611 $as_echo "$ac_res" >&6; }
2612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 } # ac_fn_c_check_header_compile
2616 # ac_fn_c_check_func LINENO FUNC VAR
2617 # ----------------------------------
2618 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2619 ac_fn_c_check_func ()
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2623 $as_echo_n "checking for $2... " >&6; }
2624 if eval \${$3+:} false; then :
2625 $as_echo_n "(cached) " >&6
2626 else
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2629 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2631 #define $2 innocuous_$2
2633 /* System header to define __stub macros and hopefully few prototypes,
2634 which can conflict with char $2 (); below.
2635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2636 <limits.h> exists even on freestanding compilers. */
2638 #ifdef __STDC__
2639 # include <limits.h>
2640 #else
2641 # include <assert.h>
2642 #endif
2644 #undef $2
2646 /* Override any GCC internal prototype to avoid an error.
2647 Use char because int might match the return type of a GCC
2648 builtin and then its argument prototype would still apply. */
2649 #ifdef __cplusplus
2650 extern "C"
2651 #endif
2652 char $2 ();
2653 /* The GNU C library defines this for functions which it implements
2654 to always fail with ENOSYS. Some functions are actually named
2655 something starting with __ and the normal name is an alias. */
2656 #if defined __stub_$2 || defined __stub___$2
2657 choke me
2658 #endif
2661 main ()
2663 return $2 ();
2665 return 0;
2667 _ACEOF
2668 if ac_fn_c_try_link "$LINENO"; then :
2669 eval "$3=yes"
2670 else
2671 eval "$3=no"
2673 rm -f core conftest.err conftest.$ac_objext \
2674 conftest$ac_exeext conftest.$ac_ext
2676 eval ac_res=\$$3
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2678 $as_echo "$ac_res" >&6; }
2679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2681 } # ac_fn_c_check_func
2683 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2684 # ----------------------------------------------------
2685 # Tries to find if the field MEMBER exists in type AGGR, after including
2686 # INCLUDES, setting cache variable VAR accordingly.
2687 ac_fn_c_check_member ()
2689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2691 $as_echo_n "checking for $2.$3... " >&6; }
2692 if eval \${$4+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2701 static $2 ac_aggr;
2702 if (ac_aggr.$3)
2703 return 0;
2705 return 0;
2707 _ACEOF
2708 if ac_fn_c_try_compile "$LINENO"; then :
2709 eval "$4=yes"
2710 else
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2715 main ()
2717 static $2 ac_aggr;
2718 if (sizeof ac_aggr.$3)
2719 return 0;
2721 return 0;
2723 _ACEOF
2724 if ac_fn_c_try_compile "$LINENO"; then :
2725 eval "$4=yes"
2726 else
2727 eval "$4=no"
2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 eval ac_res=\$$4
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_member
2740 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2741 # -------------------------------------------
2742 # Tests whether TYPE exists after having included INCLUDES, setting cache
2743 # variable VAR accordingly.
2744 ac_fn_c_check_type ()
2746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2748 $as_echo_n "checking for $2... " >&6; }
2749 if eval \${$3+:} false; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 eval "$3=no"
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2757 main ()
2759 if (sizeof ($2))
2760 return 0;
2762 return 0;
2764 _ACEOF
2765 if ac_fn_c_try_compile "$LINENO"; then :
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2770 main ()
2772 if (sizeof (($2)))
2773 return 0;
2775 return 0;
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2780 else
2781 eval "$3=yes"
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 eval ac_res=\$$3
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2789 $as_echo "$ac_res" >&6; }
2790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792 } # ac_fn_c_check_type
2793 cat >config.log <<_ACEOF
2794 This file contains any messages produced by compilers while
2795 running configure, to aid debugging if configure makes a mistake.
2797 It was created by Wine $as_me 1.7.36, which was
2798 generated by GNU Autoconf 2.69. Invocation command line was
2800 $ $0 $@
2802 _ACEOF
2803 exec 5>>config.log
2805 cat <<_ASUNAME
2806 ## --------- ##
2807 ## Platform. ##
2808 ## --------- ##
2810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2811 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2812 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2813 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2814 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2827 _ASUNAME
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 for as_dir in $PATH
2832 IFS=$as_save_IFS
2833 test -z "$as_dir" && as_dir=.
2834 $as_echo "PATH: $as_dir"
2835 done
2836 IFS=$as_save_IFS
2838 } >&5
2840 cat >&5 <<_ACEOF
2843 ## ----------- ##
2844 ## Core tests. ##
2845 ## ----------- ##
2847 _ACEOF
2850 # Keep a trace of the command line.
2851 # Strip out --no-create and --no-recursion so they do not pile up.
2852 # Strip out --silent because we don't want to record it for future runs.
2853 # Also quote any args containing shell meta-characters.
2854 # Make two passes to allow for proper duplicate-argument suppression.
2855 ac_configure_args=
2856 ac_configure_args0=
2857 ac_configure_args1=
2858 ac_must_keep_next=false
2859 for ac_pass in 1 2
2861 for ac_arg
2863 case $ac_arg in
2864 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2866 | -silent | --silent | --silen | --sile | --sil)
2867 continue ;;
2868 *\'*)
2869 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2870 esac
2871 case $ac_pass in
2872 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2874 as_fn_append ac_configure_args1 " '$ac_arg'"
2875 if test $ac_must_keep_next = true; then
2876 ac_must_keep_next=false # Got value, back to normal.
2877 else
2878 case $ac_arg in
2879 *=* | --config-cache | -C | -disable-* | --disable-* \
2880 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2881 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2882 | -with-* | --with-* | -without-* | --without-* | --x)
2883 case "$ac_configure_args0 " in
2884 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2885 esac
2887 -* ) ac_must_keep_next=true ;;
2888 esac
2890 as_fn_append ac_configure_args " '$ac_arg'"
2892 esac
2893 done
2894 done
2895 { ac_configure_args0=; unset ac_configure_args0;}
2896 { ac_configure_args1=; unset ac_configure_args1;}
2898 # When interrupted or exit'd, cleanup temporary files, and complete
2899 # config.log. We remove comments because anyway the quotes in there
2900 # would cause problems or look ugly.
2901 # WARNING: Use '\'' to represent an apostrophe within the trap.
2902 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2903 trap 'exit_status=$?
2904 # Save into config.log some information that might help in debugging.
2906 echo
2908 $as_echo "## ---------------- ##
2909 ## Cache variables. ##
2910 ## ---------------- ##"
2911 echo
2912 # The following way of writing the cache mishandles newlines in values,
2914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2915 eval ac_val=\$$ac_var
2916 case $ac_val in #(
2917 *${as_nl}*)
2918 case $ac_var in #(
2919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2921 esac
2922 case $ac_var in #(
2923 _ | IFS | as_nl) ;; #(
2924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2925 *) { eval $ac_var=; unset $ac_var;} ;;
2926 esac ;;
2927 esac
2928 done
2929 (set) 2>&1 |
2930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2931 *${as_nl}ac_space=\ *)
2932 sed -n \
2933 "s/'\''/'\''\\\\'\'''\''/g;
2934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2935 ;; #(
2937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2939 esac |
2940 sort
2942 echo
2944 $as_echo "## ----------------- ##
2945 ## Output variables. ##
2946 ## ----------------- ##"
2947 echo
2948 for ac_var in $ac_subst_vars
2950 eval ac_val=\$$ac_var
2951 case $ac_val in
2952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2953 esac
2954 $as_echo "$ac_var='\''$ac_val'\''"
2955 done | sort
2956 echo
2958 if test -n "$ac_subst_files"; then
2959 $as_echo "## ------------------- ##
2960 ## File substitutions. ##
2961 ## ------------------- ##"
2962 echo
2963 for ac_var in $ac_subst_files
2965 eval ac_val=\$$ac_var
2966 case $ac_val in
2967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2968 esac
2969 $as_echo "$ac_var='\''$ac_val'\''"
2970 done | sort
2971 echo
2974 if test -s confdefs.h; then
2975 $as_echo "## ----------- ##
2976 ## confdefs.h. ##
2977 ## ----------- ##"
2978 echo
2979 cat confdefs.h
2980 echo
2982 test "$ac_signal" != 0 &&
2983 $as_echo "$as_me: caught signal $ac_signal"
2984 $as_echo "$as_me: exit $exit_status"
2985 } >&5
2986 rm -f core *.core core.conftest.* &&
2987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2988 exit $exit_status
2990 for ac_signal in 1 2 13 15; do
2991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2992 done
2993 ac_signal=0
2995 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2996 rm -f -r conftest* confdefs.h
2998 $as_echo "/* confdefs.h */" > confdefs.h
3000 # Predefined preprocessor variables.
3002 cat >>confdefs.h <<_ACEOF
3003 #define PACKAGE_NAME "$PACKAGE_NAME"
3004 _ACEOF
3006 cat >>confdefs.h <<_ACEOF
3007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3008 _ACEOF
3010 cat >>confdefs.h <<_ACEOF
3011 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3012 _ACEOF
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE_STRING "$PACKAGE_STRING"
3016 _ACEOF
3018 cat >>confdefs.h <<_ACEOF
3019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3020 _ACEOF
3022 cat >>confdefs.h <<_ACEOF
3023 #define PACKAGE_URL "$PACKAGE_URL"
3024 _ACEOF
3027 # Let the site file select an alternate cache file if it wants to.
3028 # Prefer an explicitly selected file to automatically selected ones.
3029 ac_site_file1=NONE
3030 ac_site_file2=NONE
3031 if test -n "$CONFIG_SITE"; then
3032 # We do not want a PATH search for config.site.
3033 case $CONFIG_SITE in #((
3034 -*) ac_site_file1=./$CONFIG_SITE;;
3035 */*) ac_site_file1=$CONFIG_SITE;;
3036 *) ac_site_file1=./$CONFIG_SITE;;
3037 esac
3038 elif test "x$prefix" != xNONE; then
3039 ac_site_file1=$prefix/share/config.site
3040 ac_site_file2=$prefix/etc/config.site
3041 else
3042 ac_site_file1=$ac_default_prefix/share/config.site
3043 ac_site_file2=$ac_default_prefix/etc/config.site
3045 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3047 test "x$ac_site_file" = xNONE && continue
3048 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3050 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3051 sed 's/^/| /' "$ac_site_file" >&5
3052 . "$ac_site_file" \
3053 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error $? "failed to load site script $ac_site_file
3056 See \`config.log' for more details" "$LINENO" 5; }
3058 done
3060 if test -r "$cache_file"; then
3061 # Some versions of bash will fail to source /dev/null (special files
3062 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3063 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3065 $as_echo "$as_me: loading cache $cache_file" >&6;}
3066 case $cache_file in
3067 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3068 *) . "./$cache_file";;
3069 esac
3071 else
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3073 $as_echo "$as_me: creating cache $cache_file" >&6;}
3074 >$cache_file
3077 # Check that the precious variables saved in the cache have kept the same
3078 # value.
3079 ac_cache_corrupted=false
3080 for ac_var in $ac_precious_vars; do
3081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3082 eval ac_new_set=\$ac_env_${ac_var}_set
3083 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3084 eval ac_new_val=\$ac_env_${ac_var}_value
3085 case $ac_old_set,$ac_new_set in
3086 set,)
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3089 ac_cache_corrupted=: ;;
3090 ,set)
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3093 ac_cache_corrupted=: ;;
3094 ,);;
3096 if test "x$ac_old_val" != "x$ac_new_val"; then
3097 # differences in whitespace do not lead to failure.
3098 ac_old_val_w=`echo x $ac_old_val`
3099 ac_new_val_w=`echo x $ac_new_val`
3100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3103 ac_cache_corrupted=:
3104 else
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3107 eval $ac_var=\$ac_old_val
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3113 fi;;
3114 esac
3115 # Pass precious variables to config.status.
3116 if test "$ac_new_set" = set; then
3117 case $ac_new_val in
3118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3119 *) ac_arg=$ac_var=$ac_new_val ;;
3120 esac
3121 case " $ac_configure_args " in
3122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3123 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3124 esac
3126 done
3127 if $ac_cache_corrupted; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3132 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3134 ## -------------------- ##
3135 ## Main body of script. ##
3136 ## -------------------- ##
3138 ac_ext=c
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 ac_config_headers="$ac_config_headers include/config.h"
3148 ac_aux_dir=
3149 for ac_dir in tools "$srcdir"/tools; do
3150 if test -f "$ac_dir/install-sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install-sh -c"
3153 break
3154 elif 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/shtool"; then
3159 ac_aux_dir=$ac_dir
3160 ac_install_sh="$ac_aux_dir/shtool install -c"
3161 break
3163 done
3164 if test -z "$ac_aux_dir"; then
3165 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3168 # These three variables are undocumented and unsupported,
3169 # and are intended to be withdrawn in a future Autoconf release.
3170 # They can cause serious problems if a builder's source tree is in a directory
3171 # whose full name contains unusual characters.
3172 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3173 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3174 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3178 libwine_version="1.0"
3182 # Check whether --enable-win16 was given.
3183 if test "${enable_win16+set}" = set; then :
3184 enableval=$enable_win16;
3187 # Check whether --enable-win64 was given.
3188 if test "${enable_win64+set}" = set; then :
3189 enableval=$enable_win64;
3192 # Check whether --enable-tests was given.
3193 if test "${enable_tests+set}" = set; then :
3194 enableval=$enable_tests;
3197 # Check whether --enable-maintainer-mode was given.
3198 if test "${enable_maintainer_mode+set}" = set; then :
3199 enableval=$enable_maintainer_mode;
3204 # Check whether --with-alsa was given.
3205 if test "${with_alsa+set}" = set; then :
3206 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3210 # Check whether --with-capi was given.
3211 if test "${with_capi+set}" = set; then :
3212 withval=$with_capi;
3216 # Check whether --with-cms was given.
3217 if test "${with_cms+set}" = set; then :
3218 withval=$with_cms;
3222 # Check whether --with-coreaudio was given.
3223 if test "${with_coreaudio+set}" = set; then :
3224 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3228 # Check whether --with-cups was given.
3229 if test "${with_cups+set}" = set; then :
3230 withval=$with_cups;
3234 # Check whether --with-curses was given.
3235 if test "${with_curses+set}" = set; then :
3236 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3240 # Check whether --with-dbus was given.
3241 if test "${with_dbus+set}" = set; then :
3242 withval=$with_dbus;
3246 # Check whether --with-fontconfig was given.
3247 if test "${with_fontconfig+set}" = set; then :
3248 withval=$with_fontconfig;
3252 # Check whether --with-freetype was given.
3253 if test "${with_freetype+set}" = set; then :
3254 withval=$with_freetype;
3258 # Check whether --with-gettext was given.
3259 if test "${with_gettext+set}" = set; then :
3260 withval=$with_gettext;
3264 # Check whether --with-gettextpo was given.
3265 if test "${with_gettextpo+set}" = set; then :
3266 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3270 # Check whether --with-gphoto was given.
3271 if test "${with_gphoto+set}" = set; then :
3272 withval=$with_gphoto;
3276 # Check whether --with-glu was given.
3277 if test "${with_glu+set}" = set; then :
3278 withval=$with_glu;
3282 # Check whether --with-gnutls was given.
3283 if test "${with_gnutls+set}" = set; then :
3284 withval=$with_gnutls;
3288 # Check whether --with-gsm was given.
3289 if test "${with_gsm+set}" = set; then :
3290 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3294 # Check whether --with-gstreamer was given.
3295 if test "${with_gstreamer+set}" = set; then :
3296 withval=$with_gstreamer;
3300 # Check whether --with-hal was given.
3301 if test "${with_hal+set}" = set; then :
3302 withval=$with_hal;
3306 # Check whether --with-jpeg was given.
3307 if test "${with_jpeg+set}" = set; then :
3308 withval=$with_jpeg;
3312 # Check whether --with-ldap was given.
3313 if test "${with_ldap+set}" = set; then :
3314 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3318 # Check whether --with-mpg123 was given.
3319 if test "${with_mpg123+set}" = set; then :
3320 withval=$with_mpg123;
3324 # Check whether --with-netapi was given.
3325 if test "${with_netapi+set}" = set; then :
3326 withval=$with_netapi;
3330 # Check whether --with-openal was given.
3331 if test "${with_openal+set}" = set; then :
3332 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3336 # Check whether --with-opencl was given.
3337 if test "${with_opencl+set}" = set; then :
3338 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3342 # Check whether --with-opengl was given.
3343 if test "${with_opengl+set}" = set; then :
3344 withval=$with_opengl;
3348 # Check whether --with-osmesa was given.
3349 if test "${with_osmesa+set}" = set; then :
3350 withval=$with_osmesa;
3354 # Check whether --with-oss was given.
3355 if test "${with_oss+set}" = set; then :
3356 withval=$with_oss;
3360 # Check whether --with-pcap was given.
3361 if test "${with_pcap+set}" = set; then :
3362 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3366 # Check whether --with-png was given.
3367 if test "${with_png+set}" = set; then :
3368 withval=$with_png;
3372 # Check whether --with-pthread was given.
3373 if test "${with_pthread+set}" = set; then :
3374 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3378 # Check whether --with-sane was given.
3379 if test "${with_sane+set}" = set; then :
3380 withval=$with_sane;
3384 # Check whether --with-tiff was given.
3385 if test "${with_tiff+set}" = set; then :
3386 withval=$with_tiff;
3390 # Check whether --with-v4l was given.
3391 if test "${with_v4l+set}" = set; then :
3392 withval=$with_v4l;
3396 # Check whether --with-xcomposite was given.
3397 if test "${with_xcomposite+set}" = set; then :
3398 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3402 # Check whether --with-xcursor was given.
3403 if test "${with_xcursor+set}" = set; then :
3404 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3408 # Check whether --with-xinerama was given.
3409 if test "${with_xinerama+set}" = set; then :
3410 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3414 # Check whether --with-xinput was given.
3415 if test "${with_xinput+set}" = set; then :
3416 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3420 # Check whether --with-xinput2 was given.
3421 if test "${with_xinput2+set}" = set; then :
3422 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3426 # Check whether --with-xml was given.
3427 if test "${with_xml+set}" = set; then :
3428 withval=$with_xml;
3432 # Check whether --with-xrandr was given.
3433 if test "${with_xrandr+set}" = set; then :
3434 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3438 # Check whether --with-xrender was given.
3439 if test "${with_xrender+set}" = set; then :
3440 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3444 # Check whether --with-xshape was given.
3445 if test "${with_xshape+set}" = set; then :
3446 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3450 # Check whether --with-xshm was given.
3451 if test "${with_xshm+set}" = set; then :
3452 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3456 # Check whether --with-xslt was given.
3457 if test "${with_xslt+set}" = set; then :
3458 withval=$with_xslt;
3462 # Check whether --with-xxf86vm was given.
3463 if test "${with_xxf86vm+set}" = set; then :
3464 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
3468 # Check whether --with-zlib was given.
3469 if test "${with_zlib+set}" = set; then :
3470 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3475 # Check whether --with-wine-tools was given.
3476 if test "${with_wine_tools+set}" = set; then :
3477 withval=$with_wine_tools;
3481 # Check whether --with-wine64 was given.
3482 if test "${with_wine64+set}" = set; then :
3483 withval=$with_wine64;
3487 # Make sure we can run config.sub.
3488 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3489 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3492 $as_echo_n "checking build system type... " >&6; }
3493 if ${ac_cv_build+:} false; then :
3494 $as_echo_n "(cached) " >&6
3495 else
3496 ac_build_alias=$build_alias
3497 test "x$ac_build_alias" = x &&
3498 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3499 test "x$ac_build_alias" = x &&
3500 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3501 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3502 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3506 $as_echo "$ac_cv_build" >&6; }
3507 case $ac_cv_build in
3508 *-*-*) ;;
3509 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3510 esac
3511 build=$ac_cv_build
3512 ac_save_IFS=$IFS; IFS='-'
3513 set x $ac_cv_build
3514 shift
3515 build_cpu=$1
3516 build_vendor=$2
3517 shift; shift
3518 # Remember, the first character of IFS is used to create $*,
3519 # except with old shells:
3520 build_os=$*
3521 IFS=$ac_save_IFS
3522 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3526 $as_echo_n "checking host system type... " >&6; }
3527 if ${ac_cv_host+:} false; then :
3528 $as_echo_n "(cached) " >&6
3529 else
3530 if test "x$host_alias" = x; then
3531 ac_cv_host=$ac_cv_build
3532 else
3533 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3534 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3539 $as_echo "$ac_cv_host" >&6; }
3540 case $ac_cv_host in
3541 *-*-*) ;;
3542 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3543 esac
3544 host=$ac_cv_host
3545 ac_save_IFS=$IFS; IFS='-'
3546 set x $ac_cv_host
3547 shift
3548 host_cpu=$1
3549 host_vendor=$2
3550 shift; shift
3551 # Remember, the first character of IFS is used to create $*,
3552 # except with old shells:
3553 host_os=$*
3554 IFS=$ac_save_IFS
3555 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3559 case "$srcdir" in
3560 .) ;;
3561 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3562 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3563 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3564 fi ;;
3565 esac
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3569 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3570 set x ${MAKE-make}
3571 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3572 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3573 $as_echo_n "(cached) " >&6
3574 else
3575 cat >conftest.make <<\_ACEOF
3576 SHELL = /bin/sh
3577 all:
3578 @echo '@@@%%%=$(MAKE)=@@@%%%'
3579 _ACEOF
3580 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3582 *@@@%%%=?*=@@@%%%*)
3583 eval ac_cv_prog_make_${ac_make}_set=yes;;
3585 eval ac_cv_prog_make_${ac_make}_set=no;;
3586 esac
3587 rm -f conftest.make
3589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3591 $as_echo "yes" >&6; }
3592 SET_MAKE=
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 SET_MAKE="MAKE=${MAKE-make}"
3599 ac_ext=c
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3606 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if ${ac_cv_prog_CC+:} false; then :
3610 $as_echo_n "(cached) " >&6
3611 else
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC="$CC" # Let the user override the test.
3614 else
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 for ac_exec_ext in '' $ac_executable_extensions; do
3621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3622 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 break 2
3626 done
3627 done
3628 IFS=$as_save_IFS
3632 CC=$ac_cv_prog_CC
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3643 if test -z "$ac_cv_prog_CC"; then
3644 ac_ct_CC=$CC
3645 # Extract the first word of "gcc", so it can be a program name with args.
3646 set dummy gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$ac_ct_CC"; then
3653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_ac_ct_CC="gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3673 if test -n "$ac_ct_CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3675 $as_echo "$ac_ct_CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3681 if test "x$ac_ct_CC" = x; then
3682 CC=""
3683 else
3684 case $cross_compiling:$ac_tool_warned in
3685 yes:)
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3688 ac_tool_warned=yes ;;
3689 esac
3690 CC=$ac_ct_CC
3692 else
3693 CC="$ac_cv_prog_CC"
3696 if test -z "$CC"; then
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3699 set dummy ${ac_tool_prefix}cc; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC="${ac_tool_prefix}cc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 break 2
3719 done
3720 done
3721 IFS=$as_save_IFS
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3737 if test -z "$CC"; then
3738 # Extract the first word of "cc", so it can be a program name with args.
3739 set dummy cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_CC+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 ac_prog_rejected=no
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH
3752 IFS=$as_save_IFS
3753 test -z "$as_dir" && as_dir=.
3754 for ac_exec_ext in '' $ac_executable_extensions; do
3755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3756 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3757 ac_prog_rejected=yes
3758 continue
3760 ac_cv_prog_CC="cc"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3768 if test $ac_prog_rejected = yes; then
3769 # We found a bogon in the path, so make sure we never use it.
3770 set dummy $ac_cv_prog_CC
3771 shift
3772 if test $# != 0; then
3773 # We chose a different compiler from the bogus one.
3774 # However, it has the same basename, so the bogon will be chosen
3775 # first if we set CC to just the basename; use the full file name.
3776 shift
3777 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3782 CC=$ac_cv_prog_CC
3783 if test -n "$CC"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3785 $as_echo "$CC" >&6; }
3786 else
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3788 $as_echo "no" >&6; }
3793 if test -z "$CC"; then
3794 if test -n "$ac_tool_prefix"; then
3795 for ac_prog in cl.exe
3797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3798 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test -n "$CC"; then
3805 ac_cv_prog_CC="$CC" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3818 done
3819 done
3820 IFS=$as_save_IFS
3824 CC=$ac_cv_prog_CC
3825 if test -n "$CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3827 $as_echo "$CC" >&6; }
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$CC" && break
3835 done
3837 if test -z "$CC"; then
3838 ac_ct_CC=$CC
3839 for ac_prog in cl.exe
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy $ac_prog; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_CC="$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3862 done
3863 done
3864 IFS=$as_save_IFS
3868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$ac_ct_CC" && break
3879 done
3881 if test "x$ac_ct_CC" = x; then
3882 CC=""
3883 else
3884 case $cross_compiling:$ac_tool_warned in
3885 yes:)
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3888 ac_tool_warned=yes ;;
3889 esac
3890 CC=$ac_ct_CC
3897 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3899 as_fn_error $? "no acceptable C compiler found in \$PATH
3900 See \`config.log' for more details" "$LINENO" 5; }
3902 # Provide some information about the compiler.
3903 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3904 set X $ac_compile
3905 ac_compiler=$2
3906 for ac_option in --version -v -V -qversion; do
3907 { { ac_try="$ac_compiler $ac_option >&5"
3908 case "(($ac_try" in
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3911 esac
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3915 ac_status=$?
3916 if test -s conftest.err; then
3917 sed '10a\
3918 ... rest of stderr output deleted ...
3919 10q' conftest.err >conftest.er1
3920 cat conftest.er1 >&5
3922 rm -f conftest.er1 conftest.err
3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924 test $ac_status = 0; }
3925 done
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3931 main ()
3935 return 0;
3937 _ACEOF
3938 ac_clean_files_save=$ac_clean_files
3939 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3940 # Try to create an executable without -o first, disregard a.out.
3941 # It will help us diagnose broken compilers, and finding out an intuition
3942 # of exeext.
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3944 $as_echo_n "checking whether the C compiler works... " >&6; }
3945 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3947 # The possible output files:
3948 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3950 ac_rmfiles=
3951 for ac_file in $ac_files
3953 case $ac_file in
3954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3955 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 esac
3957 done
3958 rm -f $ac_rmfiles
3960 if { { ac_try="$ac_link_default"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link_default") 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3972 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3973 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3974 # so that the user can short-circuit this test for compilers unknown to
3975 # Autoconf.
3976 for ac_file in $ac_files ''
3978 test -f "$ac_file" || continue
3979 case $ac_file in
3980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3982 [ab].out )
3983 # We found the default executable, but exeext='' is most
3984 # certainly right.
3985 break;;
3986 *.* )
3987 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3988 then :; else
3989 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3991 # We set ac_cv_exeext here because the later test for it is not
3992 # safe: cross compilers may not add the suffix if given an `-o'
3993 # argument, so we may need to know it at that point already.
3994 # Even if this section looks crufty: it has the advantage of
3995 # actually working.
3996 break;;
3998 break;;
3999 esac
4000 done
4001 test "$ac_cv_exeext" = no && ac_cv_exeext=
4003 else
4004 ac_file=''
4006 if test -z "$ac_file"; then :
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4009 $as_echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error 77 "C compiler cannot create executables
4015 See \`config.log' for more details" "$LINENO" 5; }
4016 else
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4021 $as_echo_n "checking for C compiler default output file name... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4023 $as_echo "$ac_file" >&6; }
4024 ac_exeext=$ac_cv_exeext
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4027 ac_clean_files=$ac_clean_files_save
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4038 ac_status=$?
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 # `rm'.
4045 for ac_file in conftest.exe conftest conftest.*; do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050 break;;
4051 * ) break;;
4052 esac
4053 done
4054 else
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details" "$LINENO" 5; }
4060 rm -f conftest conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4066 ac_exeext=$EXEEXT
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4069 #include <stdio.h>
4071 main ()
4073 FILE *f = fopen ("conftest.out", "w");
4074 return ferror (f) || fclose (f) != 0;
4077 return 0;
4079 _ACEOF
4080 ac_clean_files="$ac_clean_files conftest.out"
4081 # Check that the compiler produces executables we can run. If not, either
4082 # the compiler is broken, or we cross compile.
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4084 $as_echo_n "checking whether we are cross compiling... " >&6; }
4085 if test "$cross_compiling" != yes; then
4086 { { ac_try="$ac_link"
4087 case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_link") 2>&5
4094 ac_status=$?
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }
4097 if { ac_try='./conftest$ac_cv_exeext'
4098 { { case "(($ac_try" in
4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4101 esac
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_try") 2>&5
4105 ac_status=$?
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; }; then
4108 cross_compiling=no
4109 else
4110 if test "$cross_compiling" = maybe; then
4111 cross_compiling=yes
4112 else
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error $? "cannot run C compiled programs.
4116 If you meant to cross compile, use \`--host'.
4117 See \`config.log' for more details" "$LINENO" 5; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4122 $as_echo "$cross_compiling" >&6; }
4124 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4125 ac_clean_files=$ac_clean_files_save
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4127 $as_echo_n "checking for suffix of object files... " >&6; }
4128 if ${ac_cv_objext+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4135 main ()
4139 return 0;
4141 _ACEOF
4142 rm -f conftest.o conftest.obj
4143 if { { ac_try="$ac_compile"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_compile") 2>&5
4151 ac_status=$?
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }; then :
4154 for ac_file in conftest.o conftest.obj conftest.*; do
4155 test -f "$ac_file" || continue;
4156 case $ac_file in
4157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4158 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4159 break;;
4160 esac
4161 done
4162 else
4163 $as_echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4168 as_fn_error $? "cannot compute suffix of object files: cannot compile
4169 See \`config.log' for more details" "$LINENO" 5; }
4171 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4174 $as_echo "$ac_cv_objext" >&6; }
4175 OBJEXT=$ac_cv_objext
4176 ac_objext=$OBJEXT
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4178 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4179 if ${ac_cv_c_compiler_gnu+:} false; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 main ()
4188 #ifndef __GNUC__
4189 choke me
4190 #endif
4193 return 0;
4195 _ACEOF
4196 if ac_fn_c_try_compile "$LINENO"; then :
4197 ac_compiler_gnu=yes
4198 else
4199 ac_compiler_gnu=no
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4206 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4207 if test $ac_compiler_gnu = yes; then
4208 GCC=yes
4209 else
4210 GCC=
4212 ac_test_CFLAGS=${CFLAGS+set}
4213 ac_save_CFLAGS=$CFLAGS
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4215 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4216 if ${ac_cv_prog_cc_g+:} false; then :
4217 $as_echo_n "(cached) " >&6
4218 else
4219 ac_save_c_werror_flag=$ac_c_werror_flag
4220 ac_c_werror_flag=yes
4221 ac_cv_prog_cc_g=no
4222 CFLAGS="-g"
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4227 main ()
4231 return 0;
4233 _ACEOF
4234 if ac_fn_c_try_compile "$LINENO"; then :
4235 ac_cv_prog_cc_g=yes
4236 else
4237 CFLAGS=""
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4242 main ()
4246 return 0;
4248 _ACEOF
4249 if ac_fn_c_try_compile "$LINENO"; then :
4251 else
4252 ac_c_werror_flag=$ac_save_c_werror_flag
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_save_c_werror_flag
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4276 $as_echo "$ac_cv_prog_cc_g" >&6; }
4277 if test "$ac_test_CFLAGS" = set; then
4278 CFLAGS=$ac_save_CFLAGS
4279 elif test $ac_cv_prog_cc_g = yes; then
4280 if test "$GCC" = yes; then
4281 CFLAGS="-g -O2"
4282 else
4283 CFLAGS="-g"
4285 else
4286 if test "$GCC" = yes; then
4287 CFLAGS="-O2"
4288 else
4289 CFLAGS=
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4293 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4294 if ${ac_cv_prog_cc_c89+:} false; then :
4295 $as_echo_n "(cached) " >&6
4296 else
4297 ac_cv_prog_cc_c89=no
4298 ac_save_CC=$CC
4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4301 #include <stdarg.h>
4302 #include <stdio.h>
4303 struct stat;
4304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4305 struct buf { int x; };
4306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4307 static char *e (p, i)
4308 char **p;
4309 int i;
4311 return p[i];
4313 static char *f (char * (*g) (char **, int), char **p, ...)
4315 char *s;
4316 va_list v;
4317 va_start (v,p);
4318 s = g (p, va_arg (v,int));
4319 va_end (v);
4320 return s;
4323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4324 function prototypes and stuff, but not '\xHH' hex character constants.
4325 These don't provoke an error unfortunately, instead are silently treated
4326 as 'x'. The following induces an error, until -std is added to get
4327 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4328 array size at least. It's necessary to write '\x00'==0 to get something
4329 that's true only with -std. */
4330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4332 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4333 inside strings and character constants. */
4334 #define FOO(x) 'x'
4335 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4337 int test (int i, double x);
4338 struct s1 {int (*f) (int a);};
4339 struct s2 {int (*f) (double a);};
4340 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4341 int argc;
4342 char **argv;
4344 main ()
4346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4348 return 0;
4350 _ACEOF
4351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4352 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4354 CC="$ac_save_CC $ac_arg"
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356 ac_cv_prog_cc_c89=$ac_arg
4358 rm -f core conftest.err conftest.$ac_objext
4359 test "x$ac_cv_prog_cc_c89" != "xno" && break
4360 done
4361 rm -f conftest.$ac_ext
4362 CC=$ac_save_CC
4365 # AC_CACHE_VAL
4366 case "x$ac_cv_prog_cc_c89" in
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4369 $as_echo "none needed" >&6; } ;;
4370 xno)
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4372 $as_echo "unsupported" >&6; } ;;
4374 CC="$CC $ac_cv_prog_cc_c89"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4376 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4377 esac
4378 if test "x$ac_cv_prog_cc_c89" != xno; then :
4382 ac_ext=c
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 ac_ext=cpp
4389 ac_cpp='$CXXCPP $CPPFLAGS'
4390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4393 if test -z "$CXX"; then
4394 if test -n "$CCC"; then
4395 CXX=$CCC
4396 else
4397 if test -n "$ac_tool_prefix"; then
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_CXX+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$CXX"; then
4408 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 CXX=$ac_cv_prog_CXX
4428 if test -n "$CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4430 $as_echo "$CXX" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 test -n "$CXX" && break
4438 done
4440 if test -z "$CXX"; then
4441 ac_ct_CXX=$CXX
4442 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4444 # Extract the first word of "$ac_prog", so it can be a program name with args.
4445 set dummy $ac_prog; ac_word=$2
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4447 $as_echo_n "checking for $ac_word... " >&6; }
4448 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4449 $as_echo_n "(cached) " >&6
4450 else
4451 if test -n "$ac_ct_CXX"; then
4452 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4453 else
4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 for as_dir in $PATH
4457 IFS=$as_save_IFS
4458 test -z "$as_dir" && as_dir=.
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4461 ac_cv_prog_ac_ct_CXX="$ac_prog"
4462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 break 2
4465 done
4466 done
4467 IFS=$as_save_IFS
4471 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4472 if test -n "$ac_ct_CXX"; then
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4474 $as_echo "$ac_ct_CXX" >&6; }
4475 else
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4477 $as_echo "no" >&6; }
4481 test -n "$ac_ct_CXX" && break
4482 done
4484 if test "x$ac_ct_CXX" = x; then
4485 CXX="g++"
4486 else
4487 case $cross_compiling:$ac_tool_warned in
4488 yes:)
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned=yes ;;
4492 esac
4493 CXX=$ac_ct_CXX
4499 # Provide some information about the compiler.
4500 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4501 set X $ac_compile
4502 ac_compiler=$2
4503 for ac_option in --version -v -V -qversion; do
4504 { { ac_try="$ac_compiler $ac_option >&5"
4505 case "(($ac_try" in
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4508 esac
4509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 $as_echo "$ac_try_echo"; } >&5
4511 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4512 ac_status=$?
4513 if test -s conftest.err; then
4514 sed '10a\
4515 ... rest of stderr output deleted ...
4516 10q' conftest.err >conftest.er1
4517 cat conftest.er1 >&5
4519 rm -f conftest.er1 conftest.err
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }
4522 done
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4525 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4526 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4535 #ifndef __GNUC__
4536 choke me
4537 #endif
4540 return 0;
4542 _ACEOF
4543 if ac_fn_cxx_try_compile "$LINENO"; then :
4544 ac_compiler_gnu=yes
4545 else
4546 ac_compiler_gnu=no
4548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4553 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4554 if test $ac_compiler_gnu = yes; then
4555 GXX=yes
4556 else
4557 GXX=
4559 ac_test_CXXFLAGS=${CXXFLAGS+set}
4560 ac_save_CXXFLAGS=$CXXFLAGS
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4562 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4563 if ${ac_cv_prog_cxx_g+:} false; then :
4564 $as_echo_n "(cached) " >&6
4565 else
4566 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4567 ac_cxx_werror_flag=yes
4568 ac_cv_prog_cxx_g=no
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4574 main ()
4578 return 0;
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4583 else
4584 CXXFLAGS=""
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4589 main ()
4593 return 0;
4595 _ACEOF
4596 if ac_fn_cxx_try_compile "$LINENO"; then :
4598 else
4599 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4600 CXXFLAGS="-g"
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4605 main ()
4609 return 0;
4611 _ACEOF
4612 if ac_fn_cxx_try_compile "$LINENO"; then :
4613 ac_cv_prog_cxx_g=yes
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4623 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4624 if test "$ac_test_CXXFLAGS" = set; then
4625 CXXFLAGS=$ac_save_CXXFLAGS
4626 elif test $ac_cv_prog_cxx_g = yes; then
4627 if test "$GXX" = yes; then
4628 CXXFLAGS="-g -O2"
4629 else
4630 CXXFLAGS="-g"
4632 else
4633 if test "$GXX" = yes; then
4634 CXXFLAGS="-O2"
4635 else
4636 CXXFLAGS=
4639 ac_ext=c
4640 ac_cpp='$CPP $CPPFLAGS'
4641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4647 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_CPPBIN+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$CPPBIN"; then
4654 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 CPPBIN=$ac_cv_prog_CPPBIN
4674 if test -n "$CPPBIN"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4676 $as_echo "$CPPBIN" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4684 if test -z "$ac_cv_prog_CPPBIN"; then
4685 ac_ct_CPPBIN=$CPPBIN
4686 # Extract the first word of "cpp", so it can be a program name with args.
4687 set dummy cpp; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4691 $as_echo_n "(cached) " >&6
4692 else
4693 if test -n "$ac_ct_CPPBIN"; then
4694 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4695 else
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 for as_dir in $PATH
4699 IFS=$as_save_IFS
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_ac_ct_CPPBIN="cpp"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 break 2
4707 done
4708 done
4709 IFS=$as_save_IFS
4713 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4714 if test -n "$ac_ct_CPPBIN"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4716 $as_echo "$ac_ct_CPPBIN" >&6; }
4717 else
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4722 if test "x$ac_ct_CPPBIN" = x; then
4723 CPPBIN="cpp"
4724 else
4725 case $cross_compiling:$ac_tool_warned in
4726 yes:)
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4729 ac_tool_warned=yes ;;
4730 esac
4731 CPPBIN=$ac_ct_CPPBIN
4733 else
4734 CPPBIN="$ac_cv_prog_CPPBIN"
4738 cat >>confdefs.h <<_ACEOF
4739 #define EXEEXT "$ac_exeext"
4740 _ACEOF
4742 if test -n "$ac_tool_prefix"; then
4743 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4744 set dummy ${ac_tool_prefix}ld; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_prog_LD+:} false; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -n "$LD"; then
4751 ac_cv_prog_LD="$LD" # Let the user override the test.
4752 else
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_prog_LD="${ac_tool_prefix}ld"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 break 2
4764 done
4765 done
4766 IFS=$as_save_IFS
4770 LD=$ac_cv_prog_LD
4771 if test -n "$LD"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4773 $as_echo "$LD" >&6; }
4774 else
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$ac_cv_prog_LD"; then
4782 ac_ct_LD=$LD
4783 # Extract the first word of "ld", so it can be a program name with args.
4784 set dummy ld; ac_word=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4788 $as_echo_n "(cached) " >&6
4789 else
4790 if test -n "$ac_ct_LD"; then
4791 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4792 else
4793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 for as_dir in $PATH
4796 IFS=$as_save_IFS
4797 test -z "$as_dir" && as_dir=.
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_ac_ct_LD="ld"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 break 2
4804 done
4805 done
4806 IFS=$as_save_IFS
4810 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4811 if test -n "$ac_ct_LD"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4813 $as_echo "$ac_ct_LD" >&6; }
4814 else
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4819 if test "x$ac_ct_LD" = x; then
4820 LD=""
4821 else
4822 case $cross_compiling:$ac_tool_warned in
4823 yes:)
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned=yes ;;
4827 esac
4828 LD=$ac_ct_LD
4830 else
4831 LD="$ac_cv_prog_LD"
4835 case $host in
4836 *-darwin*)
4837 if test "x$enable_win64" = "xyes"
4838 then
4839 CC="$CC -m64"
4840 CXX="$CXX -m64"
4841 host_cpu="x86_64"
4842 notice_platform="64-bit "
4843 TARGETFLAGS="-m64"
4845 else
4846 CC="$CC -m32"
4847 CXX="$CXX -m32"
4848 host_cpu="i386"
4849 notice_platform="32-bit "
4850 TARGETFLAGS="-m32"
4852 enable_win16=${enable_win16:-yes}
4854 with_fontconfig=${with_fontconfig:-no}
4856 x86_64*)
4857 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4858 then
4859 CC="$CC -m32"
4860 CXX="$CXX -m32"
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4862 $as_echo_n "checking whether $CC works... " >&6; }
4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4868 main ()
4872 return 0;
4874 _ACEOF
4875 if ac_fn_c_try_link "$LINENO"; then :
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4877 $as_echo "yes" >&6; }
4878 else
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4883 rm -f core conftest.err conftest.$ac_objext \
4884 conftest$ac_exeext conftest.$ac_ext
4885 host_cpu="i386"
4886 notice_platform="32-bit "
4887 TARGETFLAGS="-m32"
4889 enable_win16=${enable_win16:-yes}
4890 else
4891 if test "x${GCC}" = "xyes"
4892 then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4894 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4897 #include <stdarg.h>
4899 main ()
4901 void func(__builtin_ms_va_list *args);
4903 return 0;
4905 _ACEOF
4906 if ac_fn_c_try_compile "$LINENO"; then :
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4912 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 TARGETFLAGS="-m64"
4920 arm*)
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4922 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4925 int ac_test(int i) { return i; }
4927 main ()
4929 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4931 return 0;
4933 _ACEOF
4934 if ac_fn_c_try_link "$LINENO"; then :
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4937 else
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4942 rm -f core conftest.err conftest.$ac_objext \
4943 conftest$ac_exeext conftest.$ac_ext
4944 CFLAGS="$CFLAGS -marm"
4945 TARGETFLAGS="-marm"
4948 *-mingw32*|*-cygwin*)
4949 enable_win16=${enable_win16:-no}
4950 CFLAGS="$CFLAGS -D_WIN32"
4952 i[3456789]86*)
4953 enable_win16=${enable_win16:-yes}
4955 esac
4957 enable_win16=${enable_win16:-no}
4958 enable_win64=${enable_win64:-no}
4960 enable_winetest=${enable_winetest:-$enable_tests}
4962 if test -n "$with_wine64"
4963 then
4964 if test "x$enable_win64" = "xyes"
4965 then
4966 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4967 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4969 enable_fonts=${enable_fonts:-no}
4970 enable_server=${enable_server:-no}
4971 elif test "x$enable_win64" = "xyes"
4972 then
4973 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4977 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4978 if ${wine_cv_toolsdir+:} false; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 wine_cv_toolsdir="$with_wine_tools"
4982 if test -z "$with_wine_tools"; then
4983 if test "$cross_compiling" = "yes"; then
4984 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4985 elif test -n "$with_wine64"; then
4986 wine_cv_toolsdir="$with_wine64"
4989 if test -z "$wine_cv_toolsdir"; then
4990 wine_makedep=tools/makedep
4991 wine_cv_toolsdir="\$(top_builddir)"
4992 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4993 wine_makedep=$wine_cv_toolsdir/tools/makedep
4994 case "$wine_cv_toolsdir" in
4995 /*) ;;
4996 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4997 esac
4998 enable_tools=${enable_tools:-no}
4999 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5000 else
5001 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5005 $as_echo "$wine_cv_toolsdir" >&6; }
5006 TOOLSDIR=$wine_cv_toolsdir
5008 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5009 then
5010 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5014 for ac_prog in flex
5016 # Extract the first word of "$ac_prog", so it can be a program name with args.
5017 set dummy $ac_prog; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if ${ac_cv_prog_FLEX+:} false; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$FLEX"; then
5024 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5033 ac_cv_prog_FLEX="$ac_prog"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 FLEX=$ac_cv_prog_FLEX
5044 if test -n "$FLEX"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5046 $as_echo "$FLEX" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 test -n "$FLEX" && break
5054 done
5055 test -n "$FLEX" || FLEX="none"
5057 if test "$FLEX" = "none"
5058 then
5059 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5062 $as_echo_n "checking whether flex is recent enough... " >&6; }
5063 cat >conftest.l <<EOF
5064 %top{
5065 #include "prediluvian.h"
5069 if $FLEX -t conftest.l >/dev/null 2>&5
5070 then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5079 for ac_prog in bison
5081 # Extract the first word of "$ac_prog", so it can be a program name with args.
5082 set dummy $ac_prog; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_BISON+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$BISON"; then
5089 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_BISON="$ac_prog"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 BISON=$ac_cv_prog_BISON
5109 if test -n "$BISON"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5111 $as_echo "$BISON" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5118 test -n "$BISON" && break
5119 done
5120 test -n "$BISON" || BISON="none"
5122 if test "$BISON" = "none"
5123 then
5124 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5127 if test -n "$ac_tool_prefix"; then
5128 for ac_prog in ar gar
5130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_AR+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 if test -n "$AR"; then
5138 ac_cv_prog_AR="$AR" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 AR=$ac_cv_prog_AR
5158 if test -n "$AR"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5160 $as_echo "$AR" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5167 test -n "$AR" && break
5168 done
5170 if test -z "$AR"; then
5171 ac_ct_AR=$AR
5172 for ac_prog in ar gar
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$ac_ct_AR"; then
5182 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_AR="$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5202 if test -n "$ac_ct_AR"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5204 $as_echo "$ac_ct_AR" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$ac_ct_AR" && break
5212 done
5214 if test "x$ac_ct_AR" = x; then
5215 AR="ar"
5216 else
5217 case $cross_compiling:$ac_tool_warned in
5218 yes:)
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned=yes ;;
5222 esac
5223 AR=$ac_ct_AR
5227 if test -n "$ac_tool_prefix"; then
5228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5229 set dummy ${ac_tool_prefix}strip; ac_word=$2
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5231 $as_echo_n "checking for $ac_word... " >&6; }
5232 if ${ac_cv_prog_STRIP+:} false; then :
5233 $as_echo_n "(cached) " >&6
5234 else
5235 if test -n "$STRIP"; then
5236 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5237 else
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5239 for as_dir in $PATH
5241 IFS=$as_save_IFS
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5245 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 break 2
5249 done
5250 done
5251 IFS=$as_save_IFS
5255 STRIP=$ac_cv_prog_STRIP
5256 if test -n "$STRIP"; then
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5258 $as_echo "$STRIP" >&6; }
5259 else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261 $as_echo "no" >&6; }
5266 if test -z "$ac_cv_prog_STRIP"; then
5267 ac_ct_STRIP=$STRIP
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip; ac_word=$2
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271 $as_echo_n "checking for $ac_word... " >&6; }
5272 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5273 $as_echo_n "(cached) " >&6
5274 else
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP="strip"
5286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5291 IFS=$as_save_IFS
5295 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5298 $as_echo "$ac_ct_STRIP" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5301 $as_echo "no" >&6; }
5304 if test "x$ac_ct_STRIP" = x; then
5305 STRIP="strip"
5306 else
5307 case $cross_compiling:$ac_tool_warned in
5308 yes:)
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5311 ac_tool_warned=yes ;;
5312 esac
5313 STRIP=$ac_ct_STRIP
5315 else
5316 STRIP="$ac_cv_prog_STRIP"
5319 ARFLAGS=rc
5321 if test -n "$ac_tool_prefix"; then
5322 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_RANLIB+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$RANLIB"; then
5330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 RANLIB=$ac_cv_prog_RANLIB
5350 if test -n "$RANLIB"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5352 $as_echo "$RANLIB" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5360 if test -z "$ac_cv_prog_RANLIB"; then
5361 ac_ct_RANLIB=$RANLIB
5362 # Extract the first word of "ranlib", so it can be a program name with args.
5363 set dummy ranlib; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$ac_ct_RANLIB"; then
5370 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_ac_ct_RANLIB="ranlib"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5390 if test -n "$ac_ct_RANLIB"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5392 $as_echo "$ac_ct_RANLIB" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5398 if test "x$ac_ct_RANLIB" = x; then
5399 RANLIB=":"
5400 else
5401 case $cross_compiling:$ac_tool_warned in
5402 yes:)
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 RANLIB=$ac_ct_RANLIB
5409 else
5410 RANLIB="$ac_cv_prog_RANLIB"
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5414 $as_echo_n "checking whether ln -s works... " >&6; }
5415 LN_S=$as_ln_s
5416 if test "$LN_S" = "ln -s"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5418 $as_echo "yes" >&6; }
5419 else
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5421 $as_echo "no, using $LN_S" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5425 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5426 if ${ac_cv_path_GREP+:} false; then :
5427 $as_echo_n "(cached) " >&6
5428 else
5429 if test -z "$GREP"; then
5430 ac_path_GREP_found=false
5431 # Loop through the user's path and test for each of PROGNAME-LIST
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5435 IFS=$as_save_IFS
5436 test -z "$as_dir" && as_dir=.
5437 for ac_prog in grep ggrep; do
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5440 as_fn_executable_p "$ac_path_GREP" || continue
5441 # Check for GNU ac_path_GREP and select it if it is found.
5442 # Check for GNU $ac_path_GREP
5443 case `"$ac_path_GREP" --version 2>&1` in
5444 *GNU*)
5445 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5447 ac_count=0
5448 $as_echo_n 0123456789 >"conftest.in"
5449 while :
5451 cat "conftest.in" "conftest.in" >"conftest.tmp"
5452 mv "conftest.tmp" "conftest.in"
5453 cp "conftest.in" "conftest.nl"
5454 $as_echo 'GREP' >> "conftest.nl"
5455 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5457 as_fn_arith $ac_count + 1 && ac_count=$as_val
5458 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5459 # Best one so far, save it but keep looking for a better one
5460 ac_cv_path_GREP="$ac_path_GREP"
5461 ac_path_GREP_max=$ac_count
5463 # 10*(2^10) chars as input seems more than enough
5464 test $ac_count -gt 10 && break
5465 done
5466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5467 esac
5469 $ac_path_GREP_found && break 3
5470 done
5471 done
5472 done
5473 IFS=$as_save_IFS
5474 if test -z "$ac_cv_path_GREP"; then
5475 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 else
5478 ac_cv_path_GREP=$GREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5483 $as_echo "$ac_cv_path_GREP" >&6; }
5484 GREP="$ac_cv_path_GREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5488 $as_echo_n "checking for egrep... " >&6; }
5489 if ${ac_cv_path_EGREP+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5493 then ac_cv_path_EGREP="$GREP -E"
5494 else
5495 if test -z "$EGREP"; then
5496 ac_path_EGREP_found=false
5497 # Loop through the user's path and test for each of PROGNAME-LIST
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_prog in egrep; do
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5506 as_fn_executable_p "$ac_path_EGREP" || continue
5507 # Check for GNU ac_path_EGREP and select it if it is found.
5508 # Check for GNU $ac_path_EGREP
5509 case `"$ac_path_EGREP" --version 2>&1` in
5510 *GNU*)
5511 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5513 ac_count=0
5514 $as_echo_n 0123456789 >"conftest.in"
5515 while :
5517 cat "conftest.in" "conftest.in" >"conftest.tmp"
5518 mv "conftest.tmp" "conftest.in"
5519 cp "conftest.in" "conftest.nl"
5520 $as_echo 'EGREP' >> "conftest.nl"
5521 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5522 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5523 as_fn_arith $ac_count + 1 && ac_count=$as_val
5524 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5525 # Best one so far, save it but keep looking for a better one
5526 ac_cv_path_EGREP="$ac_path_EGREP"
5527 ac_path_EGREP_max=$ac_count
5529 # 10*(2^10) chars as input seems more than enough
5530 test $ac_count -gt 10 && break
5531 done
5532 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5533 esac
5535 $ac_path_EGREP_found && break 3
5536 done
5537 done
5538 done
5539 IFS=$as_save_IFS
5540 if test -z "$ac_cv_path_EGREP"; then
5541 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5543 else
5544 ac_cv_path_EGREP=$EGREP
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5550 $as_echo "$ac_cv_path_EGREP" >&6; }
5551 EGREP="$ac_cv_path_EGREP"
5554 # Extract the first word of "ldconfig", so it can be a program name with args.
5555 set dummy ldconfig; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_path_LDCONFIG+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 case $LDCONFIG in
5562 [\\/]* | ?:[\\/]*)
5563 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in /sbin /usr/sbin $PATH
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_exec_ext in '' $ac_executable_extensions; do
5572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 break 2
5577 done
5578 done
5579 IFS=$as_save_IFS
5581 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5583 esac
5585 LDCONFIG=$ac_cv_path_LDCONFIG
5586 if test -n "$LDCONFIG"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5588 $as_echo "$LDCONFIG" >&6; }
5589 else
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5595 for ac_prog in msgfmt
5597 # Extract the first word of "$ac_prog", so it can be a program name with args.
5598 set dummy $ac_prog; ac_word=$2
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5601 if ${ac_cv_prog_MSGFMT+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -n "$MSGFMT"; then
5605 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5614 ac_cv_prog_MSGFMT="$ac_prog"
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 MSGFMT=$ac_cv_prog_MSGFMT
5625 if test -n "$MSGFMT"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5627 $as_echo "$MSGFMT" >&6; }
5628 else
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5634 test -n "$MSGFMT" && break
5635 done
5636 test -n "$MSGFMT" || MSGFMT="false"
5638 if ${ac_tool_prefix+:} false; then :
5639 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 if test -n "$PKG_CONFIG"; then
5647 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5667 if test -n "$PKG_CONFIG"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5669 $as_echo "$PKG_CONFIG" >&6; }
5670 else
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5678 if test "x$cross_compiling" = xyes; then :
5680 else
5681 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5682 # Extract the first word of "pkg-config", so it can be a program name with args.
5683 set dummy pkg-config; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if test -n "$PKG_CONFIG"; then
5690 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5695 IFS=$as_save_IFS
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_PKG_CONFIG="pkg-config"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 break 2
5703 done
5704 done
5705 IFS=$as_save_IFS
5709 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5710 if test -n "$PKG_CONFIG"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5712 $as_echo "$PKG_CONFIG" >&6; }
5713 else
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5720 else
5721 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5724 if test "x$enable_maintainer_mode" != "xyes"
5725 then
5726 FONTFORGE=""
5727 RSVG=""
5728 CONVERT=""
5729 ICOTOOL=""
5730 else
5731 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5732 for ac_prog in fontforge
5734 # Extract the first word of "$ac_prog", so it can be a program name with args.
5735 set dummy $ac_prog; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_FONTFORGE+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 if test -n "$FONTFORGE"; then
5742 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5743 else
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5747 IFS=$as_save_IFS
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_FONTFORGE="$ac_prog"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 break 2
5755 done
5756 done
5757 IFS=$as_save_IFS
5761 FONTFORGE=$ac_cv_prog_FONTFORGE
5762 if test -n "$FONTFORGE"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5764 $as_echo "$FONTFORGE" >&6; }
5765 else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 test -n "$FONTFORGE" && break
5772 done
5773 test -n "$FONTFORGE" || FONTFORGE="false"
5775 for ac_prog in rsvg-convert rsvg
5777 # Extract the first word of "$ac_prog", so it can be a program name with args.
5778 set dummy $ac_prog; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if ${ac_cv_prog_RSVG+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$RSVG"; then
5785 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_RSVG="$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 RSVG=$ac_cv_prog_RSVG
5805 if test -n "$RSVG"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5807 $as_echo "$RSVG" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5814 test -n "$RSVG" && break
5815 done
5816 test -n "$RSVG" || RSVG="false"
5818 for ac_prog in convert
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy $ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_CONVERT+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$CONVERT"; then
5828 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_CONVERT="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 CONVERT=$ac_cv_prog_CONVERT
5848 if test -n "$CONVERT"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5850 $as_echo "$CONVERT" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$CONVERT" && break
5858 done
5859 test -n "$CONVERT" || CONVERT="false"
5861 for ac_prog in icotool
5863 # Extract the first word of "$ac_prog", so it can be a program name with args.
5864 set dummy $ac_prog; ac_word=$2
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5866 $as_echo_n "checking for $ac_word... " >&6; }
5867 if ${ac_cv_prog_ICOTOOL+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 if test -n "$ICOTOOL"; then
5871 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5872 else
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 for as_dir in $PATH
5876 IFS=$as_save_IFS
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_ICOTOOL="$ac_prog"
5881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 break 2
5884 done
5885 done
5886 IFS=$as_save_IFS
5890 ICOTOOL=$ac_cv_prog_ICOTOOL
5891 if test -n "$ICOTOOL"; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5893 $as_echo "$ICOTOOL" >&6; }
5894 else
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5896 $as_echo "no" >&6; }
5900 test -n "$ICOTOOL" && break
5901 done
5902 test -n "$ICOTOOL" || ICOTOOL="false"
5904 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5905 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5907 if test "$CONVERT" = false
5908 then
5909 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5910 else
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5912 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5913 convert_version=`convert --version | head -n1`
5914 if test "x$convert_version" != "x"
5915 then
5916 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5917 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5918 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5919 then
5920 CONVERT=false
5923 if test "$CONVERT" = false
5924 then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5926 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5927 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5930 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5934 if test "$ICOTOOL" = false
5935 then
5936 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5937 else
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5939 $as_echo_n "checking for recent enough icotool... " >&6; }
5940 icotool_version=`icotool --version | head -n1`
5941 if test "x$icotool_version" != "x"
5942 then
5943 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5944 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5945 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5946 then
5947 ICOTOOL=false
5948 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5951 if test "$ICOTOOL" = false
5952 then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5954 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5955 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5958 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5962 with_gettext=yes
5963 with_gettextpo=yes
5964 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5967 test "x$with_gettext" != xno || MSGFMT=false
5968 if test "$MSGFMT" != "false"
5969 then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5971 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5972 cat >conftest.po <<EOF
5973 # comment
5974 msgctxt "ctxt"
5975 msgid "id"
5976 msgstr "str"
5978 if $MSGFMT -o /dev/null conftest.po 2>&5
5979 then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5981 $as_echo "yes" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5985 MSGFMT=false
5988 if test "$MSGFMT" = false; then :
5989 case "x$with_gettext" in
5990 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5991 xno) ;;
5992 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5993 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5994 esac
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5999 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6000 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 ac_check_lib_save_LIBS=$LIBS
6004 LIBS="-li386 $LIBS"
6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6008 /* Override any GCC internal prototype to avoid an error.
6009 Use char because int might match the return type of a GCC
6010 builtin and then its argument prototype would still apply. */
6011 #ifdef __cplusplus
6012 extern "C"
6013 #endif
6014 char i386_set_ldt ();
6016 main ()
6018 return i386_set_ldt ();
6020 return 0;
6022 _ACEOF
6023 if ac_fn_c_try_link "$LINENO"; then :
6024 ac_cv_lib_i386_i386_set_ldt=yes
6025 else
6026 ac_cv_lib_i386_i386_set_ldt=no
6028 rm -f core conftest.err conftest.$ac_objext \
6029 conftest$ac_exeext conftest.$ac_ext
6030 LIBS=$ac_check_lib_save_LIBS
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6033 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6034 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6035 cat >>confdefs.h <<_ACEOF
6036 #define HAVE_LIBI386 1
6037 _ACEOF
6039 LIBS="-li386 $LIBS"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6044 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6045 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 ac_check_lib_save_LIBS=$LIBS
6049 LIBS="-lossaudio $LIBS"
6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6053 /* Override any GCC internal prototype to avoid an error.
6054 Use char because int might match the return type of a GCC
6055 builtin and then its argument prototype would still apply. */
6056 #ifdef __cplusplus
6057 extern "C"
6058 #endif
6059 char _oss_ioctl ();
6061 main ()
6063 return _oss_ioctl ();
6065 return 0;
6067 _ACEOF
6068 if ac_fn_c_try_link "$LINENO"; then :
6069 ac_cv_lib_ossaudio__oss_ioctl=yes
6070 else
6071 ac_cv_lib_ossaudio__oss_ioctl=no
6073 rm -f core conftest.err conftest.$ac_objext \
6074 conftest$ac_exeext conftest.$ac_ext
6075 LIBS=$ac_check_lib_save_LIBS
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6078 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6079 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6080 cat >>confdefs.h <<_ACEOF
6081 #define HAVE_LIBOSSAUDIO 1
6082 _ACEOF
6084 LIBS="-lossaudio $LIBS"
6089 OPENGL_LIBS=""
6093 # Check whether --enable-largefile was given.
6094 if test "${enable_largefile+set}" = set; then :
6095 enableval=$enable_largefile;
6098 if test "$enable_largefile" != no; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6101 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6102 if ${ac_cv_sys_largefile_CC+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 ac_cv_sys_largefile_CC=no
6106 if test "$GCC" != yes; then
6107 ac_save_CC=$CC
6108 while :; do
6109 # IRIX 6.2 and later do not support large files by default,
6110 # so use the C compiler's -n32 option if that helps.
6111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6121 ? 1 : -1];
6123 main ()
6127 return 0;
6129 _ACEOF
6130 if ac_fn_c_try_compile "$LINENO"; then :
6131 break
6133 rm -f core conftest.err conftest.$ac_objext
6134 CC="$CC -n32"
6135 if ac_fn_c_try_compile "$LINENO"; then :
6136 ac_cv_sys_largefile_CC=' -n32'; break
6138 rm -f core conftest.err conftest.$ac_objext
6139 break
6140 done
6141 CC=$ac_save_CC
6142 rm -f conftest.$ac_ext
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6146 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6147 if test "$ac_cv_sys_largefile_CC" != no; then
6148 CC=$CC$ac_cv_sys_largefile_CC
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6152 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6153 if ${ac_cv_sys_file_offset_bits+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 while :; do
6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6159 #include <sys/types.h>
6160 /* Check that off_t can represent 2**63 - 1 correctly.
6161 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6162 since some C++ compilers masquerading as C compilers
6163 incorrectly reject 9223372036854775807. */
6164 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6165 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6166 && LARGE_OFF_T % 2147483647 == 1)
6167 ? 1 : -1];
6169 main ()
6173 return 0;
6175 _ACEOF
6176 if ac_fn_c_try_compile "$LINENO"; then :
6177 ac_cv_sys_file_offset_bits=no; break
6179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 #define _FILE_OFFSET_BITS 64
6183 #include <sys/types.h>
6184 /* Check that off_t can represent 2**63 - 1 correctly.
6185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6186 since some C++ compilers masquerading as C compilers
6187 incorrectly reject 9223372036854775807. */
6188 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6190 && LARGE_OFF_T % 2147483647 == 1)
6191 ? 1 : -1];
6193 main ()
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_compile "$LINENO"; then :
6201 ac_cv_sys_file_offset_bits=64; break
6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6204 ac_cv_sys_file_offset_bits=unknown
6205 break
6206 done
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6209 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6210 case $ac_cv_sys_file_offset_bits in #(
6211 no | unknown) ;;
6213 cat >>confdefs.h <<_ACEOF
6214 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6215 _ACEOF
6217 esac
6218 rm -rf conftest*
6219 if test $ac_cv_sys_file_offset_bits = unknown; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6221 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6222 if ${ac_cv_sys_large_files+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 while :; do
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6228 #include <sys/types.h>
6229 /* Check that off_t can represent 2**63 - 1 correctly.
6230 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6231 since some C++ compilers masquerading as C compilers
6232 incorrectly reject 9223372036854775807. */
6233 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6234 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6235 && LARGE_OFF_T % 2147483647 == 1)
6236 ? 1 : -1];
6238 main ()
6242 return 0;
6244 _ACEOF
6245 if ac_fn_c_try_compile "$LINENO"; then :
6246 ac_cv_sys_large_files=no; break
6248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6251 #define _LARGE_FILES 1
6252 #include <sys/types.h>
6253 /* Check that off_t can represent 2**63 - 1 correctly.
6254 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6255 since some C++ compilers masquerading as C compilers
6256 incorrectly reject 9223372036854775807. */
6257 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6258 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6259 && LARGE_OFF_T % 2147483647 == 1)
6260 ? 1 : -1];
6262 main ()
6266 return 0;
6268 _ACEOF
6269 if ac_fn_c_try_compile "$LINENO"; then :
6270 ac_cv_sys_large_files=1; break
6272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273 ac_cv_sys_large_files=unknown
6274 break
6275 done
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6278 $as_echo "$ac_cv_sys_large_files" >&6; }
6279 case $ac_cv_sys_large_files in #(
6280 no | unknown) ;;
6282 cat >>confdefs.h <<_ACEOF
6283 #define _LARGE_FILES $ac_cv_sys_large_files
6284 _ACEOF
6286 esac
6287 rm -rf conftest*
6294 ac_ext=c
6295 ac_cpp='$CPP $CPPFLAGS'
6296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6300 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6301 # On Suns, sometimes $CPP names a directory.
6302 if test -n "$CPP" && test -d "$CPP"; then
6303 CPP=
6305 if test -z "$CPP"; then
6306 if ${ac_cv_prog_CPP+:} false; then :
6307 $as_echo_n "(cached) " >&6
6308 else
6309 # Double quotes because CPP needs to be expanded
6310 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6312 ac_preproc_ok=false
6313 for ac_c_preproc_warn_flag in '' yes
6315 # Use a header file that comes with gcc, so configuring glibc
6316 # with a fresh cross-compiler works.
6317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6318 # <limits.h> exists even on freestanding compilers.
6319 # On the NeXT, cc -E runs the code through the compiler's parser,
6320 # not just through cpp. "Syntax error" is here to catch this case.
6321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6323 #ifdef __STDC__
6324 # include <limits.h>
6325 #else
6326 # include <assert.h>
6327 #endif
6328 Syntax error
6329 _ACEOF
6330 if ac_fn_c_try_cpp "$LINENO"; then :
6332 else
6333 # Broken: fails on valid input.
6334 continue
6336 rm -f conftest.err conftest.i conftest.$ac_ext
6338 # OK, works on sane cases. Now check whether nonexistent headers
6339 # can be detected and how.
6340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6342 #include <ac_nonexistent.h>
6343 _ACEOF
6344 if ac_fn_c_try_cpp "$LINENO"; then :
6345 # Broken: success on invalid input.
6346 continue
6347 else
6348 # Passes both tests.
6349 ac_preproc_ok=:
6350 break
6352 rm -f conftest.err conftest.i conftest.$ac_ext
6354 done
6355 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6356 rm -f conftest.i conftest.err conftest.$ac_ext
6357 if $ac_preproc_ok; then :
6358 break
6361 done
6362 ac_cv_prog_CPP=$CPP
6365 CPP=$ac_cv_prog_CPP
6366 else
6367 ac_cv_prog_CPP=$CPP
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6370 $as_echo "$CPP" >&6; }
6371 ac_preproc_ok=false
6372 for ac_c_preproc_warn_flag in '' yes
6374 # Use a header file that comes with gcc, so configuring glibc
6375 # with a fresh cross-compiler works.
6376 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6377 # <limits.h> exists even on freestanding compilers.
6378 # On the NeXT, cc -E runs the code through the compiler's parser,
6379 # not just through cpp. "Syntax error" is here to catch this case.
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #ifdef __STDC__
6383 # include <limits.h>
6384 #else
6385 # include <assert.h>
6386 #endif
6387 Syntax error
6388 _ACEOF
6389 if ac_fn_c_try_cpp "$LINENO"; then :
6391 else
6392 # Broken: fails on valid input.
6393 continue
6395 rm -f conftest.err conftest.i conftest.$ac_ext
6397 # OK, works on sane cases. Now check whether nonexistent headers
6398 # can be detected and how.
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <ac_nonexistent.h>
6402 _ACEOF
6403 if ac_fn_c_try_cpp "$LINENO"; then :
6404 # Broken: success on invalid input.
6405 continue
6406 else
6407 # Passes both tests.
6408 ac_preproc_ok=:
6409 break
6411 rm -f conftest.err conftest.i conftest.$ac_ext
6413 done
6414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6415 rm -f conftest.i conftest.err conftest.$ac_ext
6416 if $ac_preproc_ok; then :
6418 else
6419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6421 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6422 See \`config.log' for more details" "$LINENO" 5; }
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6433 $as_echo_n "checking for ANSI C header files... " >&6; }
6434 if ${ac_cv_header_stdc+:} false; then :
6435 $as_echo_n "(cached) " >&6
6436 else
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 #include <stdlib.h>
6440 #include <stdarg.h>
6441 #include <string.h>
6442 #include <float.h>
6445 main ()
6449 return 0;
6451 _ACEOF
6452 if ac_fn_c_try_compile "$LINENO"; then :
6453 ac_cv_header_stdc=yes
6454 else
6455 ac_cv_header_stdc=no
6457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6459 if test $ac_cv_header_stdc = yes; then
6460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #include <string.h>
6465 _ACEOF
6466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6467 $EGREP "memchr" >/dev/null 2>&1; then :
6469 else
6470 ac_cv_header_stdc=no
6472 rm -f conftest*
6476 if test $ac_cv_header_stdc = yes; then
6477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6480 #include <stdlib.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "free" >/dev/null 2>&1; then :
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6495 if test "$cross_compiling" = yes; then :
6497 else
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6500 #include <ctype.h>
6501 #include <stdlib.h>
6502 #if ((' ' & 0x0FF) == 0x020)
6503 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6504 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6505 #else
6506 # define ISLOWER(c) \
6507 (('a' <= (c) && (c) <= 'i') \
6508 || ('j' <= (c) && (c) <= 'r') \
6509 || ('s' <= (c) && (c) <= 'z'))
6510 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6511 #endif
6513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6515 main ()
6517 int i;
6518 for (i = 0; i < 256; i++)
6519 if (XOR (islower (i), ISLOWER (i))
6520 || toupper (i) != TOUPPER (i))
6521 return 2;
6522 return 0;
6524 _ACEOF
6525 if ac_fn_c_try_run "$LINENO"; then :
6527 else
6528 ac_cv_header_stdc=no
6530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6531 conftest.$ac_objext conftest.beam conftest.$ac_ext
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6537 $as_echo "$ac_cv_header_stdc" >&6; }
6538 if test $ac_cv_header_stdc = yes; then
6540 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6544 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6545 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6546 inttypes.h stdint.h unistd.h
6547 do :
6548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6549 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6552 cat >>confdefs.h <<_ACEOF
6553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6554 _ACEOF
6558 done
6561 for ac_header in \
6562 AL/al.h \
6563 ApplicationServices/ApplicationServices.h \
6564 AudioToolbox/AudioConverter.h \
6565 AudioUnit/AudioUnit.h \
6566 AudioUnit/AudioComponent.h \
6567 CL/cl.h \
6568 Carbon/Carbon.h \
6569 CoreAudio/CoreAudio.h \
6570 CoreServices/CoreServices.h \
6571 DiskArbitration/DiskArbitration.h \
6572 IOKit/IOKitLib.h \
6573 IOKit/hid/IOHIDLib.h \
6574 OpenAL/al.h \
6575 OpenCL/opencl.h \
6576 QuickTime/ImageCompression.h \
6577 Security/Security.h \
6578 alias.h \
6579 alsa/asoundlib.h \
6580 arpa/inet.h \
6581 arpa/nameser.h \
6582 asm/types.h \
6583 asm/user.h \
6584 curses.h \
6585 direct.h \
6586 dirent.h \
6587 dlfcn.h \
6588 elf.h \
6589 float.h \
6590 fnmatch.h \
6591 getopt.h \
6592 gettext-po.h \
6593 grp.h \
6594 gsm.h \
6595 gsm/gsm.h \
6596 ieeefp.h \
6597 inet/mib2.h \
6598 io.h \
6599 kstat.h \
6600 lber.h \
6601 ldap.h \
6602 libproc.h \
6603 link.h \
6604 linux/cdrom.h \
6605 linux/compiler.h \
6606 linux/filter.h \
6607 linux/hdreg.h \
6608 linux/input.h \
6609 linux/ioctl.h \
6610 linux/joystick.h \
6611 linux/major.h \
6612 linux/param.h \
6613 linux/serial.h \
6614 linux/types.h \
6615 linux/ucdrom.h \
6616 lwp.h \
6617 mach-o/nlist.h \
6618 mach-o/loader.h \
6619 mach/mach.h \
6620 mach/machine.h \
6621 machine/cpu.h \
6622 machine/limits.h \
6623 machine/sysarch.h \
6624 mntent.h \
6625 ncurses.h \
6626 netdb.h \
6627 netinet/in.h \
6628 netinet/in_systm.h \
6629 netinet/tcp.h \
6630 netinet/tcp_fsm.h \
6631 pcap/pcap.h \
6632 poll.h \
6633 port.h \
6634 process.h \
6635 pthread.h \
6636 pwd.h \
6637 sched.h \
6638 scsi/scsi.h \
6639 scsi/scsi_ioctl.h \
6640 scsi/sg.h \
6641 stdbool.h \
6642 stdint.h \
6643 stropts.h \
6644 sys/asoundlib.h \
6645 sys/attr.h \
6646 sys/cdio.h \
6647 sys/elf32.h \
6648 sys/epoll.h \
6649 sys/event.h \
6650 sys/exec_elf.h \
6651 sys/filio.h \
6652 sys/inotify.h \
6653 sys/ioctl.h \
6654 sys/ipc.h \
6655 sys/limits.h \
6656 sys/link.h \
6657 sys/mman.h \
6658 sys/modem.h \
6659 sys/msg.h \
6660 sys/mtio.h \
6661 sys/param.h \
6662 sys/poll.h \
6663 sys/prctl.h \
6664 sys/protosw.h \
6665 sys/ptrace.h \
6666 sys/queue.h \
6667 sys/resource.h \
6668 sys/scsiio.h \
6669 sys/shm.h \
6670 sys/signal.h \
6671 sys/socket.h \
6672 sys/socketvar.h \
6673 sys/sockio.h \
6674 sys/statvfs.h \
6675 sys/strtio.h \
6676 sys/syscall.h \
6677 sys/tihdr.h \
6678 sys/time.h \
6679 sys/timeout.h \
6680 sys/times.h \
6681 sys/uio.h \
6682 sys/user.h \
6683 sys/utsname.h \
6684 sys/vm86.h \
6685 sys/wait.h \
6686 syscall.h \
6687 termios.h \
6688 unistd.h \
6689 utime.h \
6690 valgrind/memcheck.h \
6691 valgrind/valgrind.h \
6692 zlib.h
6694 do :
6695 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6696 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6698 cat >>confdefs.h <<_ACEOF
6699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6700 _ACEOF
6704 done
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6707 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6708 if ${ac_cv_header_stat_broken+:} false; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 #include <sys/types.h>
6714 #include <sys/stat.h>
6716 #if defined S_ISBLK && defined S_IFDIR
6717 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6718 #endif
6720 #if defined S_ISBLK && defined S_IFCHR
6721 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6722 #endif
6724 #if defined S_ISLNK && defined S_IFREG
6725 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6726 #endif
6728 #if defined S_ISSOCK && defined S_IFREG
6729 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6730 #endif
6732 _ACEOF
6733 if ac_fn_c_try_compile "$LINENO"; then :
6734 ac_cv_header_stat_broken=no
6735 else
6736 ac_cv_header_stat_broken=yes
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6741 $as_echo "$ac_cv_header_stat_broken" >&6; }
6742 if test $ac_cv_header_stat_broken = yes; then
6744 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6750 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6751 do :
6752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_SYS_PARAM_H
6755 # include <sys/param.h>
6756 #endif
6758 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6759 cat >>confdefs.h <<_ACEOF
6760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6761 _ACEOF
6765 done
6768 for ac_header in \
6769 netinet/ip.h \
6770 net/if.h \
6771 net/if_arp.h \
6772 net/if_dl.h \
6773 net/if_types.h \
6774 net/route.h \
6775 netinet/if_ether.h \
6776 netinet/if_inarp.h \
6777 netinet/in_pcb.h \
6778 netinet/ip_icmp.h \
6779 netinet/ip_var.h \
6780 netinet/udp.h \
6781 netipx/ipx.h \
6782 sys/un.h \
6784 do :
6785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6787 #ifdef HAVE_SYS_SOCKET_H
6788 # include <sys/socket.h>
6789 #endif
6790 #ifdef HAVE_SYS_SOCKETVAR_H
6791 # include <sys/socketvar.h>
6792 #endif
6793 #ifdef HAVE_NET_ROUTE_H
6794 # include <net/route.h>
6795 #endif
6796 #ifdef HAVE_NETINET_IN_H
6797 # include <netinet/in.h>
6798 #endif
6799 #ifdef HAVE_NETINET_IN_SYSTM_H
6800 # include <netinet/in_systm.h>
6801 #endif
6802 #ifdef HAVE_NET_IF_H
6803 # include <net/if.h>
6804 #endif
6805 #ifdef HAVE_NETINET_IP_H
6806 # include <netinet/ip.h>
6807 #endif
6809 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6810 cat >>confdefs.h <<_ACEOF
6811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 _ACEOF
6816 done
6819 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6820 do :
6821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6823 #ifdef HAVE_ALIAS_H
6824 # include <alias.h>
6825 #endif
6826 #ifdef HAVE_SYS_SOCKET_H
6827 # include <sys/socket.h>
6828 #endif
6829 #ifdef HAVE_SYS_SOCKETVAR_H
6830 # include <sys/socketvar.h>
6831 #endif
6832 #ifdef HAVE_SYS_TIMEOUT_H
6833 # include <sys/timeout.h>
6834 #endif
6835 #ifdef HAVE_NETINET_IN_H
6836 # include <netinet/in.h>
6837 #endif
6838 #ifdef HAVE_NETINET_IN_SYSTM_H
6839 # include <netinet/in_systm.h>
6840 #endif
6841 #ifdef HAVE_NETINET_IP_H
6842 # include <netinet/ip.h>
6843 #endif
6844 #ifdef HAVE_NETINET_IP_VAR_H
6845 # include <netinet/ip_var.h>
6846 #endif
6847 #ifdef HAVE_NETINET_IP_ICMP_H
6848 # include <netinet/ip_icmp.h>
6849 #endif
6850 #ifdef HAVE_NETINET_UDP_H
6851 # include <netinet/udp.h>
6852 #endif
6853 #ifdef HAVE_NETINET_TCP_H
6854 # include <netinet/tcp.h>
6855 #endif
6856 #ifdef HAVE_NETINET_TCP_TIMER_H
6857 #include <netinet/tcp_timer.h>
6858 #endif
6860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6861 cat >>confdefs.h <<_ACEOF
6862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6863 _ACEOF
6867 done
6870 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6871 do :
6872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6873 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6874 #ifdef HAVE_ASM_TYPES_H
6875 # include <asm/types.h>
6876 #endif
6877 #ifdef HAVE_SYS_SOCKET_H
6878 # include <sys/socket.h>
6879 #endif
6880 #ifdef HAVE_LINUX_TYPES_H
6881 # include <linux/types.h>
6882 #endif
6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6891 done
6894 for ac_header in mach-o/dyld_images.h
6895 do :
6896 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6897 # include <stdbool.h>
6898 #endif
6899 #ifdef HAVE_STDINT_H
6900 # include <stdint.h>
6901 #endif
6903 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6904 cat >>confdefs.h <<_ACEOF
6905 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6906 _ACEOF
6910 done
6913 for ac_header in resolv.h
6914 do :
6915 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6916 #ifdef HAVE_SYS_SOCKET_H
6917 # include <sys/socket.h>
6918 #endif
6919 #ifdef HAVE_NETINET_IN_H
6920 # include <netinet/in.h>
6921 #endif
6922 #ifdef HAVE_ARPA_NAMESER_H
6923 # include <arpa/nameser.h>
6924 #endif
6926 if test "x$ac_cv_header_resolv_h" = xyes; then :
6927 cat >>confdefs.h <<_ACEOF
6928 #define HAVE_RESOLV_H 1
6929 _ACEOF
6933 done
6936 for ac_header in ifaddrs.h
6937 do :
6938 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6940 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6941 cat >>confdefs.h <<_ACEOF
6942 #define HAVE_IFADDRS_H 1
6943 _ACEOF
6947 done
6950 for ac_header in sys/ucontext.h
6951 do :
6952 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6954 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6955 cat >>confdefs.h <<_ACEOF
6956 #define HAVE_SYS_UCONTEXT_H 1
6957 _ACEOF
6961 done
6964 for ac_header in sys/thr.h
6965 do :
6966 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6967 #ifdef HAVE_SYS_UCONTEXT_H
6968 #include <sys/ucontext.h>
6969 #endif
6971 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6972 cat >>confdefs.h <<_ACEOF
6973 #define HAVE_SYS_THR_H 1
6974 _ACEOF
6978 done
6981 for ac_header in pthread_np.h
6982 do :
6983 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6984 #include <pthread.h>
6985 #endif
6987 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define HAVE_PTHREAD_NP_H 1
6990 _ACEOF
6994 done
6997 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6998 do :
6999 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7000 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7001 #include <sys/time.h>
7002 #endif
7003 #include <sys/types.h>
7004 #ifdef HAVE_ASM_TYPES_H
7005 #include <asm/types.h>
7006 #endif
7008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7009 cat >>confdefs.h <<_ACEOF
7010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7011 _ACEOF
7015 done
7018 for ac_header in libprocstat.h
7019 do :
7020 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7021 #include <sys/param.h>
7022 #endif
7023 #ifdef HAVE_SYS_QUEUE_H
7024 #include <sys/queue.h>
7025 #endif
7026 #ifdef HAVE_SYS_SOCKET_H
7027 #include <sys/socket.h>
7028 #endif
7030 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7031 cat >>confdefs.h <<_ACEOF
7032 #define HAVE_LIBPROCSTAT_H 1
7033 _ACEOF
7037 done
7041 dlldir="\${libdir}/wine"
7043 DLLPREFIX=""
7045 DLLFLAGS="-D_REENTRANT"
7047 LDRPATH_INSTALL=""
7049 LDRPATH_LOCAL=""
7051 LIBEXT="so"
7052 DLLEXT=".so"
7053 IMPLIBEXT="def"
7054 STATIC_IMPLIBEXT="def.a"
7055 # Extract the first word of "ldd", so it can be a program name with args.
7056 set dummy ldd; ac_word=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_path_LDD+:} false; then :
7060 $as_echo_n "(cached) " >&6
7061 else
7062 case $LDD in
7063 [\\/]* | ?:[\\/]*)
7064 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 as_dummy="/sbin:/usr/sbin:$PATH"
7069 for as_dir in $as_dummy
7071 IFS=$as_save_IFS
7072 test -z "$as_dir" && as_dir=.
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 break 2
7079 done
7080 done
7081 IFS=$as_save_IFS
7083 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7085 esac
7087 LDD=$ac_cv_path_LDD
7088 if test -n "$LDD"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7090 $as_echo "$LDD" >&6; }
7091 else
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7097 if test -n "$ac_tool_prefix"; then
7098 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7099 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7101 $as_echo_n "checking for $ac_word... " >&6; }
7102 if ${ac_cv_prog_READELF+:} false; then :
7103 $as_echo_n "(cached) " >&6
7104 else
7105 if test -n "$READELF"; then
7106 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7107 else
7108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 for as_dir in $PATH
7111 IFS=$as_save_IFS
7112 test -z "$as_dir" && as_dir=.
7113 for ac_exec_ext in '' $ac_executable_extensions; do
7114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7115 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 break 2
7119 done
7120 done
7121 IFS=$as_save_IFS
7125 READELF=$ac_cv_prog_READELF
7126 if test -n "$READELF"; then
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7128 $as_echo "$READELF" >&6; }
7129 else
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7131 $as_echo "no" >&6; }
7136 if test -z "$ac_cv_prog_READELF"; then
7137 ac_ct_READELF=$READELF
7138 # Extract the first word of "readelf", so it can be a program name with args.
7139 set dummy readelf; ac_word=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7143 $as_echo_n "(cached) " >&6
7144 else
7145 if test -n "$ac_ct_READELF"; then
7146 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7147 else
7148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 for as_dir in $PATH
7151 IFS=$as_save_IFS
7152 test -z "$as_dir" && as_dir=.
7153 for ac_exec_ext in '' $ac_executable_extensions; do
7154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7155 ac_cv_prog_ac_ct_READELF="readelf"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 break 2
7159 done
7160 done
7161 IFS=$as_save_IFS
7165 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7166 if test -n "$ac_ct_READELF"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7168 $as_echo "$ac_ct_READELF" >&6; }
7169 else
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7174 if test "x$ac_ct_READELF" = x; then
7175 READELF="true"
7176 else
7177 case $cross_compiling:$ac_tool_warned in
7178 yes:)
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7181 ac_tool_warned=yes ;;
7182 esac
7183 READELF=$ac_ct_READELF
7185 else
7186 READELF="$ac_cv_prog_READELF"
7189 wine_rules_file=conf$$rules.make
7190 rm -f $wine_rules_file
7191 ALL_POT_FILES=""
7192 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7193 ALL_TEST_RESOURCES=""
7196 wine_fn_append_file ()
7198 as_fn_append $1 " \\$as_nl $2"
7201 wine_fn_ignore_file ()
7203 case "$1" in
7204 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7205 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7206 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7207 esac
7210 wine_fn_append_rule ()
7212 $as_echo "$1" >>$wine_rules_file
7215 wine_fn_has_flag ()
7217 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7220 wine_fn_depend_rules ()
7222 wine_fn_append_rule \
7223 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7224 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7225 depend: $ac_dir/depend
7226 .PHONY: $ac_dir/depend
7227 $ac_dir/depend: \$(MAKEDEP) dummy
7228 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7231 wine_fn_pot_rules ()
7233 test "x$with_gettextpo" = xyes || return
7235 if wine_fn_has_flag mc
7236 then
7237 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7238 wine_fn_append_rule \
7239 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7240 @cd $ac_dir && \$(MAKE) msg.pot
7241 $ac_dir/msg.pot: tools/wmc include"
7243 if wine_fn_has_flag po
7244 then
7245 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7246 wine_fn_append_rule \
7247 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7248 @cd $ac_dir && \$(MAKE) rsrc.pot
7249 $ac_dir/rsrc.pot: tools/wrc include"
7253 wine_fn_all_rules ()
7255 wine_fn_depend_rules
7256 wine_fn_append_rule \
7257 "all: $ac_dir
7258 .PHONY: $ac_dir
7259 $ac_dir: $ac_dir/Makefile dummy
7260 @cd $ac_dir && \$(MAKE)"
7263 wine_fn_install_rules ()
7265 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7267 wine_fn_append_rule \
7268 ".PHONY: $ac_dir/install $ac_dir/uninstall
7269 $ac_dir/install:: $ac_dir
7270 @cd $ac_dir && \$(MAKE) install
7271 $ac_dir/uninstall:: $ac_dir/Makefile
7272 @cd $ac_dir && \$(MAKE) uninstall
7273 install:: $ac_dir/install
7274 __uninstall__: $ac_dir/uninstall"
7276 if wine_fn_has_flag install-lib
7277 then
7278 wine_fn_append_rule \
7279 ".PHONY: $ac_dir/install-lib
7280 $ac_dir/install-lib:: $ac_dir
7281 @cd $ac_dir && \$(MAKE) install-lib
7282 install-lib:: $ac_dir/install-lib"
7285 if wine_fn_has_flag install-dev
7286 then
7287 wine_fn_append_rule \
7288 ".PHONY: $ac_dir/install-dev
7289 $ac_dir/install-dev:: $ac_dir
7290 @cd $ac_dir && \$(MAKE) install-dev
7291 install-dev:: $ac_dir/install-dev"
7295 wine_fn_clean_rules ()
7297 ac_clean=$@
7298 ac_extraclean="$ac_dir/Makefile"
7299 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7300 case $ac_dir in
7301 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7302 esac
7304 if wine_fn_has_flag clean
7305 then
7306 wine_fn_append_rule \
7307 "__clean__: $ac_dir/clean
7308 .PHONY: $ac_dir/clean
7309 $ac_dir/clean: $ac_dir/Makefile
7310 @cd $ac_dir && \$(MAKE) clean
7311 \$(RM) $ac_extraclean"
7312 else
7313 wine_fn_append_rule \
7314 "__clean__: $ac_dir/clean
7315 .PHONY: $ac_dir/clean
7316 $ac_dir/clean: dummy
7317 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7321 wine_fn_disabled_rules ()
7323 ac_clean=$@
7324 ac_extraclean="$ac_dir/Makefile"
7325 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7327 wine_fn_append_rule \
7328 "__clean__: $ac_dir/clean
7329 .PHONY: $ac_dir/clean
7330 $ac_dir/clean: dummy
7331 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7334 wine_fn_config_makefile ()
7336 ac_dir=$1
7337 ac_enable=$2
7338 ac_flags=$3
7340 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7341 wine_fn_disabled_rules; return
7343 wine_fn_all_rules
7344 wine_fn_install_rules
7345 wine_fn_clean_rules
7348 wine_fn_config_lib ()
7350 ac_name=$1
7351 ac_flags=$2
7352 ac_dir=dlls/$ac_name
7353 ac_deps="include"
7355 if test "x$enable_tools" = xno; then :
7357 else
7358 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7360 wine_fn_all_rules
7361 wine_fn_clean_rules
7363 wine_fn_append_rule \
7364 ".PHONY: $ac_dir/install $ac_dir/uninstall
7365 $ac_dir/install:: $ac_dir
7366 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7367 $ac_dir/uninstall::
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7369 install install-dev:: $ac_dir/install
7370 __uninstall__: $ac_dir/uninstall
7371 __builddeps__: $ac_dir
7372 $ac_dir: $ac_deps"
7375 wine_fn_config_dll ()
7377 ac_name=$1
7378 ac_dir=dlls/$ac_name
7379 ac_enable=$2
7380 ac_flags=$3
7381 ac_implib=${4:-$ac_name}
7382 ac_file=$ac_dir/lib$ac_implib
7383 ac_dll=$ac_name
7384 ac_deps="include"
7385 ac_implibflags=""
7387 if test "x$enable_tools" = xno; then :
7389 else
7390 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7392 case $ac_name in
7393 *16) ac_implibflags=" -m16" ;;
7394 *.*) ;;
7395 *) ac_dll=$ac_dll.dll ;;
7396 esac
7398 ac_clean=
7399 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7400 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7401 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7402 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7404 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7405 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7406 then
7407 wine_fn_depend_rules
7408 wine_fn_clean_rules $ac_clean
7409 else
7410 wine_fn_disabled_rules $ac_clean
7411 return
7413 else
7414 wine_fn_all_rules
7415 wine_fn_clean_rules $ac_clean
7416 wine_fn_append_rule \
7417 "$ac_dir: __builddeps__
7418 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7419 @cd $ac_dir && \$(MAKE) \$@
7420 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7421 install install-lib:: $ac_dir/install-lib
7422 __uninstall__: $ac_dir/uninstall"
7423 if test -n "$DLLEXT"
7424 then
7425 wine_fn_append_rule \
7426 "$ac_dir/install-lib:: $ac_dir
7427 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7428 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7429 $ac_dir/uninstall::
7430 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7431 else
7432 wine_fn_append_rule \
7433 "$ac_dir/install-lib:: $ac_dir
7434 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7435 $ac_dir/uninstall::
7436 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7439 wine_fn_pot_rules
7442 if wine_fn_has_flag staticimplib
7443 then
7444 wine_fn_append_rule \
7445 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7446 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7447 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7448 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7449 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7450 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7451 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7452 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7453 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7454 $ac_dir/uninstall::
7455 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7456 install install-dev:: $ac_dir/install-dev
7457 __uninstall__: $ac_dir/uninstall"
7459 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7460 then
7461 wine_fn_append_rule \
7462 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7463 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7468 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7469 then
7470 wine_fn_append_rule \
7471 "__builddeps__: $ac_file.cross.a
7472 $ac_file.cross.a: $ac_dir/Makefile dummy
7473 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7476 elif wine_fn_has_flag implib
7477 then
7478 wine_fn_append_rule \
7479 "__builddeps__: $ac_file.$IMPLIBEXT
7480 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7481 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7482 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7483 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7484 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7485 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7486 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7487 $ac_dir/uninstall::
7488 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7489 install install-dev:: $ac_dir/install-dev
7490 __uninstall__: $ac_dir/uninstall"
7491 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7492 then
7493 wine_fn_append_rule \
7494 "__builddeps__: $ac_file.cross.a
7495 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7496 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7499 if test "$ac_name" != "$ac_implib"
7500 then
7501 wine_fn_append_rule \
7502 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7503 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7504 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7505 clean::
7506 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7507 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7508 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7509 then
7510 wine_fn_append_rule \
7511 "__builddeps__: dlls/lib$ac_implib.cross.a
7512 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7513 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7514 clean::
7515 \$(RM) dlls/lib$ac_implib.cross.a"
7516 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7522 wine_fn_config_program ()
7524 ac_name=$1
7525 ac_dir=programs/$ac_name
7526 ac_enable=$2
7527 ac_flags=$3
7528 ac_program=$ac_name
7530 case $ac_name in
7531 *.*) ;;
7532 *) ac_program=$ac_program.exe ;;
7533 esac
7535 ac_clean=
7536 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7537 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7538 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7539 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7541 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7542 wine_fn_disabled_rules $ac_clean; return
7545 wine_fn_all_rules
7546 wine_fn_clean_rules $ac_clean
7547 wine_fn_append_rule "$ac_dir: __builddeps__"
7548 wine_fn_pot_rules
7550 wine_fn_has_flag install || return
7551 wine_fn_append_rule \
7552 ".PHONY: $ac_dir/install $ac_dir/uninstall
7553 install install-lib:: $ac_dir/install
7554 __uninstall__: $ac_dir/uninstall"
7556 if test -n "$DLLEXT"
7557 then
7558 wine_fn_append_rule \
7559 "$ac_dir/install:: $ac_dir
7560 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7561 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7562 $ac_dir/uninstall::
7563 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7565 if test -z "$with_wine64" && wine_fn_has_flag installbin
7566 then
7567 wine_fn_append_rule \
7568 "$ac_dir/install:: __tooldeps__
7569 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7570 $ac_dir/uninstall::
7571 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7573 else
7574 wine_fn_append_rule \
7575 "$ac_dir/install:: $ac_dir
7576 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7577 $ac_dir/uninstall::
7578 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7581 if test -z "$with_wine64" && wine_fn_has_flag manpage
7582 then
7583 wine_fn_append_rule \
7584 "$ac_dir/install:: $ac_dir
7585 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7586 $ac_dir/uninstall::
7587 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7591 wine_fn_config_test ()
7593 ac_dir=$1
7594 ac_name=$2
7595 ac_flags=$3
7597 ac_clean=
7598 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7599 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7601 if test "x$enable_tests" = xno; then :
7602 wine_fn_disabled_rules $ac_clean; return
7605 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7606 wine_fn_all_rules
7607 wine_fn_clean_rules $ac_clean
7609 wine_fn_append_rule \
7610 "$ac_dir: programs/winetest/Makefile __builddeps__
7611 programs/winetest: $ac_dir
7612 check test: $ac_dir/test
7613 .PHONY: $ac_dir/test
7614 $ac_dir/test: dummy
7615 @cd $ac_dir && \$(MAKE) test
7616 testclean::
7617 \$(RM) $ac_dir/*.ok"
7619 if test -n "$CROSSTARGET"
7620 then
7621 wine_fn_append_rule \
7622 "crosstest: $ac_dir/crosstest
7623 .PHONY: $ac_dir/crosstest
7624 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7625 @cd $ac_dir && \$(MAKE) crosstest"
7629 wine_fn_config_tool ()
7631 ac_dir=$1
7632 ac_flags=$2
7633 if test "x$enable_tools" = xno; then :
7634 return
7637 wine_fn_all_rules
7638 wine_fn_install_rules
7639 wine_fn_clean_rules
7641 wine_fn_append_rule "__tooldeps__: $ac_dir"
7642 wine_fn_append_rule "$ac_dir: libs/port"
7643 case $ac_dir in
7644 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7645 esac
7648 wine_fn_config_symlink ()
7650 ac_linkdir=
7651 if test "x$1" = "x-d"
7652 then
7653 ac_linkdir=$2
7654 shift; shift
7656 ac_links=$@
7657 wine_fn_append_rule \
7658 "$ac_links:
7659 @./config.status \$@
7660 distclean::
7661 \$(RM) $ac_links"
7662 for f in $ac_links; do wine_fn_ignore_file $f; done
7663 test -n "$ac_linkdir" || return
7664 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7667 wine_binary="wine"
7668 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7669 loader_programs="$wine_binary wine-installed"
7670 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7672 LOADER_RULES="
7673 all: wine.inf
7675 install install-lib:: wine-installed
7676 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7678 uninstall::
7679 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7683 case $host_os in
7684 cygwin*|mingw32*)
7685 if test -n "$ac_tool_prefix"; then
7686 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7687 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if ${ac_cv_prog_DLLTOOL+:} false; then :
7691 $as_echo_n "(cached) " >&6
7692 else
7693 if test -n "$DLLTOOL"; then
7694 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7695 else
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 for as_dir in $PATH
7699 IFS=$as_save_IFS
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7705 break 2
7707 done
7708 done
7709 IFS=$as_save_IFS
7713 DLLTOOL=$ac_cv_prog_DLLTOOL
7714 if test -n "$DLLTOOL"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7716 $as_echo "$DLLTOOL" >&6; }
7717 else
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7724 if test -z "$ac_cv_prog_DLLTOOL"; then
7725 ac_ct_DLLTOOL=$DLLTOOL
7726 # Extract the first word of "dlltool", so it can be a program name with args.
7727 set dummy dlltool; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 $as_echo_n "checking for $ac_word... " >&6; }
7730 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7731 $as_echo_n "(cached) " >&6
7732 else
7733 if test -n "$ac_ct_DLLTOOL"; then
7734 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7735 else
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 for as_dir in $PATH
7739 IFS=$as_save_IFS
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7745 break 2
7747 done
7748 done
7749 IFS=$as_save_IFS
7753 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7754 if test -n "$ac_ct_DLLTOOL"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7756 $as_echo "$ac_ct_DLLTOOL" >&6; }
7757 else
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7762 if test "x$ac_ct_DLLTOOL" = x; then
7763 DLLTOOL="false"
7764 else
7765 case $cross_compiling:$ac_tool_warned in
7766 yes:)
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7769 ac_tool_warned=yes ;;
7770 esac
7771 DLLTOOL=$ac_ct_DLLTOOL
7773 else
7774 DLLTOOL="$ac_cv_prog_DLLTOOL"
7777 LIBEXT="dll"
7778 DLLEXT=""
7779 IMPLIBEXT="a"
7780 STATIC_IMPLIBEXT="a"
7781 enable_iphlpapi=${enable_iphlpapi:-no}
7782 enable_kernel32=${enable_kernel32:-no}
7783 enable_msvcrt=${enable_msvcrt:-no}
7784 enable_ntdll=${enable_ntdll:-no}
7785 enable_ws2_32=${enable_ws2_32:-no}
7786 enable_loader=${enable_loader:-no}
7787 enable_server=${enable_server:-no}
7788 with_x=${with_x:-no}
7789 with_pthread=${with_pthread:-no}
7791 crtlibs=""
7792 case $host_os in
7793 mingw32*)
7794 crtlibs="-lmsvcrt"
7795 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7797 esac
7799 libwine_targets="libwine.dll libwine.a"
7800 LIBWINE_RULES="
7801 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7803 all: libwine.dll libwine.a
7805 libwine.a: \$(srcdir)/wine.def
7806 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7808 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7809 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7811 install install-lib:: libwine.dll
7812 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7814 install install-dev:: libwine.a
7815 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7817 uninstall::
7818 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7823 darwin*|macosx*)
7824 LIBEXT="dylib"
7825 DLLFLAGS="$DLLFLAGS -fPIC"
7826 LIBWINE_LDFLAGS="-multiply_defined suppress"
7827 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7828 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7829 COREFOUNDATION_LIBS="-framework CoreFoundation"
7831 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7833 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7835 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7837 CORESERVICES_LIBS="-framework CoreServices"
7839 APPKIT_LIBS="-framework AppKit"
7841 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7843 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7844 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 ac_wine_try_cflags_saved=$CFLAGS
7848 CFLAGS="$CFLAGS -Wl,-no_pie"
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 int main(int argc, char **argv) { return 0; }
7852 _ACEOF
7853 if ac_fn_c_try_link "$LINENO"; then :
7854 ac_cv_cflags__Wl__no_pie=yes
7855 else
7856 ac_cv_cflags__Wl__no_pie=no
7858 rm -f core conftest.err conftest.$ac_objext \
7859 conftest$ac_exeext conftest.$ac_ext
7860 CFLAGS=$ac_wine_try_cflags_saved
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7863 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7864 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7865 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7867 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7868 then
7869 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7872 if test "$ac_cv_header_Security_Security_h" = "yes"
7873 then
7874 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7876 ac_save_LIBS="$LIBS"
7877 LIBS="$LIBS $SECURITY_LIBS"
7878 for ac_func in SSLCopyPeerCertificates
7879 do :
7880 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7881 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7882 cat >>confdefs.h <<_ACEOF
7883 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7884 _ACEOF
7887 done
7889 LIBS="$ac_save_LIBS"
7890 with_gnutls=${with_gnutls:-no}
7892 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7893 then
7894 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7895 then
7896 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7898 else
7899 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7902 ac_save_LIBS="$LIBS"
7903 LIBS="$LIBS $COREAUDIO_LIBS"
7904 for ac_func in AUGraphAddNode
7905 do :
7906 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7907 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define HAVE_AUGRAPHADDNODE 1
7910 _ACEOF
7913 done
7915 LIBS="$ac_save_LIBS"
7917 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7918 then
7919 OPENAL_LIBS="-framework OpenAL"
7922 cat >>confdefs.h <<_ACEOF
7923 #define HAVE_OPENAL 1
7924 _ACEOF
7926 ac_cv_lib_openal=yes
7928 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7929 then
7930 OPENCL_LIBS="-framework OpenCL"
7932 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7934 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7935 then
7936 ac_save_LIBS="$LIBS"
7937 LIBS="$LIBS $IOKIT_LIBS"
7938 for ac_func in IOHIDManagerCreate
7939 do :
7940 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7941 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7942 cat >>confdefs.h <<_ACEOF
7943 #define HAVE_IOHIDMANAGERCREATE 1
7944 _ACEOF
7947 done
7949 LIBS="$ac_save_LIBS"
7951 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7952 then
7953 ac_save_LIBS="$LIBS"
7954 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7956 $as_echo_n "checking for the QuickTime framework... " >&6; }
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <QuickTime/ImageCompression.h>
7961 main ()
7963 CodecManagerVersion(NULL);
7965 return 0;
7967 _ACEOF
7968 if ac_fn_c_try_link "$LINENO"; then :
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7970 $as_echo "yes" >&6; }
7971 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7973 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7974 else
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7976 $as_echo "no" >&6; }
7977 ac_cv_header_QuickTime_ImageCompression_h=no
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7981 LIBS="$ac_save_LIBS"
7983 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7984 then
7985 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7987 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7988 then
7989 CARBON_LIBS="-framework Carbon"
7993 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7994 then
7995 ac_save_LIBS="$LIBS"
7996 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7997 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7998 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7999 enable_winemac_drv=${enable_winemac_drv:-yes}
8002 LIBS="$ac_save_LIBS"
8005 if test "x$enable_win16" = "xyes"
8006 then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8008 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8009 if test "$cross_compiling" = yes; then :
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8011 $as_echo "cross-compiling, assuming yes" >&6; }
8012 else
8013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8015 asm(".text\n"
8016 "bad:\tnop;nop\n"
8017 "good:\tnop;nop\n\t"
8018 ".globl _testfunc\n"
8019 "_testfunc:\tcallw good");
8020 extern void testfunc();
8022 main ()
8024 unsigned short *p = (unsigned short *)testfunc;
8025 return p[0] != 0xe866 || p[1] != 0xfffa
8027 return 0;
8029 _ACEOF
8030 if ac_fn_c_try_run "$LINENO"; then :
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8032 $as_echo "yes" >&6; }
8033 else
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8036 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
8038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8039 conftest.$ac_objext conftest.beam conftest.$ac_ext
8044 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8045 LIBWINE_RULES="
8046 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8048 all: libwine.dylib
8050 libwine.$libwine_version.dylib: \$(OBJS)
8051 \$(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 \$@
8053 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8054 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8056 libwine.dylib: libwine.$libwine_soversion.dylib
8057 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8059 install install-lib:: libwine.$libwine_version.dylib
8060 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8061 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8063 install install-dev::
8064 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8066 uninstall::
8067 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8071 as_fn_append LOADER_RULES "
8072 $wine_binary: main.o wine_info.plist
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o wine_info.plist
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8080 linux-android*)
8081 DLLFLAGS="$DLLFLAGS -fPIC"
8082 DLLPREFIX="lib"
8083 LDEXECFLAGS=""
8084 dlldir="\${libdir}"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8086 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8087 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8088 $as_echo_n "(cached) " >&6
8089 else
8090 ac_wine_try_cflags_saved=$CFLAGS
8091 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 int main(int argc, char **argv) { return 0; }
8095 _ACEOF
8096 if ac_fn_c_try_link "$LINENO"; then :
8097 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8098 else
8099 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8101 rm -f core conftest.err conftest.$ac_objext \
8102 conftest$ac_exeext conftest.$ac_ext
8103 CFLAGS=$ac_wine_try_cflags_saved
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8106 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8107 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8108 LDEXECFLAGS="-Wl,--export-dynamic"
8110 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8112 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8113 if eval \${$as_ac_var+:} false; then :
8114 $as_echo_n "(cached) " >&6
8115 else
8116 ac_wine_try_cflags_saved=$CFLAGS
8117 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8120 int main(int argc, char **argv) { return 0; }
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 eval "$as_ac_var=yes"
8124 else
8125 eval "$as_ac_var=no"
8127 rm -f core conftest.err conftest.$ac_objext \
8128 conftest$ac_exeext conftest.$ac_ext
8129 CFLAGS=$ac_wine_try_cflags_saved
8131 eval ac_res=\$$as_ac_var
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8133 $as_echo "$ac_res" >&6; }
8134 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8135 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8136 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8137 else
8138 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8141 if eval \${$as_ac_var+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 eval "$as_ac_var=yes"
8152 else
8153 eval "$as_ac_var=no"
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 eval ac_res=\$$as_ac_var
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8161 $as_echo "$ac_res" >&6; }
8162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8163 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8164 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8169 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8170 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8171 $as_echo_n "(cached) " >&6
8172 else
8173 ac_wine_try_cflags_saved=$CFLAGS
8174 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8176 /* end confdefs.h. */
8177 int main(int argc, char **argv) { return 0; }
8178 _ACEOF
8179 if ac_fn_c_try_link "$LINENO"; then :
8180 ac_cv_cflags__Wl___enable_new_dtags=yes
8181 else
8182 ac_cv_cflags__Wl___enable_new_dtags=no
8184 rm -f core conftest.err conftest.$ac_objext \
8185 conftest$ac_exeext conftest.$ac_ext
8186 CFLAGS=$ac_wine_try_cflags_saved
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8189 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8190 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8191 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8194 case $host_cpu in
8195 *i[3456789]86* | x86_64)
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8197 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8198 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8201 ac_wine_try_cflags_saved=$CFLAGS
8202 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 int main(int argc, char **argv) { return 0; }
8206 _ACEOF
8207 if ac_fn_c_try_link "$LINENO"; then :
8208 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8209 else
8210 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8212 rm -f core conftest.err conftest.$ac_objext \
8213 conftest$ac_exeext conftest.$ac_ext
8214 CFLAGS=$ac_wine_try_cflags_saved
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8217 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8218 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8219 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8222 esac
8224 libwine_targets="libwine.so"
8225 LIBWINE_RULES="
8226 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8228 all: libwine.so
8230 libwine.so: \$(OBJS)
8231 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8233 install install-lib:: libwine.so
8234 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8236 uninstall::
8237 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8241 as_fn_append LOADER_RULES "
8242 $wine_binary: main.o
8243 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8245 wine-installed: main.o
8246 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8251 DLLFLAGS="$DLLFLAGS -fPIC"
8252 LDEXECFLAGS=""
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8254 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8255 if ${ac_cv_c_dll_gnuelf+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 void myfunc() {}
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 ac_cv_c_dll_gnuelf="yes"
8266 else
8267 ac_cv_c_dll_gnuelf="no"
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8274 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8275 if test "$ac_cv_c_dll_gnuelf" = "yes"
8276 then
8277 LDSHARED="\$(CC) -shared"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8280 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8291 else
8292 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8299 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8300 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8301 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8302 else
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8305 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8316 else
8317 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8324 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8325 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8326 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8330 echo '{ global: *; };' >conftest.map
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8332 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8333 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_wine_try_cflags_saved=$CFLAGS
8337 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8341 _ACEOF
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8344 else
8345 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 CFLAGS=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8352 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8353 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8354 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8356 rm -f conftest.map
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8359 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8360 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8361 $as_echo_n "(cached) " >&6
8362 else
8363 ac_wine_try_cflags_saved=$CFLAGS
8364 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 int main(int argc, char **argv) { return 0; }
8368 _ACEOF
8369 if ac_fn_c_try_link "$LINENO"; then :
8370 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8371 else
8372 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8374 rm -f core conftest.err conftest.$ac_objext \
8375 conftest$ac_exeext conftest.$ac_ext
8376 CFLAGS=$ac_wine_try_cflags_saved
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8379 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8380 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8381 LDEXECFLAGS="-Wl,--export-dynamic"
8384 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8386 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8387 if eval \${$as_ac_var+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 ac_wine_try_cflags_saved=$CFLAGS
8391 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393 /* end confdefs.h. */
8394 int main(int argc, char **argv) { return 0; }
8395 _ACEOF
8396 if ac_fn_c_try_link "$LINENO"; then :
8397 eval "$as_ac_var=yes"
8398 else
8399 eval "$as_ac_var=no"
8401 rm -f core conftest.err conftest.$ac_objext \
8402 conftest$ac_exeext conftest.$ac_ext
8403 CFLAGS=$ac_wine_try_cflags_saved
8405 eval ac_res=\$$as_ac_var
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8407 $as_echo "$ac_res" >&6; }
8408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8409 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8410 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8411 else
8412 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8415 if eval \${$as_ac_var+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 eval "$as_ac_var=yes"
8426 else
8427 eval "$as_ac_var=no"
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 eval ac_res=\$$as_ac_var
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8435 $as_echo "$ac_res" >&6; }
8436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8437 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8438 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8443 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8444 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__Wl___enable_new_dtags=yes
8455 else
8456 ac_cv_cflags__Wl___enable_new_dtags=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8463 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8464 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8465 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8468 case $host_cpu in
8469 *i[3456789]86* | x86_64)
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8471 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8472 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8483 else
8484 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8491 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8492 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8493 case $host_os in
8494 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8495 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8496 esac
8499 # Extract the first word of "prelink", so it can be a program name with args.
8500 set dummy prelink; ac_word=$2
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8502 $as_echo_n "checking for $ac_word... " >&6; }
8503 if ${ac_cv_path_PRELINK+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 case $PRELINK in
8507 [\\/]* | ?:[\\/]*)
8508 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 for as_dir in /sbin /usr/sbin $PATH
8514 IFS=$as_save_IFS
8515 test -z "$as_dir" && as_dir=.
8516 for ac_exec_ext in '' $ac_executable_extensions; do
8517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8518 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8520 break 2
8522 done
8523 done
8524 IFS=$as_save_IFS
8526 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8528 esac
8530 PRELINK=$ac_cv_path_PRELINK
8531 if test -n "$PRELINK"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8533 $as_echo "$PRELINK" >&6; }
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8540 if test "x$PRELINK" = xfalse
8541 then
8542 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8545 esac
8547 else
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8549 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8550 if ${ac_cv_c_dll_unixware+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 void myfunc() {}
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 ac_cv_c_dll_unixware="yes"
8561 else
8562 ac_cv_c_dll_unixware="no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8569 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8570 if test "$ac_cv_c_dll_unixware" = "yes"
8571 then
8572 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8575 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8576 LIBWINE_RULES="
8577 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8579 all: libwine.so
8581 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8582 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8584 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8585 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8587 libwine.so: libwine.so.$libwine_soversion
8588 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8590 install install-lib:: libwine.so.$libwine_version
8591 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8592 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8594 install install-dev::
8595 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8597 uninstall::
8598 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8602 as_fn_append LOADER_RULES "
8603 $wine_binary: main.o
8604 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8606 wine-installed: main.o
8607 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8610 esac
8612 as_fn_append LIBWINE_RULES "
8613 EXTRA_TARGETS = $libwine_targets
8616 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8617 enable_winemac_drv=${enable_winemac_drv:-no}
8619 CROSSTARGET=""
8621 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8622 then
8623 case "$host_cpu" in
8624 i[3456789]86*)
8625 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
8626 mingw32-gcc" ;;
8627 x86_64)
8628 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 " ;;
8630 ac_prefix_list="" ;;
8631 esac
8632 for ac_prog in $ac_prefix_list
8634 # Extract the first word of "$ac_prog", so it can be a program name with args.
8635 set dummy $ac_prog; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637 $as_echo_n "checking for $ac_word... " >&6; }
8638 if ${ac_cv_prog_CROSSCC+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 if test -n "$CROSSCC"; then
8642 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8643 else
8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8645 for as_dir in $PATH
8647 IFS=$as_save_IFS
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8651 ac_cv_prog_CROSSCC="$ac_prog"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8653 break 2
8655 done
8656 done
8657 IFS=$as_save_IFS
8661 CROSSCC=$ac_cv_prog_CROSSCC
8662 if test -n "$CROSSCC"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8664 $as_echo "$CROSSCC" >&6; }
8665 else
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8667 $as_echo "no" >&6; }
8671 test -n "$CROSSCC" && break
8672 done
8673 test -n "$CROSSCC" || CROSSCC="false"
8675 if test "$CROSSCC" != "false"
8676 then
8677 ac_save_CC="$CC"
8678 CC="$CROSSCC"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8680 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8685 main ()
8689 return 0;
8691 _ACEOF
8692 if ac_fn_c_try_compile "$LINENO"; then :
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8694 $as_echo "yes" >&6; }
8695 set x $CROSSCC
8696 shift
8697 while test $# -ge 1
8699 case "$1" in
8700 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8701 esac
8702 shift
8703 done
8704 else
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8709 CC="$ac_save_CC"
8714 if test "$ac_cv_header_pthread_h" = "yes"
8715 then
8716 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8717 if test "x$ac_cv_func_pthread_create" = xyes; then :
8719 else
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8721 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8722 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_check_lib_save_LIBS=$LIBS
8726 LIBS="-lpthread $LIBS"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8730 /* Override any GCC internal prototype to avoid an error.
8731 Use char because int might match the return type of a GCC
8732 builtin and then its argument prototype would still apply. */
8733 #ifdef __cplusplus
8734 extern "C"
8735 #endif
8736 char pthread_create ();
8738 main ()
8740 return pthread_create ();
8742 return 0;
8744 _ACEOF
8745 if ac_fn_c_try_link "$LINENO"; then :
8746 ac_cv_lib_pthread_pthread_create=yes
8747 else
8748 ac_cv_lib_pthread_pthread_create=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 LIBS=$ac_check_lib_save_LIBS
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8755 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8756 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8757 PTHREAD_LIBS="-lpthread"
8764 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8765 case "x$with_pthread" in
8766 xno) ;;
8767 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8768 Wine cannot support threads without libpthread.
8769 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8770 esac
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8775 $as_echo_n "checking for X... " >&6; }
8778 # Check whether --with-x was given.
8779 if test "${with_x+set}" = set; then :
8780 withval=$with_x;
8783 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8784 if test "x$with_x" = xno; then
8785 # The user explicitly disabled X.
8786 have_x=disabled
8787 else
8788 case $x_includes,$x_libraries in #(
8789 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8790 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 # One or both of the vars are not set, and there is no cached value.
8794 ac_x_includes=no ac_x_libraries=no
8795 rm -f -r conftest.dir
8796 if mkdir conftest.dir; then
8797 cd conftest.dir
8798 cat >Imakefile <<'_ACEOF'
8799 incroot:
8800 @echo incroot='${INCROOT}'
8801 usrlibdir:
8802 @echo usrlibdir='${USRLIBDIR}'
8803 libdir:
8804 @echo libdir='${LIBDIR}'
8805 _ACEOF
8806 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8807 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8808 for ac_var in incroot usrlibdir libdir; do
8809 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8810 done
8811 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8812 for ac_extension in a so sl dylib la dll; do
8813 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8814 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8815 ac_im_usrlibdir=$ac_im_libdir; break
8817 done
8818 # Screen out bogus values from the imake configuration. They are
8819 # bogus both because they are the default anyway, and because
8820 # using them would break gcc on systems where it needs fixed includes.
8821 case $ac_im_incroot in
8822 /usr/include) ac_x_includes= ;;
8823 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8824 esac
8825 case $ac_im_usrlibdir in
8826 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8827 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8828 esac
8830 cd ..
8831 rm -f -r conftest.dir
8834 # Standard set of common directories for X headers.
8835 # Check X11 before X11Rn because it is often a symlink to the current release.
8836 ac_x_header_dirs='
8837 /usr/X11/include
8838 /usr/X11R7/include
8839 /usr/X11R6/include
8840 /usr/X11R5/include
8841 /usr/X11R4/include
8843 /usr/include/X11
8844 /usr/include/X11R7
8845 /usr/include/X11R6
8846 /usr/include/X11R5
8847 /usr/include/X11R4
8849 /usr/local/X11/include
8850 /usr/local/X11R7/include
8851 /usr/local/X11R6/include
8852 /usr/local/X11R5/include
8853 /usr/local/X11R4/include
8855 /usr/local/include/X11
8856 /usr/local/include/X11R7
8857 /usr/local/include/X11R6
8858 /usr/local/include/X11R5
8859 /usr/local/include/X11R4
8861 /usr/X386/include
8862 /usr/x386/include
8863 /usr/XFree86/include/X11
8865 /usr/include
8866 /usr/local/include
8867 /usr/unsupported/include
8868 /usr/athena/include
8869 /usr/local/x11r5/include
8870 /usr/lpp/Xamples/include
8872 /usr/openwin/include
8873 /usr/openwin/share/include'
8875 if test "$ac_x_includes" = no; then
8876 # Guess where to find include files, by looking for Xlib.h.
8877 # First, try using that file with no special directory specified.
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8880 #include <X11/Xlib.h>
8881 _ACEOF
8882 if ac_fn_c_try_cpp "$LINENO"; then :
8883 # We can compile using X headers with no special include directory.
8884 ac_x_includes=
8885 else
8886 for ac_dir in $ac_x_header_dirs; do
8887 if test -r "$ac_dir/X11/Xlib.h"; then
8888 ac_x_includes=$ac_dir
8889 break
8891 done
8893 rm -f conftest.err conftest.i conftest.$ac_ext
8894 fi # $ac_x_includes = no
8896 if test "$ac_x_libraries" = no; then
8897 # Check for the libraries.
8898 # See if we find them without any special options.
8899 # Don't add to $LIBS permanently.
8900 ac_save_LIBS=$LIBS
8901 LIBS="-lX11 $LIBS"
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 #include <X11/Xlib.h>
8906 main ()
8908 XrmInitialize ()
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 LIBS=$ac_save_LIBS
8915 # We can link X programs with no special library path.
8916 ac_x_libraries=
8917 else
8918 LIBS=$ac_save_LIBS
8919 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8921 # Don't even attempt the hair of trying to link an X program!
8922 for ac_extension in a so sl dylib la dll; do
8923 if test -r "$ac_dir/libX11.$ac_extension"; then
8924 ac_x_libraries=$ac_dir
8925 break 2
8927 done
8928 done
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 fi # $ac_x_libraries = no
8934 case $ac_x_includes,$ac_x_libraries in #(
8935 no,* | *,no | *\'*)
8936 # Didn't find X, or a directory has "'" in its name.
8937 ac_cv_have_x="have_x=no";; #(
8939 # Record where we found X for the cache.
8940 ac_cv_have_x="have_x=yes\
8941 ac_x_includes='$ac_x_includes'\
8942 ac_x_libraries='$ac_x_libraries'"
8943 esac
8945 ;; #(
8946 *) have_x=yes;;
8947 esac
8948 eval "$ac_cv_have_x"
8949 fi # $with_x != no
8951 if test "$have_x" != yes; then
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8953 $as_echo "$have_x" >&6; }
8954 no_x=yes
8955 else
8956 # If each of the values was on the command line, it overrides each guess.
8957 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8958 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8959 # Update the cache value to reflect the command line values.
8960 ac_cv_have_x="have_x=yes\
8961 ac_x_includes='$x_includes'\
8962 ac_x_libraries='$x_libraries'"
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8964 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8967 if test "$no_x" = yes; then
8968 # Not all programs may use this symbol, but it does not hurt to define it.
8970 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8972 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8973 else
8974 if test -n "$x_includes"; then
8975 X_CFLAGS="$X_CFLAGS -I$x_includes"
8978 # It would also be nice to do this for all -L options, not just this one.
8979 if test -n "$x_libraries"; then
8980 X_LIBS="$X_LIBS -L$x_libraries"
8981 # For Solaris; some versions of Sun CC require a space after -R and
8982 # others require no space. Words are not sufficient . . . .
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8984 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8985 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8986 ac_xsave_c_werror_flag=$ac_c_werror_flag
8987 ac_c_werror_flag=yes
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8992 main ()
8996 return 0;
8998 _ACEOF
8999 if ac_fn_c_try_link "$LINENO"; then :
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9001 $as_echo "no" >&6; }
9002 X_LIBS="$X_LIBS -R$x_libraries"
9003 else
9004 LIBS="$ac_xsave_LIBS -R $x_libraries"
9005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9009 main ()
9013 return 0;
9015 _ACEOF
9016 if ac_fn_c_try_link "$LINENO"; then :
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9018 $as_echo "yes" >&6; }
9019 X_LIBS="$X_LIBS -R $x_libraries"
9020 else
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9022 $as_echo "neither works" >&6; }
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 ac_c_werror_flag=$ac_xsave_c_werror_flag
9030 LIBS=$ac_xsave_LIBS
9033 # Check for system-dependent libraries X programs must link with.
9034 # Do this before checking for the system-independent R6 libraries
9035 # (-lICE), since we may need -lsocket or whatever for X linking.
9037 if test "$ISC" = yes; then
9038 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9039 else
9040 # Martyn Johnson says this is needed for Ultrix, if the X
9041 # libraries were built with DECnet support. And Karl Berry says
9042 # the Alpha needs dnet_stub (dnet does not exist).
9043 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9050 #ifdef __cplusplus
9051 extern "C"
9052 #endif
9053 char XOpenDisplay ();
9055 main ()
9057 return XOpenDisplay ();
9059 return 0;
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9064 else
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9066 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9067 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_check_lib_save_LIBS=$LIBS
9071 LIBS="-ldnet $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078 #ifdef __cplusplus
9079 extern "C"
9080 #endif
9081 char dnet_ntoa ();
9083 main ()
9085 return dnet_ntoa ();
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9091 ac_cv_lib_dnet_dnet_ntoa=yes
9092 else
9093 ac_cv_lib_dnet_dnet_ntoa=no
9095 rm -f core conftest.err conftest.$ac_objext \
9096 conftest$ac_exeext conftest.$ac_ext
9097 LIBS=$ac_check_lib_save_LIBS
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9100 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9101 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9102 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9105 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9107 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9108 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_check_lib_save_LIBS=$LIBS
9112 LIBS="-ldnet_stub $LIBS"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9119 #ifdef __cplusplus
9120 extern "C"
9121 #endif
9122 char dnet_ntoa ();
9124 main ()
9126 return dnet_ntoa ();
9128 return 0;
9130 _ACEOF
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9133 else
9134 ac_cv_lib_dnet_stub_dnet_ntoa=no
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9141 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9142 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 LIBS="$ac_xsave_LIBS"
9152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9153 # to get the SysV transport functions.
9154 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9155 # needs -lnsl.
9156 # The nsl library prevents programs from opening the X display
9157 # on Irix 5.2, according to T.E. Dickey.
9158 # The functions gethostbyname, getservbyname, and inet_addr are
9159 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9160 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9161 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9165 if test $ac_cv_func_gethostbyname = no; then
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9167 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9168 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_lib_save_LIBS=$LIBS
9172 LIBS="-lnsl $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char gethostbyname ();
9184 main ()
9186 return gethostbyname ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 ac_cv_lib_nsl_gethostbyname=yes
9193 else
9194 ac_cv_lib_nsl_gethostbyname=no
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 LIBS=$ac_check_lib_save_LIBS
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9201 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9202 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9206 if test $ac_cv_lib_nsl_gethostbyname = no; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9208 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9209 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_lib_save_LIBS=$LIBS
9213 LIBS="-lbsd $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char gethostbyname ();
9225 main ()
9227 return gethostbyname ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 ac_cv_lib_bsd_gethostbyname=yes
9234 else
9235 ac_cv_lib_bsd_gethostbyname=no
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9242 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9243 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9250 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9251 # socket/setsockopt and other routines are undefined under SCO ODT
9252 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9253 # on later versions), says Simon Leinen: it contains gethostby*
9254 # variants that don't use the name server (or something). -lsocket
9255 # must be given before -lnsl if both are needed. We assume that
9256 # if connect needs -lnsl, so does gethostbyname.
9257 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9258 if test "x$ac_cv_func_connect" = xyes; then :
9262 if test $ac_cv_func_connect = no; then
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9264 $as_echo_n "checking for connect in -lsocket... " >&6; }
9265 if ${ac_cv_lib_socket_connect+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_check_lib_save_LIBS=$LIBS
9269 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char connect ();
9281 main ()
9283 return connect ();
9285 return 0;
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 ac_cv_lib_socket_connect=yes
9290 else
9291 ac_cv_lib_socket_connect=no
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 LIBS=$ac_check_lib_save_LIBS
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9298 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9299 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9300 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9305 # Guillermo Gomez says -lposix is necessary on A/UX.
9306 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9307 if test "x$ac_cv_func_remove" = xyes; then :
9311 if test $ac_cv_func_remove = no; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9313 $as_echo_n "checking for remove in -lposix... " >&6; }
9314 if ${ac_cv_lib_posix_remove+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_check_lib_save_LIBS=$LIBS
9318 LIBS="-lposix $LIBS"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9325 #ifdef __cplusplus
9326 extern "C"
9327 #endif
9328 char remove ();
9330 main ()
9332 return remove ();
9334 return 0;
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_lib_posix_remove=yes
9339 else
9340 ac_cv_lib_posix_remove=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 LIBS=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9347 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9348 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9349 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9354 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9355 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9356 if test "x$ac_cv_func_shmat" = xyes; then :
9360 if test $ac_cv_func_shmat = no; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9362 $as_echo_n "checking for shmat in -lipc... " >&6; }
9363 if ${ac_cv_lib_ipc_shmat+:} false; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 ac_check_lib_save_LIBS=$LIBS
9367 LIBS="-lipc $LIBS"
9368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9374 #ifdef __cplusplus
9375 extern "C"
9376 #endif
9377 char shmat ();
9379 main ()
9381 return shmat ();
9383 return 0;
9385 _ACEOF
9386 if ac_fn_c_try_link "$LINENO"; then :
9387 ac_cv_lib_ipc_shmat=yes
9388 else
9389 ac_cv_lib_ipc_shmat=no
9391 rm -f core conftest.err conftest.$ac_objext \
9392 conftest$ac_exeext conftest.$ac_ext
9393 LIBS=$ac_check_lib_save_LIBS
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9396 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9397 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9398 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9404 # Check for libraries that X11R6 Xt/Xaw programs need.
9405 ac_save_LDFLAGS=$LDFLAGS
9406 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9407 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9408 # check for ICE first), but we must link in the order -lSM -lICE or
9409 # we get undefined symbols. So assume we have SM if we have ICE.
9410 # These have to be linked with before -lX11, unlike the other
9411 # libraries we check for below, so use a different variable.
9412 # John Interrante, Karl Berry
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9414 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9415 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char IceConnectionNumber ();
9431 main ()
9433 return IceConnectionNumber ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_ICE_IceConnectionNumber=yes
9440 else
9441 ac_cv_lib_ICE_IceConnectionNumber=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9448 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9449 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9450 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9453 LDFLAGS=$ac_save_LDFLAGS
9458 if test "$have_x" = "yes"
9459 then
9460 ac_save_CPPFLAGS="$CPPFLAGS"
9461 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9464 $as_echo_n "checking for -lX11... " >&6; }
9465 if ${ac_cv_lib_soname_X11+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_soname_save_LIBS=$LIBS
9469 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char XCreateWindow ();
9481 main ()
9483 return XCreateWindow ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 case "$LIBEXT" in
9490 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9491 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'` ;;
9492 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9493 if ${ac_cv_lib_soname_X11:+false} :; then :
9494 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9495 fi ;;
9496 esac
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 LIBS=$ac_check_soname_save_LIBS
9502 if ${ac_cv_lib_soname_X11:+false} :; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9504 $as_echo "not found" >&6; }
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9508 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9510 cat >>confdefs.h <<_ACEOF
9511 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9512 _ACEOF
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9517 $as_echo_n "checking for -lXext... " >&6; }
9518 if ${ac_cv_lib_soname_Xext+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 ac_check_soname_save_LIBS=$LIBS
9522 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9529 #ifdef __cplusplus
9530 extern "C"
9531 #endif
9532 char XextCreateExtension ();
9534 main ()
9536 return XextCreateExtension ();
9538 return 0;
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 case "$LIBEXT" in
9543 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9544 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'` ;;
9545 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9546 if ${ac_cv_lib_soname_Xext:+false} :; then :
9547 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9548 fi ;;
9549 esac
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 LIBS=$ac_check_soname_save_LIBS
9555 if ${ac_cv_lib_soname_Xext:+false} :; then :
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9557 $as_echo "not found" >&6; }
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9561 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9563 cat >>confdefs.h <<_ACEOF
9564 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9565 _ACEOF
9567 X_LIBS="$X_LIBS -lXext"
9569 X_LIBS="$X_LIBS -lX11"
9571 for ac_header in X11/Xlib.h \
9572 X11/XKBlib.h \
9573 X11/Xutil.h \
9574 X11/Xcursor/Xcursor.h \
9575 X11/extensions/shape.h \
9576 X11/extensions/XInput.h \
9577 X11/extensions/XInput2.h \
9578 X11/extensions/XShm.h \
9579 X11/extensions/Xcomposite.h \
9580 X11/extensions/Xinerama.h \
9581 X11/extensions/Xrandr.h \
9582 X11/extensions/Xrender.h \
9583 X11/extensions/xf86vmode.h \
9584 X11/extensions/xf86vmproto.h
9585 do :
9586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9587 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9588 # include <X11/Xlib.h>
9589 #endif
9590 #ifdef HAVE_X11_XUTIL_H
9591 # include <X11/Xutil.h>
9592 #endif
9594 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9595 cat >>confdefs.h <<_ACEOF
9596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9597 _ACEOF
9601 done
9604 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9605 then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9607 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9608 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 ac_check_lib_save_LIBS=$LIBS
9612 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9619 #ifdef __cplusplus
9620 extern "C"
9621 #endif
9622 char XkbQueryExtension ();
9624 main ()
9626 return XkbQueryExtension ();
9628 return 0;
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 ac_cv_lib_X11_XkbQueryExtension=yes
9633 else
9634 ac_cv_lib_X11_XkbQueryExtension=no
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9641 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9642 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9644 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9650 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9651 then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9653 $as_echo_n "checking for -lXcursor... " >&6; }
9654 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9655 $as_echo_n "(cached) " >&6
9656 else
9657 ac_check_soname_save_LIBS=$LIBS
9658 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9660 /* end confdefs.h. */
9662 /* Override any GCC internal prototype to avoid an error.
9663 Use char because int might match the return type of a GCC
9664 builtin and then its argument prototype would still apply. */
9665 #ifdef __cplusplus
9666 extern "C"
9667 #endif
9668 char XcursorImageLoadCursor ();
9670 main ()
9672 return XcursorImageLoadCursor ();
9674 return 0;
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678 case "$LIBEXT" in
9679 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9680 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'` ;;
9681 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9682 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9683 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9684 fi ;;
9685 esac
9687 rm -f core conftest.err conftest.$ac_objext \
9688 conftest$ac_exeext conftest.$ac_ext
9689 LIBS=$ac_check_soname_save_LIBS
9691 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9693 $as_echo "not found" >&6; }
9695 else
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9697 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9699 cat >>confdefs.h <<_ACEOF
9700 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9701 _ACEOF
9706 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9707 case "x$with_xcursor" in
9708 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9709 xno) ;;
9710 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9711 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9712 esac
9715 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9716 then
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9718 $as_echo_n "checking for -lXi... " >&6; }
9719 if ${ac_cv_lib_soname_Xi+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_soname_save_LIBS=$LIBS
9723 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XOpenDevice ();
9735 main ()
9737 return XOpenDevice ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 case "$LIBEXT" in
9744 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xi:+false} :; then :
9748 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 fi ;;
9750 esac
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xi:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9760 else
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9762 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9764 cat >>confdefs.h <<_ACEOF
9765 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9766 _ACEOF
9771 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9772 case "x$with_xinput" in
9773 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9774 xno) ;;
9775 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9776 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9777 esac
9780 if test "x$ac_cv_lib_soname_Xi" != x
9781 then
9782 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9783 case "x$with_xinput2" in
9784 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9785 xno) ;;
9786 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9787 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9788 esac
9792 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9793 then
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9795 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9796 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 ac_check_lib_save_LIBS=$LIBS
9800 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XShmQueryExtension ();
9812 main ()
9814 return XShmQueryExtension ();
9816 return 0;
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_lib_Xext_XShmQueryExtension=yes
9821 else
9822 ac_cv_lib_Xext_XShmQueryExtension=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LIBS=$ac_check_lib_save_LIBS
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9829 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9830 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9832 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9837 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9838 case "x$with_xshm" in
9839 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9840 xno) ;;
9841 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9842 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9843 esac
9846 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9847 then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9849 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9850 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_check_lib_save_LIBS=$LIBS
9854 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9861 #ifdef __cplusplus
9862 extern "C"
9863 #endif
9864 char XShapeQueryExtension ();
9866 main ()
9868 return XShapeQueryExtension ();
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 ac_cv_lib_Xext_XShapeQueryExtension=yes
9875 else
9876 ac_cv_lib_Xext_XShapeQueryExtension=no
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9883 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9884 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9886 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9891 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9892 case "x$with_xshape" in
9893 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9894 xno) ;;
9895 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9896 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9897 esac
9900 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9901 then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9903 $as_echo_n "checking for -lXxf86vm... " >&6; }
9904 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9905 $as_echo_n "(cached) " >&6
9906 else
9907 ac_check_soname_save_LIBS=$LIBS
9908 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XF86VidModeQueryExtension ();
9920 main ()
9922 return XF86VidModeQueryExtension ();
9924 return 0;
9926 _ACEOF
9927 if ac_fn_c_try_link "$LINENO"; then :
9928 case "$LIBEXT" in
9929 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9930 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'` ;;
9931 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9932 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9933 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9934 fi ;;
9935 esac
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 LIBS=$ac_check_soname_save_LIBS
9941 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9943 $as_echo "not found" >&6; }
9945 else
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9947 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9949 cat >>confdefs.h <<_ACEOF
9950 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9951 _ACEOF
9956 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9957 case "x$with_xxf86vm" in
9958 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9959 xno) ;;
9960 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9961 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9962 esac
9965 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9966 then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9968 $as_echo_n "checking for -lXrender... " >&6; }
9969 if ${ac_cv_lib_soname_Xrender+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_check_soname_save_LIBS=$LIBS
9973 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9980 #ifdef __cplusplus
9981 extern "C"
9982 #endif
9983 char XRenderQueryExtension ();
9985 main ()
9987 return XRenderQueryExtension ();
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 case "$LIBEXT" in
9994 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9995 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'` ;;
9996 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9997 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9998 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9999 fi ;;
10000 esac
10002 rm -f core conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 LIBS=$ac_check_soname_save_LIBS
10006 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10008 $as_echo "not found" >&6; }
10010 else
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10012 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10014 cat >>confdefs.h <<_ACEOF
10015 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10016 _ACEOF
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10019 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10020 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_check_lib_save_LIBS=$LIBS
10024 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 char XRenderSetPictureTransform ();
10036 main ()
10038 return XRenderSetPictureTransform ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10045 else
10046 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_lib_save_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10053 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10054 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10056 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10061 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10062 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_check_lib_save_LIBS=$LIBS
10066 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 char XRenderCreateLinearGradient ();
10078 main ()
10080 return XRenderCreateLinearGradient ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10087 else
10088 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_lib_save_LIBS
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10095 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10096 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10098 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10105 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10106 case "x$with_xrender" in
10107 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10108 xno) ;;
10109 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10110 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10111 esac
10114 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10115 then
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10118 #include <X11/Xlib.h>
10119 #include <X11/extensions/Xrandr.h>
10121 main ()
10123 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_compile "$LINENO"; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10130 $as_echo_n "checking for -lXrandr... " >&6; }
10131 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_soname_save_LIBS=$LIBS
10135 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char XRRQueryExtension ();
10147 main ()
10149 return XRRQueryExtension ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 case "$LIBEXT" in
10156 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10157 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'` ;;
10158 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10159 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10160 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10161 fi ;;
10162 esac
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 LIBS=$ac_check_soname_save_LIBS
10168 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10170 $as_echo "not found" >&6; }
10172 else
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10174 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10176 cat >>confdefs.h <<_ACEOF
10177 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10178 _ACEOF
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182 #include <X11/Xlib.h>
10183 #include <X11/extensions/Xrandr.h>
10185 main ()
10187 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10189 return 0;
10191 _ACEOF
10192 if ac_fn_c_try_compile "$LINENO"; then :
10194 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10202 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10203 case "x$with_xrandr" in
10204 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10205 xno) ;;
10206 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10207 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10208 esac
10211 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10212 then
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 #include <X11/Xlib.h>
10216 #include <X11/extensions/Xinerama.h>
10218 main ()
10220 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_compile "$LINENO"; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10227 $as_echo_n "checking for -lXinerama... " >&6; }
10228 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_soname_save_LIBS=$LIBS
10232 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char XineramaQueryScreens ();
10244 main ()
10246 return XineramaQueryScreens ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 case "$LIBEXT" in
10253 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10254 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'` ;;
10255 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10256 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10257 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10258 fi ;;
10259 esac
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 LIBS=$ac_check_soname_save_LIBS
10265 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10267 $as_echo "not found" >&6; }
10269 else
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10271 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10273 cat >>confdefs.h <<_ACEOF
10274 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10275 _ACEOF
10280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10282 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10283 case "x$with_xinerama" in
10284 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10285 xno) ;;
10286 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10287 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10288 esac
10291 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10292 then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10294 $as_echo_n "checking for -lXcomposite... " >&6; }
10295 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10296 $as_echo_n "(cached) " >&6
10297 else
10298 ac_check_soname_save_LIBS=$LIBS
10299 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10303 /* Override any GCC internal prototype to avoid an error.
10304 Use char because int might match the return type of a GCC
10305 builtin and then its argument prototype would still apply. */
10306 #ifdef __cplusplus
10307 extern "C"
10308 #endif
10309 char XCompositeRedirectWindow ();
10311 main ()
10313 return XCompositeRedirectWindow ();
10315 return 0;
10317 _ACEOF
10318 if ac_fn_c_try_link "$LINENO"; then :
10319 case "$LIBEXT" in
10320 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10321 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'` ;;
10322 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10323 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10324 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10325 fi ;;
10326 esac
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_soname_save_LIBS
10332 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10334 $as_echo "not found" >&6; }
10336 else
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10338 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10340 cat >>confdefs.h <<_ACEOF
10341 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10342 _ACEOF
10347 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10348 case "x$with_xcomposite" in
10349 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10350 xno) ;;
10351 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10352 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10353 esac
10356 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10357 #include <X11/Xlib.h>
10358 #endif
10360 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10362 cat >>confdefs.h <<_ACEOF
10363 #define HAVE_XICCALLBACK_CALLBACK 1
10364 _ACEOF
10368 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10369 #include <X11/Xlib.h>
10370 #endif
10372 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10374 cat >>confdefs.h <<_ACEOF
10375 #define HAVE_XEVENT_XCOOKIE 1
10376 _ACEOF
10383 opengl_msg=""
10384 if test "x$with_opengl" != "xno"
10385 then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10387 $as_echo_n "checking for -lGL... " >&6; }
10388 if ${ac_cv_lib_soname_GL+:} false; then :
10389 $as_echo_n "(cached) " >&6
10390 else
10391 ac_check_soname_save_LIBS=$LIBS
10392 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 /* Override any GCC internal prototype to avoid an error.
10397 Use char because int might match the return type of a GCC
10398 builtin and then its argument prototype would still apply. */
10399 #ifdef __cplusplus
10400 extern "C"
10401 #endif
10402 char glXCreateContext ();
10404 main ()
10406 return glXCreateContext ();
10408 return 0;
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 case "$LIBEXT" in
10413 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10414 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'` ;;
10415 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10416 if ${ac_cv_lib_soname_GL:+false} :; then :
10417 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10418 fi ;;
10419 esac
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 LIBS=$ac_check_soname_save_LIBS
10425 if ${ac_cv_lib_soname_GL:+false} :; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10427 $as_echo "not found" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10429 $as_echo_n "checking for -lGL... " >&6; }
10430 if ${ac_cv_lib_soname_GL+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_check_soname_save_LIBS=$LIBS
10434 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"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10441 #ifdef __cplusplus
10442 extern "C"
10443 #endif
10444 char glXCreateContext ();
10446 main ()
10448 return glXCreateContext ();
10450 return 0;
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 case "$LIBEXT" in
10455 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10458 if ${ac_cv_lib_soname_GL:+false} :; then :
10459 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 fi ;;
10461 esac
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LIBS=$ac_check_soname_save_LIBS
10467 if ${ac_cv_lib_soname_GL:+false} :; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10469 $as_echo "not found" >&6; }
10470 if test -f /usr/X11R6/lib/libGL.a
10471 then
10472 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10473 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10474 else
10475 opengl_msg="No OpenGL library found on this system."
10477 else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10479 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10481 cat >>confdefs.h <<_ACEOF
10482 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10483 _ACEOF
10485 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"
10487 else
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10489 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10491 cat >>confdefs.h <<_ACEOF
10492 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10493 _ACEOF
10495 OPENGL_LIBS="-lGL"
10497 if test "x$with_glu" != "xno"
10498 then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10500 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10501 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10502 $as_echo_n "(cached) " >&6
10503 else
10504 ac_check_lib_save_LIBS=$LIBS
10505 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char gluLookAt ();
10517 main ()
10519 return gluLookAt ();
10521 return 0;
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_GLU_gluLookAt=yes
10526 else
10527 ac_cv_lib_GLU_gluLookAt=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10534 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10535 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10539 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10540 case "x$with_glu" in
10541 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10542 xno) ;;
10543 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10544 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10545 esac
10549 if test "x$with_osmesa" != "xno"
10550 then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10552 $as_echo_n "checking for -lOSMesa... " >&6; }
10553 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_check_soname_save_LIBS=$LIBS
10557 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10564 #ifdef __cplusplus
10565 extern "C"
10566 #endif
10567 char glAccum ();
10569 main ()
10571 return glAccum ();
10573 return 0;
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 case "$LIBEXT" in
10578 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10581 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10582 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10583 fi ;;
10584 esac
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_soname_save_LIBS
10590 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10592 $as_echo "not found" >&6; }
10594 else
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10596 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10598 cat >>confdefs.h <<_ACEOF
10599 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10600 _ACEOF
10604 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10605 case "x$with_osmesa" in
10606 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10607 xno) ;;
10608 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10609 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10610 esac
10614 if test -n "$opengl_msg"; then :
10615 case "x$with_opengl" in
10616 x) as_fn_append wine_warnings "|$opengl_msg
10617 OpenGL and Direct3D won't be supported." ;;
10618 xno) ;;
10619 *) as_fn_error $? "$opengl_msg
10620 OpenGL and Direct3D won't be supported.
10621 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10622 esac
10625 CPPFLAGS="$ac_save_CPPFLAGS"
10626 else
10627 X_CFLAGS=""
10628 X_LIBS=""
10629 enable_winex11_drv=${enable_winex11_drv:-no}
10631 if test "x$X_LIBS" = "x"; then :
10632 case "x$with_x" in
10633 xno) ;;
10634 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10635 without X support, which probably isn't what you want. You will need
10636 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10637 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10638 esac
10641 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10643 if test "$ac_cv_header_CL_cl_h" = "yes"
10644 then
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10646 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10647 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10648 $as_echo_n "(cached) " >&6
10649 else
10650 ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-lOpenCL $LIBS"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10658 #ifdef __cplusplus
10659 extern "C"
10660 #endif
10661 char clGetPlatformInfo ();
10663 main ()
10665 return clGetPlatformInfo ();
10667 return 0;
10669 _ACEOF
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10672 else
10673 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10680 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10681 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10682 OPENCL_LIBS="-lOpenCL"
10687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10688 case "x$with_opencl" in
10689 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10690 xno) ;;
10691 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10692 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10693 esac
10695 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10697 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10698 then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10700 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10701 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10702 $as_echo_n "(cached) " >&6
10703 else
10704 ac_check_lib_save_LIBS=$LIBS
10705 LIBS="-lpcap $LIBS"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10709 /* Override any GCC internal prototype to avoid an error.
10710 Use char because int might match the return type of a GCC
10711 builtin and then its argument prototype would still apply. */
10712 #ifdef __cplusplus
10713 extern "C"
10714 #endif
10715 char pcap_create ();
10717 main ()
10719 return pcap_create ();
10721 return 0;
10723 _ACEOF
10724 if ac_fn_c_try_link "$LINENO"; then :
10725 ac_cv_lib_pcap_pcap_create=yes
10726 else
10727 ac_cv_lib_pcap_pcap_create=no
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 LIBS=$ac_check_lib_save_LIBS
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10734 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10735 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10736 LIBPCAP="-lpcap"
10741 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10742 case "x$with_pcap" in
10743 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10744 xno) ;;
10745 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10746 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10747 esac
10749 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10752 if test "x$with_xml" != "xno"
10753 then
10754 if ${XML2_CFLAGS:+false} :; then :
10755 if ${PKG_CONFIG+:} false; then :
10756 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10759 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10760 if ${XML2_LIBS:+false} :; then :
10761 if ${PKG_CONFIG+:} false; then :
10762 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10765 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10766 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10767 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10768 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10769 ac_save_CPPFLAGS=$CPPFLAGS
10770 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10771 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10772 do :
10773 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10774 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10776 cat >>confdefs.h <<_ACEOF
10777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10778 _ACEOF
10782 done
10784 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"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10787 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char xmlParseMemory ();
10804 main ()
10806 return xmlParseMemory ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_xml2_xmlParseMemory=yes
10813 else
10814 ac_cv_lib_xml2_xmlParseMemory=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10824 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10826 else
10827 XML2_LIBS=""
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10831 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10832 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-lxml2 $XML2_LIBS $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char xmlReadMemory ();
10848 main ()
10850 return xmlReadMemory ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 ac_cv_lib_xml2_xmlReadMemory=yes
10857 else
10858 ac_cv_lib_xml2_xmlReadMemory=no
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10865 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10866 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10868 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10873 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10874 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_lib_save_LIBS=$LIBS
10878 LIBS="-lxml2 $XML2_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char xmlNewDocPI ();
10890 main ()
10892 return xmlNewDocPI ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 ac_cv_lib_xml2_xmlNewDocPI=yes
10899 else
10900 ac_cv_lib_xml2_xmlNewDocPI=no
10902 rm -f core conftest.err conftest.$ac_objext \
10903 conftest$ac_exeext conftest.$ac_ext
10904 LIBS=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10907 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10908 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10910 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10915 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10916 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lxml2 $XML2_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char xmlSchemaSetParserStructuredErrors ();
10932 main ()
10934 return xmlSchemaSetParserStructuredErrors ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10941 else
10942 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10949 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10950 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10952 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10957 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10958 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lxml2 $XML2_LIBS $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char xmlSchemaSetValidStructuredErrors ();
10974 main ()
10976 return xmlSchemaSetValidStructuredErrors ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10983 else
10984 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10991 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10992 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10994 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10999 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11000 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lxml2 $XML2_LIBS $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char xmlFirstElementChild ();
11016 main ()
11018 return xmlFirstElementChild ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_xml2_xmlFirstElementChild=yes
11025 else
11026 ac_cv_lib_xml2_xmlFirstElementChild=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11033 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11034 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11036 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11040 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11042 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11044 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11048 else
11049 XML2_CFLAGS=""
11050 XML2_LIBS=""
11052 CPPFLAGS=$ac_save_CPPFLAGS
11053 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11054 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11057 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11058 case "x$with_xml" in
11059 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11060 xno) ;;
11061 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11062 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11063 esac
11066 if test "x$with_xslt" != "xno"
11067 then
11068 if ${XSLT_CFLAGS:+false} :; then :
11069 if ${PKG_CONFIG+:} false; then :
11070 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11073 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11074 if ${XSLT_LIBS:+false} :; then :
11075 if ${PKG_CONFIG+:} false; then :
11076 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11079 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11080 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11081 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11082 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11083 ac_save_CPPFLAGS=$CPPFLAGS
11084 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11085 for ac_header in libxslt/pattern.h libxslt/transform.h
11086 do :
11087 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11088 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11089 # include <libxslt/pattern.h>
11090 #endif
11092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11093 cat >>confdefs.h <<_ACEOF
11094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11095 _ACEOF
11099 done
11101 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11102 then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11104 $as_echo_n "checking for -lxslt... " >&6; }
11105 if ${ac_cv_lib_soname_xslt+:} false; then :
11106 $as_echo_n "(cached) " >&6
11107 else
11108 ac_check_soname_save_LIBS=$LIBS
11109 LIBS="-lxslt $XSLT_LIBS $LIBS"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char xsltCompilePattern ();
11121 main ()
11123 return xsltCompilePattern ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 case "$LIBEXT" in
11130 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11131 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'` ;;
11132 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11133 if ${ac_cv_lib_soname_xslt:+false} :; then :
11134 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11135 fi ;;
11136 esac
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_soname_save_LIBS
11142 if ${ac_cv_lib_soname_xslt:+false} :; then :
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11144 $as_echo "not found" >&6; }
11146 else
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11148 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11150 cat >>confdefs.h <<_ACEOF
11151 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11152 _ACEOF
11156 else
11157 XSLT_CFLAGS=""
11159 CPPFLAGS=$ac_save_CPPFLAGS
11160 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11161 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11164 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11165 case "x$with_xslt" in
11166 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11167 xno) ;;
11168 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11169 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11170 esac
11173 if test "x$with_dbus" != "xno"
11174 then
11175 if ${DBUS_CFLAGS:+false} :; then :
11176 if ${PKG_CONFIG+:} false; then :
11177 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11181 if ${DBUS_LIBS:+false} :; then :
11182 if ${PKG_CONFIG+:} false; then :
11183 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11188 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11189 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11190 ac_save_CPPFLAGS=$CPPFLAGS
11191 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11192 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11193 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11195 $as_echo_n "checking for -ldbus-1... " >&6; }
11196 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_soname_save_LIBS=$LIBS
11200 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char dbus_connection_close ();
11212 main ()
11214 return dbus_connection_close ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 case "$LIBEXT" in
11221 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11222 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'` ;;
11223 *) 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'`
11224 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11225 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11226 fi ;;
11227 esac
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS=$ac_check_soname_save_LIBS
11233 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11235 $as_echo "not found" >&6; }
11236 DBUS_CFLAGS=""
11237 else
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11239 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11241 cat >>confdefs.h <<_ACEOF
11242 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11243 _ACEOF
11247 else
11248 DBUS_CFLAGS=""
11252 CPPFLAGS=$ac_save_CPPFLAGS
11253 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11254 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11257 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11258 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11259 case "x$with_dbus" in
11260 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11261 xno) ;;
11262 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11263 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11264 esac
11267 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11268 then
11269 if ${HAL_CFLAGS:+false} :; then :
11270 if ${PKG_CONFIG+:} false; then :
11271 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11275 if ${HAL_LIBS:+false} :; then :
11276 if ${PKG_CONFIG+:} false; then :
11277 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11281 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11282 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11283 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11284 ac_save_CPPFLAGS=$CPPFLAGS
11285 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11286 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11287 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11289 $as_echo_n "checking for -lhal... " >&6; }
11290 if ${ac_cv_lib_soname_hal+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_soname_save_LIBS=$LIBS
11294 LIBS="-lhal $HAL_LIBS $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char libhal_ctx_new ();
11306 main ()
11308 return libhal_ctx_new ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 case "$LIBEXT" in
11315 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if ${ac_cv_lib_soname_hal:+false} :; then :
11319 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11320 fi ;;
11321 esac
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_soname_save_LIBS
11327 if ${ac_cv_lib_soname_hal:+false} :; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11330 HAL_CFLAGS=""
11331 else
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11333 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11335 cat >>confdefs.h <<_ACEOF
11336 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11337 _ACEOF
11341 else
11342 HAL_CFLAGS=""
11346 CPPFLAGS=$ac_save_CPPFLAGS
11347 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11348 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11350 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11351 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11352 case "x$with_hal" in
11353 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11354 xno) ;;
11355 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11356 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11357 esac
11361 if test "x$with_gnutls" != "xno"
11362 then
11363 if ${GNUTLS_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11369 if ${GNUTLS_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false; then :
11371 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11376 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11378 ac_save_CPPFLAGS=$CPPFLAGS
11379 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11380 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11381 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11384 #include <gnutls/gnutls.h>
11385 #include <gnutls/crypto.h>
11387 main ()
11389 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11391 return 0;
11393 _ACEOF
11394 if ac_fn_c_try_compile "$LINENO"; then :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11396 $as_echo_n "checking for -lgnutls... " >&6; }
11397 if ${ac_cv_lib_soname_gnutls+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char gnutls_global_init ();
11413 main ()
11415 return gnutls_global_init ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) 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'`
11425 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11426 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'`
11427 fi ;;
11428 esac
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11437 GNUTLS_CFLAGS=""
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11440 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11444 _ACEOF
11449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11450 else
11451 GNUTLS_CFLAGS=""
11455 CPPFLAGS=$ac_save_CPPFLAGS
11456 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11457 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11460 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11461 case "x$with_gnutls" in
11462 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11463 xno) ;;
11464 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11465 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11466 esac
11469 CURSES_LIBS=""
11470 if test "$ac_cv_header_ncurses_h" = "yes"
11471 then
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11473 $as_echo_n "checking for -lncurses... " >&6; }
11474 if ${ac_cv_lib_soname_ncurses+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_soname_save_LIBS=$LIBS
11478 LIBS="-lncurses $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char waddch ();
11490 main ()
11492 return waddch ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 case "$LIBEXT" in
11499 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11500 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'` ;;
11501 *) 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'`
11502 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11503 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11504 fi ;;
11505 esac
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_soname_save_LIBS
11511 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11513 $as_echo "not found" >&6; }
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11517 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11519 cat >>confdefs.h <<_ACEOF
11520 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11521 _ACEOF
11523 CURSES_LIBS="-lncurses"
11525 elif test "$ac_cv_header_curses_h" = "yes"
11526 then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11528 $as_echo_n "checking for -lcurses... " >&6; }
11529 if ${ac_cv_lib_soname_curses+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lcurses $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char waddch ();
11545 main ()
11547 return waddch ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_curses:+false} :; then :
11558 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_curses:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11572 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11574 cat >>confdefs.h <<_ACEOF
11575 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11576 _ACEOF
11578 CURSES_LIBS="-lcurses"
11581 ac_save_LIBS="$LIBS"
11582 LIBS="$LIBS $CURSES_LIBS"
11583 for ac_func in mousemask
11584 do :
11585 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11586 if test "x$ac_cv_func_mousemask" = xyes; then :
11587 cat >>confdefs.h <<_ACEOF
11588 #define HAVE_MOUSEMASK 1
11589 _ACEOF
11592 done
11594 LIBS="$ac_save_LIBS"
11595 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11596 case "x$with_curses" in
11597 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11598 xno) ;;
11599 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11600 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11601 esac
11604 if test "x$with_sane" != "xno"
11605 then
11606 if ${SANE_CFLAGS:+false} :; then :
11607 if ${PKG_CONFIG+:} false; then :
11608 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11611 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11612 if ${SANE_LIBS:+false} :; then :
11613 if ${PKG_CONFIG+:} false; then :
11614 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11617 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11620 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11621 ac_save_CPPFLAGS=$CPPFLAGS
11622 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11623 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11624 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11626 $as_echo_n "checking for -lsane... " >&6; }
11627 if ${ac_cv_lib_soname_sane+:} false; then :
11628 $as_echo_n "(cached) " >&6
11629 else
11630 ac_check_soname_save_LIBS=$LIBS
11631 LIBS="-lsane $SANE_LIBS $LIBS"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11638 #ifdef __cplusplus
11639 extern "C"
11640 #endif
11641 char sane_init ();
11643 main ()
11645 return sane_init ();
11647 return 0;
11649 _ACEOF
11650 if ac_fn_c_try_link "$LINENO"; then :
11651 case "$LIBEXT" in
11652 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11653 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'` ;;
11654 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11655 if ${ac_cv_lib_soname_sane:+false} :; then :
11656 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11657 fi ;;
11658 esac
11660 rm -f core conftest.err conftest.$ac_objext \
11661 conftest$ac_exeext conftest.$ac_ext
11662 LIBS=$ac_check_soname_save_LIBS
11664 if ${ac_cv_lib_soname_sane:+false} :; then :
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11666 $as_echo "not found" >&6; }
11667 SANE_CFLAGS=""
11668 else
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11670 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11672 cat >>confdefs.h <<_ACEOF
11673 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11674 _ACEOF
11678 else
11679 SANE_CFLAGS=""
11683 CPPFLAGS=$ac_save_CPPFLAGS
11684 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11685 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11688 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11689 case "x$with_sane" in
11690 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11691 xno) ;;
11692 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11693 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11694 esac
11697 if test "x$with_v4l" != "xno"
11698 then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11700 $as_echo_n "checking for -lv4l1... " >&6; }
11701 if ${ac_cv_lib_soname_v4l1+:} false; then :
11702 $as_echo_n "(cached) " >&6
11703 else
11704 ac_check_soname_save_LIBS=$LIBS
11705 LIBS="-lv4l1 $LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11712 #ifdef __cplusplus
11713 extern "C"
11714 #endif
11715 char v4l1_open ();
11717 main ()
11719 return v4l1_open ();
11721 return 0;
11723 _ACEOF
11724 if ac_fn_c_try_link "$LINENO"; then :
11725 case "$LIBEXT" in
11726 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11730 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11731 fi ;;
11732 esac
11734 rm -f core conftest.err conftest.$ac_objext \
11735 conftest$ac_exeext conftest.$ac_ext
11736 LIBS=$ac_check_soname_save_LIBS
11738 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11744 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11746 cat >>confdefs.h <<_ACEOF
11747 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11748 _ACEOF
11753 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11754 case "x$with_v4l" in
11755 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11756 xno) ;;
11757 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11758 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11759 esac
11762 if test "x$with_gphoto" != "xno"
11763 then
11764 if ${GPHOTO2_CFLAGS:+false} :; then :
11765 if ${PKG_CONFIG+:} false; then :
11766 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11769 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11770 if ${GPHOTO2_LIBS:+false} :; then :
11771 if ${PKG_CONFIG+:} false; then :
11772 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11775 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11776 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11777 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11778 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11779 ac_save_CPPFLAGS=$CPPFLAGS
11780 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11781 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11782 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11784 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11785 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char gp_camera_new ();
11801 main ()
11803 return gp_camera_new ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 ac_cv_lib_gphoto2_gp_camera_new=yes
11810 else
11811 ac_cv_lib_gphoto2_gp_camera_new=no
11813 rm -f core conftest.err conftest.$ac_objext \
11814 conftest$ac_exeext conftest.$ac_ext
11815 LIBS=$ac_check_lib_save_LIBS
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11818 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11819 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11821 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11823 else
11824 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11827 else
11828 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11832 CPPFLAGS=$ac_save_CPPFLAGS
11833 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11834 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11836 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11837 if ${PKG_CONFIG+:} false; then :
11838 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11841 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11842 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11843 if ${PKG_CONFIG+:} false; then :
11844 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11847 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11848 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11849 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11850 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11851 ac_save_CPPFLAGS=$CPPFLAGS
11852 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11853 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11856 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11857 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11858 $as_echo_n "(cached) " >&6
11859 else
11860 ac_check_lib_save_LIBS=$LIBS
11861 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11865 /* Override any GCC internal prototype to avoid an error.
11866 Use char because int might match the return type of a GCC
11867 builtin and then its argument prototype would still apply. */
11868 #ifdef __cplusplus
11869 extern "C"
11870 #endif
11871 char gp_port_info_list_new ();
11873 main ()
11875 return gp_port_info_list_new ();
11877 return 0;
11879 _ACEOF
11880 if ac_fn_c_try_link "$LINENO"; then :
11881 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11882 else
11883 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11885 rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 LIBS=$ac_check_lib_save_LIBS
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11890 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11891 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11893 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11895 else
11896 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11899 else
11900 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11904 CPPFLAGS=$ac_save_CPPFLAGS
11905 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11906 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11909 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11910 case "x$with_gphoto" in
11911 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11912 xno) ;;
11913 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11914 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11915 esac
11917 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11918 case "x$with_gphoto" in
11919 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11920 xno) ;;
11921 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11922 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11923 esac
11927 if test "$ac_cv_header_resolv_h" = "yes"
11928 then
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11930 $as_echo_n "checking for resolver library... " >&6; }
11931 if ${ac_cv_have_resolv+:} false; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 ac_save_LIBS="$LIBS"
11935 for lib in '' -lresolv
11937 LIBS="$lib $ac_save_LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #ifdef HAVE_NETINET_IN_H
11941 #include <netinet/in.h>
11942 #endif
11943 #include <resolv.h>
11945 main ()
11947 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 ac_cv_have_resolv=${lib:-"none required"}
11954 else
11955 ac_cv_have_resolv="not found"
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 test "x$ac_cv_have_resolv" = "xnot found" || break
11960 done
11961 LIBS="$ac_save_LIBS"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11964 $as_echo "$ac_cv_have_resolv" >&6; }
11966 case "$ac_cv_have_resolv" in
11967 "not found") ;;
11968 "none required")
11970 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11975 RESOLV_LIBS=$ac_cv_have_resolv
11977 esac
11980 if test "x$with_cms" != "xno"
11981 then
11982 if ${LCMS2_CFLAGS:+false} :; then :
11983 if ${PKG_CONFIG+:} false; then :
11984 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11988 if ${LCMS2_LIBS:+false} :; then :
11989 if ${PKG_CONFIG+:} false; then :
11990 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11994 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11997 ac_save_CPPFLAGS=$CPPFLAGS
11998 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11999 for ac_header in lcms2.h
12000 do :
12001 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12002 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12003 cat >>confdefs.h <<_ACEOF
12004 #define HAVE_LCMS2_H 1
12005 _ACEOF
12009 done
12011 if test "$ac_cv_header_lcms2_h" = "yes"
12012 then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12014 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12015 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12016 $as_echo_n "(cached) " >&6
12017 else
12018 ac_check_lib_save_LIBS=$LIBS
12019 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12026 #ifdef __cplusplus
12027 extern "C"
12028 #endif
12029 char cmsOpenProfileFromFile ();
12031 main ()
12033 return cmsOpenProfileFromFile ();
12035 return 0;
12037 _ACEOF
12038 if ac_fn_c_try_link "$LINENO"; then :
12039 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12040 else
12041 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12043 rm -f core conftest.err conftest.$ac_objext \
12044 conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12048 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12049 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12051 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12053 else
12054 LCMS2_LIBS=""
12057 else
12058 LCMS2_CFLAGS=""
12059 LCMS2_LIBS=""
12061 CPPFLAGS=$ac_save_CPPFLAGS
12062 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12063 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12066 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12067 case "x$with_cms" in
12068 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12069 xno) ;;
12070 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12071 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12072 esac
12075 if test "x$with_freetype" != "xno"
12076 then
12077 if ${FREETYPE_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false; then :
12079 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12082 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12083 if ${FREETYPE_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12088 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12089 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12090 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12092 ac_save_CPPFLAGS=$CPPFLAGS
12093 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12094 for ac_header in ft2build.h
12095 do :
12096 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12097 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12098 cat >>confdefs.h <<_ACEOF
12099 #define HAVE_FT2BUILD_H 1
12100 _ACEOF
12104 done
12106 if test "$ac_cv_header_ft2build_h" = "yes"
12107 then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12109 $as_echo_n "checking for -lfreetype... " >&6; }
12110 if ${ac_cv_lib_soname_freetype+:} false; then :
12111 $as_echo_n "(cached) " >&6
12112 else
12113 ac_check_soname_save_LIBS=$LIBS
12114 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char FT_Init_FreeType ();
12126 main ()
12128 return FT_Init_FreeType ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 case "$LIBEXT" in
12135 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12136 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'` ;;
12137 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12138 if ${ac_cv_lib_soname_freetype:+false} :; then :
12139 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12140 fi ;;
12141 esac
12143 rm -f core conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12145 LIBS=$ac_check_soname_save_LIBS
12147 if ${ac_cv_lib_soname_freetype:+false} :; then :
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12149 $as_echo "not found" >&6; }
12150 FREETYPE_LIBS=""
12151 else
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12153 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12155 cat >>confdefs.h <<_ACEOF
12156 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12157 _ACEOF
12160 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12162 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12163 #include FT_MODULE_H
12165 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12167 cat >>confdefs.h <<_ACEOF
12168 #define HAVE_FT_TRUETYPEENGINETYPE 1
12169 _ACEOF
12175 else
12176 FREETYPE_CFLAGS=""
12177 FREETYPE_LIBS=""
12179 CPPFLAGS=$ac_save_CPPFLAGS
12180 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12181 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12184 if test "x$ac_cv_lib_soname_freetype" = x; then :
12185 case "x$with_freetype" in
12186 xno) ;;
12187 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12188 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12189 esac
12191 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12194 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12195 if ${ac_cv_c_ppdev+:} false; then :
12196 $as_echo_n "(cached) " >&6
12197 else
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 #ifdef HAVE_SYS_IOCTL_H
12201 # include <sys/ioctl.h>
12202 #endif
12203 #include <linux/ppdev.h>
12205 main ()
12207 ioctl (1,PPCLAIM,0)
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_compile "$LINENO"; then :
12213 ac_cv_c_ppdev="yes"
12214 else
12215 ac_cv_c_ppdev="no"
12217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12220 $as_echo "$ac_cv_c_ppdev" >&6; }
12221 if test "$ac_cv_c_ppdev" = "yes"
12222 then
12224 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12228 ac_wine_check_funcs_save_LIBS="$LIBS"
12229 LIBS="$LIBS $PTHREAD_LIBS"
12230 for ac_func in \
12231 pthread_attr_get_np \
12232 pthread_getattr_np \
12233 pthread_getthreadid_np \
12234 pthread_get_stackaddr_np \
12235 pthread_get_stacksize_np
12236 do :
12237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12240 cat >>confdefs.h <<_ACEOF
12241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12242 _ACEOF
12245 done
12247 LIBS="$ac_wine_check_funcs_save_LIBS"
12249 if test "$ac_cv_header_zlib_h" = "yes"
12250 then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12252 $as_echo_n "checking for inflate in -lz... " >&6; }
12253 if ${ac_cv_lib_z_inflate+:} false; then :
12254 $as_echo_n "(cached) " >&6
12255 else
12256 ac_check_lib_save_LIBS=$LIBS
12257 LIBS="-lz $LIBS"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 /* Override any GCC internal prototype to avoid an error.
12262 Use char because int might match the return type of a GCC
12263 builtin and then its argument prototype would still apply. */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char inflate ();
12269 main ()
12271 return inflate ();
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_link "$LINENO"; then :
12277 ac_cv_lib_z_inflate=yes
12278 else
12279 ac_cv_lib_z_inflate=no
12281 rm -f core conftest.err conftest.$ac_objext \
12282 conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_lib_save_LIBS
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12286 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12287 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12289 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12291 Z_LIBS="-lz"
12296 if test "x$Z_LIBS" = "x"; then :
12297 case "x$with_zlib" in
12298 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12299 xno) ;;
12300 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12301 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12302 esac
12305 if test "x$enable_tools" != xno
12306 then
12307 if test "$ac_cv_header_gettext_po_h" = "yes"
12308 then
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12310 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12311 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12312 $as_echo_n "(cached) " >&6
12313 else
12314 ac_check_lib_save_LIBS=$LIBS
12315 LIBS="-lgettextpo $LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 #ifdef __cplusplus
12323 extern "C"
12324 #endif
12325 char po_message_msgctxt ();
12327 main ()
12329 return po_message_msgctxt ();
12331 return 0;
12333 _ACEOF
12334 if ac_fn_c_try_link "$LINENO"; then :
12335 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12336 else
12337 ac_cv_lib_gettextpo_po_message_msgctxt=no
12339 rm -f core conftest.err conftest.$ac_objext \
12340 conftest$ac_exeext conftest.$ac_ext
12341 LIBS=$ac_check_lib_save_LIBS
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12344 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12345 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12347 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12349 GETTEXTPO_LIBS="-lgettextpo"
12354 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12355 case "x$with_gettextpo" in
12356 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12357 xno) ;;
12358 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12359 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12360 esac
12364 if test "x$with_gstreamer" != "xno"
12365 then
12366 if ${GSTREAMER_CFLAGS:+false} :; then :
12367 if ${PKG_CONFIG+:} false; then :
12368 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12372 if ${GSTREAMER_LIBS:+false} :; then :
12373 if ${PKG_CONFIG+:} false; then :
12374 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12379 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12380 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12381 ac_save_CPPFLAGS=$CPPFLAGS
12382 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12383 ac_gst_incl=""
12384 for i in $GSTREAMER_CFLAGS
12386 case "$i" in
12387 -I*) ac_gst_incl="$ac_gst_incl $i";;
12388 esac
12389 done
12390 GSTREAMER_CFLAGS=$ac_gst_incl
12391 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12392 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12393 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12394 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12397 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12400 #include <gst/app/gstappsink.h>
12402 main ()
12404 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12406 return 0;
12408 _ACEOF
12409 if ac_fn_c_try_compile "$LINENO"; then :
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12411 $as_echo "yes" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12413 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12414 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-lgstreamer-0.10 $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char gst_pad_get_caps_reffed ();
12430 main ()
12432 return gst_pad_get_caps_reffed ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12439 else
12440 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12442 rm -f core conftest.err conftest.$ac_objext \
12443 conftest$ac_exeext conftest.$ac_ext
12444 LIBS=$ac_check_lib_save_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12447 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12448 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12450 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12451 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12452 $as_echo_n "(cached) " >&6
12453 else
12454 ac_check_lib_save_LIBS=$LIBS
12455 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12459 /* Override any GCC internal prototype to avoid an error.
12460 Use char because int might match the return type of a GCC
12461 builtin and then its argument prototype would still apply. */
12462 #ifdef __cplusplus
12463 extern "C"
12464 #endif
12465 char gst_app_buffer_new ();
12467 main ()
12469 return gst_app_buffer_new ();
12471 return 0;
12473 _ACEOF
12474 if ac_fn_c_try_link "$LINENO"; then :
12475 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12476 else
12477 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12479 rm -f core conftest.err conftest.$ac_objext \
12480 conftest$ac_exeext conftest.$ac_ext
12481 LIBS=$ac_check_lib_save_LIBS
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12484 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12485 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12491 else
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12499 else
12500 GSTREAMER_CFLAGS=""
12504 CPPFLAGS=$ac_save_CPPFLAGS
12505 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12506 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12509 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12510 case "x$with_gstreamer" in
12511 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12512 xno) ;;
12513 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12514 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12515 esac
12517 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12519 ALSA_LIBS=""
12521 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12522 then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12524 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12525 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_lib_save_LIBS=$LIBS
12529 LIBS="-lasound $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char snd_pcm_hw_params_get_access_mask ();
12541 main ()
12543 return snd_pcm_hw_params_get_access_mask ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12550 else
12551 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_lib_save_LIBS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12558 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12559 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #ifdef HAVE_ALSA_ASOUNDLIB_H
12563 #include <alsa/asoundlib.h>
12564 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12565 #include <sys/asoundlib.h>
12566 #endif
12568 main ()
12570 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_compile "$LINENO"; then :
12576 ALSA_LIBS="-lasound"
12578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12583 if test "x$with_oss" != xno
12584 then
12585 ac_save_CPPFLAGS="$CPPFLAGS"
12586 if test -f /etc/oss.conf
12587 then
12588 . /etc/oss.conf
12590 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12591 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12592 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12593 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12594 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12596 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12598 cat >>confdefs.h <<_ACEOF
12599 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12600 _ACEOF
12602 OSS4_CFLAGS="$ac_oss_incl"
12609 CPPFLAGS="$ac_save_CPPFLAGS"
12610 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12611 then
12612 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12616 if test "x$with_capi" != "xno"
12617 then
12618 if ${CAPI20_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false; then :
12620 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12624 if ${CAPI20_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12631 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12633 ac_save_CPPFLAGS=$CPPFLAGS
12634 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12635 for ac_header in capi20.h linux/capi.h
12636 do :
12637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12641 cat >>confdefs.h <<_ACEOF
12642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12643 _ACEOF
12647 done
12649 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12650 then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12652 $as_echo_n "checking for -lcapi20... " >&6; }
12653 if ${ac_cv_lib_soname_capi20+:} false; then :
12654 $as_echo_n "(cached) " >&6
12655 else
12656 ac_check_soname_save_LIBS=$LIBS
12657 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12664 #ifdef __cplusplus
12665 extern "C"
12666 #endif
12667 char capi20_register ();
12669 main ()
12671 return capi20_register ();
12673 return 0;
12675 _ACEOF
12676 if ac_fn_c_try_link "$LINENO"; then :
12677 case "$LIBEXT" in
12678 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12679 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'` ;;
12680 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12681 if ${ac_cv_lib_soname_capi20:+false} :; then :
12682 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12683 fi ;;
12684 esac
12686 rm -f core conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 LIBS=$ac_check_soname_save_LIBS
12690 if ${ac_cv_lib_soname_capi20:+false} :; then :
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12692 $as_echo "not found" >&6; }
12694 else
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12696 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12698 cat >>confdefs.h <<_ACEOF
12699 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12700 _ACEOF
12705 CPPFLAGS=$ac_save_CPPFLAGS
12706 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12707 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12710 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12711 case "x$with_capi" in
12712 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12713 xno) ;;
12714 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12715 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12716 esac
12719 CUPS_CFLAGS=""
12721 if test "x$with_cups" != "xno"
12722 then
12723 ac_save_CPPFLAGS="$CPPFLAGS"
12724 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12725 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12726 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12727 for ac_header in cups/cups.h
12728 do :
12729 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12731 cat >>confdefs.h <<_ACEOF
12732 #define HAVE_CUPS_CUPS_H 1
12733 _ACEOF
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12735 $as_echo_n "checking for -lcups... " >&6; }
12736 if ${ac_cv_lib_soname_cups+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_soname_save_LIBS=$LIBS
12740 LIBS="-lcups $ac_cups_libs $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char cupsGetDefault ();
12752 main ()
12754 return cupsGetDefault ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 case "$LIBEXT" in
12761 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12762 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'` ;;
12763 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12764 if ${ac_cv_lib_soname_cups:+false} :; then :
12765 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12766 fi ;;
12767 esac
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 LIBS=$ac_check_soname_save_LIBS
12773 if ${ac_cv_lib_soname_cups:+false} :; then :
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12775 $as_echo "not found" >&6; }
12777 else
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12779 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12781 cat >>confdefs.h <<_ACEOF
12782 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12783 _ACEOF
12785 CUPS_CFLAGS="$ac_cups_cflags"
12789 done
12791 CPPFLAGS="$ac_save_CPPFLAGS"
12793 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12794 case "x$with_cups" in
12795 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12796 xno) ;;
12797 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12798 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12799 esac
12802 if test "x$with_fontconfig" != "xno"
12803 then
12804 if ${FONTCONFIG_CFLAGS:+false} :; then :
12805 if ${PKG_CONFIG+:} false; then :
12806 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12809 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12810 if ${FONTCONFIG_LIBS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12815 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12817 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12819 ac_save_CPPFLAGS=$CPPFLAGS
12820 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12821 for ac_header in fontconfig/fontconfig.h
12822 do :
12823 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12825 cat >>confdefs.h <<_ACEOF
12826 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12827 _ACEOF
12831 done
12833 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12834 then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12836 $as_echo_n "checking for -lfontconfig... " >&6; }
12837 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12838 $as_echo_n "(cached) " >&6
12839 else
12840 ac_check_soname_save_LIBS=$LIBS
12841 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 #ifdef __cplusplus
12849 extern "C"
12850 #endif
12851 char FcInit ();
12853 main ()
12855 return FcInit ();
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 case "$LIBEXT" in
12862 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12863 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'` ;;
12864 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12865 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12866 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12867 fi ;;
12868 esac
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_soname_save_LIBS
12874 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12876 $as_echo "not found" >&6; }
12877 FONTCONFIG_CFLAGS=""
12878 else
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12880 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12882 cat >>confdefs.h <<_ACEOF
12883 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12884 _ACEOF
12888 else
12889 FONTCONFIG_CFLAGS=""
12891 CPPFLAGS=$ac_save_CPPFLAGS
12892 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12893 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12896 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12897 case "x$with_fontconfig" in
12898 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12899 xno) ;;
12900 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12901 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12902 esac
12905 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12906 then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12908 $as_echo_n "checking for -lgsm... " >&6; }
12909 if ${ac_cv_lib_soname_gsm+:} false; then :
12910 $as_echo_n "(cached) " >&6
12911 else
12912 ac_check_soname_save_LIBS=$LIBS
12913 LIBS="-lgsm $LIBS"
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12920 #ifdef __cplusplus
12921 extern "C"
12922 #endif
12923 char gsm_create ();
12925 main ()
12927 return gsm_create ();
12929 return 0;
12931 _ACEOF
12932 if ac_fn_c_try_link "$LINENO"; then :
12933 case "$LIBEXT" in
12934 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12935 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'` ;;
12936 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12937 if ${ac_cv_lib_soname_gsm:+false} :; then :
12938 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12939 fi ;;
12940 esac
12942 rm -f core conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12944 LIBS=$ac_check_soname_save_LIBS
12946 if ${ac_cv_lib_soname_gsm:+false} :; then :
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12948 $as_echo "not found" >&6; }
12950 else
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12952 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12954 cat >>confdefs.h <<_ACEOF
12955 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12956 _ACEOF
12961 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12962 case "x$with_gsm" in
12963 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12964 xno) ;;
12965 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12966 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12967 esac
12970 if test "x$with_jpeg" != "xno"
12971 then
12972 if ${JPEG_CFLAGS:+false} :; then :
12973 if ${PKG_CONFIG+:} false; then :
12974 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12978 if ${JPEG_LIBS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12985 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12986 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12987 ac_save_CPPFLAGS=$CPPFLAGS
12988 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12989 for ac_header in jpeglib.h
12990 do :
12991 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12992 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12993 cat >>confdefs.h <<_ACEOF
12994 #define HAVE_JPEGLIB_H 1
12995 _ACEOF
12999 done
13001 if test "$ac_cv_header_jpeglib_h" = "yes"
13002 then
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13004 $as_echo_n "checking for -ljpeg... " >&6; }
13005 if ${ac_cv_lib_soname_jpeg+:} false; then :
13006 $as_echo_n "(cached) " >&6
13007 else
13008 ac_check_soname_save_LIBS=$LIBS
13009 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13011 /* end confdefs.h. */
13013 /* Override any GCC internal prototype to avoid an error.
13014 Use char because int might match the return type of a GCC
13015 builtin and then its argument prototype would still apply. */
13016 #ifdef __cplusplus
13017 extern "C"
13018 #endif
13019 char jpeg_start_decompress ();
13021 main ()
13023 return jpeg_start_decompress ();
13025 return 0;
13027 _ACEOF
13028 if ac_fn_c_try_link "$LINENO"; then :
13029 case "$LIBEXT" in
13030 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13031 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'` ;;
13032 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13033 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13034 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13035 fi ;;
13036 esac
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_soname_save_LIBS
13042 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13044 $as_echo "not found" >&6; }
13045 JPEG_CFLAGS=""
13046 else
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13048 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13050 cat >>confdefs.h <<_ACEOF
13051 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13052 _ACEOF
13056 else
13057 JPEG_CFLAGS=""
13059 CPPFLAGS=$ac_save_CPPFLAGS
13060 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13061 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13064 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13065 case "x$with_jpeg" in
13066 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13067 xno) ;;
13068 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13069 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13070 esac
13073 if test "x$with_png" != "xno"
13074 then
13075 if ${PNG_CFLAGS:+false} :; then :
13076 if ${PKG_CONFIG+:} false; then :
13077 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13080 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13081 if ${PNG_LIBS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13086 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13088 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13089 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13090 ac_save_CPPFLAGS=$CPPFLAGS
13091 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13092 for ac_header in png.h
13093 do :
13094 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13095 if test "x$ac_cv_header_png_h" = xyes; then :
13096 cat >>confdefs.h <<_ACEOF
13097 #define HAVE_PNG_H 1
13098 _ACEOF
13102 done
13104 if test "$ac_cv_header_png_h" = "yes"
13105 then
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13107 $as_echo_n "checking for -lpng... " >&6; }
13108 if ${ac_cv_lib_soname_png+:} false; then :
13109 $as_echo_n "(cached) " >&6
13110 else
13111 ac_check_soname_save_LIBS=$LIBS
13112 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char png_create_read_struct ();
13124 main ()
13126 return png_create_read_struct ();
13128 return 0;
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 case "$LIBEXT" in
13133 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13134 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'` ;;
13135 *) 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'`
13136 if ${ac_cv_lib_soname_png:+false} :; then :
13137 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13138 fi ;;
13139 esac
13141 rm -f core conftest.err conftest.$ac_objext \
13142 conftest$ac_exeext conftest.$ac_ext
13143 LIBS=$ac_check_soname_save_LIBS
13145 if ${ac_cv_lib_soname_png:+false} :; then :
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13147 $as_echo "not found" >&6; }
13148 PNG_CFLAGS=""
13149 else
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13151 $as_echo "$ac_cv_lib_soname_png" >&6; }
13153 cat >>confdefs.h <<_ACEOF
13154 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13155 _ACEOF
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159 #include <png.h>
13161 main ()
13163 typeof(png_set_expand_gray_1_2_4_to_8) *p
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_compile "$LINENO"; then :
13170 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13175 else
13176 PNG_CFLAGS=""
13178 CPPFLAGS=$ac_save_CPPFLAGS
13179 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13180 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13183 if test "x$ac_cv_lib_soname_png" = "x"; then :
13184 case "x$with_png" in
13185 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13186 xno) ;;
13187 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13188 This is an error since --with-png was requested." "$LINENO" 5 ;;
13189 esac
13192 if test "x$with_tiff" != "xno"
13193 then
13194 if ${TIFF_CFLAGS:+false} :; then :
13195 if ${PKG_CONFIG+:} false; then :
13196 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13200 if ${TIFF_LIBS:+false} :; then :
13201 if ${PKG_CONFIG+:} false; then :
13202 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13209 ac_save_CPPFLAGS=$CPPFLAGS
13210 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13211 for ac_header in tiffio.h
13212 do :
13213 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13214 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define HAVE_TIFFIO_H 1
13217 _ACEOF
13221 done
13223 if test "$ac_cv_header_tiffio_h" = "yes"
13224 then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13226 $as_echo_n "checking for -ltiff... " >&6; }
13227 if ${ac_cv_lib_soname_tiff+:} false; then :
13228 $as_echo_n "(cached) " >&6
13229 else
13230 ac_check_soname_save_LIBS=$LIBS
13231 LIBS="-ltiff $TIFF_LIBS $LIBS"
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13238 #ifdef __cplusplus
13239 extern "C"
13240 #endif
13241 char TIFFClientOpen ();
13243 main ()
13245 return TIFFClientOpen ();
13247 return 0;
13249 _ACEOF
13250 if ac_fn_c_try_link "$LINENO"; then :
13251 case "$LIBEXT" in
13252 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13253 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'` ;;
13254 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13255 if ${ac_cv_lib_soname_tiff:+false} :; then :
13256 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13257 fi ;;
13258 esac
13260 rm -f core conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13262 LIBS=$ac_check_soname_save_LIBS
13264 if ${ac_cv_lib_soname_tiff:+false} :; then :
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13266 $as_echo "not found" >&6; }
13268 else
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13270 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13272 cat >>confdefs.h <<_ACEOF
13273 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13274 _ACEOF
13279 CPPFLAGS=$ac_save_CPPFLAGS
13280 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13281 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13284 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13285 case "x$with_tiff" in
13286 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13287 xno) ;;
13288 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13289 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13290 esac
13293 if test "x$with_mpg123" != "xno"
13294 then
13295 if ${MPG123_CFLAGS:+false} :; then :
13296 if ${PKG_CONFIG+:} false; then :
13297 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13301 if ${MPG123_LIBS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13307 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13308 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13309 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13310 ac_save_CPPFLAGS=$CPPFLAGS
13311 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13312 for ac_header in mpg123.h
13313 do :
13314 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13315 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13316 cat >>confdefs.h <<_ACEOF
13317 #define HAVE_MPG123_H 1
13318 _ACEOF
13322 done
13324 if test "$ac_cv_header_mpg123_h" = "yes"
13325 then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13327 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13328 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13329 $as_echo_n "(cached) " >&6
13330 else
13331 ac_check_lib_save_LIBS=$LIBS
13332 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13339 #ifdef __cplusplus
13340 extern "C"
13341 #endif
13342 char mpg123_feed ();
13344 main ()
13346 return mpg123_feed ();
13348 return 0;
13350 _ACEOF
13351 if ac_fn_c_try_link "$LINENO"; then :
13352 ac_cv_lib_mpg123_mpg123_feed=yes
13353 else
13354 ac_cv_lib_mpg123_mpg123_feed=no
13356 rm -f core conftest.err conftest.$ac_objext \
13357 conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_lib_save_LIBS
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13361 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13362 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13364 else
13365 MPG123_LIBS=""
13368 else
13369 MPG123_CFLAGS=""
13370 MPG123_LIBS=""
13372 CPPFLAGS=$ac_save_CPPFLAGS
13373 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13374 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13377 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13378 case "x$with_mpg123" in
13379 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13380 xno) ;;
13381 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13382 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13383 esac
13385 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}
13387 if test "$ac_cv_header_AL_al_h" = "yes"
13388 then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13390 $as_echo_n "checking for -lopenal... " >&6; }
13391 if ${ac_cv_lib_soname_openal+:} false; then :
13392 $as_echo_n "(cached) " >&6
13393 else
13394 ac_check_soname_save_LIBS=$LIBS
13395 LIBS="-lopenal $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13402 #ifdef __cplusplus
13403 extern "C"
13404 #endif
13405 char alGetSource3i ();
13407 main ()
13409 return alGetSource3i ();
13411 return 0;
13413 _ACEOF
13414 if ac_fn_c_try_link "$LINENO"; then :
13415 case "$LIBEXT" in
13416 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13417 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'` ;;
13418 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13419 if ${ac_cv_lib_soname_openal:+false} :; then :
13420 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13421 fi ;;
13422 esac
13424 rm -f core conftest.err conftest.$ac_objext \
13425 conftest$ac_exeext conftest.$ac_ext
13426 LIBS=$ac_check_soname_save_LIBS
13428 if ${ac_cv_lib_soname_openal:+false} :; then :
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13430 $as_echo "not found" >&6; }
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13434 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13438 _ACEOF
13440 OPENAL_LIBS="-lopenal"
13442 ac_cv_lib_openal=yes
13444 cat >>confdefs.h <<_ACEOF
13445 #define HAVE_OPENAL 1
13446 _ACEOF
13450 if test "x$ac_cv_lib_openal" != xyes; then :
13451 case "x$with_openal" in
13452 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13453 xno) ;;
13454 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13455 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13456 esac
13458 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13460 if test "$ac_cv_header_kstat_h" = "yes"
13461 then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13463 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13464 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13465 $as_echo_n "(cached) " >&6
13466 else
13467 ac_check_lib_save_LIBS=$LIBS
13468 LIBS="-lkstat $LIBS"
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13475 #ifdef __cplusplus
13476 extern "C"
13477 #endif
13478 char kstat_open ();
13480 main ()
13482 return kstat_open ();
13484 return 0;
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"; then :
13488 ac_cv_lib_kstat_kstat_open=yes
13489 else
13490 ac_cv_lib_kstat_kstat_open=no
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_lib_save_LIBS
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13497 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13498 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13500 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13502 KSTAT_LIBS="-lkstat"
13508 if test "$ac_cv_header_libprocstat_h" = "yes"
13509 then
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13511 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13512 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13513 $as_echo_n "(cached) " >&6
13514 else
13515 ac_check_lib_save_LIBS=$LIBS
13516 LIBS="-lprocstat $LIBS"
13517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 char procstat_open_sysctl ();
13528 main ()
13530 return procstat_open_sysctl ();
13532 return 0;
13534 _ACEOF
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 ac_cv_lib_procstat_procstat_open_sysctl=yes
13537 else
13538 ac_cv_lib_procstat_procstat_open_sysctl=no
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13545 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13546 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13548 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13550 PROCSTAT_LIBS="-lprocstat"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13557 $as_echo_n "checking for -lodbc... " >&6; }
13558 if ${ac_cv_lib_soname_odbc+:} false; then :
13559 $as_echo_n "(cached) " >&6
13560 else
13561 ac_check_soname_save_LIBS=$LIBS
13562 LIBS="-lodbc $LIBS"
13563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13569 #ifdef __cplusplus
13570 extern "C"
13571 #endif
13572 char SQLConnect ();
13574 main ()
13576 return SQLConnect ();
13578 return 0;
13580 _ACEOF
13581 if ac_fn_c_try_link "$LINENO"; then :
13582 case "$LIBEXT" in
13583 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13584 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'` ;;
13585 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13586 if ${ac_cv_lib_soname_odbc:+false} :; then :
13587 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13588 fi ;;
13589 esac
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_soname_save_LIBS
13595 if ${ac_cv_lib_soname_odbc:+false} :; then :
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13597 $as_echo "not found" >&6; }
13598 cat >>confdefs.h <<_ACEOF
13599 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13600 _ACEOF
13602 else
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13604 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13606 cat >>confdefs.h <<_ACEOF
13607 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13608 _ACEOF
13613 if test "x$with_netapi" != "xno"
13614 then
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13616 $as_echo_n "checking for -lnetapi... " >&6; }
13617 if ${ac_cv_lib_soname_netapi+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_check_soname_save_LIBS=$LIBS
13621 LIBS="-lnetapi $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13625 /* Override any GCC internal prototype to avoid an error.
13626 Use char because int might match the return type of a GCC
13627 builtin and then its argument prototype would still apply. */
13628 #ifdef __cplusplus
13629 extern "C"
13630 #endif
13631 char libnetapi_init ();
13633 main ()
13635 return libnetapi_init ();
13637 return 0;
13639 _ACEOF
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 case "$LIBEXT" in
13642 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13643 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'` ;;
13644 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13645 if ${ac_cv_lib_soname_netapi:+false} :; then :
13646 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13647 fi ;;
13648 esac
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_soname_save_LIBS
13654 if ${ac_cv_lib_soname_netapi:+false} :; then :
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13656 $as_echo "not found" >&6; }
13657 cat >>confdefs.h <<_ACEOF
13658 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13659 _ACEOF
13661 else
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13663 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13665 cat >>confdefs.h <<_ACEOF
13666 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13667 _ACEOF
13673 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13674 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13675 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13676 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13678 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13679 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13680 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13681 then
13682 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13686 EXTRACFLAGS=""
13688 if test "x${GCC}" = "xyes"
13689 then
13690 EXTRACFLAGS="-Wall -pipe"
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13693 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13694 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13695 $as_echo_n "(cached) " >&6
13696 else
13697 if test "$cross_compiling" = yes; then :
13698 ac_cv_c_gcc_strength_bug="yes"
13699 else
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13702 int L[4] = {0,1,2,3};
13704 main ()
13706 static int Array[3];
13707 unsigned int B = 3;
13708 int i;
13709 for(i=0; i<B; i++) Array[i] = i - 3;
13710 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13711 L[i] = 4;
13712 return (Array[1] != -2 || L[2] != 3)
13714 return 0;
13716 _ACEOF
13717 if ac_fn_c_try_run "$LINENO"; then :
13718 ac_cv_c_gcc_strength_bug="no"
13719 else
13720 ac_cv_c_gcc_strength_bug="yes"
13722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13723 conftest.$ac_objext conftest.beam conftest.$ac_ext
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13728 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13729 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13730 then
13731 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13735 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13736 if ${ac_cv_cflags__fno_builtin+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_wine_try_cflags_saved=$CFLAGS
13740 CFLAGS="$CFLAGS -fno-builtin"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int main(int argc, char **argv) { return 0; }
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 ac_cv_cflags__fno_builtin=yes
13747 else
13748 ac_cv_cflags__fno_builtin=no
13750 rm -f core conftest.err conftest.$ac_objext \
13751 conftest$ac_exeext conftest.$ac_ext
13752 CFLAGS=$ac_wine_try_cflags_saved
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13755 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13756 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13757 BUILTINFLAG="-fno-builtin"
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13761 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13762 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_wine_try_cflags_saved=$CFLAGS
13766 CFLAGS="$CFLAGS -fno-strict-aliasing"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 int main(int argc, char **argv) { return 0; }
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"; then :
13772 ac_cv_cflags__fno_strict_aliasing=yes
13773 else
13774 ac_cv_cflags__fno_strict_aliasing=no
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13778 CFLAGS=$ac_wine_try_cflags_saved
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13781 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13782 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13783 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13785 saved_CFLAGS=$CFLAGS
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13787 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13788 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_wine_try_cflags_saved=$CFLAGS
13792 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13795 int main(int argc, char **argv) { return 0; }
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"; then :
13798 ac_cv_cflags__Werror_unknown_warning_option=yes
13799 else
13800 ac_cv_cflags__Werror_unknown_warning_option=no
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 CFLAGS=$ac_wine_try_cflags_saved
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13807 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13808 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13809 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13812 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13813 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 ac_wine_try_cflags_saved=$CFLAGS
13817 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820 int main(int argc, char **argv) { return 0; }
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 ac_cv_cflags__Wdeclaration_after_statement=yes
13824 else
13825 ac_cv_cflags__Wdeclaration_after_statement=no
13827 rm -f core conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 CFLAGS=$ac_wine_try_cflags_saved
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13832 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13833 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13834 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13837 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13838 if ${ac_cv_cflags__Wempty_body+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_wine_try_cflags_saved=$CFLAGS
13842 CFLAGS="$CFLAGS -Wempty-body"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13845 int main(int argc, char **argv) { return 0; }
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 ac_cv_cflags__Wempty_body=yes
13849 else
13850 ac_cv_cflags__Wempty_body=no
13852 rm -f core conftest.err conftest.$ac_objext \
13853 conftest$ac_exeext conftest.$ac_ext
13854 CFLAGS=$ac_wine_try_cflags_saved
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13857 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13858 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13859 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13862 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13863 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_wine_try_cflags_saved=$CFLAGS
13867 CFLAGS="$CFLAGS -Wignored-qualifiers"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13871 _ACEOF
13872 if ac_fn_c_try_link "$LINENO"; then :
13873 ac_cv_cflags__Wignored_qualifiers=yes
13874 else
13875 ac_cv_cflags__Wignored_qualifiers=no
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 CFLAGS=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13882 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13883 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13884 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13887 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13888 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 ac_wine_try_cflags_saved=$CFLAGS
13892 CFLAGS="$CFLAGS -Wstrict-prototypes"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_cflags__Wstrict_prototypes=yes
13899 else
13900 ac_cv_cflags__Wstrict_prototypes=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13907 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13908 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13909 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13912 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13913 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_wine_try_cflags_saved=$CFLAGS
13917 CFLAGS="$CFLAGS -Wtype-limits"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 int main(int argc, char **argv) { return 0; }
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 ac_cv_cflags__Wtype_limits=yes
13924 else
13925 ac_cv_cflags__Wtype_limits=no
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 CFLAGS=$ac_wine_try_cflags_saved
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13932 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13933 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13934 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13937 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13938 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13939 $as_echo_n "(cached) " >&6
13940 else
13941 ac_wine_try_cflags_saved=$CFLAGS
13942 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 int main(int argc, char **argv) { return 0; }
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 ac_cv_cflags__Wunused_but_set_parameter=yes
13949 else
13950 ac_cv_cflags__Wunused_but_set_parameter=no
13952 rm -f core conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 CFLAGS=$ac_wine_try_cflags_saved
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13957 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13958 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13959 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13962 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13963 if ${ac_cv_cflags__Wvla+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 ac_wine_try_cflags_saved=$CFLAGS
13967 CFLAGS="$CFLAGS -Wvla"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13970 int main(int argc, char **argv) { return 0; }
13971 _ACEOF
13972 if ac_fn_c_try_link "$LINENO"; then :
13973 ac_cv_cflags__Wvla=yes
13974 else
13975 ac_cv_cflags__Wvla=no
13977 rm -f core conftest.err conftest.$ac_objext \
13978 conftest$ac_exeext conftest.$ac_ext
13979 CFLAGS=$ac_wine_try_cflags_saved
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13982 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13983 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13984 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13987 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13988 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_wine_try_cflags_saved=$CFLAGS
13992 CFLAGS="$CFLAGS -Wwrite-strings"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13995 int main(int argc, char **argv) { return 0; }
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"; then :
13998 ac_cv_cflags__Wwrite_strings=yes
13999 else
14000 ac_cv_cflags__Wwrite_strings=no
14002 rm -f core conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 CFLAGS=$ac_wine_try_cflags_saved
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14007 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14008 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14009 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14013 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14014 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14015 $as_echo_n "(cached) " >&6
14016 else
14017 ac_wine_try_cflags_saved=$CFLAGS
14018 CFLAGS="$CFLAGS -Wpointer-arith"
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 int main(int argc, char **argv) { return 0; }
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_cflags__Wpointer_arith=yes
14025 else
14026 ac_cv_cflags__Wpointer_arith=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 CFLAGS=$ac_wine_try_cflags_saved
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14033 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14034 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14035 saved_string_h_CFLAGS=$CFLAGS
14036 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14038 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14039 if ${ac_cv_c_string_h_warnings+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 #include <string.h>
14046 main ()
14050 return 0;
14052 _ACEOF
14053 if ac_fn_c_try_compile "$LINENO"; then :
14054 ac_cv_c_string_h_warnings=no
14055 else
14056 ac_cv_c_string_h_warnings=yes
14058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14061 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14062 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14063 CFLAGS=$saved_string_h_CFLAGS
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14067 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14068 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14069 $as_echo_n "(cached) " >&6
14070 else
14071 ac_wine_try_cflags_saved=$CFLAGS
14072 CFLAGS="$CFLAGS -Wlogical-op"
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14075 int main(int argc, char **argv) { return 0; }
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_cflags__Wlogical_op=yes
14079 else
14080 ac_cv_cflags__Wlogical_op=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 CFLAGS=$ac_wine_try_cflags_saved
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14087 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14088 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14089 saved_string_h_CFLAGS=$CFLAGS
14090 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14092 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14093 if ${ac_cv_c_logicalop_noisy+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14098 #include <string.h>
14099 char*f(const char *h,char n) {return strchr(h,n);}
14101 main ()
14105 return 0;
14107 _ACEOF
14108 if ac_fn_c_try_compile "$LINENO"; then :
14109 ac_cv_c_logicalop_noisy=no
14110 else
14111 ac_cv_c_logicalop_noisy=yes
14113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14116 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14117 CFLAGS=$saved_string_h_CFLAGS
14118 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14121 CFLAGS=$saved_CFLAGS
14123 for ac_flag in $CFLAGS; do
14124 case $ac_flag in
14125 -g) case $host_os in
14126 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14127 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14128 if ${ac_cv_cflags__gstabsp+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_wine_try_cflags_saved=$CFLAGS
14132 CFLAGS="$CFLAGS -gstabs+"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 ac_cv_cflags__gstabsp=yes
14139 else
14140 ac_cv_cflags__gstabsp=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14144 CFLAGS=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14147 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14148 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14149 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14150 fi ;;
14151 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14152 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14153 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -gdwarf-2"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__gdwarf_2=yes
14164 else
14165 ac_cv_cflags__gdwarf_2=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14172 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14173 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14174 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14177 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14178 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 ac_wine_try_cflags_saved=$CFLAGS
14182 CFLAGS="$CFLAGS -gstrict-dwarf"
14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14185 int main(int argc, char **argv) { return 0; }
14186 _ACEOF
14187 if ac_fn_c_try_link "$LINENO"; then :
14188 ac_cv_cflags__gstrict_dwarf=yes
14189 else
14190 ac_cv_cflags__gstrict_dwarf=no
14192 rm -f core conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 CFLAGS=$ac_wine_try_cflags_saved
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14197 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14198 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14199 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14200 fi ;;
14201 esac ;;
14202 esac
14203 done
14205 case $host_cpu in
14206 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14207 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14208 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14209 $as_echo_n "(cached) " >&6
14210 else
14211 ac_wine_try_cflags_saved=$CFLAGS
14212 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14214 /* end confdefs.h. */
14215 int main(int argc, char **argv) { return 0; }
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 ac_cv_cflags__fno_omit_frame_pointer=yes
14219 else
14220 ac_cv_cflags__fno_omit_frame_pointer=no
14222 rm -f core conftest.err conftest.$ac_objext \
14223 conftest$ac_exeext conftest.$ac_ext
14224 CFLAGS=$ac_wine_try_cflags_saved
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14227 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14228 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14229 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14230 fi ;;
14231 esac
14233 case $host in
14234 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14235 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14236 if ${ac_cv_cflags__Wno_format+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_wine_try_cflags_saved=$CFLAGS
14240 CFLAGS="$CFLAGS -Wno-format"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int main(int argc, char **argv) { return 0; }
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_cflags__Wno_format=yes
14247 else
14248 ac_cv_cflags__Wno_format=no
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14252 CFLAGS=$ac_wine_try_cflags_saved
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14255 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14256 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14257 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14258 fi ;;
14259 esac
14261 if test "x$enable_maintainer_mode" = "xyes"
14262 then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14264 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14265 if ${ac_cv_cflags__Werror+:} false; then :
14266 $as_echo_n "(cached) " >&6
14267 else
14268 ac_wine_try_cflags_saved=$CFLAGS
14269 CFLAGS="$CFLAGS -Werror"
14270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14272 int main(int argc, char **argv) { return 0; }
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_cflags__Werror=yes
14276 else
14277 ac_cv_cflags__Werror=no
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 CFLAGS=$ac_wine_try_cflags_saved
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14284 $as_echo "$ac_cv_cflags__Werror" >&6; }
14285 if test "x$ac_cv_cflags__Werror" = xyes; then :
14286 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14290 saved_CFLAGS="$CFLAGS"
14291 CFLAGS="$CFLAGS -Werror"
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14293 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14294 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14295 $as_echo_n "(cached) " >&6
14296 else
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14299 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14301 main ()
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_compile "$LINENO"; then :
14309 ac_cv_have_ms_hook_prologue="yes"
14310 else
14311 ac_cv_have_ms_hook_prologue="no"
14313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14316 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14317 CFLAGS="$saved_CFLAGS"
14318 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14319 then
14321 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14323 else
14324 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14331 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14332 if ${ac_cv_c_fortify_enabled+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 #include <string.h>
14339 main ()
14341 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14342 #error Fortify enabled
14343 #endif
14345 return 0;
14347 _ACEOF
14348 if ac_fn_c_try_compile "$LINENO"; then :
14349 ac_cv_c_fortify_enabled=no
14350 else
14351 ac_cv_c_fortify_enabled=yes
14353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14356 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14357 if test "$ac_cv_c_fortify_enabled" = yes
14358 then
14359 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14364 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14365 if ${ac_cv_c_extern_prefix+:} false; then :
14366 $as_echo_n "(cached) " >&6
14367 else
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 extern int ac_test;
14372 main ()
14374 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"; then :
14380 ac_cv_c_extern_prefix="yes"
14381 else
14382 ac_cv_c_extern_prefix="no"
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14388 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14390 case $host_cpu in
14391 *i[3456789]86*)
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14393 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14394 if ${ac_cv_c_stdcall_suffix+:} false; then :
14395 $as_echo_n "(cached) " >&6
14396 else
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 #ifndef _MSC_VER
14400 #define __stdcall __attribute__((__stdcall__))
14401 #endif
14402 int __stdcall ac_test(int i) { return i; }
14404 main ()
14406 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14408 return 0;
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_c_stdcall_suffix="yes"
14413 else
14414 ac_cv_c_stdcall_suffix="no"
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14420 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14421 *) ac_cv_c_stdcall_suffix="no" ;;
14422 esac
14425 if test "$ac_cv_c_extern_prefix" = "yes"
14426 then
14427 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14429 asm_name_prefix="_"
14430 else
14431 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14433 asm_name_prefix=""
14437 if test "$ac_cv_c_stdcall_suffix" = "yes"
14438 then
14439 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14441 else
14442 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14448 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14449 if ${ac_cv_asm_func_def+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h. */
14456 main ()
14458 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 ac_cv_asm_func_def=".def"
14465 else
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14470 main ()
14472 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14474 return 0;
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_asm_func_def=".type @function"
14479 else
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14484 main ()
14486 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_asm_func_def=".type 2"
14493 else
14494 ac_cv_asm_func_def="unknown"
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14506 $as_echo "$ac_cv_asm_func_def" >&6; }
14509 case "$ac_cv_asm_func_def" in
14510 ".def")
14511 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14513 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14514 ".type @function")
14515 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14517 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14518 ".type 2")
14519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14521 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14523 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14525 asm_func_header="" ;;
14526 esac
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14529 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14530 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535 asm(".text\n\t.long 0");
14537 main ()
14541 return 0;
14543 _ACEOF
14544 if ac_fn_c_try_compile "$LINENO"; then :
14545 ac_cv_c_asm_outside_funcs="yes"
14546 else
14547 ac_cv_c_asm_outside_funcs="no"
14549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14552 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14555 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14556 if ${ac_cv_c_dot_previous+:} false; then :
14557 $as_echo_n "(cached) " >&6
14558 else
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14563 main ()
14565 asm(".text\nac_test:\t.long 0\n\t.previous");
14567 return 0;
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_c_dot_previous="yes"
14572 else
14573 ac_cv_c_dot_previous="no"
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14579 $as_echo "$ac_cv_c_dot_previous" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14582 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14583 if ${ac_cv_c_cfi_support+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14590 main ()
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_compile "$LINENO"; then :
14598 ac_cv_c_cfi_support="yes"
14599 else
14600 ac_cv_c_cfi_support="no"
14602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14605 $as_echo "$ac_cv_c_cfi_support" >&6; }
14607 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14608 asm_func_trailer=""
14609 if test "$ac_cv_c_dot_previous" = "yes"
14610 then
14611 asm_func_trailer="\\n\\t.previous"
14613 if test "$ac_cv_c_cfi_support" = "yes"
14614 then
14615 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14616 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14618 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14620 UNWINDFLAGS=-fasynchronous-unwind-tables
14622 else
14623 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14627 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14630 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14631 then
14632 cat >>confdefs.h <<_ACEOF
14633 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14634 _ACEOF
14636 else
14637 cat >>confdefs.h <<_ACEOF
14638 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14639 _ACEOF
14643 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14646 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14650 case $build_os in
14651 cygwin*|mingw32*) TOOLSEXT=".exe"
14653 esac
14655 case $host_os in
14656 linux*)
14657 case $host_cpu in
14658 *i[3456789]86*|x86_64*)
14659 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14660 loader_programs="$loader_programs $wine_binary-preloader"
14661 as_fn_append LOADER_RULES "
14662 $wine_binary-preloader: preloader.o
14663 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14665 install install-lib:: $wine_binary-preloader
14666 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14668 uninstall::
14669 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14671 preloader_EXTRADEFS = $BUILTINFLAG
14672 " ;;
14673 esac
14675 esac
14676 as_fn_append LOADER_RULES "
14677 PROGRAMS = $loader_programs
14681 ac_save_CFLAGS="$CFLAGS"
14682 CFLAGS="$CFLAGS $BUILTINFLAG"
14683 for ac_func in \
14684 __res_get_state \
14685 __res_getservers \
14686 _finite \
14687 _isnan \
14688 _pclose \
14689 _popen \
14690 _snprintf \
14691 _spawnvp \
14692 _strdup \
14693 _stricmp \
14694 _strnicmp \
14695 _strtoi64 \
14696 _strtoui64 \
14697 _vsnprintf \
14698 asctime_r \
14699 chsize \
14700 dlopen \
14701 epoll_create \
14702 ffs \
14703 finitef \
14704 fnmatch \
14705 fork \
14706 fpclass \
14707 fstatfs \
14708 fstatvfs \
14709 ftruncate \
14710 futimens \
14711 futimes \
14712 futimesat \
14713 getattrlist \
14714 getdirentries \
14715 getopt_long_only \
14716 getpwuid \
14717 gettimeofday \
14718 getuid \
14719 if_nameindex \
14720 isnanf \
14721 kqueue \
14722 lstat \
14723 memmove \
14724 mmap \
14725 pclose \
14726 pipe2 \
14727 poll \
14728 popen \
14729 port_create \
14730 prctl \
14731 pread \
14732 proc_pidinfo \
14733 pwrite \
14734 readdir \
14735 readlink \
14736 sched_yield \
14737 select \
14738 setproctitle \
14739 setrlimit \
14740 settimeofday \
14741 sigaltstack \
14742 sigprocmask \
14743 snprintf \
14744 statfs \
14745 statvfs \
14746 strcasecmp \
14747 strdup \
14748 strerror \
14749 strncasecmp \
14750 strtold \
14751 strtoll \
14752 strtoull \
14753 symlink \
14754 tcdrain \
14755 thr_kill2 \
14756 timegm \
14757 usleep \
14758 vsnprintf
14760 do :
14761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14763 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14764 cat >>confdefs.h <<_ACEOF
14765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14766 _ACEOF
14769 done
14771 CFLAGS="$ac_save_CFLAGS"
14773 if test "$ac_cv_func_dlopen" = no
14774 then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14777 if ${ac_cv_lib_dl_dlopen+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 ac_check_lib_save_LIBS=$LIBS
14781 LIBS="-ldl $LIBS"
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14785 /* Override any GCC internal prototype to avoid an error.
14786 Use char because int might match the return type of a GCC
14787 builtin and then its argument prototype would still apply. */
14788 #ifdef __cplusplus
14789 extern "C"
14790 #endif
14791 char dlopen ();
14793 main ()
14795 return dlopen ();
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"; then :
14801 ac_cv_lib_dl_dlopen=yes
14802 else
14803 ac_cv_lib_dl_dlopen=no
14805 rm -f core conftest.err conftest.$ac_objext \
14806 conftest$ac_exeext conftest.$ac_ext
14807 LIBS=$ac_check_lib_save_LIBS
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14810 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14811 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14812 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14813 DL_LIBS="-ldl"
14818 ac_wine_check_funcs_save_LIBS="$LIBS"
14819 LIBS="$LIBS $DL_LIBS"
14820 for ac_func in dladdr
14821 do :
14822 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14823 if test "x$ac_cv_func_dladdr" = xyes; then :
14824 cat >>confdefs.h <<_ACEOF
14825 #define HAVE_DLADDR 1
14826 _ACEOF
14829 done
14831 LIBS="$ac_wine_check_funcs_save_LIBS"
14833 if test "$ac_cv_func_poll" = no
14834 then
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14836 $as_echo_n "checking for poll in -lpoll... " >&6; }
14837 if ${ac_cv_lib_poll_poll+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_check_lib_save_LIBS=$LIBS
14841 LIBS="-lpoll $LIBS"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14845 /* Override any GCC internal prototype to avoid an error.
14846 Use char because int might match the return type of a GCC
14847 builtin and then its argument prototype would still apply. */
14848 #ifdef __cplusplus
14849 extern "C"
14850 #endif
14851 char poll ();
14853 main ()
14855 return poll ();
14857 return 0;
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_lib_poll_poll=yes
14862 else
14863 ac_cv_lib_poll_poll=no
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_check_lib_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14870 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14871 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14872 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14873 POLL_LIBS="-lpoll"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14880 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14881 if ${ac_cv_search_gethostbyname+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_func_search_save_LIBS=$LIBS
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char gethostbyname ();
14896 main ()
14898 return gethostbyname ();
14900 return 0;
14902 _ACEOF
14903 for ac_lib in '' nsl; do
14904 if test -z "$ac_lib"; then
14905 ac_res="none required"
14906 else
14907 ac_res=-l$ac_lib
14908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_search_gethostbyname=$ac_res
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext
14915 if ${ac_cv_search_gethostbyname+:} false; then :
14916 break
14918 done
14919 if ${ac_cv_search_gethostbyname+:} false; then :
14921 else
14922 ac_cv_search_gethostbyname=no
14924 rm conftest.$ac_ext
14925 LIBS=$ac_func_search_save_LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14928 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14929 ac_res=$ac_cv_search_gethostbyname
14930 if test "$ac_res" != no; then :
14931 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14937 $as_echo_n "checking for library containing connect... " >&6; }
14938 if ${ac_cv_search_connect+:} false; then :
14939 $as_echo_n "(cached) " >&6
14940 else
14941 ac_func_search_save_LIBS=$LIBS
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14948 #ifdef __cplusplus
14949 extern "C"
14950 #endif
14951 char connect ();
14953 main ()
14955 return connect ();
14957 return 0;
14959 _ACEOF
14960 for ac_lib in '' socket; do
14961 if test -z "$ac_lib"; then
14962 ac_res="none required"
14963 else
14964 ac_res=-l$ac_lib
14965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 ac_cv_search_connect=$ac_res
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext
14972 if ${ac_cv_search_connect+:} false; then :
14973 break
14975 done
14976 if ${ac_cv_search_connect+:} false; then :
14978 else
14979 ac_cv_search_connect=no
14981 rm conftest.$ac_ext
14982 LIBS=$ac_func_search_save_LIBS
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14985 $as_echo "$ac_cv_search_connect" >&6; }
14986 ac_res=$ac_cv_search_connect
14987 if test "$ac_res" != no; then :
14988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14994 $as_echo_n "checking for library containing inet_aton... " >&6; }
14995 if ${ac_cv_search_inet_aton+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 ac_func_search_save_LIBS=$LIBS
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15005 #ifdef __cplusplus
15006 extern "C"
15007 #endif
15008 char inet_aton ();
15010 main ()
15012 return inet_aton ();
15014 return 0;
15016 _ACEOF
15017 for ac_lib in '' resolv; do
15018 if test -z "$ac_lib"; then
15019 ac_res="none required"
15020 else
15021 ac_res=-l$ac_lib
15022 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_search_inet_aton=$ac_res
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext
15029 if ${ac_cv_search_inet_aton+:} false; then :
15030 break
15032 done
15033 if ${ac_cv_search_inet_aton+:} false; then :
15035 else
15036 ac_cv_search_inet_aton=no
15038 rm conftest.$ac_ext
15039 LIBS=$ac_func_search_save_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15042 $as_echo "$ac_cv_search_inet_aton" >&6; }
15043 ac_res=$ac_cv_search_inet_aton
15044 if test "$ac_res" != no; then :
15045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15050 for ac_func in \
15051 getaddrinfo \
15052 getnameinfo \
15053 getnetbyname \
15054 getprotobyname \
15055 getprotobynumber \
15056 getservbyport \
15057 inet_addr \
15058 inet_network \
15059 inet_ntop \
15060 inet_pton \
15061 sendmsg \
15062 socketpair \
15064 do :
15065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15068 cat >>confdefs.h <<_ACEOF
15069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15070 _ACEOF
15073 done
15076 ac_save_LIBS=$LIBS
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15078 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15079 if ${ac_cv_search_clock_gettime+:} false; then :
15080 $as_echo_n "(cached) " >&6
15081 else
15082 ac_func_search_save_LIBS=$LIBS
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 #ifdef __cplusplus
15090 extern "C"
15091 #endif
15092 char clock_gettime ();
15094 main ()
15096 return clock_gettime ();
15098 return 0;
15100 _ACEOF
15101 for ac_lib in '' rt; do
15102 if test -z "$ac_lib"; then
15103 ac_res="none required"
15104 else
15105 ac_res=-l$ac_lib
15106 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15108 if ac_fn_c_try_link "$LINENO"; then :
15109 ac_cv_search_clock_gettime=$ac_res
15111 rm -f core conftest.err conftest.$ac_objext \
15112 conftest$ac_exeext
15113 if ${ac_cv_search_clock_gettime+:} false; then :
15114 break
15116 done
15117 if ${ac_cv_search_clock_gettime+:} false; then :
15119 else
15120 ac_cv_search_clock_gettime=no
15122 rm conftest.$ac_ext
15123 LIBS=$ac_func_search_save_LIBS
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15126 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15127 ac_res=$ac_cv_search_clock_gettime
15128 if test "$ac_res" != no; then :
15129 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15131 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15133 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15137 LIBS=$ac_save_LIBS
15139 LDAP_LIBS=""
15141 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15142 then
15143 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15145 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15147 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15148 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 ac_check_lib_save_LIBS=$LIBS
15152 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15154 /* end confdefs.h. */
15156 /* Override any GCC internal prototype to avoid an error.
15157 Use char because int might match the return type of a GCC
15158 builtin and then its argument prototype would still apply. */
15159 #ifdef __cplusplus
15160 extern "C"
15161 #endif
15162 char ldap_initialize ();
15164 main ()
15166 return ldap_initialize ();
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 ac_cv_lib_ldap_r_ldap_initialize=yes
15173 else
15174 ac_cv_lib_ldap_r_ldap_initialize=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15178 LIBS=$ac_check_lib_save_LIBS
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15181 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15182 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15184 $as_echo_n "checking for ber_init in -llber... " >&6; }
15185 if ${ac_cv_lib_lber_ber_init+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 ac_check_lib_save_LIBS=$LIBS
15189 LIBS="-llber $PTHREAD_LIBS $LIBS"
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 #ifdef __cplusplus
15197 extern "C"
15198 #endif
15199 char ber_init ();
15201 main ()
15203 return ber_init ();
15205 return 0;
15207 _ACEOF
15208 if ac_fn_c_try_link "$LINENO"; then :
15209 ac_cv_lib_lber_ber_init=yes
15210 else
15211 ac_cv_lib_lber_ber_init=no
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_lib_save_LIBS
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15218 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15219 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15221 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15223 LDAP_LIBS="-lldap_r -llber"
15230 ac_wine_check_funcs_save_LIBS="$LIBS"
15231 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15232 for ac_func in \
15233 ldap_count_references \
15234 ldap_first_reference \
15235 ldap_next_reference \
15236 ldap_parse_reference \
15237 ldap_parse_sort_control \
15238 ldap_parse_sortresponse_control \
15239 ldap_parse_vlv_control \
15240 ldap_parse_vlvresponse_control
15241 do :
15242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15247 _ACEOF
15250 done
15252 LIBS="$ac_wine_check_funcs_save_LIBS"
15254 if test "x$LDAP_LIBS" = "x"; then :
15255 case "x$with_ldap" in
15256 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15257 xno) ;;
15258 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15259 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15260 esac
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15264 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15265 if ${wine_cv_one_arg_mkdir+:} false; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269 /* end confdefs.h. */
15270 #include <sys/stat.h>
15272 main ()
15274 mkdir("foo");
15276 return 0;
15278 _ACEOF
15279 if ac_fn_c_try_compile "$LINENO"; then :
15280 wine_cv_one_arg_mkdir=yes
15281 else
15282 wine_cv_one_arg_mkdir=no
15284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15287 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15288 if test "$wine_cv_one_arg_mkdir" = "yes"
15289 then
15291 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15296 $as_echo_n "checking for sched_setaffinity... " >&6; }
15297 if ${wine_cv_have_sched_setaffinity+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302 #define _GNU_SOURCE
15303 #include <sched.h>
15305 main ()
15307 sched_setaffinity(0, 0, 0);
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 wine_cv_have_sched_setaffinity=yes
15314 else
15315 wine_cv_have_sched_setaffinity=no
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15321 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15322 if test "$wine_cv_have_sched_setaffinity" = "yes"
15323 then
15325 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15330 $as_echo_n "checking for fallocate... " >&6; }
15331 if ${wine_cv_have_fallocate+:} false; then :
15332 $as_echo_n "(cached) " >&6
15333 else
15334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15335 /* end confdefs.h. */
15336 #define _GNU_SOURCE
15337 #include <fcntl.h>
15339 main ()
15341 fallocate(-1, 0, 0, 0);
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 wine_cv_have_fallocate=yes
15348 else
15349 wine_cv_have_fallocate=no
15351 rm -f core conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15355 $as_echo "$wine_cv_have_fallocate" >&6; }
15356 if test "$wine_cv_have_fallocate" = "yes"
15357 then
15359 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15365 $as_echo_n "checking for inline... " >&6; }
15366 if ${ac_cv_c_inline+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_cv_c_inline=no
15370 for ac_kw in inline __inline__ __inline; do
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15373 #ifndef __cplusplus
15374 typedef int foo_t;
15375 static $ac_kw foo_t static_foo () {return 0; }
15376 $ac_kw foo_t foo () {return 0; }
15377 #endif
15379 _ACEOF
15380 if ac_fn_c_try_compile "$LINENO"; then :
15381 ac_cv_c_inline=$ac_kw
15383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15384 test "$ac_cv_c_inline" != no && break
15385 done
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15389 $as_echo "$ac_cv_c_inline" >&6; }
15391 case $ac_cv_c_inline in
15392 inline | yes) ;;
15394 case $ac_cv_c_inline in
15395 no) ac_val=;;
15396 *) ac_val=$ac_cv_c_inline;;
15397 esac
15398 cat >>confdefs.h <<_ACEOF
15399 #ifndef __cplusplus
15400 #define inline $ac_val
15401 #endif
15402 _ACEOF
15404 esac
15406 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15407 if test "x$ac_cv_type_mode_t" = xyes; then :
15409 cat >>confdefs.h <<_ACEOF
15410 #define HAVE_MODE_T 1
15411 _ACEOF
15415 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15416 if test "x$ac_cv_type_off_t" = xyes; then :
15418 cat >>confdefs.h <<_ACEOF
15419 #define HAVE_OFF_T 1
15420 _ACEOF
15424 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15425 if test "x$ac_cv_type_pid_t" = xyes; then :
15427 cat >>confdefs.h <<_ACEOF
15428 #define HAVE_PID_T 1
15429 _ACEOF
15433 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15434 if test "x$ac_cv_type_size_t" = xyes; then :
15436 cat >>confdefs.h <<_ACEOF
15437 #define HAVE_SIZE_T 1
15438 _ACEOF
15442 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15443 if test "x$ac_cv_type_ssize_t" = xyes; then :
15445 cat >>confdefs.h <<_ACEOF
15446 #define HAVE_SSIZE_T 1
15447 _ACEOF
15451 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15452 if test "x$ac_cv_type_long_long" = xyes; then :
15454 cat >>confdefs.h <<_ACEOF
15455 #define HAVE_LONG_LONG 1
15456 _ACEOF
15460 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15461 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15463 cat >>confdefs.h <<_ACEOF
15464 #define HAVE_FSBLKCNT_T 1
15465 _ACEOF
15469 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15470 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15472 cat >>confdefs.h <<_ACEOF
15473 #define HAVE_FSFILCNT_T 1
15474 _ACEOF
15479 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15480 #include <signal.h>
15482 if test "x$ac_cv_type_sigset_t" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_SIGSET_T 1
15486 _ACEOF
15491 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15493 if test "x$ac_cv_type_request_sense" = xyes; then :
15495 cat >>confdefs.h <<_ACEOF
15496 #define HAVE_REQUEST_SENSE 1
15497 _ACEOF
15503 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15504 #ifdef HAVE_SYS_SOCKET_H
15505 #include <sys/socket.h>
15506 #endif
15507 #ifdef HAVE_SYS_SOCKETVAR_H
15508 #include <sys/socketvar.h>
15509 #endif
15510 #ifdef HAVE_NET_ROUTE_H
15511 #include <net/route.h>
15512 #endif
15513 #ifdef HAVE_NETINET_IN_H
15514 #include <netinet/in.h>
15515 #endif
15516 #ifdef HAVE_NETINET_IN_SYSTM_H
15517 #include <netinet/in_systm.h>
15518 #endif
15519 #ifdef HAVE_NETINET_IP_H
15520 #include <netinet/ip.h>
15521 #endif
15522 #ifdef HAVE_NETINET_IN_PCB_H
15523 #include <netinet/in_pcb.h>
15524 #endif
15526 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15528 cat >>confdefs.h <<_ACEOF
15529 #define HAVE_STRUCT_XINPGEN 1
15530 _ACEOF
15536 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15537 #include <link.h>
15538 #endif
15539 #ifdef HAVE_SYS_LINK_H
15540 #include <sys/link.h>
15541 #endif
15543 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15545 cat >>confdefs.h <<_ACEOF
15546 #define HAVE_STRUCT_R_DEBUG 1
15547 _ACEOF
15551 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15552 #include <link.h>
15553 #endif
15554 #ifdef HAVE_SYS_LINK_H
15555 #include <sys/link.h>
15556 #endif
15558 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_STRUCT_LINK_MAP 1
15562 _ACEOF
15568 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15569 #include <linux/input.h>
15570 #endif
15572 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15574 cat >>confdefs.h <<_ACEOF
15575 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15576 _ACEOF
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15583 $as_echo_n "checking for sigaddset... " >&6; }
15584 if ${wine_cv_have_sigaddset+:} false; then :
15585 $as_echo_n "(cached) " >&6
15586 else
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15589 #include <signal.h>
15591 main ()
15593 sigset_t set; sigaddset(&set,SIGTERM);
15595 return 0;
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 wine_cv_have_sigaddset=yes
15600 else
15601 wine_cv_have_sigaddset=no
15603 rm -f core conftest.err conftest.$ac_objext \
15604 conftest$ac_exeext conftest.$ac_ext
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15607 $as_echo "$wine_cv_have_sigaddset" >&6; }
15608 if test "$wine_cv_have_sigaddset" = "yes"
15609 then
15611 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15617 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15618 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15619 $as_echo_n "(cached) " >&6
15620 else
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15623 #include <netdb.h>
15625 main ()
15628 char *name=0;
15629 struct hostent he;
15630 struct hostent *result;
15631 char *buf=0;
15632 int bufsize=0;
15633 int errnr;
15634 char *addr=0;
15635 int addrlen=0;
15636 int addrtype=0;
15637 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15638 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15641 return 0;
15643 _ACEOF
15644 if ac_fn_c_try_link "$LINENO"; then :
15645 wine_cv_linux_gethostbyname_r_6=yes
15646 else
15647 wine_cv_linux_gethostbyname_r_6=no
15650 rm -f core conftest.err conftest.$ac_objext \
15651 conftest$ac_exeext conftest.$ac_ext
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15655 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15656 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15657 then
15659 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15663 if test "$ac_cv_header_linux_joystick_h" = "yes"
15664 then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15666 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15667 if ${wine_cv_linux_joystick_22_api+:} false; then :
15668 $as_echo_n "(cached) " >&6
15669 else
15670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15671 /* end confdefs.h. */
15673 #include <sys/ioctl.h>
15674 #include <sys/types.h>
15675 #include <linux/joystick.h>
15677 struct js_event blub;
15678 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15679 #error "no 2.2 header"
15680 #endif
15683 main ()
15685 /*empty*/
15687 return 0;
15689 _ACEOF
15690 if ac_fn_c_try_compile "$LINENO"; then :
15691 wine_cv_linux_joystick_22_api=yes
15692 else
15693 wine_cv_linux_joystick_22_api=no
15695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15699 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15700 if test "$wine_cv_linux_joystick_22_api" = "yes"
15701 then
15703 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15709 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15710 #ifdef HAVE_SYS_PARAM_H
15711 # include <sys/param.h>
15712 #endif
15713 #ifdef HAVE_SYS_MOUNT_H
15714 # include <sys/mount.h>
15715 #endif
15716 #ifdef HAVE_SYS_VFS_H
15717 # include <sys/vfs.h>
15718 #endif
15719 #ifdef HAVE_SYS_STATFS_H
15720 # include <sys/statfs.h>
15721 #endif
15723 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_STRUCT_STATFS_F_BFREE 1
15727 _ACEOF
15731 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_PARAM_H
15733 # include <sys/param.h>
15734 #endif
15735 #ifdef HAVE_SYS_MOUNT_H
15736 # include <sys/mount.h>
15737 #endif
15738 #ifdef HAVE_SYS_VFS_H
15739 # include <sys/vfs.h>
15740 #endif
15741 #ifdef HAVE_SYS_STATFS_H
15742 # include <sys/statfs.h>
15743 #endif
15745 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15749 _ACEOF
15753 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_PARAM_H
15755 # include <sys/param.h>
15756 #endif
15757 #ifdef HAVE_SYS_MOUNT_H
15758 # include <sys/mount.h>
15759 #endif
15760 #ifdef HAVE_SYS_VFS_H
15761 # include <sys/vfs.h>
15762 #endif
15763 #ifdef HAVE_SYS_STATFS_H
15764 # include <sys/statfs.h>
15765 #endif
15767 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15771 _ACEOF
15775 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15776 #ifdef HAVE_SYS_PARAM_H
15777 # include <sys/param.h>
15778 #endif
15779 #ifdef HAVE_SYS_MOUNT_H
15780 # include <sys/mount.h>
15781 #endif
15782 #ifdef HAVE_SYS_VFS_H
15783 # include <sys/vfs.h>
15784 #endif
15785 #ifdef HAVE_SYS_STATFS_H
15786 # include <sys/statfs.h>
15787 #endif
15789 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_STRUCT_STATFS_F_FFREE 1
15793 _ACEOF
15797 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15798 #ifdef HAVE_SYS_PARAM_H
15799 # include <sys/param.h>
15800 #endif
15801 #ifdef HAVE_SYS_MOUNT_H
15802 # include <sys/mount.h>
15803 #endif
15804 #ifdef HAVE_SYS_VFS_H
15805 # include <sys/vfs.h>
15806 #endif
15807 #ifdef HAVE_SYS_STATFS_H
15808 # include <sys/statfs.h>
15809 #endif
15811 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15813 cat >>confdefs.h <<_ACEOF
15814 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15815 _ACEOF
15819 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15820 #ifdef HAVE_SYS_PARAM_H
15821 # include <sys/param.h>
15822 #endif
15823 #ifdef HAVE_SYS_MOUNT_H
15824 # include <sys/mount.h>
15825 #endif
15826 #ifdef HAVE_SYS_VFS_H
15827 # include <sys/vfs.h>
15828 #endif
15829 #ifdef HAVE_SYS_STATFS_H
15830 # include <sys/statfs.h>
15831 #endif
15833 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15837 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15844 #include <sys/statvfs.h>
15845 #endif
15847 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15851 _ACEOF
15857 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15858 #include <dirent.h>
15859 #endif
15861 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15865 _ACEOF
15871 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15872 #ifdef HAVE_SYS_SOCKET_H
15873 # include <sys/socket.h>
15874 #endif
15875 #ifdef HAVE_SYS_UN_H
15876 # include <sys/un.h>
15877 #endif
15879 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15883 _ACEOF
15887 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15888 #ifdef HAVE_SYS_SOCKET_H
15889 # include <sys/socket.h>
15890 #endif
15891 #ifdef HAVE_SYS_UN_H
15892 # include <sys/un.h>
15893 #endif
15895 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15899 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15904 #ifdef HAVE_SYS_SOCKET_H
15905 # include <sys/socket.h>
15906 #endif
15907 #ifdef HAVE_SYS_UN_H
15908 # include <sys/un.h>
15909 #endif
15911 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15915 _ACEOF
15921 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15922 #ifdef HAVE_SCSI_SG_H
15923 #include <scsi/sg.h>
15924 #endif
15926 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_SCSIREQ_T_CMD 1
15930 _ACEOF
15934 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>
15935 #ifdef HAVE_SCSI_SG_H
15936 #include <scsi/sg.h>
15937 #endif
15939 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15943 _ACEOF
15949 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15951 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_SIGINFO_T_SI_FD 1
15955 _ACEOF
15961 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15962 #ifdef HAVE_SYS_MTIO_H
15963 #include <sys/mtio.h>
15964 #endif
15966 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15970 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15975 #ifdef HAVE_SYS_MTIO_H
15976 #include <sys/mtio.h>
15977 #endif
15979 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15983 _ACEOF
15987 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_MTIO_H
15989 #include <sys/mtio.h>
15990 #endif
15992 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15996 _ACEOF
16002 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16003 #include <getopt.h>
16004 #endif
16006 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_STRUCT_OPTION_NAME 1
16010 _ACEOF
16016 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16017 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16019 cat >>confdefs.h <<_ACEOF
16020 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16021 _ACEOF
16025 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16026 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_STRUCT_STAT_ST_MTIM 1
16030 _ACEOF
16034 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16035 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16039 _ACEOF
16043 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16044 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16046 cat >>confdefs.h <<_ACEOF
16047 #define HAVE_STRUCT_STAT_ST_CTIM 1
16048 _ACEOF
16052 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16053 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16057 _ACEOF
16061 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16062 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_STAT_ST_ATIM 1
16066 _ACEOF
16070 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16071 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16075 _ACEOF
16079 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16080 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16084 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16089 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16098 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16102 _ACEOF
16106 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16107 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16111 _ACEOF
16115 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16116 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16120 _ACEOF
16126 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
16127 #include <sys/types.h>
16128 #endif
16129 #ifdef HAVE_NETINET_IN_H
16130 #include <netinet/in.h>
16131 #endif
16133 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16137 _ACEOF
16143 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16144 #include <resolv.h>
16145 #endif
16147 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16149 cat >>confdefs.h <<_ACEOF
16150 #define HAVE_STRUCT___RES_STATE 1
16151 _ACEOF
16157 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
16158 #include <resolv.h>
16159 #endif
16161 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16165 _ACEOF
16171 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16172 #include <sys/types.h>
16173 #endif
16174 #ifdef HAVE_NETINET_IN_H
16175 # include <netinet/in.h>
16176 #endif
16177 #ifdef HAVE_ARPA_NAMESER_H
16178 # include <arpa/nameser.h>
16179 #endif
16181 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_NS_MSG__MSG_PTR 1
16185 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16192 #include <sys/types.h>
16193 #endif
16194 #ifdef HAVE_NETINET_IP_H
16195 #include <netinet/ip.h>
16196 #endif
16197 #ifdef HAVE_NETINET_IP_ICMP_H
16198 #include <netinet/ip_icmp.h>
16199 #endif
16200 #ifdef HAVE_NETINET_ICMP_VAR_H
16201 #include <netinet/icmp_var.h>
16202 #endif
16204 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16208 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16216 #endif
16217 #ifdef HAVE_ALIAS_H
16218 #include <alias.h>
16219 #endif
16220 #ifdef HAVE_SYS_SOCKET_H
16221 #include <sys/socket.h>
16222 #endif
16223 #ifdef HAVE_SYS_SOCKETVAR_H
16224 #include <sys/socketvar.h>
16225 #endif
16226 #ifdef HAVE_SYS_TIMEOUT_H
16227 #include <sys/timeout.h>
16228 #endif
16229 #ifdef HAVE_NETINET_IN_H
16230 #include <netinet/in.h>
16231 #endif
16232 #ifdef HAVE_NETINET_IN_SYSTM_H
16233 #include <netinet/in_systm.h>
16234 #endif
16235 #ifdef HAVE_NETINET_IP_H
16236 #include <netinet/ip.h>
16237 #endif
16238 #ifdef HAVE_NETINET_IP_VAR_H
16239 #include <netinet/ip_var.h>
16240 #endif
16241 #ifdef HAVE_NETINET_IP_ICMP_H
16242 #include <netinet/ip_icmp.h>
16243 #endif
16244 #ifdef HAVE_NETINET_ICMP_VAR_H
16245 #include <netinet/icmp_var.h>
16246 #endif
16248 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16252 _ACEOF
16258 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16259 #include <sys/types.h>
16260 #endif
16261 #ifdef HAVE_SYS_SOCKETVAR_H
16262 #include <sys/socketvar.h>
16263 #endif
16264 #ifdef HAVE_NETINET_IN_H
16265 #include <netinet/in.h>
16266 #endif
16267 #ifdef HAVE_NETINET_IP_VAR_H
16268 #include <netinet/ip_var.h>
16269 #endif
16271 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16275 _ACEOF
16281 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
16282 #include <netinet/ip_var.h>
16283 #endif
16285 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16289 _ACEOF
16295 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16296 #include <sys/types.h>
16297 #endif
16298 #ifdef HAVE_SYS_SOCKETVAR_H
16299 #include <sys/socketvar.h>
16300 #endif
16301 #ifdef HAVE_NETINET_IN_H
16302 #include <netinet/in.h>
16303 #endif
16304 #ifdef HAVE_NETINET_TCP_H
16305 #include <netinet/tcp.h>
16306 #endif
16307 #ifdef HAVE_NETINET_TCP_VAR_H
16308 #include <netinet/tcp_var.h>
16309 #endif
16311 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16313 cat >>confdefs.h <<_ACEOF
16314 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16315 _ACEOF
16321 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
16322 #include <netinet/tcp_var.h>
16323 #endif
16325 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16329 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16336 #include <sys/types.h>
16337 #endif
16338 #ifdef HAVE_NETINET_IN_H
16339 #include <netinet/in.h>
16340 #endif
16341 #ifdef HAVE_NETINET_IP_VAR_H
16342 #include <netinet/ip_var.h>
16343 #endif
16344 #ifdef HAVE_NETINET_UDP_H
16345 #include <netinet/udp.h>
16346 #endif
16347 #ifdef HAVE_NETINET_UDP_VAR_H
16348 #include <netinet/udp_var.h>
16349 #endif
16351 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16355 _ACEOF
16361 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16362 #include <sys/types.h>
16363 #endif
16364 #ifdef HAVE_NET_IF_H
16365 # include <net/if.h>
16366 #endif
16368 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16372 _ACEOF
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16379 $as_echo_n "checking for timezone variable... " >&6; }
16380 if ${ac_cv_have_timezone+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #include <time.h>
16387 main ()
16389 timezone = 1
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 ac_cv_have_timezone="yes"
16396 else
16397 ac_cv_have_timezone="no"
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16403 $as_echo "$ac_cv_have_timezone" >&6; }
16404 if test "$ac_cv_have_timezone" = "yes"
16405 then
16407 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16411 $as_echo_n "checking for daylight variable... " >&6; }
16412 if ${ac_cv_have_daylight+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 #include <time.h>
16419 main ()
16421 daylight = 1
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_link "$LINENO"; then :
16427 ac_cv_have_daylight="yes"
16428 else
16429 ac_cv_have_daylight="no"
16431 rm -f core conftest.err conftest.$ac_objext \
16432 conftest$ac_exeext conftest.$ac_ext
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16435 $as_echo "$ac_cv_have_daylight" >&6; }
16436 if test "$ac_cv_have_daylight" = "yes"
16437 then
16439 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16443 ac_save_LIBS="$LIBS"
16444 LIBS="$LIBS -lm"
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16446 $as_echo_n "checking for isfinite... " >&6; }
16447 if ${ac_cv_have_isfinite+:} false; then :
16448 $as_echo_n "(cached) " >&6
16449 else
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #define _GNU_SOURCE
16453 #include <math.h>
16455 main ()
16457 float f = 0.0; return isfinite(f)
16459 return 0;
16461 _ACEOF
16462 if ac_fn_c_try_link "$LINENO"; then :
16463 ac_cv_have_isfinite="yes"
16464 else
16465 ac_cv_have_isfinite="no"
16467 rm -f core conftest.err conftest.$ac_objext \
16468 conftest$ac_exeext conftest.$ac_ext
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16471 $as_echo "$ac_cv_have_isfinite" >&6; }
16472 if test "$ac_cv_have_isfinite" = "yes"
16473 then
16475 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16480 $as_echo_n "checking for isinf... " >&6; }
16481 if ${ac_cv_have_isinf+:} false; then :
16482 $as_echo_n "(cached) " >&6
16483 else
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #include <math.h>
16488 main ()
16490 float f = 0.0; return isinf(f)
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 ac_cv_have_isinf="yes"
16497 else
16498 ac_cv_have_isinf="no"
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16504 $as_echo "$ac_cv_have_isinf" >&6; }
16505 if test "$ac_cv_have_isinf" = "yes"
16506 then
16508 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16513 $as_echo_n "checking for isnan... " >&6; }
16514 if ${ac_cv_have_isnan+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #include <math.h>
16521 main ()
16523 float f = 0.0; return isnan(f)
16525 return 0;
16527 _ACEOF
16528 if ac_fn_c_try_link "$LINENO"; then :
16529 ac_cv_have_isnan="yes"
16530 else
16531 ac_cv_have_isnan="no"
16533 rm -f core conftest.err conftest.$ac_objext \
16534 conftest$ac_exeext conftest.$ac_ext
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16537 $as_echo "$ac_cv_have_isnan" >&6; }
16538 if test "$ac_cv_have_isnan" = "yes"
16539 then
16541 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16545 for ac_func in \
16546 cbrt \
16547 cbrtf \
16548 exp2 \
16549 exp2f \
16550 llrint \
16551 llrintf \
16552 llround \
16553 llroundf \
16554 log2 \
16555 log2f \
16556 lrint \
16557 lrintf \
16558 lround \
16559 lroundf \
16560 rint \
16561 rintf \
16562 round \
16563 roundf \
16564 trunc \
16565 truncf
16567 do :
16568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16571 cat >>confdefs.h <<_ACEOF
16572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16573 _ACEOF
16576 done
16578 LIBS="$ac_save_LIBS"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16581 $as_echo_n "checking for __builtin_clz... " >&6; }
16582 if ${ac_cv_have___builtin_clz+:} false; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16589 main ()
16591 return __builtin_clz(1)
16593 return 0;
16595 _ACEOF
16596 if ac_fn_c_try_link "$LINENO"; then :
16597 ac_cv_have___builtin_clz="yes"
16598 else
16599 ac_cv_have___builtin_clz="no"
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16605 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16606 if test "$ac_cv_have___builtin_clz" = "yes"
16607 then
16609 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16614 case $host_cpu in
16615 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16616 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16617 if ${ac_cv_cpp_def___i386__+:} false; then :
16618 $as_echo_n "(cached) " >&6
16619 else
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16622 #ifndef __i386__
16624 #endif
16625 _ACEOF
16626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16627 $EGREP "yes" >/dev/null 2>&1; then :
16628 ac_cv_cpp_def___i386__=yes
16629 else
16630 ac_cv_cpp_def___i386__=no
16632 rm -f conftest*
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16636 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16637 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16638 CFLAGS="$CFLAGS -D__i386__"
16639 LINTFLAGS="$LINTFLAGS -D__i386__"
16640 fi ;;
16641 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16642 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16643 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16644 $as_echo_n "(cached) " >&6
16645 else
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16648 #ifndef __x86_64__
16650 #endif
16651 _ACEOF
16652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16653 $EGREP "yes" >/dev/null 2>&1; then :
16654 ac_cv_cpp_def___x86_64__=yes
16655 else
16656 ac_cv_cpp_def___x86_64__=no
16658 rm -f conftest*
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16662 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16663 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16664 CFLAGS="$CFLAGS -D__x86_64__"
16665 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16666 fi ;;
16667 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16668 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16669 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16670 $as_echo_n "(cached) " >&6
16671 else
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h. */
16674 #ifndef __sparc64__
16676 #endif
16677 _ACEOF
16678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16679 $EGREP "yes" >/dev/null 2>&1; then :
16680 ac_cv_cpp_def___sparc64__=yes
16681 else
16682 ac_cv_cpp_def___sparc64__=no
16684 rm -f conftest*
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16688 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16689 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16690 CFLAGS="$CFLAGS -D__sparc64__"
16691 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16692 fi ;;
16693 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16694 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16695 if ${ac_cv_cpp_def___sparc__+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #ifndef __sparc__
16702 #endif
16703 _ACEOF
16704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16705 $EGREP "yes" >/dev/null 2>&1; then :
16706 ac_cv_cpp_def___sparc__=yes
16707 else
16708 ac_cv_cpp_def___sparc__=no
16710 rm -f conftest*
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16714 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16715 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16716 CFLAGS="$CFLAGS -D__sparc__"
16717 LINTFLAGS="$LINTFLAGS -D__sparc__"
16718 fi ;;
16719 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16720 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16721 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16722 $as_echo_n "(cached) " >&6
16723 else
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #ifndef __powerpc64__
16728 #endif
16729 _ACEOF
16730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16731 $EGREP "yes" >/dev/null 2>&1; then :
16732 ac_cv_cpp_def___powerpc64__=yes
16733 else
16734 ac_cv_cpp_def___powerpc64__=no
16736 rm -f conftest*
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16740 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16741 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16742 CFLAGS="$CFLAGS -D__powerpc64__"
16743 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16744 fi ;;
16745 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16746 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16747 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16748 $as_echo_n "(cached) " >&6
16749 else
16750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16751 /* end confdefs.h. */
16752 #ifndef __powerpc__
16754 #endif
16755 _ACEOF
16756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16757 $EGREP "yes" >/dev/null 2>&1; then :
16758 ac_cv_cpp_def___powerpc__=yes
16759 else
16760 ac_cv_cpp_def___powerpc__=no
16762 rm -f conftest*
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16766 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16767 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16768 CFLAGS="$CFLAGS -D__powerpc__"
16769 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16770 fi ;;
16771 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16772 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16773 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16778 #ifndef __aarch64__
16780 #endif
16781 _ACEOF
16782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16783 $EGREP "yes" >/dev/null 2>&1; then :
16784 ac_cv_cpp_def___aarch64__=yes
16785 else
16786 ac_cv_cpp_def___aarch64__=no
16788 rm -f conftest*
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16792 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16793 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16794 CFLAGS="$CFLAGS -D__aarch64__"
16795 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16796 fi ;;
16797 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16798 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16799 if ${ac_cv_cpp_def___arm__+:} false; then :
16800 $as_echo_n "(cached) " >&6
16801 else
16802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 /* end confdefs.h. */
16804 #ifndef __arm__
16806 #endif
16807 _ACEOF
16808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16809 $EGREP "yes" >/dev/null 2>&1; then :
16810 ac_cv_cpp_def___arm__=yes
16811 else
16812 ac_cv_cpp_def___arm__=no
16814 rm -f conftest*
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16818 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16819 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16820 CFLAGS="$CFLAGS -D__arm__"
16821 LINTFLAGS="$LINTFLAGS -D__arm__"
16822 fi ;;
16823 esac
16825 case $host_vendor in
16826 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16827 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16828 if ${ac_cv_cpp_def___sun__+:} false; then :
16829 $as_echo_n "(cached) " >&6
16830 else
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16833 #ifndef __sun__
16835 #endif
16836 _ACEOF
16837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16838 $EGREP "yes" >/dev/null 2>&1; then :
16839 ac_cv_cpp_def___sun__=yes
16840 else
16841 ac_cv_cpp_def___sun__=no
16843 rm -f conftest*
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16847 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16848 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16849 CFLAGS="$CFLAGS -D__sun__"
16850 LINTFLAGS="$LINTFLAGS -D__sun__"
16851 fi ;;
16852 esac
16858 ac_config_commands="$ac_config_commands include/stamp-h"
16860 $as_echo_n "creating Makefile rules..." >&6
16862 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16863 SOCKET_LIBS = $SOCKET_LIBS
16864 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16865 IOKIT_LIBS = $IOKIT_LIBS
16866 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16867 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16868 CORESERVICES_LIBS = $CORESERVICES_LIBS
16869 APPKIT_LIBS = $APPKIT_LIBS
16870 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16871 SECURITY_LIBS = $SECURITY_LIBS
16872 COREAUDIO_LIBS = $COREAUDIO_LIBS
16873 OPENAL_LIBS = $OPENAL_LIBS
16874 OPENCL_LIBS = $OPENCL_LIBS
16875 QUICKTIME_LIBS = $QUICKTIME_LIBS
16876 CARBON_LIBS = $CARBON_LIBS
16877 PTHREAD_LIBS = $PTHREAD_LIBS
16878 X_CFLAGS = $X_CFLAGS
16879 X_PRE_LIBS = $X_PRE_LIBS
16880 X_LIBS = $X_LIBS
16881 X_EXTRA_LIBS = $X_EXTRA_LIBS
16882 XML2_CFLAGS = $XML2_CFLAGS
16883 XML2_LIBS = $XML2_LIBS
16884 XSLT_CFLAGS = $XSLT_CFLAGS
16885 XSLT_LIBS = $XSLT_LIBS
16886 DBUS_CFLAGS = $DBUS_CFLAGS
16887 DBUS_LIBS = $DBUS_LIBS
16888 HAL_CFLAGS = $HAL_CFLAGS
16889 HAL_LIBS = $HAL_LIBS
16890 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16891 GNUTLS_LIBS = $GNUTLS_LIBS
16892 SANE_CFLAGS = $SANE_CFLAGS
16893 SANE_LIBS = $SANE_LIBS
16894 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16895 GPHOTO2_LIBS = $GPHOTO2_LIBS
16896 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16897 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16898 RESOLV_LIBS = $RESOLV_LIBS
16899 LCMS2_CFLAGS = $LCMS2_CFLAGS
16900 LCMS2_LIBS = $LCMS2_LIBS
16901 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16902 FREETYPE_LIBS = $FREETYPE_LIBS
16903 Z_LIBS = $Z_LIBS
16904 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16905 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16906 GSTREAMER_LIBS = $GSTREAMER_LIBS
16907 ALSA_LIBS = $ALSA_LIBS
16908 OSS4_CFLAGS = $OSS4_CFLAGS
16909 CAPI20_CFLAGS = $CAPI20_CFLAGS
16910 CAPI20_LIBS = $CAPI20_LIBS
16911 CUPS_CFLAGS = $CUPS_CFLAGS
16912 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16913 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16914 JPEG_CFLAGS = $JPEG_CFLAGS
16915 JPEG_LIBS = $JPEG_LIBS
16916 PNG_CFLAGS = $PNG_CFLAGS
16917 PNG_LIBS = $PNG_LIBS
16918 TIFF_CFLAGS = $TIFF_CFLAGS
16919 TIFF_LIBS = $TIFF_LIBS
16920 MPG123_CFLAGS = $MPG123_CFLAGS
16921 MPG123_LIBS = $MPG123_LIBS
16922 KSTAT_LIBS = $KSTAT_LIBS
16923 PROCSTAT_LIBS = $PROCSTAT_LIBS
16924 DL_LIBS = $DL_LIBS
16925 POLL_LIBS = $POLL_LIBS
16926 RT_LIBS = $RT_LIBS
16927 LDAP_LIBS = $LDAP_LIBS
16932 wine_fn_append_rule "
16933 # Rules automatically generated by configure
16935 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16937 .INIT: Makefile
16938 .MAKEFILEDEPS:
16939 all: Makefile
16940 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16941 @./config.status Make.tmp Makefile"
16943 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16944 .gitignore: config.status
16945 @./config.status .gitignore"
16947 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16948 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16950 if test "x$enable_fonts" != xno; then
16951 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16952 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16953 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16954 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16955 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16957 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16958 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16959 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16960 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16961 ac_config_links="$ac_config_links wine:tools/winewrapper"
16962 wine_fn_config_symlink wine
16963 if test "x$enable_win64" != xno; then
16964 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16965 wine_fn_config_symlink wine64
16968 wine_fn_config_dll acledit enable_acledit
16969 wine_fn_config_dll aclui enable_aclui implib
16970 wine_fn_config_dll activeds enable_activeds implib
16971 wine_fn_config_dll actxprxy enable_actxprxy clean
16972 wine_fn_config_lib adsiid
16973 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16974 wine_fn_config_test dlls/advapi32/tests advapi32_test
16975 wine_fn_config_dll advpack enable_advpack implib
16976 wine_fn_config_test dlls/advpack/tests advpack_test
16977 wine_fn_config_dll amstream enable_amstream clean
16978 wine_fn_config_test dlls/amstream/tests amstream_test
16979 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16983 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16984 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16985 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16986 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16988 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16989 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16990 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16991 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16993 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17000 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17003 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17004 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17008 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17012 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17017 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17023 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17026 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17027 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17035 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17036 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17037 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17038 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17039 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17040 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17041 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17042 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17043 wine_fn_config_dll apphelp enable_apphelp
17044 wine_fn_config_test dlls/apphelp/tests apphelp_test
17045 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17046 wine_fn_config_dll atl enable_atl clean,implib
17047 wine_fn_config_test dlls/atl/tests atl_test
17048 wine_fn_config_dll atl100 enable_atl100 clean,implib
17049 wine_fn_config_test dlls/atl100/tests atl100_test
17050 wine_fn_config_dll atl110 enable_atl110 clean
17051 wine_fn_config_dll atl80 enable_atl80 clean,implib
17052 wine_fn_config_test dlls/atl80/tests atl80_test
17053 wine_fn_config_dll atl90 enable_atl90 clean
17054 wine_fn_config_dll authz enable_authz
17055 wine_fn_config_dll avicap32 enable_avicap32 implib
17056 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17057 wine_fn_config_test dlls/avifil32/tests avifil32_test
17058 wine_fn_config_dll avifile.dll16 enable_win16
17059 wine_fn_config_dll avrt enable_avrt implib
17060 wine_fn_config_dll bcrypt enable_bcrypt
17061 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17062 wine_fn_config_dll browseui enable_browseui clean,po
17063 wine_fn_config_test dlls/browseui/tests browseui_test
17064 wine_fn_config_dll cabinet enable_cabinet implib
17065 wine_fn_config_test dlls/cabinet/tests cabinet_test
17066 wine_fn_config_dll capi2032 enable_capi2032 implib
17067 wine_fn_config_dll cards enable_cards implib
17068 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17069 wine_fn_config_dll clusapi enable_clusapi implib
17070 wine_fn_config_dll combase enable_combase
17071 wine_fn_config_test dlls/combase/tests combase_test
17072 wine_fn_config_dll comcat enable_comcat
17073 wine_fn_config_test dlls/comcat/tests comcat_test
17074 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17075 wine_fn_config_test dlls/comctl32/tests comctl32_test
17076 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17077 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17078 wine_fn_config_dll comm.drv16 enable_win16
17079 wine_fn_config_dll commdlg.dll16 enable_win16
17080 wine_fn_config_dll compobj.dll16 enable_win16
17081 wine_fn_config_dll compstui enable_compstui implib
17082 wine_fn_config_dll comsvcs enable_comsvcs implib
17083 wine_fn_config_dll credui enable_credui implib,po
17084 wine_fn_config_test dlls/credui/tests credui_test
17085 wine_fn_config_dll crtdll enable_crtdll implib
17086 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17087 wine_fn_config_test dlls/crypt32/tests crypt32_test
17088 wine_fn_config_dll cryptdlg enable_cryptdlg po
17089 wine_fn_config_dll cryptdll enable_cryptdll implib
17090 wine_fn_config_dll cryptext enable_cryptext
17091 wine_fn_config_dll cryptnet enable_cryptnet implib
17092 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17093 wine_fn_config_dll cryptui enable_cryptui implib,po
17094 wine_fn_config_test dlls/cryptui/tests cryptui_test
17095 wine_fn_config_dll ctapi32 enable_ctapi32
17096 wine_fn_config_dll ctl3d.dll16 enable_win16
17097 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17098 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17099 wine_fn_config_dll d2d1 enable_d2d1 implib
17100 wine_fn_config_test dlls/d2d1/tests d2d1_test
17101 wine_fn_config_dll d3d10 enable_d3d10 implib
17102 wine_fn_config_test dlls/d3d10/tests d3d10_test
17103 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17104 wine_fn_config_dll d3d10core enable_d3d10core implib
17105 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17106 wine_fn_config_dll d3d11 enable_d3d11
17107 wine_fn_config_dll d3d8 enable_d3d8 implib
17108 wine_fn_config_test dlls/d3d8/tests d3d8_test
17109 wine_fn_config_dll d3d9 enable_d3d9 implib
17110 wine_fn_config_test dlls/d3d9/tests d3d9_test
17111 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17112 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17113 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17114 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17115 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17116 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17117 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17118 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17119 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17120 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17121 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17122 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17123 wine_fn_config_dll d3dim enable_d3dim implib
17124 wine_fn_config_dll d3drm enable_d3drm implib
17125 wine_fn_config_test dlls/d3drm/tests d3drm_test
17126 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17127 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17128 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17129 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17130 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17131 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17132 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17133 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17134 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17135 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17136 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17137 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17138 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17139 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17140 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17141 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17142 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17143 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17144 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17145 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17146 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17147 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17148 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17149 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17150 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17151 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17152 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17153 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17154 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17155 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17156 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17157 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17158 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17159 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17160 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17161 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17162 wine_fn_config_dll dbgeng enable_dbgeng implib
17163 wine_fn_config_dll dbghelp enable_dbghelp implib
17164 wine_fn_config_dll dciman32 enable_dciman32 implib
17165 wine_fn_config_dll ddeml.dll16 enable_win16
17166 wine_fn_config_dll ddraw enable_ddraw clean,implib
17167 wine_fn_config_test dlls/ddraw/tests ddraw_test
17168 wine_fn_config_dll ddrawex enable_ddrawex clean
17169 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17170 wine_fn_config_dll devenum enable_devenum clean,po
17171 wine_fn_config_test dlls/devenum/tests devenum_test
17172 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17173 wine_fn_config_dll difxapi enable_difxapi
17174 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17175 wine_fn_config_test dlls/dinput/tests dinput_test
17176 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17177 wine_fn_config_test dlls/dinput8/tests dinput8_test
17178 wine_fn_config_dll dispdib.dll16 enable_win16
17179 wine_fn_config_dll dispex enable_dispex clean
17180 wine_fn_config_test dlls/dispex/tests dispex_test
17181 wine_fn_config_dll display.drv16 enable_win16
17182 wine_fn_config_dll dmband enable_dmband clean
17183 wine_fn_config_test dlls/dmband/tests dmband_test
17184 wine_fn_config_dll dmcompos enable_dmcompos clean
17185 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17186 wine_fn_config_dll dmime enable_dmime clean
17187 wine_fn_config_test dlls/dmime/tests dmime_test
17188 wine_fn_config_dll dmloader enable_dmloader clean
17189 wine_fn_config_test dlls/dmloader/tests dmloader_test
17190 wine_fn_config_dll dmscript enable_dmscript clean
17191 wine_fn_config_test dlls/dmscript/tests dmscript_test
17192 wine_fn_config_dll dmstyle enable_dmstyle clean
17193 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17194 wine_fn_config_dll dmsynth enable_dmsynth clean
17195 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17196 wine_fn_config_dll dmusic enable_dmusic clean
17197 wine_fn_config_test dlls/dmusic/tests dmusic_test
17198 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17199 wine_fn_config_dll dnsapi enable_dnsapi implib
17200 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17201 wine_fn_config_dll dplay enable_dplay implib
17202 wine_fn_config_dll dplayx enable_dplayx clean,implib
17203 wine_fn_config_test dlls/dplayx/tests dplayx_test
17204 wine_fn_config_dll dpnaddr enable_dpnaddr
17205 wine_fn_config_dll dpnet enable_dpnet clean,implib
17206 wine_fn_config_test dlls/dpnet/tests dpnet_test
17207 wine_fn_config_dll dpnhpast enable_dpnhpast
17208 wine_fn_config_dll dpnlobby enable_dpnlobby
17209 wine_fn_config_dll dpvoice enable_dpvoice clean
17210 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17211 wine_fn_config_dll dpwsockx enable_dpwsockx
17212 wine_fn_config_dll drmclien enable_drmclien
17213 wine_fn_config_dll dsound enable_dsound clean,implib
17214 wine_fn_config_test dlls/dsound/tests dsound_test
17215 wine_fn_config_dll dssenh enable_dssenh
17216 wine_fn_config_test dlls/dssenh/tests dssenh_test
17217 wine_fn_config_dll dswave enable_dswave clean
17218 wine_fn_config_test dlls/dswave/tests dswave_test
17219 wine_fn_config_dll dwmapi enable_dwmapi implib
17220 wine_fn_config_dll dwrite enable_dwrite implib
17221 wine_fn_config_test dlls/dwrite/tests dwrite_test
17222 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17223 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17224 wine_fn_config_lib dxerr8
17225 wine_fn_config_lib dxerr9
17226 wine_fn_config_dll dxgi enable_dxgi implib
17227 wine_fn_config_test dlls/dxgi/tests dxgi_test
17228 wine_fn_config_lib dxguid
17229 wine_fn_config_dll dxva2 enable_dxva2
17230 wine_fn_config_dll evr enable_evr
17231 wine_fn_config_dll explorerframe enable_explorerframe clean
17232 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17233 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17234 wine_fn_config_dll faultrep enable_faultrep implib
17235 wine_fn_config_test dlls/faultrep/tests faultrep_test
17236 wine_fn_config_dll fltlib enable_fltlib
17237 wine_fn_config_dll fntcache enable_fntcache
17238 wine_fn_config_dll fontsub enable_fontsub
17239 wine_fn_config_dll fusion enable_fusion
17240 wine_fn_config_test dlls/fusion/tests fusion_test
17241 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17242 wine_fn_config_dll gameux enable_gameux clean
17243 wine_fn_config_test dlls/gameux/tests gameux_test
17244 wine_fn_config_dll gdi.exe16 enable_win16
17245 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17246 wine_fn_config_test dlls/gdi32/tests gdi32_test
17247 wine_fn_config_dll gdiplus enable_gdiplus implib
17248 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17249 wine_fn_config_dll glu32 enable_glu32 implib
17250 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17251 wine_fn_config_dll gpkcsp enable_gpkcsp
17252 wine_fn_config_dll hal enable_hal
17253 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17254 wine_fn_config_dll hid enable_hid implib
17255 wine_fn_config_dll hlink enable_hlink clean,implib
17256 wine_fn_config_test dlls/hlink/tests hlink_test
17257 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17258 wine_fn_config_dll httpapi enable_httpapi
17259 wine_fn_config_dll iccvid enable_iccvid po
17260 wine_fn_config_dll icmp enable_icmp
17261 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17262 wine_fn_config_test dlls/ieframe/tests ieframe_test
17263 wine_fn_config_dll ifsmgr.vxd enable_win16
17264 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17265 wine_fn_config_dll imagehlp enable_imagehlp implib
17266 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17267 wine_fn_config_dll imm.dll16 enable_win16
17268 wine_fn_config_dll imm32 enable_imm32 implib
17269 wine_fn_config_test dlls/imm32/tests imm32_test
17270 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17271 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17272 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17273 wine_fn_config_dll inetmib1 enable_inetmib1
17274 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17275 wine_fn_config_dll infosoft enable_infosoft clean
17276 wine_fn_config_test dlls/infosoft/tests infosoft_test
17277 wine_fn_config_dll initpki enable_initpki
17278 wine_fn_config_dll inkobj enable_inkobj
17279 wine_fn_config_dll inseng enable_inseng clean
17280 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17281 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17282 wine_fn_config_dll itircl enable_itircl
17283 wine_fn_config_dll itss enable_itss clean
17284 wine_fn_config_test dlls/itss/tests itss_test
17285 wine_fn_config_dll joy.cpl enable_joy_cpl po
17286 wine_fn_config_dll jscript enable_jscript clean,po
17287 wine_fn_config_test dlls/jscript/tests jscript_test
17288 wine_fn_config_dll jsproxy enable_jsproxy implib
17289 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17290 wine_fn_config_test dlls/kernel32/tests kernel32_test
17291 wine_fn_config_dll keyboard.drv16 enable_win16
17292 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17293 wine_fn_config_dll ksuser enable_ksuser
17294 wine_fn_config_dll ktmw32 enable_ktmw32
17295 wine_fn_config_dll loadperf enable_loadperf implib
17296 wine_fn_config_dll localspl enable_localspl po
17297 wine_fn_config_test dlls/localspl/tests localspl_test
17298 wine_fn_config_dll localui enable_localui po
17299 wine_fn_config_test dlls/localui/tests localui_test
17300 wine_fn_config_dll lz32 enable_lz32 implib
17301 wine_fn_config_test dlls/lz32/tests lz32_test
17302 wine_fn_config_dll lzexpand.dll16 enable_win16
17303 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17304 wine_fn_config_test dlls/mapi32/tests mapi32_test
17305 wine_fn_config_dll mapistub enable_mapistub
17306 wine_fn_config_dll mciavi32 enable_mciavi32
17307 wine_fn_config_dll mcicda enable_mcicda
17308 wine_fn_config_dll mciqtz32 enable_mciqtz32
17309 wine_fn_config_dll mciseq enable_mciseq
17310 wine_fn_config_dll mciwave enable_mciwave
17311 wine_fn_config_dll mfplat enable_mfplat
17312 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17313 wine_fn_config_dll mgmtapi enable_mgmtapi
17314 wine_fn_config_dll midimap enable_midimap
17315 wine_fn_config_dll mlang enable_mlang clean,implib
17316 wine_fn_config_test dlls/mlang/tests mlang_test
17317 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17318 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17319 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17320 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17321 wine_fn_config_dll mmdevldr.vxd enable_win16
17322 wine_fn_config_dll mmsystem.dll16 enable_win16
17323 wine_fn_config_dll monodebg.vxd enable_win16
17324 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17325 wine_fn_config_dll mouse.drv16 enable_win16
17326 wine_fn_config_dll mpr enable_mpr implib,po
17327 wine_fn_config_test dlls/mpr/tests mpr_test
17328 wine_fn_config_dll mprapi enable_mprapi implib
17329 wine_fn_config_dll msacm.dll16 enable_win16
17330 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17331 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17332 wine_fn_config_test dlls/msacm32/tests msacm32_test
17333 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17334 wine_fn_config_dll msasn1 enable_msasn1 implib
17335 wine_fn_config_dll mscat32 enable_mscat32
17336 wine_fn_config_dll mscms enable_mscms implib
17337 wine_fn_config_test dlls/mscms/tests mscms_test
17338 wine_fn_config_dll mscoree enable_mscoree clean
17339 wine_fn_config_test dlls/mscoree/tests mscoree_test
17340 wine_fn_config_dll msctf enable_msctf clean
17341 wine_fn_config_test dlls/msctf/tests msctf_test
17342 wine_fn_config_dll msdaps enable_msdaps clean
17343 wine_fn_config_dll msdmo enable_msdmo implib
17344 wine_fn_config_test dlls/msdmo/tests msdmo_test
17345 wine_fn_config_dll msftedit enable_msftedit
17346 wine_fn_config_dll msg711.acm enable_msg711_acm
17347 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17348 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17349 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17350 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17351 wine_fn_config_dll msi enable_msi clean,implib,po
17352 wine_fn_config_test dlls/msi/tests msi_test
17353 wine_fn_config_dll msident enable_msident clean
17354 wine_fn_config_dll msimg32 enable_msimg32 implib
17355 wine_fn_config_dll msimsg enable_msimsg
17356 wine_fn_config_dll msimtf enable_msimtf clean
17357 wine_fn_config_dll msisip enable_msisip
17358 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17359 wine_fn_config_dll msls31 enable_msls31
17360 wine_fn_config_dll msnet32 enable_msnet32
17361 wine_fn_config_dll mspatcha enable_mspatcha
17362 wine_fn_config_dll msrle32 enable_msrle32 po
17363 wine_fn_config_test dlls/msrle32/tests msrle32_test
17364 wine_fn_config_dll mssign32 enable_mssign32
17365 wine_fn_config_dll mssip32 enable_mssip32
17366 wine_fn_config_dll mstask enable_mstask clean
17367 wine_fn_config_test dlls/mstask/tests mstask_test
17368 wine_fn_config_dll msvcirt enable_msvcirt
17369 wine_fn_config_dll msvcm80 enable_msvcm80
17370 wine_fn_config_dll msvcm90 enable_msvcm90
17371 wine_fn_config_dll msvcp100 enable_msvcp100
17372 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17373 wine_fn_config_dll msvcp110 enable_msvcp110
17374 wine_fn_config_dll msvcp120 enable_msvcp120
17375 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17376 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17377 wine_fn_config_dll msvcp60 enable_msvcp60
17378 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17379 wine_fn_config_dll msvcp70 enable_msvcp70
17380 wine_fn_config_dll msvcp71 enable_msvcp71
17381 wine_fn_config_dll msvcp80 enable_msvcp80
17382 wine_fn_config_dll msvcp90 enable_msvcp90
17383 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17384 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17385 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17386 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17387 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17388 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17389 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17390 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17391 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17392 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17393 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17394 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17395 wine_fn_config_dll msvcrt enable_msvcrt implib
17396 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17397 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17398 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17399 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17400 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17401 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17402 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17403 wine_fn_config_dll msvidc32 enable_msvidc32 po
17404 wine_fn_config_dll msvideo.dll16 enable_win16
17405 wine_fn_config_dll mswsock enable_mswsock implib
17406 wine_fn_config_dll msxml enable_msxml clean
17407 wine_fn_config_dll msxml2 enable_msxml2 clean
17408 wine_fn_config_dll msxml3 enable_msxml3 clean
17409 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17410 wine_fn_config_dll msxml4 enable_msxml4 clean
17411 wine_fn_config_dll msxml6 enable_msxml6 clean
17412 wine_fn_config_dll nddeapi enable_nddeapi implib
17413 wine_fn_config_dll ndis.sys enable_ndis_sys
17414 wine_fn_config_dll netapi32 enable_netapi32 implib
17415 wine_fn_config_test dlls/netapi32/tests netapi32_test
17416 wine_fn_config_dll netcfgx enable_netcfgx clean
17417 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17418 wine_fn_config_dll netprofm enable_netprofm clean
17419 wine_fn_config_test dlls/netprofm/tests netprofm_test
17420 wine_fn_config_dll newdev enable_newdev implib
17421 wine_fn_config_dll normaliz enable_normaliz implib
17422 wine_fn_config_dll npmshtml enable_npmshtml
17423 wine_fn_config_dll npptools enable_npptools
17424 wine_fn_config_dll ntdll enable_ntdll implib
17425 wine_fn_config_test dlls/ntdll/tests ntdll_test
17426 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17427 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17428 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17429 wine_fn_config_dll ntprint enable_ntprint
17430 wine_fn_config_test dlls/ntprint/tests ntprint_test
17431 wine_fn_config_dll objsel enable_objsel clean
17432 wine_fn_config_dll odbc32 enable_odbc32 implib
17433 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17434 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17435 wine_fn_config_dll odbccu32 enable_odbccu32
17436 wine_fn_config_dll ole2.dll16 enable_win16
17437 wine_fn_config_dll ole2conv.dll16 enable_win16
17438 wine_fn_config_dll ole2disp.dll16 enable_win16
17439 wine_fn_config_dll ole2nls.dll16 enable_win16
17440 wine_fn_config_dll ole2prox.dll16 enable_win16
17441 wine_fn_config_dll ole2thk.dll16 enable_win16
17442 wine_fn_config_dll ole32 enable_ole32 clean,implib
17443 wine_fn_config_test dlls/ole32/tests ole32_test
17444 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17445 wine_fn_config_test dlls/oleacc/tests oleacc_test
17446 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17447 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17448 wine_fn_config_dll olecli.dll16 enable_win16
17449 wine_fn_config_dll olecli32 enable_olecli32 implib
17450 wine_fn_config_dll oledb32 enable_oledb32 clean
17451 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17452 wine_fn_config_dll oledlg enable_oledlg implib,po
17453 wine_fn_config_dll olepro32 enable_olepro32 implib
17454 wine_fn_config_dll olesvr.dll16 enable_win16
17455 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17456 wine_fn_config_dll olethk32 enable_olethk32
17457 wine_fn_config_dll openal32 enable_openal32
17458 wine_fn_config_dll opencl enable_opencl
17459 wine_fn_config_dll opengl32 enable_opengl32 implib
17460 wine_fn_config_test dlls/opengl32/tests opengl32_test
17461 wine_fn_config_dll packager enable_packager clean
17462 wine_fn_config_test dlls/packager/tests packager_test
17463 wine_fn_config_dll pdh enable_pdh implib
17464 wine_fn_config_test dlls/pdh/tests pdh_test
17465 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17466 wine_fn_config_dll pidgen enable_pidgen
17467 wine_fn_config_dll powrprof enable_powrprof implib
17468 wine_fn_config_dll printui enable_printui
17469 wine_fn_config_dll prntvpt enable_prntvpt
17470 wine_fn_config_dll propsys enable_propsys clean,implib
17471 wine_fn_config_test dlls/propsys/tests propsys_test
17472 wine_fn_config_dll psapi enable_psapi implib
17473 wine_fn_config_test dlls/psapi/tests psapi_test
17474 wine_fn_config_dll pstorec enable_pstorec clean
17475 wine_fn_config_dll qcap enable_qcap
17476 wine_fn_config_test dlls/qcap/tests qcap_test
17477 wine_fn_config_dll qedit enable_qedit clean
17478 wine_fn_config_test dlls/qedit/tests qedit_test
17479 wine_fn_config_dll qmgr enable_qmgr clean
17480 wine_fn_config_test dlls/qmgr/tests qmgr_test
17481 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17482 wine_fn_config_dll quartz enable_quartz clean,implib
17483 wine_fn_config_test dlls/quartz/tests quartz_test clean
17484 wine_fn_config_dll query enable_query
17485 wine_fn_config_dll rasapi16.dll16 enable_win16
17486 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17487 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17488 wine_fn_config_dll rasdlg enable_rasdlg implib
17489 wine_fn_config_dll regapi enable_regapi
17490 wine_fn_config_dll resutils enable_resutils implib
17491 wine_fn_config_dll riched20 enable_riched20 implib
17492 wine_fn_config_test dlls/riched20/tests riched20_test
17493 wine_fn_config_dll riched32 enable_riched32
17494 wine_fn_config_test dlls/riched32/tests riched32_test
17495 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17496 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17497 wine_fn_config_dll rsabase enable_rsabase
17498 wine_fn_config_dll rsaenh enable_rsaenh implib
17499 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17500 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17501 wine_fn_config_dll rtutils enable_rtutils implib
17502 wine_fn_config_dll samlib enable_samlib
17503 wine_fn_config_dll sane.ds enable_sane_ds po
17504 wine_fn_config_dll scarddlg enable_scarddlg
17505 wine_fn_config_dll sccbase enable_sccbase
17506 wine_fn_config_dll schannel enable_schannel
17507 wine_fn_config_test dlls/schannel/tests schannel_test
17508 wine_fn_config_dll schedsvc enable_schedsvc clean
17509 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17510 wine_fn_config_dll scrrun enable_scrrun clean
17511 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17512 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17513 wine_fn_config_dll secur32 enable_secur32 implib
17514 wine_fn_config_test dlls/secur32/tests secur32_test
17515 wine_fn_config_dll security enable_security
17516 wine_fn_config_dll sensapi enable_sensapi implib
17517 wine_fn_config_dll serialui enable_serialui implib,po
17518 wine_fn_config_test dlls/serialui/tests serialui_test
17519 wine_fn_config_dll setupapi enable_setupapi implib,po
17520 wine_fn_config_test dlls/setupapi/tests setupapi_test
17521 wine_fn_config_dll setupx.dll16 enable_win16
17522 wine_fn_config_dll sfc enable_sfc implib
17523 wine_fn_config_dll sfc_os enable_sfc_os implib
17524 wine_fn_config_dll shdoclc enable_shdoclc po
17525 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17526 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17527 wine_fn_config_dll shell.dll16 enable_win16
17528 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17529 wine_fn_config_test dlls/shell32/tests shell32_test
17530 wine_fn_config_dll shfolder enable_shfolder implib
17531 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17532 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17533 wine_fn_config_dll slbcsp enable_slbcsp
17534 wine_fn_config_dll slc enable_slc implib
17535 wine_fn_config_test dlls/slc/tests slc_test
17536 wine_fn_config_dll snmpapi enable_snmpapi implib
17537 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17538 wine_fn_config_dll softpub enable_softpub
17539 wine_fn_config_dll sound.drv16 enable_win16
17540 wine_fn_config_dll spoolss enable_spoolss implib
17541 wine_fn_config_test dlls/spoolss/tests spoolss_test
17542 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17543 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17544 wine_fn_config_dll sti enable_sti clean,implib
17545 wine_fn_config_test dlls/sti/tests sti_test
17546 wine_fn_config_dll storage.dll16 enable_win16
17547 wine_fn_config_dll stress.dll16 enable_win16
17548 wine_fn_config_lib strmbase
17549 wine_fn_config_lib strmiids
17550 wine_fn_config_dll svrapi enable_svrapi
17551 wine_fn_config_dll sxs enable_sxs implib
17552 wine_fn_config_test dlls/sxs/tests sxs_test
17553 wine_fn_config_dll system.drv16 enable_win16
17554 wine_fn_config_dll t2embed enable_t2embed
17555 wine_fn_config_dll tapi32 enable_tapi32 implib
17556 wine_fn_config_dll taskschd enable_taskschd clean
17557 wine_fn_config_test dlls/taskschd/tests taskschd_test
17558 wine_fn_config_dll toolhelp.dll16 enable_win16
17559 wine_fn_config_dll traffic enable_traffic
17560 wine_fn_config_dll twain.dll16 enable_win16
17561 wine_fn_config_dll twain_32 enable_twain_32
17562 wine_fn_config_test dlls/twain_32/tests twain_32_test
17563 wine_fn_config_dll typelib.dll16 enable_win16
17564 wine_fn_config_dll unicows enable_unicows implib
17565 wine_fn_config_dll updspapi enable_updspapi
17566 wine_fn_config_dll url enable_url implib
17567 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17568 wine_fn_config_test dlls/urlmon/tests urlmon_test
17569 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17570 wine_fn_config_dll user.exe16 enable_win16
17571 wine_fn_config_dll user32 enable_user32 clean,implib,po
17572 wine_fn_config_test dlls/user32/tests user32_test
17573 wine_fn_config_dll userenv enable_userenv implib
17574 wine_fn_config_test dlls/userenv/tests userenv_test
17575 wine_fn_config_dll usp10 enable_usp10 implib
17576 wine_fn_config_test dlls/usp10/tests usp10_test
17577 wine_fn_config_lib uuid
17578 wine_fn_config_dll uxtheme enable_uxtheme implib
17579 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17580 wine_fn_config_dll vbscript enable_vbscript clean
17581 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17582 wine_fn_config_dll vcomp enable_vcomp
17583 wine_fn_config_dll vcomp100 enable_vcomp100
17584 wine_fn_config_dll vcomp90 enable_vcomp90
17585 wine_fn_config_dll vdhcp.vxd enable_win16
17586 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17587 wine_fn_config_dll ver.dll16 enable_win16
17588 wine_fn_config_dll version enable_version implib
17589 wine_fn_config_test dlls/version/tests version_test
17590 wine_fn_config_dll vmm.vxd enable_win16
17591 wine_fn_config_dll vnbt.vxd enable_win16
17592 wine_fn_config_dll vnetbios.vxd enable_win16
17593 wine_fn_config_dll vssapi enable_vssapi
17594 wine_fn_config_dll vtdapi.vxd enable_win16
17595 wine_fn_config_dll vwin32.vxd enable_win16
17596 wine_fn_config_dll w32skrnl enable_win16
17597 wine_fn_config_dll w32sys.dll16 enable_win16
17598 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17599 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17600 wine_fn_config_dll wbemprox enable_wbemprox clean
17601 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17602 wine_fn_config_dll webservices enable_webservices implib
17603 wine_fn_config_dll wer enable_wer implib
17604 wine_fn_config_test dlls/wer/tests wer_test
17605 wine_fn_config_dll wevtapi enable_wevtapi
17606 wine_fn_config_dll wiaservc enable_wiaservc clean
17607 wine_fn_config_dll win32s16.dll16 enable_win16
17608 wine_fn_config_dll win87em.dll16 enable_win16
17609 wine_fn_config_dll winaspi.dll16 enable_win16
17610 wine_fn_config_dll windebug.dll16 enable_win16
17611 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17612 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17613 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17614 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17615 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17616 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17617 wine_fn_config_lib winecrt0
17618 wine_fn_config_dll wined3d enable_wined3d implib
17619 wine_fn_config_dll winegstreamer enable_winegstreamer
17620 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17621 wine_fn_config_dll winemac.drv enable_winemac_drv
17622 wine_fn_config_dll winemapi enable_winemapi
17623 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17624 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17625 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17626 wine_fn_config_dll wineps16.drv16 enable_win16
17627 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17628 wine_fn_config_dll winex11.drv enable_winex11_drv
17629 wine_fn_config_dll wing.dll16 enable_win16
17630 wine_fn_config_dll wing32 enable_wing32
17631 wine_fn_config_dll winhttp enable_winhttp clean,implib
17632 wine_fn_config_test dlls/winhttp/tests winhttp_test
17633 wine_fn_config_dll wininet enable_wininet implib,po
17634 wine_fn_config_test dlls/wininet/tests wininet_test
17635 wine_fn_config_dll winmm enable_winmm implib,po
17636 wine_fn_config_test dlls/winmm/tests winmm_test
17637 wine_fn_config_dll winnls.dll16 enable_win16
17638 wine_fn_config_dll winnls32 enable_winnls32 implib
17639 wine_fn_config_dll winscard enable_winscard implib
17640 wine_fn_config_dll winsock.dll16 enable_win16
17641 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17642 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17643 wine_fn_config_dll winsta enable_winsta
17644 wine_fn_config_dll wintab.dll16 enable_win16
17645 wine_fn_config_dll wintab32 enable_wintab32 implib
17646 wine_fn_config_test dlls/wintab32/tests wintab32_test
17647 wine_fn_config_dll wintrust enable_wintrust implib
17648 wine_fn_config_test dlls/wintrust/tests wintrust_test
17649 wine_fn_config_dll wlanapi enable_wlanapi
17650 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17651 wine_fn_config_test dlls/wldap32/tests wldap32_test
17652 wine_fn_config_dll wmi enable_wmi
17653 wine_fn_config_dll wmiutils enable_wmiutils clean
17654 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17655 wine_fn_config_dll wmp enable_wmp clean
17656 wine_fn_config_test dlls/wmp/tests wmp_test
17657 wine_fn_config_dll wmvcore enable_wmvcore
17658 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17659 wine_fn_config_dll wow32 enable_win16 implib
17660 wine_fn_config_dll wpcap enable_wpcap
17661 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17662 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17663 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17664 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17665 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17666 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17667 wine_fn_config_dll wsock32 enable_wsock32 implib
17668 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17669 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17670 wine_fn_config_dll wuapi enable_wuapi clean
17671 wine_fn_config_dll wuaueng enable_wuaueng
17672 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17673 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17674 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17675 wine_fn_config_dll xinput1_1 enable_xinput1_1
17676 wine_fn_config_dll xinput1_2 enable_xinput1_2
17677 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17678 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17679 wine_fn_config_dll xinput1_4 enable_xinput1_4
17680 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17681 wine_fn_config_dll xmllite enable_xmllite implib
17682 wine_fn_config_test dlls/xmllite/tests xmllite_test
17683 wine_fn_config_dll xolehlp enable_xolehlp
17684 wine_fn_config_dll xpsprint enable_xpsprint
17685 wine_fn_config_dll xpssvcs enable_xpssvcs
17686 wine_fn_config_makefile documentation enable_documentation clean
17687 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17688 wine_fn_config_makefile include enable_include clean,install-dev
17689 wine_fn_config_makefile libs/port enable_libs_port
17690 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17691 wine_fn_config_makefile libs/wpp enable_libs_wpp
17692 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17693 wine_fn_config_program arp enable_arp install
17694 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17695 wine_fn_config_program attrib enable_attrib install,po
17696 wine_fn_config_program cabarc enable_cabarc install
17697 wine_fn_config_program cacls enable_cacls install
17698 wine_fn_config_program clock enable_clock install,po
17699 wine_fn_config_program cmd enable_cmd install,po
17700 wine_fn_config_test programs/cmd/tests cmd.exe_test
17701 wine_fn_config_program conhost enable_conhost install
17702 wine_fn_config_program control enable_control install
17703 wine_fn_config_program cscript enable_cscript clean,install
17704 wine_fn_config_program dpnsvr enable_dpnsvr install
17705 wine_fn_config_program dxdiag enable_dxdiag install,po
17706 wine_fn_config_program eject enable_eject install
17707 wine_fn_config_program expand enable_expand install
17708 wine_fn_config_program explorer enable_explorer install,po
17709 wine_fn_config_program extrac32 enable_extrac32 install
17710 wine_fn_config_program findstr enable_findstr install
17711 wine_fn_config_program hh enable_hh install
17712 wine_fn_config_program hostname enable_hostname install,po
17713 wine_fn_config_program icinfo enable_icinfo install
17714 wine_fn_config_program iexplore enable_iexplore install
17715 wine_fn_config_program ipconfig enable_ipconfig install,po
17716 wine_fn_config_program lodctr enable_lodctr install
17717 wine_fn_config_program mofcomp enable_mofcomp install
17718 wine_fn_config_program mshta enable_mshta install
17719 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17720 wine_fn_config_program net enable_net install,po
17721 wine_fn_config_program netsh enable_netsh install
17722 wine_fn_config_program netstat enable_netstat install,po
17723 wine_fn_config_program ngen enable_ngen install
17724 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17725 wine_fn_config_program oleview enable_oleview install,po
17726 wine_fn_config_program ping enable_ping install
17727 wine_fn_config_program plugplay enable_plugplay install
17728 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17729 wine_fn_config_program progman enable_progman install,po
17730 wine_fn_config_program reg enable_reg install,po
17731 wine_fn_config_test programs/reg/tests reg.exe_test
17732 wine_fn_config_program regasm enable_regasm install
17733 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17734 wine_fn_config_test programs/regedit/tests regedit.exe_test
17735 wine_fn_config_program regsvcs enable_regsvcs install
17736 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17737 wine_fn_config_program rpcss enable_rpcss clean,install
17738 wine_fn_config_program rundll.exe16 enable_win16 install
17739 wine_fn_config_program rundll32 enable_rundll32 install
17740 wine_fn_config_program sc enable_sc install
17741 wine_fn_config_program schtasks enable_schtasks install
17742 wine_fn_config_program sdbinst enable_sdbinst install
17743 wine_fn_config_program secedit enable_secedit install
17744 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17745 wine_fn_config_program services enable_services clean,install
17746 wine_fn_config_test programs/services/tests services.exe_test
17747 wine_fn_config_program spoolsv enable_spoolsv install
17748 wine_fn_config_program start enable_start install,po
17749 wine_fn_config_program svchost enable_svchost install
17750 wine_fn_config_program systeminfo enable_systeminfo install
17751 wine_fn_config_program taskkill enable_taskkill install,po
17752 wine_fn_config_program tasklist enable_tasklist install
17753 wine_fn_config_program taskmgr enable_taskmgr install,po
17754 wine_fn_config_program termsv enable_termsv install
17755 wine_fn_config_program uninstaller enable_uninstaller install,po
17756 wine_fn_config_program unlodctr enable_unlodctr install
17757 wine_fn_config_program view enable_view install,po
17758 wine_fn_config_program wevtutil enable_wevtutil install
17759 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17760 wine_fn_config_program winebrowser enable_winebrowser install
17761 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17762 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17763 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17764 wine_fn_config_program winedevice enable_winedevice install
17765 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17766 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17767 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17768 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17769 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17770 wine_fn_config_program winetest enable_winetest clean
17771 wine_fn_config_program winevdm enable_win16 install
17772 wine_fn_config_program winhelp.exe16 enable_win16 install
17773 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17774 wine_fn_config_program winoldap.mod16 enable_win16 install
17775 wine_fn_config_program winver enable_winver install
17776 wine_fn_config_program wmic enable_wmic install,po
17777 wine_fn_config_program wordpad enable_wordpad install,po
17778 wine_fn_config_program write enable_write install,po
17779 wine_fn_config_program wscript enable_wscript clean,install
17780 wine_fn_config_test programs/wscript/tests wscript.exe_test
17781 wine_fn_config_program wusa enable_wusa install
17782 wine_fn_config_program xcopy enable_xcopy install,po
17783 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17784 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17785 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17786 wine_fn_config_tool tools/sfnt2fon clean
17787 wine_fn_config_tool tools/widl clean,install-dev,manpage
17788 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17789 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17790 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17791 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17792 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17794 LINGUAS="\
17795 ar \
17796 bg \
17797 ca \
17798 cs \
17799 da \
17800 de \
17801 el \
17802 en \
17803 en_US \
17804 eo \
17805 es \
17806 fa \
17807 fi \
17808 fr \
17809 he \
17810 hi \
17811 hr \
17812 hu \
17813 it \
17814 ja \
17815 ko \
17816 lt \
17817 ml \
17818 nb_NO \
17819 nl \
17820 or \
17821 pa \
17822 pl \
17823 pt_BR \
17824 pt_PT \
17825 rm \
17826 ro \
17827 ru \
17828 sk \
17829 sl \
17830 sr_RS@cyrillic \
17831 sr_RS@latin \
17832 sv \
17833 te \
17834 th \
17835 tr \
17836 uk \
17837 wa \
17838 zh_CN \
17839 zh_TW"
17844 wine_fn_ignore_file ".gitignore"
17845 wine_fn_ignore_file "Makefile"
17846 wine_fn_ignore_file "TAGS"
17847 wine_fn_ignore_file "tags"
17848 wine_fn_ignore_file "autom4te.cache"
17849 wine_fn_ignore_file "config.cache"
17850 wine_fn_ignore_file "config.log"
17851 wine_fn_ignore_file "config.status"
17852 wine_fn_ignore_file "configure.lineno"
17853 wine_fn_ignore_file "include/config.h"
17854 wine_fn_ignore_file "include/stamp-h"
17855 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17857 if test "x$enable_tools" != xno
17858 then
17859 wine_fn_ignore_file "tools/makedep$ac_exeext"
17860 ac_config_commands="$ac_config_commands tools/makedep"
17864 ac_config_commands="$ac_config_commands Makefile"
17867 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17871 if test "x$enable_maintainer_mode" = xyes
17872 then
17873 wine_fn_append_rule "configure: configure.ac aclocal.m4
17874 autoconf --warnings=all
17875 include/config.h.in: include/stamp-h.in
17876 include/stamp-h.in: configure.ac aclocal.m4
17877 autoheader --warnings=all
17878 @echo timestamp > \$@"
17881 if test "x$with_gettextpo" = xyes
17882 then
17883 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17884 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17885 \$(LINGUAS:%=po/%.po): po/wine.pot
17886 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17887 po/wine.pot: \$(ALL_POT_FILES)
17888 msgcat -o \$@ \$(ALL_POT_FILES)"
17891 if test "$MSGFMT" != false
17892 then
17893 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17894 clean::
17895 \$(RM) \$(LINGUAS:%=po/%.mo)"
17897 posrc="po"
17898 test "$srcdir" = . || posrc="$srcdir/po"
17899 for i in $LINGUAS
17901 wine_fn_ignore_file "po/$i.mo"
17902 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17903 \$(MSGFMT) -o \$@ $posrc/$i.po"
17904 done
17905 else
17906 LINGUAS=
17909 if test "x$enable_tools" != xno
17910 then
17911 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17912 @./config.status tools/makedep
17913 Makefile: tools/makedep$ac_exeext
17914 distclean:: clean
17915 \$(RM) tools/makedep$ac_exeext"
17916 else
17917 wine_fn_append_rule "\$(MAKEDEP):
17918 @echo \"You need to run make in $TOOLSDIR first\" && false"
17921 if test -n "$with_wine64"
17922 then
17923 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17924 fonts server tools:
17925 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17926 $with_wine64/loader/wine:
17927 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17928 $with_wine64/loader/wine-preloader:
17929 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17930 clean::
17931 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17932 else
17933 as_fn_append LOADER_RULES "
17934 install install-lib:: wine.inf install-man-pages
17935 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17936 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17938 uninstall::
17939 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17943 if test "$srcdir" = .
17944 then
17945 ac_config_commands="$ac_config_commands .gitignore"
17949 $as_echo " done" >&6
17950 cat >confcache <<\_ACEOF
17951 # This file is a shell script that caches the results of configure
17952 # tests run on this system so they can be shared between configure
17953 # scripts and configure runs, see configure's option --config-cache.
17954 # It is not useful on other systems. If it contains results you don't
17955 # want to keep, you may remove or edit it.
17957 # config.status only pays attention to the cache file if you give it
17958 # the --recheck option to rerun configure.
17960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17962 # following values.
17964 _ACEOF
17966 # The following way of writing the cache mishandles newlines in values,
17967 # but we know of no workaround that is simple, portable, and efficient.
17968 # So, we kill variables containing newlines.
17969 # Ultrix sh set writes to stderr and can't be redirected directly,
17970 # and sets the high bit in the cache file unless we assign to the vars.
17972 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17973 eval ac_val=\$$ac_var
17974 case $ac_val in #(
17975 *${as_nl}*)
17976 case $ac_var in #(
17977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17979 esac
17980 case $ac_var in #(
17981 _ | IFS | as_nl) ;; #(
17982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17983 *) { eval $ac_var=; unset $ac_var;} ;;
17984 esac ;;
17985 esac
17986 done
17988 (set) 2>&1 |
17989 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17990 *${as_nl}ac_space=\ *)
17991 # `set' does not quote correctly, so add quotes: double-quote
17992 # substitution turns \\\\ into \\, and sed turns \\ into \.
17993 sed -n \
17994 "s/'/'\\\\''/g;
17995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17996 ;; #(
17998 # `set' quotes correctly as required by POSIX, so do not add quotes.
17999 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18001 esac |
18002 sort
18004 sed '
18005 /^ac_cv_env_/b end
18006 t clear
18007 :clear
18008 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18009 t end
18010 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18011 :end' >>confcache
18012 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18013 if test -w "$cache_file"; then
18014 if test "x$cache_file" != "x/dev/null"; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18016 $as_echo "$as_me: updating cache $cache_file" >&6;}
18017 if test ! -f "$cache_file" || test -h "$cache_file"; then
18018 cat confcache >"$cache_file"
18019 else
18020 case $cache_file in #(
18021 */* | ?:*)
18022 mv -f confcache "$cache_file"$$ &&
18023 mv -f "$cache_file"$$ "$cache_file" ;; #(
18025 mv -f confcache "$cache_file" ;;
18026 esac
18029 else
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18034 rm -f confcache
18036 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18037 # Let make expand exec_prefix.
18038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18040 DEFS=-DHAVE_CONFIG_H
18042 ac_libobjs=
18043 ac_ltlibobjs=
18045 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18046 # 1. Remove the extension, and $U if already installed.
18047 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18048 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18049 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18050 # will be set to the directory where LIBOBJS objects are built.
18051 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18052 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18053 done
18054 LIBOBJS=$ac_libobjs
18056 LTLIBOBJS=$ac_ltlibobjs
18060 : "${CONFIG_STATUS=./config.status}"
18061 ac_write_fail=0
18062 ac_clean_files_save=$ac_clean_files
18063 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18065 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18066 as_write_fail=0
18067 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18068 #! $SHELL
18069 # Generated by $as_me.
18070 # Run this file to recreate the current configuration.
18071 # Compiler output produced by configure, useful for debugging
18072 # configure, is in config.log if it exists.
18074 debug=false
18075 ac_cs_recheck=false
18076 ac_cs_silent=false
18078 SHELL=\${CONFIG_SHELL-$SHELL}
18079 export SHELL
18080 _ASEOF
18081 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18082 ## -------------------- ##
18083 ## M4sh Initialization. ##
18084 ## -------------------- ##
18086 # Be more Bourne compatible
18087 DUALCASE=1; export DUALCASE # for MKS sh
18088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18089 emulate sh
18090 NULLCMD=:
18091 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18092 # is contrary to our usage. Disable this feature.
18093 alias -g '${1+"$@"}'='"$@"'
18094 setopt NO_GLOB_SUBST
18095 else
18096 case `(set -o) 2>/dev/null` in #(
18097 *posix*) :
18098 set -o posix ;; #(
18099 *) :
18101 esac
18105 as_nl='
18107 export as_nl
18108 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18109 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18110 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18112 # Prefer a ksh shell builtin over an external printf program on Solaris,
18113 # but without wasting forks for bash or zsh.
18114 if test -z "$BASH_VERSION$ZSH_VERSION" \
18115 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18116 as_echo='print -r --'
18117 as_echo_n='print -rn --'
18118 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18119 as_echo='printf %s\n'
18120 as_echo_n='printf %s'
18121 else
18122 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18123 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18124 as_echo_n='/usr/ucb/echo -n'
18125 else
18126 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18127 as_echo_n_body='eval
18128 arg=$1;
18129 case $arg in #(
18130 *"$as_nl"*)
18131 expr "X$arg" : "X\\(.*\\)$as_nl";
18132 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18133 esac;
18134 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18136 export as_echo_n_body
18137 as_echo_n='sh -c $as_echo_n_body as_echo'
18139 export as_echo_body
18140 as_echo='sh -c $as_echo_body as_echo'
18143 # The user is always right.
18144 if test "${PATH_SEPARATOR+set}" != set; then
18145 PATH_SEPARATOR=:
18146 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18147 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18148 PATH_SEPARATOR=';'
18153 # IFS
18154 # We need space, tab and new line, in precisely that order. Quoting is
18155 # there to prevent editors from complaining about space-tab.
18156 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18157 # splitting by setting IFS to empty value.)
18158 IFS=" "" $as_nl"
18160 # Find who we are. Look in the path if we contain no directory separator.
18161 as_myself=
18162 case $0 in #((
18163 *[\\/]* ) as_myself=$0 ;;
18164 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18165 for as_dir in $PATH
18167 IFS=$as_save_IFS
18168 test -z "$as_dir" && as_dir=.
18169 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18170 done
18171 IFS=$as_save_IFS
18174 esac
18175 # We did not find ourselves, most probably we were run as `sh COMMAND'
18176 # in which case we are not to be found in the path.
18177 if test "x$as_myself" = x; then
18178 as_myself=$0
18180 if test ! -f "$as_myself"; then
18181 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18182 exit 1
18185 # Unset variables that we do not need and which cause bugs (e.g. in
18186 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18187 # suppresses any "Segmentation fault" message there. '((' could
18188 # trigger a bug in pdksh 5.2.14.
18189 for as_var in BASH_ENV ENV MAIL MAILPATH
18190 do eval test x\${$as_var+set} = xset \
18191 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18192 done
18193 PS1='$ '
18194 PS2='> '
18195 PS4='+ '
18197 # NLS nuisances.
18198 LC_ALL=C
18199 export LC_ALL
18200 LANGUAGE=C
18201 export LANGUAGE
18203 # CDPATH.
18204 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18207 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18208 # ----------------------------------------
18209 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18210 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18211 # script with STATUS, using 1 if that was 0.
18212 as_fn_error ()
18214 as_status=$1; test $as_status -eq 0 && as_status=1
18215 if test "$4"; then
18216 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18217 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18219 $as_echo "$as_me: error: $2" >&2
18220 as_fn_exit $as_status
18221 } # as_fn_error
18224 # as_fn_set_status STATUS
18225 # -----------------------
18226 # Set $? to STATUS, without forking.
18227 as_fn_set_status ()
18229 return $1
18230 } # as_fn_set_status
18232 # as_fn_exit STATUS
18233 # -----------------
18234 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18235 as_fn_exit ()
18237 set +e
18238 as_fn_set_status $1
18239 exit $1
18240 } # as_fn_exit
18242 # as_fn_unset VAR
18243 # ---------------
18244 # Portably unset VAR.
18245 as_fn_unset ()
18247 { eval $1=; unset $1;}
18249 as_unset=as_fn_unset
18250 # as_fn_append VAR VALUE
18251 # ----------------------
18252 # Append the text in VALUE to the end of the definition contained in VAR. Take
18253 # advantage of any shell optimizations that allow amortized linear growth over
18254 # repeated appends, instead of the typical quadratic growth present in naive
18255 # implementations.
18256 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18257 eval 'as_fn_append ()
18259 eval $1+=\$2
18261 else
18262 as_fn_append ()
18264 eval $1=\$$1\$2
18266 fi # as_fn_append
18268 # as_fn_arith ARG...
18269 # ------------------
18270 # Perform arithmetic evaluation on the ARGs, and store the result in the
18271 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18272 # must be portable across $(()) and expr.
18273 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18274 eval 'as_fn_arith ()
18276 as_val=$(( $* ))
18278 else
18279 as_fn_arith ()
18281 as_val=`expr "$@" || test $? -eq 1`
18283 fi # as_fn_arith
18286 if expr a : '\(a\)' >/dev/null 2>&1 &&
18287 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18288 as_expr=expr
18289 else
18290 as_expr=false
18293 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18294 as_basename=basename
18295 else
18296 as_basename=false
18299 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18300 as_dirname=dirname
18301 else
18302 as_dirname=false
18305 as_me=`$as_basename -- "$0" ||
18306 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18307 X"$0" : 'X\(//\)$' \| \
18308 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18309 $as_echo X/"$0" |
18310 sed '/^.*\/\([^/][^/]*\)\/*$/{
18311 s//\1/
18314 /^X\/\(\/\/\)$/{
18315 s//\1/
18318 /^X\/\(\/\).*/{
18319 s//\1/
18322 s/.*/./; q'`
18324 # Avoid depending upon Character Ranges.
18325 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18326 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18327 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18328 as_cr_digits='0123456789'
18329 as_cr_alnum=$as_cr_Letters$as_cr_digits
18331 ECHO_C= ECHO_N= ECHO_T=
18332 case `echo -n x` in #(((((
18333 -n*)
18334 case `echo 'xy\c'` in
18335 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18336 xy) ECHO_C='\c';;
18337 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18338 ECHO_T=' ';;
18339 esac;;
18341 ECHO_N='-n';;
18342 esac
18344 rm -f conf$$ conf$$.exe conf$$.file
18345 if test -d conf$$.dir; then
18346 rm -f conf$$.dir/conf$$.file
18347 else
18348 rm -f conf$$.dir
18349 mkdir conf$$.dir 2>/dev/null
18351 if (echo >conf$$.file) 2>/dev/null; then
18352 if ln -s conf$$.file conf$$ 2>/dev/null; then
18353 as_ln_s='ln -s'
18354 # ... but there are two gotchas:
18355 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18356 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18357 # In both cases, we have to default to `cp -pR'.
18358 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18359 as_ln_s='cp -pR'
18360 elif ln conf$$.file conf$$ 2>/dev/null; then
18361 as_ln_s=ln
18362 else
18363 as_ln_s='cp -pR'
18365 else
18366 as_ln_s='cp -pR'
18368 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18369 rmdir conf$$.dir 2>/dev/null
18372 # as_fn_mkdir_p
18373 # -------------
18374 # Create "$as_dir" as a directory, including parents if necessary.
18375 as_fn_mkdir_p ()
18378 case $as_dir in #(
18379 -*) as_dir=./$as_dir;;
18380 esac
18381 test -d "$as_dir" || eval $as_mkdir_p || {
18382 as_dirs=
18383 while :; do
18384 case $as_dir in #(
18385 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18386 *) as_qdir=$as_dir;;
18387 esac
18388 as_dirs="'$as_qdir' $as_dirs"
18389 as_dir=`$as_dirname -- "$as_dir" ||
18390 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18391 X"$as_dir" : 'X\(//\)[^/]' \| \
18392 X"$as_dir" : 'X\(//\)$' \| \
18393 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18394 $as_echo X"$as_dir" |
18395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18396 s//\1/
18399 /^X\(\/\/\)[^/].*/{
18400 s//\1/
18403 /^X\(\/\/\)$/{
18404 s//\1/
18407 /^X\(\/\).*/{
18408 s//\1/
18411 s/.*/./; q'`
18412 test -d "$as_dir" && break
18413 done
18414 test -z "$as_dirs" || eval "mkdir $as_dirs"
18415 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18418 } # as_fn_mkdir_p
18419 if mkdir -p . 2>/dev/null; then
18420 as_mkdir_p='mkdir -p "$as_dir"'
18421 else
18422 test -d ./-p && rmdir ./-p
18423 as_mkdir_p=false
18427 # as_fn_executable_p FILE
18428 # -----------------------
18429 # Test if FILE is an executable regular file.
18430 as_fn_executable_p ()
18432 test -f "$1" && test -x "$1"
18433 } # as_fn_executable_p
18434 as_test_x='test -x'
18435 as_executable_p=as_fn_executable_p
18437 # Sed expression to map a string onto a valid CPP name.
18438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18440 # Sed expression to map a string onto a valid variable name.
18441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18444 exec 6>&1
18445 ## ----------------------------------- ##
18446 ## Main body of $CONFIG_STATUS script. ##
18447 ## ----------------------------------- ##
18448 _ASEOF
18449 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18452 # Save the log message, to keep $0 and so on meaningful, and to
18453 # report actual input values of CONFIG_FILES etc. instead of their
18454 # values after options handling.
18455 ac_log="
18456 This file was extended by Wine $as_me 1.7.36, which was
18457 generated by GNU Autoconf 2.69. Invocation command line was
18459 CONFIG_FILES = $CONFIG_FILES
18460 CONFIG_HEADERS = $CONFIG_HEADERS
18461 CONFIG_LINKS = $CONFIG_LINKS
18462 CONFIG_COMMANDS = $CONFIG_COMMANDS
18463 $ $0 $@
18465 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18468 _ACEOF
18470 case $ac_config_files in *"
18471 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18472 esac
18474 case $ac_config_headers in *"
18475 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18476 esac
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 # Files that config.status was made for.
18481 config_files="$ac_config_files"
18482 config_headers="$ac_config_headers"
18483 config_links="$ac_config_links"
18484 config_commands="$ac_config_commands"
18486 _ACEOF
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18489 ac_cs_usage="\
18490 \`$as_me' instantiates files and other configuration actions
18491 from templates according to the current configuration. Unless the files
18492 and actions are specified as TAGs, all are instantiated by default.
18494 Usage: $0 [OPTION]... [TAG]...
18496 -h, --help print this help, then exit
18497 -V, --version print version number and configuration settings, then exit
18498 --config print configuration, then exit
18499 -q, --quiet, --silent
18500 do not print progress messages
18501 -d, --debug don't remove temporary files
18502 --recheck update $as_me by reconfiguring in the same conditions
18503 --file=FILE[:TEMPLATE]
18504 instantiate the configuration file FILE
18505 --header=FILE[:TEMPLATE]
18506 instantiate the configuration header FILE
18508 Configuration files:
18509 $config_files
18511 Configuration headers:
18512 $config_headers
18514 Configuration links:
18515 $config_links
18517 Configuration commands:
18518 $config_commands
18520 Report bugs to <wine-devel@winehq.org>.
18521 Wine home page: <http://www.winehq.org>."
18523 _ACEOF
18524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18525 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18526 ac_cs_version="\\
18527 Wine config.status 1.7.36
18528 configured by $0, generated by GNU Autoconf 2.69,
18529 with options \\"\$ac_cs_config\\"
18531 Copyright (C) 2012 Free Software Foundation, Inc.
18532 This config.status script is free software; the Free Software Foundation
18533 gives unlimited permission to copy, distribute and modify it."
18535 ac_pwd='$ac_pwd'
18536 srcdir='$srcdir'
18537 test -n "\$AWK" || AWK=awk
18538 _ACEOF
18540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18541 # The default lists apply if the user does not specify any file.
18542 ac_need_defaults=:
18543 while test $# != 0
18545 case $1 in
18546 --*=?*)
18547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18549 ac_shift=:
18551 --*=)
18552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18553 ac_optarg=
18554 ac_shift=:
18557 ac_option=$1
18558 ac_optarg=$2
18559 ac_shift=shift
18561 esac
18563 case $ac_option in
18564 # Handling of the options.
18565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18566 ac_cs_recheck=: ;;
18567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18568 $as_echo "$ac_cs_version"; exit ;;
18569 --config | --confi | --conf | --con | --co | --c )
18570 $as_echo "$ac_cs_config"; exit ;;
18571 --debug | --debu | --deb | --de | --d | -d )
18572 debug=: ;;
18573 --file | --fil | --fi | --f )
18574 $ac_shift
18575 case $ac_optarg in
18576 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18577 '') as_fn_error $? "missing file argument" ;;
18578 esac
18579 as_fn_append CONFIG_FILES " '$ac_optarg'"
18580 ac_need_defaults=false;;
18581 --header | --heade | --head | --hea )
18582 $ac_shift
18583 case $ac_optarg in
18584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18585 esac
18586 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18587 ac_need_defaults=false;;
18588 --he | --h)
18589 # Conflict between --help and --header
18590 as_fn_error $? "ambiguous option: \`$1'
18591 Try \`$0 --help' for more information.";;
18592 --help | --hel | -h )
18593 $as_echo "$ac_cs_usage"; exit ;;
18594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18596 ac_cs_silent=: ;;
18598 # This is an error.
18599 -*) as_fn_error $? "unrecognized option: \`$1'
18600 Try \`$0 --help' for more information." ;;
18602 *) as_fn_append ac_config_targets " $1"
18603 ac_need_defaults=false ;;
18605 esac
18606 shift
18607 done
18609 ac_configure_extra_args=
18611 if $ac_cs_silent; then
18612 exec 6>/dev/null
18613 ac_configure_extra_args="$ac_configure_extra_args --silent"
18616 _ACEOF
18617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18618 if \$ac_cs_recheck; then
18619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18620 shift
18621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18622 CONFIG_SHELL='$SHELL'
18623 export CONFIG_SHELL
18624 exec "\$@"
18627 _ACEOF
18628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18629 exec 5>>config.log
18631 echo
18632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18633 ## Running $as_me. ##
18634 _ASBOX
18635 $as_echo "$ac_log"
18636 } >&5
18638 _ACEOF
18639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 # INIT-COMMANDS
18643 wine_fn_output_makedep ()
18645 as_dir=tools; as_fn_mkdir_p
18646 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18648 wine_fn_output_makefile ()
18650 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18651 `cat $wine_rules_file`
18652 _WINE_EOF
18653 as_fn_error $? "could not create Makefile" "$LINENO" 5
18655 wine_fn_output_gitignore ()
18657 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18658 $GITIGNORE
18659 _WINE_EOF
18660 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18663 _ACEOF
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18667 # Handling of arguments.
18668 for ac_config_target in $ac_config_targets
18670 case $ac_config_target in
18671 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18672 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18673 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18674 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18675 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18676 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18677 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18678 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18679 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18680 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18681 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18682 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18683 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18684 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18686 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18687 esac
18688 done
18691 # If the user did not use the arguments to specify the items to instantiate,
18692 # then the envvar interface is used. Set only those that are not.
18693 # We use the long form for the default assignment because of an extremely
18694 # bizarre bug on SunOS 4.1.3.
18695 if $ac_need_defaults; then
18696 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18697 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18698 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18699 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18702 # Have a temporary directory for convenience. Make it in the build tree
18703 # simply because there is no reason against having it here, and in addition,
18704 # creating and moving files from /tmp can sometimes cause problems.
18705 # Hook for its removal unless debugging.
18706 # Note that there is a small window in which the directory will not be cleaned:
18707 # after its creation but before its name has been assigned to `$tmp'.
18708 $debug ||
18710 tmp= ac_tmp=
18711 trap 'exit_status=$?
18712 : "${ac_tmp:=$tmp}"
18713 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18715 trap 'as_fn_exit 1' 1 2 13 15
18717 # Create a (secure) tmp directory for tmp files.
18720 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18721 test -d "$tmp"
18722 } ||
18724 tmp=./conf$$-$RANDOM
18725 (umask 077 && mkdir "$tmp")
18726 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18727 ac_tmp=$tmp
18729 # Set up the scripts for CONFIG_FILES section.
18730 # No need to generate them if there are no CONFIG_FILES.
18731 # This happens for instance with `./config.status config.h'.
18732 if test -n "$CONFIG_FILES"; then
18735 ac_cr=`echo X | tr X '\015'`
18736 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18737 # But we know of no other shell where ac_cr would be empty at this
18738 # point, so we can use a bashism as a fallback.
18739 if test "x$ac_cr" = x; then
18740 eval ac_cr=\$\'\\r\'
18742 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18743 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18744 ac_cs_awk_cr='\\r'
18745 else
18746 ac_cs_awk_cr=$ac_cr
18749 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18750 _ACEOF
18754 echo "cat >conf$$subs.awk <<_ACEOF" &&
18755 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18756 echo "_ACEOF"
18757 } >conf$$subs.sh ||
18758 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18759 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18760 ac_delim='%!_!# '
18761 for ac_last_try in false false false false false :; do
18762 . ./conf$$subs.sh ||
18763 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18765 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18766 if test $ac_delim_n = $ac_delim_num; then
18767 break
18768 elif $ac_last_try; then
18769 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18770 else
18771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18773 done
18774 rm -f conf$$subs.sh
18776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18777 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18778 _ACEOF
18779 sed -n '
18781 s/^/S["/; s/!.*/"]=/
18784 s/^[^!]*!//
18785 :repl
18786 t repl
18787 s/'"$ac_delim"'$//
18788 t delim
18791 s/\(.\{148\}\)..*/\1/
18792 t more1
18793 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18796 b repl
18797 :more1
18798 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18801 s/.\{148\}//
18802 t nl
18803 :delim
18805 s/\(.\{148\}\)..*/\1/
18806 t more2
18807 s/["\\]/\\&/g; s/^/"/; s/$/"/
18810 :more2
18811 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18814 s/.\{148\}//
18815 t delim
18816 ' <conf$$subs.awk | sed '
18817 /^[^""]/{
18819 s/\n//
18821 ' >>$CONFIG_STATUS || ac_write_fail=1
18822 rm -f conf$$subs.awk
18823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18824 _ACAWK
18825 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18826 for (key in S) S_is_set[key] = 1
18827 FS = "\a"
18831 line = $ 0
18832 nfields = split(line, field, "@")
18833 substed = 0
18834 len = length(field[1])
18835 for (i = 2; i < nfields; i++) {
18836 key = field[i]
18837 keylen = length(key)
18838 if (S_is_set[key]) {
18839 value = S[key]
18840 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18841 len += length(value) + length(field[++i])
18842 substed = 1
18843 } else
18844 len += 1 + keylen
18847 print line
18850 _ACAWK
18851 _ACEOF
18852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18853 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18854 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18855 else
18857 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18858 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18859 _ACEOF
18861 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18862 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18863 # trailing colons and then remove the whole line if VPATH becomes empty
18864 # (actually we leave an empty line to preserve line numbers).
18865 if test "x$srcdir" = x.; then
18866 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18868 s///
18869 s/^/:/
18870 s/[ ]*$/:/
18871 s/:\$(srcdir):/:/g
18872 s/:\${srcdir}:/:/g
18873 s/:@srcdir@:/:/g
18874 s/^:*//
18875 s/:*$//
18877 s/\(=[ ]*\).*/\1/
18879 s/\n//
18880 s/^[^=]*=[ ]*$//
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18885 fi # test -n "$CONFIG_FILES"
18887 # Set up the scripts for CONFIG_HEADERS section.
18888 # No need to generate them if there are no CONFIG_HEADERS.
18889 # This happens for instance with `./config.status Makefile'.
18890 if test -n "$CONFIG_HEADERS"; then
18891 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18892 BEGIN {
18893 _ACEOF
18895 # Transform confdefs.h into an awk script `defines.awk', embedded as
18896 # here-document in config.status, that substitutes the proper values into
18897 # config.h.in to produce config.h.
18899 # Create a delimiter string that does not exist in confdefs.h, to ease
18900 # handling of long lines.
18901 ac_delim='%!_!# '
18902 for ac_last_try in false false :; do
18903 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18904 if test -z "$ac_tt"; then
18905 break
18906 elif $ac_last_try; then
18907 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18908 else
18909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18911 done
18913 # For the awk script, D is an array of macro values keyed by name,
18914 # likewise P contains macro parameters if any. Preserve backslash
18915 # newline sequences.
18917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18918 sed -n '
18919 s/.\{148\}/&'"$ac_delim"'/g
18920 t rset
18921 :rset
18922 s/^[ ]*#[ ]*define[ ][ ]*/ /
18923 t def
18925 :def
18926 s/\\$//
18927 t bsnl
18928 s/["\\]/\\&/g
18929 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18930 D["\1"]=" \3"/p
18931 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18933 :bsnl
18934 s/["\\]/\\&/g
18935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18936 D["\1"]=" \3\\\\\\n"\\/p
18937 t cont
18938 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18939 t cont
18941 :cont
18943 s/.\{148\}/&'"$ac_delim"'/g
18944 t clear
18945 :clear
18946 s/\\$//
18947 t bsnlc
18948 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18950 :bsnlc
18951 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18952 b cont
18953 ' <confdefs.h | sed '
18954 s/'"$ac_delim"'/"\\\
18955 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 for (key in D) D_is_set[key] = 1
18959 FS = "\a"
18961 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18962 line = \$ 0
18963 split(line, arg, " ")
18964 if (arg[1] == "#") {
18965 defundef = arg[2]
18966 mac1 = arg[3]
18967 } else {
18968 defundef = substr(arg[1], 2)
18969 mac1 = arg[2]
18971 split(mac1, mac2, "(") #)
18972 macro = mac2[1]
18973 prefix = substr(line, 1, index(line, defundef) - 1)
18974 if (D_is_set[macro]) {
18975 # Preserve the white space surrounding the "#".
18976 print prefix "define", macro P[macro] D[macro]
18977 next
18978 } else {
18979 # Replace #undef with comments. This is necessary, for example,
18980 # in the case of _POSIX_SOURCE, which is predefined and required
18981 # on some systems where configure will not decide to define it.
18982 if (defundef == "undef") {
18983 print "/*", prefix defundef, macro, "*/"
18984 next
18988 { print }
18989 _ACAWK
18990 _ACEOF
18991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18992 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18993 fi # test -n "$CONFIG_HEADERS"
18996 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18997 shift
18998 for ac_tag
19000 case $ac_tag in
19001 :[FHLC]) ac_mode=$ac_tag; continue;;
19002 esac
19003 case $ac_mode$ac_tag in
19004 :[FHL]*:*);;
19005 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19006 :[FH]-) ac_tag=-:-;;
19007 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19008 esac
19009 ac_save_IFS=$IFS
19010 IFS=:
19011 set x $ac_tag
19012 IFS=$ac_save_IFS
19013 shift
19014 ac_file=$1
19015 shift
19017 case $ac_mode in
19018 :L) ac_source=$1;;
19019 :[FH])
19020 ac_file_inputs=
19021 for ac_f
19023 case $ac_f in
19024 -) ac_f="$ac_tmp/stdin";;
19025 *) # Look for the file first in the build tree, then in the source tree
19026 # (if the path is not absolute). The absolute path cannot be DOS-style,
19027 # because $ac_f cannot contain `:'.
19028 test -f "$ac_f" ||
19029 case $ac_f in
19030 [\\/$]*) false;;
19031 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19032 esac ||
19033 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19034 esac
19035 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19036 as_fn_append ac_file_inputs " '$ac_f'"
19037 done
19039 # Let's still pretend it is `configure' which instantiates (i.e., don't
19040 # use $as_me), people would be surprised to read:
19041 # /* config.h. Generated by config.status. */
19042 configure_input='Generated from '`
19043 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19044 `' by configure.'
19045 if test x"$ac_file" != x-; then
19046 configure_input="$ac_file. $configure_input"
19047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19048 $as_echo "$as_me: creating $ac_file" >&6;}
19050 # Neutralize special characters interpreted by sed in replacement strings.
19051 case $configure_input in #(
19052 *\&* | *\|* | *\\* )
19053 ac_sed_conf_input=`$as_echo "$configure_input" |
19054 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19055 *) ac_sed_conf_input=$configure_input;;
19056 esac
19058 case $ac_tag in
19059 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19061 esac
19063 esac
19065 ac_dir=`$as_dirname -- "$ac_file" ||
19066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19067 X"$ac_file" : 'X\(//\)[^/]' \| \
19068 X"$ac_file" : 'X\(//\)$' \| \
19069 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19070 $as_echo X"$ac_file" |
19071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19072 s//\1/
19075 /^X\(\/\/\)[^/].*/{
19076 s//\1/
19079 /^X\(\/\/\)$/{
19080 s//\1/
19083 /^X\(\/\).*/{
19084 s//\1/
19087 s/.*/./; q'`
19088 as_dir="$ac_dir"; as_fn_mkdir_p
19089 ac_builddir=.
19091 case "$ac_dir" in
19092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19094 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19095 # A ".." for each directory in $ac_dir_suffix.
19096 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19097 case $ac_top_builddir_sub in
19098 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19099 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19100 esac ;;
19101 esac
19102 ac_abs_top_builddir=$ac_pwd
19103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19104 # for backward compatibility:
19105 ac_top_builddir=$ac_top_build_prefix
19107 case $srcdir in
19108 .) # We are building in place.
19109 ac_srcdir=.
19110 ac_top_srcdir=$ac_top_builddir_sub
19111 ac_abs_top_srcdir=$ac_pwd ;;
19112 [\\/]* | ?:[\\/]* ) # Absolute name.
19113 ac_srcdir=$srcdir$ac_dir_suffix;
19114 ac_top_srcdir=$srcdir
19115 ac_abs_top_srcdir=$srcdir ;;
19116 *) # Relative name.
19117 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19118 ac_top_srcdir=$ac_top_build_prefix$srcdir
19119 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19120 esac
19121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19124 case $ac_mode in
19127 # CONFIG_FILE
19130 _ACEOF
19132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19133 # If the template does not know about datarootdir, expand it.
19134 # FIXME: This hack should be removed a few years after 2.60.
19135 ac_datarootdir_hack=; ac_datarootdir_seen=
19136 ac_sed_dataroot='
19137 /datarootdir/ {
19141 /@datadir@/p
19142 /@docdir@/p
19143 /@infodir@/p
19144 /@localedir@/p
19145 /@mandir@/p'
19146 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19147 *datarootdir*) ac_datarootdir_seen=yes;;
19148 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19150 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19151 _ACEOF
19152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19153 ac_datarootdir_hack='
19154 s&@datadir@&$datadir&g
19155 s&@docdir@&$docdir&g
19156 s&@infodir@&$infodir&g
19157 s&@localedir@&$localedir&g
19158 s&@mandir@&$mandir&g
19159 s&\\\${datarootdir}&$datarootdir&g' ;;
19160 esac
19161 _ACEOF
19163 # Neutralize VPATH when `$srcdir' = `.'.
19164 # Shell code in configure.ac might set extrasub.
19165 # FIXME: do we really want to maintain this feature?
19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19167 ac_sed_extra="$ac_vpsub
19168 $extrasub
19169 _ACEOF
19170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19173 s|@configure_input@|$ac_sed_conf_input|;t t
19174 s&@top_builddir@&$ac_top_builddir_sub&;t t
19175 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19176 s&@srcdir@&$ac_srcdir&;t t
19177 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19178 s&@top_srcdir@&$ac_top_srcdir&;t t
19179 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19180 s&@builddir@&$ac_builddir&;t t
19181 s&@abs_builddir@&$ac_abs_builddir&;t t
19182 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19183 $ac_datarootdir_hack
19185 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19186 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19188 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19189 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19190 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19191 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19193 which seems to be undefined. Please make sure it is defined" >&5
19194 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19195 which seems to be undefined. Please make sure it is defined" >&2;}
19197 rm -f "$ac_tmp/stdin"
19198 case $ac_file in
19199 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19200 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19201 esac \
19202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19206 # CONFIG_HEADER
19208 if test x"$ac_file" != x-; then
19210 $as_echo "/* $configure_input */" \
19211 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19212 } >"$ac_tmp/config.h" \
19213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19214 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19216 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19217 else
19218 rm -f "$ac_file"
19219 mv "$ac_tmp/config.h" "$ac_file" \
19220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19222 else
19223 $as_echo "/* $configure_input */" \
19224 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19225 || as_fn_error $? "could not create -" "$LINENO" 5
19230 # CONFIG_LINK
19233 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19235 else
19236 # Prefer the file from the source tree if names are identical.
19237 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19238 ac_source=$srcdir/$ac_source
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19242 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19244 if test ! -r "$ac_source"; then
19245 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19247 rm -f "$ac_file"
19249 # Try a relative symlink, then a hard link, then a copy.
19250 case $ac_source in
19251 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19252 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19253 esac
19254 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19255 ln "$ac_source" "$ac_file" 2>/dev/null ||
19256 cp -p "$ac_source" "$ac_file" ||
19257 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19260 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19261 $as_echo "$as_me: executing $ac_file commands" >&6;}
19263 esac
19266 case $ac_file$ac_mode in
19267 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19268 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19269 "Makefile":C) wine_fn_output_makefile Makefile ;;
19270 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19272 esac
19273 done # for ac_tag
19276 as_fn_exit 0
19277 _ACEOF
19278 ac_clean_files=$ac_clean_files_save
19280 test $ac_write_fail = 0 ||
19281 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19284 # configure is writing to config.log, and then calls config.status.
19285 # config.status does its own redirection, appending to config.log.
19286 # Unfortunately, on DOS this fails, as config.log is still kept open
19287 # by configure, so config.status won't be able to write to it; its
19288 # output is simply discarded. So we exec the FD to /dev/null,
19289 # effectively closing config.log, so it can be properly (re)opened and
19290 # appended to by config.status. When coming back to configure, we
19291 # need to make the FD available again.
19292 if test "$no_create" != yes; then
19293 ac_cs_success=:
19294 ac_config_status_args=
19295 test "$silent" = yes &&
19296 ac_config_status_args="$ac_config_status_args --quiet"
19297 exec 5>/dev/null
19298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19299 exec 5>>config.log
19300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19301 # would make configure fail if this is the last instruction.
19302 $ac_cs_success || as_fn_exit 1
19304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19310 if test "$no_create" = "yes"
19311 then
19312 exit 0
19315 ac_save_IFS="$IFS"
19316 if test "x$wine_notices != "x; then
19317 echo >&6
19318 IFS="|"
19319 for msg in $wine_notices; do
19320 IFS="$ac_save_IFS"
19321 if ${msg:+false} :; then :
19323 else
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19325 $as_echo "$as_me: $msg" >&6;}
19327 done
19329 IFS="|"
19330 for msg in $wine_warnings; do
19331 IFS="$ac_save_IFS"
19332 if ${msg:+false} :; then :
19334 else
19335 echo >&2
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19337 $as_echo "$as_me: WARNING: $msg" >&2;}
19339 done
19340 IFS="$ac_save_IFS"
19342 $as_echo "
19343 $as_me: Finished. Do '${ac_make}' to compile Wine.
19344 " >&6