dxgi: Implement dxgi_adapter_GetPrivateData().
[wine/multimedia.git] / configure
blobabef0c3e78d4a7873e746048bad32d4b21d20f9c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.36'
584 PACKAGE_STRING='Wine 1.7.36'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_7
1327 enable_xapofx1_1
1328 enable_xaudio2_7
1329 enable_xinput1_1
1330 enable_xinput1_2
1331 enable_xinput1_3
1332 enable_xinput1_4
1333 enable_xinput9_1_0
1334 enable_xmllite
1335 enable_xolehlp
1336 enable_xpsprint
1337 enable_xpssvcs
1338 enable_documentation
1339 enable_fonts
1340 enable_include
1341 enable_libs_port
1342 enable_libs_wine
1343 enable_libs_wpp
1344 enable_loader
1345 enable_arp
1346 enable_aspnet_regiis
1347 enable_attrib
1348 enable_cabarc
1349 enable_cacls
1350 enable_clock
1351 enable_cmd
1352 enable_conhost
1353 enable_control
1354 enable_cscript
1355 enable_dpnsvr
1356 enable_dxdiag
1357 enable_eject
1358 enable_expand
1359 enable_explorer
1360 enable_extrac32
1361 enable_findstr
1362 enable_hh
1363 enable_hostname
1364 enable_icinfo
1365 enable_iexplore
1366 enable_ipconfig
1367 enable_lodctr
1368 enable_mofcomp
1369 enable_mshta
1370 enable_msiexec
1371 enable_net
1372 enable_netsh
1373 enable_netstat
1374 enable_ngen
1375 enable_notepad
1376 enable_oleview
1377 enable_ping
1378 enable_plugplay
1379 enable_presentationfontcache
1380 enable_progman
1381 enable_reg
1382 enable_regasm
1383 enable_regedit
1384 enable_regsvcs
1385 enable_regsvr32
1386 enable_rpcss
1387 enable_rundll32
1388 enable_sc
1389 enable_schtasks
1390 enable_sdbinst
1391 enable_secedit
1392 enable_servicemodelreg
1393 enable_services
1394 enable_spoolsv
1395 enable_start
1396 enable_svchost
1397 enable_systeminfo
1398 enable_taskkill
1399 enable_tasklist
1400 enable_taskmgr
1401 enable_termsv
1402 enable_uninstaller
1403 enable_unlodctr
1404 enable_view
1405 enable_wevtutil
1406 enable_wineboot
1407 enable_winebrowser
1408 enable_winecfg
1409 enable_wineconsole
1410 enable_winedbg
1411 enable_winedevice
1412 enable_winefile
1413 enable_winemenubuilder
1414 enable_winemine
1415 enable_winemsibuilder
1416 enable_winepath
1417 enable_winetest
1418 enable_winhlp32
1419 enable_winver
1420 enable_wmic
1421 enable_wordpad
1422 enable_write
1423 enable_wscript
1424 enable_wusa
1425 enable_xcopy
1426 enable_server
1427 enable_tools
1429 ac_precious_vars='build_alias
1430 host_alias
1431 target_alias
1433 CFLAGS
1434 LDFLAGS
1435 LIBS
1436 CPPFLAGS
1438 CXXFLAGS
1441 XMKMF
1442 XML2_CFLAGS
1443 XML2_LIBS
1444 XSLT_CFLAGS
1445 XSLT_LIBS
1446 DBUS_CFLAGS
1447 DBUS_LIBS
1448 HAL_CFLAGS
1449 HAL_LIBS
1450 GNUTLS_CFLAGS
1451 GNUTLS_LIBS
1452 SANE_CFLAGS
1453 SANE_LIBS
1454 GPHOTO2_CFLAGS
1455 GPHOTO2_LIBS
1456 GPHOTO2_PORT_CFLAGS
1457 GPHOTO2_PORT_LIBS
1458 LCMS2_CFLAGS
1459 LCMS2_LIBS
1460 FREETYPE_CFLAGS
1461 FREETYPE_LIBS
1462 GSTREAMER_CFLAGS
1463 GSTREAMER_LIBS
1464 CAPI20_CFLAGS
1465 CAPI20_LIBS
1466 FONTCONFIG_CFLAGS
1467 FONTCONFIG_LIBS
1468 JPEG_CFLAGS
1469 JPEG_LIBS
1470 PNG_CFLAGS
1471 PNG_LIBS
1472 TIFF_CFLAGS
1473 TIFF_LIBS
1474 MPG123_CFLAGS
1475 MPG123_LIBS'
1478 # Initialize some variables set by options.
1479 ac_init_help=
1480 ac_init_version=false
1481 ac_unrecognized_opts=
1482 ac_unrecognized_sep=
1483 # The variables have the same names as the options, with
1484 # dashes changed to underlines.
1485 cache_file=/dev/null
1486 exec_prefix=NONE
1487 no_create=
1488 no_recursion=
1489 prefix=NONE
1490 program_prefix=NONE
1491 program_suffix=NONE
1492 program_transform_name=s,x,x,
1493 silent=
1494 site=
1495 srcdir=
1496 verbose=
1497 x_includes=NONE
1498 x_libraries=NONE
1500 # Installation directory options.
1501 # These are left unexpanded so users can "make install exec_prefix=/foo"
1502 # and all the variables that are supposed to be based on exec_prefix
1503 # by default will actually change.
1504 # Use braces instead of parens because sh, perl, etc. also accept them.
1505 # (The list follows the same order as the GNU Coding Standards.)
1506 bindir='${exec_prefix}/bin'
1507 sbindir='${exec_prefix}/sbin'
1508 libexecdir='${exec_prefix}/libexec'
1509 datarootdir='${prefix}/share'
1510 datadir='${datarootdir}'
1511 sysconfdir='${prefix}/etc'
1512 sharedstatedir='${prefix}/com'
1513 localstatedir='${prefix}/var'
1514 includedir='${prefix}/include'
1515 oldincludedir='/usr/include'
1516 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1517 infodir='${datarootdir}/info'
1518 htmldir='${docdir}'
1519 dvidir='${docdir}'
1520 pdfdir='${docdir}'
1521 psdir='${docdir}'
1522 libdir='${exec_prefix}/lib'
1523 localedir='${datarootdir}/locale'
1524 mandir='${datarootdir}/man'
1526 ac_prev=
1527 ac_dashdash=
1528 for ac_option
1530 # If the previous option needs an argument, assign it.
1531 if test -n "$ac_prev"; then
1532 eval $ac_prev=\$ac_option
1533 ac_prev=
1534 continue
1537 case $ac_option in
1538 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1539 *=) ac_optarg= ;;
1540 *) ac_optarg=yes ;;
1541 esac
1543 # Accept the important Cygnus configure options, so we can diagnose typos.
1545 case $ac_dashdash$ac_option in
1547 ac_dashdash=yes ;;
1549 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1550 ac_prev=bindir ;;
1551 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1552 bindir=$ac_optarg ;;
1554 -build | --build | --buil | --bui | --bu)
1555 ac_prev=build_alias ;;
1556 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1557 build_alias=$ac_optarg ;;
1559 -cache-file | --cache-file | --cache-fil | --cache-fi \
1560 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1561 ac_prev=cache_file ;;
1562 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1563 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1564 cache_file=$ac_optarg ;;
1566 --config-cache | -C)
1567 cache_file=config.cache ;;
1569 -datadir | --datadir | --datadi | --datad)
1570 ac_prev=datadir ;;
1571 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1572 datadir=$ac_optarg ;;
1574 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1575 | --dataroo | --dataro | --datar)
1576 ac_prev=datarootdir ;;
1577 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1578 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1579 datarootdir=$ac_optarg ;;
1581 -disable-* | --disable-*)
1582 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1583 # Reject names that are not valid shell variable names.
1584 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1585 as_fn_error $? "invalid feature name: $ac_useropt"
1586 ac_useropt_orig=$ac_useropt
1587 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1588 case $ac_user_opts in
1590 "enable_$ac_useropt"
1591 "*) ;;
1592 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1593 ac_unrecognized_sep=', ';;
1594 esac
1595 eval enable_$ac_useropt=no ;;
1597 -docdir | --docdir | --docdi | --doc | --do)
1598 ac_prev=docdir ;;
1599 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1600 docdir=$ac_optarg ;;
1602 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1603 ac_prev=dvidir ;;
1604 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1605 dvidir=$ac_optarg ;;
1607 -enable-* | --enable-*)
1608 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1609 # Reject names that are not valid shell variable names.
1610 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1611 as_fn_error $? "invalid feature name: $ac_useropt"
1612 ac_useropt_orig=$ac_useropt
1613 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1614 case $ac_user_opts in
1616 "enable_$ac_useropt"
1617 "*) ;;
1618 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1619 ac_unrecognized_sep=', ';;
1620 esac
1621 eval enable_$ac_useropt=\$ac_optarg ;;
1623 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1624 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1625 | --exec | --exe | --ex)
1626 ac_prev=exec_prefix ;;
1627 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1628 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1629 | --exec=* | --exe=* | --ex=*)
1630 exec_prefix=$ac_optarg ;;
1632 -gas | --gas | --ga | --g)
1633 # Obsolete; use --with-gas.
1634 with_gas=yes ;;
1636 -help | --help | --hel | --he | -h)
1637 ac_init_help=long ;;
1638 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1639 ac_init_help=recursive ;;
1640 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1641 ac_init_help=short ;;
1643 -host | --host | --hos | --ho)
1644 ac_prev=host_alias ;;
1645 -host=* | --host=* | --hos=* | --ho=*)
1646 host_alias=$ac_optarg ;;
1648 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1649 ac_prev=htmldir ;;
1650 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1651 | --ht=*)
1652 htmldir=$ac_optarg ;;
1654 -includedir | --includedir | --includedi | --included | --include \
1655 | --includ | --inclu | --incl | --inc)
1656 ac_prev=includedir ;;
1657 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1658 | --includ=* | --inclu=* | --incl=* | --inc=*)
1659 includedir=$ac_optarg ;;
1661 -infodir | --infodir | --infodi | --infod | --info | --inf)
1662 ac_prev=infodir ;;
1663 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1664 infodir=$ac_optarg ;;
1666 -libdir | --libdir | --libdi | --libd)
1667 ac_prev=libdir ;;
1668 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1669 libdir=$ac_optarg ;;
1671 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1672 | --libexe | --libex | --libe)
1673 ac_prev=libexecdir ;;
1674 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1675 | --libexe=* | --libex=* | --libe=*)
1676 libexecdir=$ac_optarg ;;
1678 -localedir | --localedir | --localedi | --localed | --locale)
1679 ac_prev=localedir ;;
1680 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1681 localedir=$ac_optarg ;;
1683 -localstatedir | --localstatedir | --localstatedi | --localstated \
1684 | --localstate | --localstat | --localsta | --localst | --locals)
1685 ac_prev=localstatedir ;;
1686 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1687 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1688 localstatedir=$ac_optarg ;;
1690 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1691 ac_prev=mandir ;;
1692 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1693 mandir=$ac_optarg ;;
1695 -nfp | --nfp | --nf)
1696 # Obsolete; use --without-fp.
1697 with_fp=no ;;
1699 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1700 | --no-cr | --no-c | -n)
1701 no_create=yes ;;
1703 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1704 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1705 no_recursion=yes ;;
1707 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1708 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1709 | --oldin | --oldi | --old | --ol | --o)
1710 ac_prev=oldincludedir ;;
1711 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1712 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1713 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1714 oldincludedir=$ac_optarg ;;
1716 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1717 ac_prev=prefix ;;
1718 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1719 prefix=$ac_optarg ;;
1721 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1722 | --program-pre | --program-pr | --program-p)
1723 ac_prev=program_prefix ;;
1724 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1725 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1726 program_prefix=$ac_optarg ;;
1728 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1729 | --program-suf | --program-su | --program-s)
1730 ac_prev=program_suffix ;;
1731 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1732 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1733 program_suffix=$ac_optarg ;;
1735 -program-transform-name | --program-transform-name \
1736 | --program-transform-nam | --program-transform-na \
1737 | --program-transform-n | --program-transform- \
1738 | --program-transform | --program-transfor \
1739 | --program-transfo | --program-transf \
1740 | --program-trans | --program-tran \
1741 | --progr-tra | --program-tr | --program-t)
1742 ac_prev=program_transform_name ;;
1743 -program-transform-name=* | --program-transform-name=* \
1744 | --program-transform-nam=* | --program-transform-na=* \
1745 | --program-transform-n=* | --program-transform-=* \
1746 | --program-transform=* | --program-transfor=* \
1747 | --program-transfo=* | --program-transf=* \
1748 | --program-trans=* | --program-tran=* \
1749 | --progr-tra=* | --program-tr=* | --program-t=*)
1750 program_transform_name=$ac_optarg ;;
1752 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1753 ac_prev=pdfdir ;;
1754 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1755 pdfdir=$ac_optarg ;;
1757 -psdir | --psdir | --psdi | --psd | --ps)
1758 ac_prev=psdir ;;
1759 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1760 psdir=$ac_optarg ;;
1762 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1763 | -silent | --silent | --silen | --sile | --sil)
1764 silent=yes ;;
1766 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1767 ac_prev=sbindir ;;
1768 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1769 | --sbi=* | --sb=*)
1770 sbindir=$ac_optarg ;;
1772 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1773 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1774 | --sharedst | --shareds | --shared | --share | --shar \
1775 | --sha | --sh)
1776 ac_prev=sharedstatedir ;;
1777 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1778 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1779 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1780 | --sha=* | --sh=*)
1781 sharedstatedir=$ac_optarg ;;
1783 -site | --site | --sit)
1784 ac_prev=site ;;
1785 -site=* | --site=* | --sit=*)
1786 site=$ac_optarg ;;
1788 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1789 ac_prev=srcdir ;;
1790 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1791 srcdir=$ac_optarg ;;
1793 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1794 | --syscon | --sysco | --sysc | --sys | --sy)
1795 ac_prev=sysconfdir ;;
1796 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1797 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1798 sysconfdir=$ac_optarg ;;
1800 -target | --target | --targe | --targ | --tar | --ta | --t)
1801 ac_prev=target_alias ;;
1802 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1803 target_alias=$ac_optarg ;;
1805 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1806 verbose=yes ;;
1808 -version | --version | --versio | --versi | --vers | -V)
1809 ac_init_version=: ;;
1811 -with-* | --with-*)
1812 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1815 as_fn_error $? "invalid package name: $ac_useropt"
1816 ac_useropt_orig=$ac_useropt
1817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1820 "with_$ac_useropt"
1821 "*) ;;
1822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1823 ac_unrecognized_sep=', ';;
1824 esac
1825 eval with_$ac_useropt=\$ac_optarg ;;
1827 -without-* | --without-*)
1828 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1829 # Reject names that are not valid shell variable names.
1830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1831 as_fn_error $? "invalid package name: $ac_useropt"
1832 ac_useropt_orig=$ac_useropt
1833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834 case $ac_user_opts in
1836 "with_$ac_useropt"
1837 "*) ;;
1838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1839 ac_unrecognized_sep=', ';;
1840 esac
1841 eval with_$ac_useropt=no ;;
1843 --x)
1844 # Obsolete; use --with-x.
1845 with_x=yes ;;
1847 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1848 | --x-incl | --x-inc | --x-in | --x-i)
1849 ac_prev=x_includes ;;
1850 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1851 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1852 x_includes=$ac_optarg ;;
1854 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1855 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1856 ac_prev=x_libraries ;;
1857 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1858 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1859 x_libraries=$ac_optarg ;;
1861 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1862 Try \`$0 --help' for more information"
1865 *=*)
1866 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1867 # Reject names that are not valid shell variable names.
1868 case $ac_envvar in #(
1869 '' | [0-9]* | *[!_$as_cr_alnum]* )
1870 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1871 esac
1872 eval $ac_envvar=\$ac_optarg
1873 export $ac_envvar ;;
1876 # FIXME: should be removed in autoconf 3.0.
1877 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1878 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1879 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1880 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1883 esac
1884 done
1886 if test -n "$ac_prev"; then
1887 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1888 as_fn_error $? "missing argument to $ac_option"
1891 if test -n "$ac_unrecognized_opts"; then
1892 case $enable_option_checking in
1893 no) ;;
1894 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1895 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1896 esac
1899 # Check all directory arguments for consistency.
1900 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1901 datadir sysconfdir sharedstatedir localstatedir includedir \
1902 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1903 libdir localedir mandir
1905 eval ac_val=\$$ac_var
1906 # Remove trailing slashes.
1907 case $ac_val in
1908 */ )
1909 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1910 eval $ac_var=\$ac_val;;
1911 esac
1912 # Be sure to have absolute directory names.
1913 case $ac_val in
1914 [\\/$]* | ?:[\\/]* ) continue;;
1915 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1916 esac
1917 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1918 done
1920 # There might be people who depend on the old broken behavior: `$host'
1921 # used to hold the argument of --host etc.
1922 # FIXME: To remove some day.
1923 build=$build_alias
1924 host=$host_alias
1925 target=$target_alias
1927 # FIXME: To remove some day.
1928 if test "x$host_alias" != x; then
1929 if test "x$build_alias" = x; then
1930 cross_compiling=maybe
1931 elif test "x$build_alias" != "x$host_alias"; then
1932 cross_compiling=yes
1936 ac_tool_prefix=
1937 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1939 test "$silent" = yes && exec 6>/dev/null
1942 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1943 ac_ls_di=`ls -di .` &&
1944 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1945 as_fn_error $? "working directory cannot be determined"
1946 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1947 as_fn_error $? "pwd does not report name of working directory"
1950 # Find the source files, if location was not specified.
1951 if test -z "$srcdir"; then
1952 ac_srcdir_defaulted=yes
1953 # Try the directory containing this script, then the parent directory.
1954 ac_confdir=`$as_dirname -- "$as_myself" ||
1955 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1956 X"$as_myself" : 'X\(//\)[^/]' \| \
1957 X"$as_myself" : 'X\(//\)$' \| \
1958 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1959 $as_echo X"$as_myself" |
1960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1961 s//\1/
1964 /^X\(\/\/\)[^/].*/{
1965 s//\1/
1968 /^X\(\/\/\)$/{
1969 s//\1/
1972 /^X\(\/\).*/{
1973 s//\1/
1976 s/.*/./; q'`
1977 srcdir=$ac_confdir
1978 if test ! -r "$srcdir/$ac_unique_file"; then
1979 srcdir=..
1981 else
1982 ac_srcdir_defaulted=no
1984 if test ! -r "$srcdir/$ac_unique_file"; then
1985 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1986 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1988 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1989 ac_abs_confdir=`(
1990 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1991 pwd)`
1992 # When building in place, set srcdir=.
1993 if test "$ac_abs_confdir" = "$ac_pwd"; then
1994 srcdir=.
1996 # Remove unnecessary trailing slashes from srcdir.
1997 # Double slashes in file names in object file debugging info
1998 # mess up M-x gdb in Emacs.
1999 case $srcdir in
2000 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2001 esac
2002 for ac_var in $ac_precious_vars; do
2003 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2004 eval ac_env_${ac_var}_value=\$${ac_var}
2005 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2006 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2007 done
2010 # Report the --help message.
2012 if test "$ac_init_help" = "long"; then
2013 # Omit some internal or obsolete options to make the list less imposing.
2014 # This message is too long to be a string in the A/UX 3.1 sh.
2015 cat <<_ACEOF
2016 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2018 Usage: $0 [OPTION]... [VAR=VALUE]...
2020 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2021 VAR=VALUE. See below for descriptions of some of the useful variables.
2023 Defaults for the options are specified in brackets.
2025 Configuration:
2026 -h, --help display this help and exit
2027 --help=short display options specific to this package
2028 --help=recursive display the short help of all the included packages
2029 -V, --version display version information and exit
2030 -q, --quiet, --silent do not print \`checking ...' messages
2031 --cache-file=FILE cache test results in FILE [disabled]
2032 -C, --config-cache alias for \`--cache-file=config.cache'
2033 -n, --no-create do not create output files
2034 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2036 Installation directories:
2037 --prefix=PREFIX install architecture-independent files in PREFIX
2038 [$ac_default_prefix]
2039 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2040 [PREFIX]
2042 By default, \`make install' will install all the files in
2043 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2044 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2045 for instance \`--prefix=\$HOME'.
2047 For better control, use the options below.
2049 Fine tuning of the installation directories:
2050 --bindir=DIR user executables [EPREFIX/bin]
2051 --sbindir=DIR system admin executables [EPREFIX/sbin]
2052 --libexecdir=DIR program executables [EPREFIX/libexec]
2053 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2054 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2055 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2056 --libdir=DIR object code libraries [EPREFIX/lib]
2057 --includedir=DIR C header files [PREFIX/include]
2058 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2059 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2060 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2061 --infodir=DIR info documentation [DATAROOTDIR/info]
2062 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2063 --mandir=DIR man documentation [DATAROOTDIR/man]
2064 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2065 --htmldir=DIR html documentation [DOCDIR]
2066 --dvidir=DIR dvi documentation [DOCDIR]
2067 --pdfdir=DIR pdf documentation [DOCDIR]
2068 --psdir=DIR ps documentation [DOCDIR]
2069 _ACEOF
2071 cat <<\_ACEOF
2073 X features:
2074 --x-includes=DIR X include files are in DIR
2075 --x-libraries=DIR X library files are in DIR
2077 System types:
2078 --build=BUILD configure for building on BUILD [guessed]
2079 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2080 _ACEOF
2083 if test -n "$ac_init_help"; then
2084 case $ac_init_help in
2085 short | recursive ) echo "Configuration of Wine 1.7.36:";;
2086 esac
2087 cat <<\_ACEOF
2089 Optional Features:
2090 --disable-option-checking ignore unrecognized --enable/--with options
2091 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2092 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2093 --disable-win16 do not include Win16 support
2094 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2095 binaries)
2096 --disable-tests do not build the regression tests
2097 --enable-maintainer-mode
2098 enable maintainer-specific build rules
2099 --disable-largefile omit support for large files
2101 Optional Packages:
2102 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2103 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2104 --without-alsa do not use the Alsa sound support
2105 --without-capi do not use CAPI (ISDN support)
2106 --without-cms do not use CMS (color management support)
2107 --without-coreaudio do not use the CoreAudio sound support
2108 --without-cups do not use CUPS
2109 --without-curses do not use (n)curses
2110 --without-dbus do not use DBus (dynamic device support)
2111 --without-fontconfig do not use fontconfig
2112 --without-freetype do not use the FreeType library
2113 --without-gettext do not use gettext
2114 --with-gettextpo use the GetTextPO library to rebuild po files
2115 --without-gphoto do not use gphoto (Digital Camera support)
2116 --without-glu do not use the GLU library
2117 --without-gnutls do not use GnuTLS (schannel support)
2118 --without-gsm do not use libgsm (GSM 06.10 codec support)
2119 --without-gstreamer do not use GStreamer (codecs support)
2120 --without-hal do not use HAL (dynamic device support)
2121 --without-jpeg do not use JPEG
2122 --without-ldap do not use LDAP
2123 --without-mpg123 do not use the mpg123 library
2124 --without-netapi do not use the Samba NetAPI library
2125 --without-openal do not use OpenAL
2126 --without-opencl do not use OpenCL
2127 --without-opengl do not use OpenGL
2128 --without-osmesa do not use the OSMesa library
2129 --without-oss do not use the OSS sound support
2130 --without-pcap do not use the Packet Capture library
2131 --without-png do not use PNG
2132 --without-pthread do not use the pthread library
2133 --without-sane do not use SANE (scanner support)
2134 --without-tiff do not use TIFF
2135 --without-v4l do not use v4l1 (v4l support)
2136 --without-xcomposite do not use the Xcomposite extension
2137 --without-xcursor do not use the Xcursor extension
2138 --without-xinerama do not use Xinerama (multi-monitor support)
2139 --without-xinput do not use the Xinput extension
2140 --without-xinput2 do not use the Xinput 2 extension
2141 --without-xml do not use XML
2142 --without-xrandr do not use Xrandr (resolution changes)
2143 --without-xrender do not use the Xrender extension
2144 --without-xshape do not use the Xshape extension
2145 --without-xshm do not use XShm (shared memory extension)
2146 --without-xslt do not use XSLT
2147 --without-xxf86vm do not use XFree video mode extension
2148 --without-zlib do not use Zlib (data compression)
2149 --with-wine-tools=DIR use Wine tools from directory DIR
2150 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2151 --with-x use the X Window System
2153 Some influential environment variables:
2154 CC C compiler command
2155 CFLAGS C compiler flags
2156 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2157 nonstandard directory <lib dir>
2158 LIBS libraries to pass to the linker, e.g. -l<library>
2159 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2160 you have headers in a nonstandard directory <include dir>
2161 CXX C++ compiler command
2162 CXXFLAGS C++ compiler flags
2163 CPP C preprocessor
2164 XMKMF Path to xmkmf, Makefile generator for X Window System
2165 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2166 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2167 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2168 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2169 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2170 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2171 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2172 HAL_LIBS Linker flags for hal, overriding pkg-config
2173 GNUTLS_CFLAGS
2174 C compiler flags for gnutls, overriding pkg-config
2175 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2176 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2177 SANE_LIBS Linker flags for libsane, overriding pkg-config
2178 GPHOTO2_CFLAGS
2179 C compiler flags for libgphoto2, overriding pkg-config
2180 GPHOTO2_LIBS
2181 Linker flags for libgphoto2, overriding pkg-config
2182 GPHOTO2_PORT_CFLAGS
2183 C compiler flags for libgphoto2_port, overriding pkg-config
2184 GPHOTO2_PORT_LIBS
2185 Linker flags for libgphoto2_port, overriding pkg-config
2186 LCMS2_CFLAGS
2187 C compiler flags for lcms2, overriding pkg-config
2188 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2189 FREETYPE_CFLAGS
2190 C compiler flags for freetype2, overriding pkg-config
2191 FREETYPE_LIBS
2192 Linker flags for freetype2, overriding pkg-config
2193 GSTREAMER_CFLAGS
2194 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2195 GSTREAMER_LIBS
2196 Linker flags for gstreamer-app-0.10, overriding pkg-config
2197 CAPI20_CFLAGS
2198 C compiler flags for capi20, overriding pkg-config
2199 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2200 FONTCONFIG_CFLAGS
2201 C compiler flags for fontconfig, overriding pkg-config
2202 FONTCONFIG_LIBS
2203 Linker flags for fontconfig, overriding pkg-config
2204 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2205 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2206 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2207 PNG_LIBS Linker flags for libpng, overriding pkg-config
2208 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2209 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2210 MPG123_CFLAGS
2211 C compiler flags for libmpg123, overriding pkg-config
2212 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2214 Use these variables to override the choices made by `configure' or to help
2215 it to find libraries and programs with nonstandard names/locations.
2217 Report bugs to <wine-devel@winehq.org>.
2218 Wine home page: <http://www.winehq.org>.
2219 _ACEOF
2220 ac_status=$?
2223 if test "$ac_init_help" = "recursive"; then
2224 # If there are subdirs, report their specific --help.
2225 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2226 test -d "$ac_dir" ||
2227 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2228 continue
2229 ac_builddir=.
2231 case "$ac_dir" in
2232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2234 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2235 # A ".." for each directory in $ac_dir_suffix.
2236 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2237 case $ac_top_builddir_sub in
2238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2240 esac ;;
2241 esac
2242 ac_abs_top_builddir=$ac_pwd
2243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2244 # for backward compatibility:
2245 ac_top_builddir=$ac_top_build_prefix
2247 case $srcdir in
2248 .) # We are building in place.
2249 ac_srcdir=.
2250 ac_top_srcdir=$ac_top_builddir_sub
2251 ac_abs_top_srcdir=$ac_pwd ;;
2252 [\\/]* | ?:[\\/]* ) # Absolute name.
2253 ac_srcdir=$srcdir$ac_dir_suffix;
2254 ac_top_srcdir=$srcdir
2255 ac_abs_top_srcdir=$srcdir ;;
2256 *) # Relative name.
2257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2258 ac_top_srcdir=$ac_top_build_prefix$srcdir
2259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2260 esac
2261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2263 cd "$ac_dir" || { ac_status=$?; continue; }
2264 # Check for guested configure.
2265 if test -f "$ac_srcdir/configure.gnu"; then
2266 echo &&
2267 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2268 elif test -f "$ac_srcdir/configure"; then
2269 echo &&
2270 $SHELL "$ac_srcdir/configure" --help=recursive
2271 else
2272 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2273 fi || ac_status=$?
2274 cd "$ac_pwd" || { ac_status=$?; break; }
2275 done
2278 test -n "$ac_init_help" && exit $ac_status
2279 if $ac_init_version; then
2280 cat <<\_ACEOF
2281 Wine configure 1.7.36
2282 generated by GNU Autoconf 2.69
2284 Copyright (C) 2012 Free Software Foundation, Inc.
2285 This configure script is free software; the Free Software Foundation
2286 gives unlimited permission to copy, distribute and modify it.
2287 _ACEOF
2288 exit
2291 ## ------------------------ ##
2292 ## Autoconf initialization. ##
2293 ## ------------------------ ##
2295 # ac_fn_c_try_compile LINENO
2296 # --------------------------
2297 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2298 ac_fn_c_try_compile ()
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 rm -f conftest.$ac_objext
2302 if { { ac_try="$ac_compile"
2303 case "(($ac_try" in
2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2306 esac
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compile") 2>conftest.err
2310 ac_status=$?
2311 if test -s conftest.err; then
2312 grep -v '^ *+' conftest.err >conftest.er1
2313 cat conftest.er1 >&5
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317 test $ac_status = 0; } && {
2318 test -z "$ac_c_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.$ac_objext; then :
2321 ac_retval=0
2322 else
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2326 ac_retval=1
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_c_try_compile
2333 # ac_fn_cxx_try_compile LINENO
2334 # ----------------------------
2335 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2336 ac_fn_cxx_try_compile ()
2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339 rm -f conftest.$ac_objext
2340 if { { ac_try="$ac_compile"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_compile") 2>conftest.err
2348 ac_status=$?
2349 if test -s conftest.err; then
2350 grep -v '^ *+' conftest.err >conftest.er1
2351 cat conftest.er1 >&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } && {
2356 test -z "$ac_cxx_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest.$ac_objext; then :
2359 ac_retval=0
2360 else
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2364 ac_retval=1
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status $ac_retval
2369 } # ac_fn_cxx_try_compile
2371 # ac_fn_c_try_link LINENO
2372 # -----------------------
2373 # Try to link conftest.$ac_ext, and return whether this succeeded.
2374 ac_fn_c_try_link ()
2376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377 rm -f conftest.$ac_objext conftest$ac_exeext
2378 if { { ac_try="$ac_link"
2379 case "(($ac_try" in
2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2382 esac
2383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384 $as_echo "$ac_try_echo"; } >&5
2385 (eval "$ac_link") 2>conftest.err
2386 ac_status=$?
2387 if test -s conftest.err; then
2388 grep -v '^ *+' conftest.err >conftest.er1
2389 cat conftest.er1 >&5
2390 mv -f conftest.er1 conftest.err
2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; } && {
2394 test -z "$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 } && test -s conftest$ac_exeext && {
2397 test "$cross_compiling" = yes ||
2398 test -x conftest$ac_exeext
2399 }; then :
2400 ac_retval=0
2401 else
2402 $as_echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 ac_retval=1
2407 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2408 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2409 # interfere with the next link command; also delete a directory that is
2410 # left behind by Apple's compiler. We do this before executing the actions.
2411 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2412 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2413 as_fn_set_status $ac_retval
2415 } # ac_fn_c_try_link
2417 # ac_fn_c_try_cpp LINENO
2418 # ----------------------
2419 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2420 ac_fn_c_try_cpp ()
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 if { { ac_try="$ac_cpp conftest.$ac_ext"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2431 ac_status=$?
2432 if test -s conftest.err; then
2433 grep -v '^ *+' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 mv -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } > conftest.i && {
2439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2441 }; then :
2442 ac_retval=0
2443 else
2444 $as_echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2447 ac_retval=1
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status $ac_retval
2452 } # ac_fn_c_try_cpp
2454 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2455 # -------------------------------------------------------
2456 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2457 # the include files in INCLUDES and setting the cache variable VAR
2458 # accordingly.
2459 ac_fn_c_check_header_mongrel ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 if eval \${$3+:} false; then :
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \${$3+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 else
2472 # Is the header compilable?
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2474 $as_echo_n "checking $2 usability... " >&6; }
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2478 #include <$2>
2479 _ACEOF
2480 if ac_fn_c_try_compile "$LINENO"; then :
2481 ac_header_compiler=yes
2482 else
2483 ac_header_compiler=no
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2487 $as_echo "$ac_header_compiler" >&6; }
2489 # Is the header present?
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2491 $as_echo_n "checking $2 presence... " >&6; }
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2494 #include <$2>
2495 _ACEOF
2496 if ac_fn_c_try_cpp "$LINENO"; then :
2497 ac_header_preproc=yes
2498 else
2499 ac_header_preproc=no
2501 rm -f conftest.err conftest.i conftest.$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2503 $as_echo "$ac_header_preproc" >&6; }
2505 # So? What about this header?
2506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2507 yes:no: )
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2509 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2511 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2513 no:yes:* )
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2515 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2517 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2519 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2521 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2524 ( $as_echo "## ------------------------------------ ##
2525 ## Report this to wine-devel@winehq.org ##
2526 ## ------------------------------------ ##"
2527 ) | sed "s/^/$as_me: WARNING: /" >&2
2529 esac
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2531 $as_echo_n "checking for $2... " >&6; }
2532 if eval \${$3+:} false; then :
2533 $as_echo_n "(cached) " >&6
2534 else
2535 eval "$3=\$ac_header_compiler"
2537 eval ac_res=\$$3
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2539 $as_echo "$ac_res" >&6; }
2541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 } # ac_fn_c_check_header_mongrel
2545 # ac_fn_c_try_run LINENO
2546 # ----------------------
2547 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2548 # that executables *can* be run.
2549 ac_fn_c_try_run ()
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 if { { ac_try="$ac_link"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link") 2>&5
2560 ac_status=$?
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2563 { { case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_try") 2>&5
2570 ac_status=$?
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; }; }; then :
2573 ac_retval=0
2574 else
2575 $as_echo "$as_me: program exited with status $ac_status" >&5
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=$ac_status
2581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 as_fn_set_status $ac_retval
2585 } # ac_fn_c_try_run
2587 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2588 # -------------------------------------------------------
2589 # Tests whether HEADER exists and can be compiled using the include files in
2590 # INCLUDES, setting the cache variable VAR accordingly.
2591 ac_fn_c_check_header_compile ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \${$3+:} false; then :
2597 $as_echo_n "(cached) " >&6
2598 else
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2602 #include <$2>
2603 _ACEOF
2604 if ac_fn_c_try_compile "$LINENO"; then :
2605 eval "$3=yes"
2606 else
2607 eval "$3=no"
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611 eval ac_res=\$$3
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2616 } # ac_fn_c_check_header_compile
2618 # ac_fn_c_check_func LINENO FUNC VAR
2619 # ----------------------------------
2620 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2621 ac_fn_c_check_func ()
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2625 $as_echo_n "checking for $2... " >&6; }
2626 if eval \${$3+:} false; then :
2627 $as_echo_n "(cached) " >&6
2628 else
2629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2631 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2633 #define $2 innocuous_$2
2635 /* System header to define __stub macros and hopefully few prototypes,
2636 which can conflict with char $2 (); below.
2637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2638 <limits.h> exists even on freestanding compilers. */
2640 #ifdef __STDC__
2641 # include <limits.h>
2642 #else
2643 # include <assert.h>
2644 #endif
2646 #undef $2
2648 /* Override any GCC internal prototype to avoid an error.
2649 Use char because int might match the return type of a GCC
2650 builtin and then its argument prototype would still apply. */
2651 #ifdef __cplusplus
2652 extern "C"
2653 #endif
2654 char $2 ();
2655 /* The GNU C library defines this for functions which it implements
2656 to always fail with ENOSYS. Some functions are actually named
2657 something starting with __ and the normal name is an alias. */
2658 #if defined __stub_$2 || defined __stub___$2
2659 choke me
2660 #endif
2663 main ()
2665 return $2 ();
2667 return 0;
2669 _ACEOF
2670 if ac_fn_c_try_link "$LINENO"; then :
2671 eval "$3=yes"
2672 else
2673 eval "$3=no"
2675 rm -f core conftest.err conftest.$ac_objext \
2676 conftest$ac_exeext conftest.$ac_ext
2678 eval ac_res=\$$3
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2680 $as_echo "$ac_res" >&6; }
2681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2683 } # ac_fn_c_check_func
2685 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2686 # ----------------------------------------------------
2687 # Tries to find if the field MEMBER exists in type AGGR, after including
2688 # INCLUDES, setting cache variable VAR accordingly.
2689 ac_fn_c_check_member ()
2691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2693 $as_echo_n "checking for $2.$3... " >&6; }
2694 if eval \${$4+:} false; then :
2695 $as_echo_n "(cached) " >&6
2696 else
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2701 main ()
2703 static $2 ac_aggr;
2704 if (ac_aggr.$3)
2705 return 0;
2707 return 0;
2709 _ACEOF
2710 if ac_fn_c_try_compile "$LINENO"; then :
2711 eval "$4=yes"
2712 else
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2717 main ()
2719 static $2 ac_aggr;
2720 if (sizeof ac_aggr.$3)
2721 return 0;
2723 return 0;
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727 eval "$4=yes"
2728 else
2729 eval "$4=no"
2731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 eval ac_res=\$$4
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 } # ac_fn_c_check_member
2742 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2743 # -------------------------------------------
2744 # Tests whether TYPE exists after having included INCLUDES, setting cache
2745 # variable VAR accordingly.
2746 ac_fn_c_check_type ()
2748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2750 $as_echo_n "checking for $2... " >&6; }
2751 if eval \${$3+:} false; then :
2752 $as_echo_n "(cached) " >&6
2753 else
2754 eval "$3=no"
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2759 main ()
2761 if (sizeof ($2))
2762 return 0;
2764 return 0;
2766 _ACEOF
2767 if ac_fn_c_try_compile "$LINENO"; then :
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2772 main ()
2774 if (sizeof (($2)))
2775 return 0;
2777 return 0;
2779 _ACEOF
2780 if ac_fn_c_try_compile "$LINENO"; then :
2782 else
2783 eval "$3=yes"
2785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 eval ac_res=\$$3
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 $as_echo "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 } # ac_fn_c_check_type
2795 cat >config.log <<_ACEOF
2796 This file contains any messages produced by compilers while
2797 running configure, to aid debugging if configure makes a mistake.
2799 It was created by Wine $as_me 1.7.36, which was
2800 generated by GNU Autoconf 2.69. Invocation command line was
2802 $ $0 $@
2804 _ACEOF
2805 exec 5>>config.log
2807 cat <<_ASUNAME
2808 ## --------- ##
2809 ## Platform. ##
2810 ## --------- ##
2812 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2813 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2814 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2815 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2816 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2818 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2819 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2821 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2822 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2823 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2824 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2825 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2826 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2827 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2829 _ASUNAME
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2834 IFS=$as_save_IFS
2835 test -z "$as_dir" && as_dir=.
2836 $as_echo "PATH: $as_dir"
2837 done
2838 IFS=$as_save_IFS
2840 } >&5
2842 cat >&5 <<_ACEOF
2845 ## ----------- ##
2846 ## Core tests. ##
2847 ## ----------- ##
2849 _ACEOF
2852 # Keep a trace of the command line.
2853 # Strip out --no-create and --no-recursion so they do not pile up.
2854 # Strip out --silent because we don't want to record it for future runs.
2855 # Also quote any args containing shell meta-characters.
2856 # Make two passes to allow for proper duplicate-argument suppression.
2857 ac_configure_args=
2858 ac_configure_args0=
2859 ac_configure_args1=
2860 ac_must_keep_next=false
2861 for ac_pass in 1 2
2863 for ac_arg
2865 case $ac_arg in
2866 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2868 | -silent | --silent | --silen | --sile | --sil)
2869 continue ;;
2870 *\'*)
2871 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2872 esac
2873 case $ac_pass in
2874 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2876 as_fn_append ac_configure_args1 " '$ac_arg'"
2877 if test $ac_must_keep_next = true; then
2878 ac_must_keep_next=false # Got value, back to normal.
2879 else
2880 case $ac_arg in
2881 *=* | --config-cache | -C | -disable-* | --disable-* \
2882 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2883 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2884 | -with-* | --with-* | -without-* | --without-* | --x)
2885 case "$ac_configure_args0 " in
2886 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2887 esac
2889 -* ) ac_must_keep_next=true ;;
2890 esac
2892 as_fn_append ac_configure_args " '$ac_arg'"
2894 esac
2895 done
2896 done
2897 { ac_configure_args0=; unset ac_configure_args0;}
2898 { ac_configure_args1=; unset ac_configure_args1;}
2900 # When interrupted or exit'd, cleanup temporary files, and complete
2901 # config.log. We remove comments because anyway the quotes in there
2902 # would cause problems or look ugly.
2903 # WARNING: Use '\'' to represent an apostrophe within the trap.
2904 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2905 trap 'exit_status=$?
2906 # Save into config.log some information that might help in debugging.
2908 echo
2910 $as_echo "## ---------------- ##
2911 ## Cache variables. ##
2912 ## ---------------- ##"
2913 echo
2914 # The following way of writing the cache mishandles newlines in values,
2916 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2917 eval ac_val=\$$ac_var
2918 case $ac_val in #(
2919 *${as_nl}*)
2920 case $ac_var in #(
2921 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2923 esac
2924 case $ac_var in #(
2925 _ | IFS | as_nl) ;; #(
2926 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2927 *) { eval $ac_var=; unset $ac_var;} ;;
2928 esac ;;
2929 esac
2930 done
2931 (set) 2>&1 |
2932 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2933 *${as_nl}ac_space=\ *)
2934 sed -n \
2935 "s/'\''/'\''\\\\'\'''\''/g;
2936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2937 ;; #(
2939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2941 esac |
2942 sort
2944 echo
2946 $as_echo "## ----------------- ##
2947 ## Output variables. ##
2948 ## ----------------- ##"
2949 echo
2950 for ac_var in $ac_subst_vars
2952 eval ac_val=\$$ac_var
2953 case $ac_val in
2954 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2955 esac
2956 $as_echo "$ac_var='\''$ac_val'\''"
2957 done | sort
2958 echo
2960 if test -n "$ac_subst_files"; then
2961 $as_echo "## ------------------- ##
2962 ## File substitutions. ##
2963 ## ------------------- ##"
2964 echo
2965 for ac_var in $ac_subst_files
2967 eval ac_val=\$$ac_var
2968 case $ac_val in
2969 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2970 esac
2971 $as_echo "$ac_var='\''$ac_val'\''"
2972 done | sort
2973 echo
2976 if test -s confdefs.h; then
2977 $as_echo "## ----------- ##
2978 ## confdefs.h. ##
2979 ## ----------- ##"
2980 echo
2981 cat confdefs.h
2982 echo
2984 test "$ac_signal" != 0 &&
2985 $as_echo "$as_me: caught signal $ac_signal"
2986 $as_echo "$as_me: exit $exit_status"
2987 } >&5
2988 rm -f core *.core core.conftest.* &&
2989 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2990 exit $exit_status
2992 for ac_signal in 1 2 13 15; do
2993 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2994 done
2995 ac_signal=0
2997 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2998 rm -f -r conftest* confdefs.h
3000 $as_echo "/* confdefs.h */" > confdefs.h
3002 # Predefined preprocessor variables.
3004 cat >>confdefs.h <<_ACEOF
3005 #define PACKAGE_NAME "$PACKAGE_NAME"
3006 _ACEOF
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3010 _ACEOF
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3014 _ACEOF
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE_STRING "$PACKAGE_STRING"
3018 _ACEOF
3020 cat >>confdefs.h <<_ACEOF
3021 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3022 _ACEOF
3024 cat >>confdefs.h <<_ACEOF
3025 #define PACKAGE_URL "$PACKAGE_URL"
3026 _ACEOF
3029 # Let the site file select an alternate cache file if it wants to.
3030 # Prefer an explicitly selected file to automatically selected ones.
3031 ac_site_file1=NONE
3032 ac_site_file2=NONE
3033 if test -n "$CONFIG_SITE"; then
3034 # We do not want a PATH search for config.site.
3035 case $CONFIG_SITE in #((
3036 -*) ac_site_file1=./$CONFIG_SITE;;
3037 */*) ac_site_file1=$CONFIG_SITE;;
3038 *) ac_site_file1=./$CONFIG_SITE;;
3039 esac
3040 elif test "x$prefix" != xNONE; then
3041 ac_site_file1=$prefix/share/config.site
3042 ac_site_file2=$prefix/etc/config.site
3043 else
3044 ac_site_file1=$ac_default_prefix/share/config.site
3045 ac_site_file2=$ac_default_prefix/etc/config.site
3047 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3049 test "x$ac_site_file" = xNONE && continue
3050 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3052 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3053 sed 's/^/| /' "$ac_site_file" >&5
3054 . "$ac_site_file" \
3055 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 as_fn_error $? "failed to load site script $ac_site_file
3058 See \`config.log' for more details" "$LINENO" 5; }
3060 done
3062 if test -r "$cache_file"; then
3063 # Some versions of bash will fail to source /dev/null (special files
3064 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3065 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3067 $as_echo "$as_me: loading cache $cache_file" >&6;}
3068 case $cache_file in
3069 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3070 *) . "./$cache_file";;
3071 esac
3073 else
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3075 $as_echo "$as_me: creating cache $cache_file" >&6;}
3076 >$cache_file
3079 # Check that the precious variables saved in the cache have kept the same
3080 # value.
3081 ac_cache_corrupted=false
3082 for ac_var in $ac_precious_vars; do
3083 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3084 eval ac_new_set=\$ac_env_${ac_var}_set
3085 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3086 eval ac_new_val=\$ac_env_${ac_var}_value
3087 case $ac_old_set,$ac_new_set in
3088 set,)
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3090 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3091 ac_cache_corrupted=: ;;
3092 ,set)
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3094 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3095 ac_cache_corrupted=: ;;
3096 ,);;
3098 if test "x$ac_old_val" != "x$ac_new_val"; then
3099 # differences in whitespace do not lead to failure.
3100 ac_old_val_w=`echo x $ac_old_val`
3101 ac_new_val_w=`echo x $ac_new_val`
3102 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3105 ac_cache_corrupted=:
3106 else
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3109 eval $ac_var=\$ac_old_val
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3112 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3114 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3115 fi;;
3116 esac
3117 # Pass precious variables to config.status.
3118 if test "$ac_new_set" = set; then
3119 case $ac_new_val in
3120 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3121 *) ac_arg=$ac_var=$ac_new_val ;;
3122 esac
3123 case " $ac_configure_args " in
3124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3125 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3126 esac
3128 done
3129 if $ac_cache_corrupted; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3134 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3136 ## -------------------- ##
3137 ## Main body of script. ##
3138 ## -------------------- ##
3140 ac_ext=c
3141 ac_cpp='$CPP $CPPFLAGS'
3142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3148 ac_config_headers="$ac_config_headers include/config.h"
3150 ac_aux_dir=
3151 for ac_dir in tools "$srcdir"/tools; do
3152 if test -f "$ac_dir/install-sh"; then
3153 ac_aux_dir=$ac_dir
3154 ac_install_sh="$ac_aux_dir/install-sh -c"
3155 break
3156 elif test -f "$ac_dir/install.sh"; then
3157 ac_aux_dir=$ac_dir
3158 ac_install_sh="$ac_aux_dir/install.sh -c"
3159 break
3160 elif test -f "$ac_dir/shtool"; then
3161 ac_aux_dir=$ac_dir
3162 ac_install_sh="$ac_aux_dir/shtool install -c"
3163 break
3165 done
3166 if test -z "$ac_aux_dir"; then
3167 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3170 # These three variables are undocumented and unsupported,
3171 # and are intended to be withdrawn in a future Autoconf release.
3172 # They can cause serious problems if a builder's source tree is in a directory
3173 # whose full name contains unusual characters.
3174 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3175 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3176 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3180 libwine_version="1.0"
3184 # Check whether --enable-win16 was given.
3185 if test "${enable_win16+set}" = set; then :
3186 enableval=$enable_win16;
3189 # Check whether --enable-win64 was given.
3190 if test "${enable_win64+set}" = set; then :
3191 enableval=$enable_win64;
3194 # Check whether --enable-tests was given.
3195 if test "${enable_tests+set}" = set; then :
3196 enableval=$enable_tests;
3199 # Check whether --enable-maintainer-mode was given.
3200 if test "${enable_maintainer_mode+set}" = set; then :
3201 enableval=$enable_maintainer_mode;
3206 # Check whether --with-alsa was given.
3207 if test "${with_alsa+set}" = set; then :
3208 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3212 # Check whether --with-capi was given.
3213 if test "${with_capi+set}" = set; then :
3214 withval=$with_capi;
3218 # Check whether --with-cms was given.
3219 if test "${with_cms+set}" = set; then :
3220 withval=$with_cms;
3224 # Check whether --with-coreaudio was given.
3225 if test "${with_coreaudio+set}" = set; then :
3226 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3230 # Check whether --with-cups was given.
3231 if test "${with_cups+set}" = set; then :
3232 withval=$with_cups;
3236 # Check whether --with-curses was given.
3237 if test "${with_curses+set}" = set; then :
3238 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3242 # Check whether --with-dbus was given.
3243 if test "${with_dbus+set}" = set; then :
3244 withval=$with_dbus;
3248 # Check whether --with-fontconfig was given.
3249 if test "${with_fontconfig+set}" = set; then :
3250 withval=$with_fontconfig;
3254 # Check whether --with-freetype was given.
3255 if test "${with_freetype+set}" = set; then :
3256 withval=$with_freetype;
3260 # Check whether --with-gettext was given.
3261 if test "${with_gettext+set}" = set; then :
3262 withval=$with_gettext;
3266 # Check whether --with-gettextpo was given.
3267 if test "${with_gettextpo+set}" = set; then :
3268 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3272 # Check whether --with-gphoto was given.
3273 if test "${with_gphoto+set}" = set; then :
3274 withval=$with_gphoto;
3278 # Check whether --with-glu was given.
3279 if test "${with_glu+set}" = set; then :
3280 withval=$with_glu;
3284 # Check whether --with-gnutls was given.
3285 if test "${with_gnutls+set}" = set; then :
3286 withval=$with_gnutls;
3290 # Check whether --with-gsm was given.
3291 if test "${with_gsm+set}" = set; then :
3292 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3296 # Check whether --with-gstreamer was given.
3297 if test "${with_gstreamer+set}" = set; then :
3298 withval=$with_gstreamer;
3302 # Check whether --with-hal was given.
3303 if test "${with_hal+set}" = set; then :
3304 withval=$with_hal;
3308 # Check whether --with-jpeg was given.
3309 if test "${with_jpeg+set}" = set; then :
3310 withval=$with_jpeg;
3314 # Check whether --with-ldap was given.
3315 if test "${with_ldap+set}" = set; then :
3316 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3320 # Check whether --with-mpg123 was given.
3321 if test "${with_mpg123+set}" = set; then :
3322 withval=$with_mpg123;
3326 # Check whether --with-netapi was given.
3327 if test "${with_netapi+set}" = set; then :
3328 withval=$with_netapi;
3332 # Check whether --with-openal was given.
3333 if test "${with_openal+set}" = set; then :
3334 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3338 # Check whether --with-opencl was given.
3339 if test "${with_opencl+set}" = set; then :
3340 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3344 # Check whether --with-opengl was given.
3345 if test "${with_opengl+set}" = set; then :
3346 withval=$with_opengl;
3350 # Check whether --with-osmesa was given.
3351 if test "${with_osmesa+set}" = set; then :
3352 withval=$with_osmesa;
3356 # Check whether --with-oss was given.
3357 if test "${with_oss+set}" = set; then :
3358 withval=$with_oss;
3362 # Check whether --with-pcap was given.
3363 if test "${with_pcap+set}" = set; then :
3364 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3368 # Check whether --with-png was given.
3369 if test "${with_png+set}" = set; then :
3370 withval=$with_png;
3374 # Check whether --with-pthread was given.
3375 if test "${with_pthread+set}" = set; then :
3376 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3380 # Check whether --with-sane was given.
3381 if test "${with_sane+set}" = set; then :
3382 withval=$with_sane;
3386 # Check whether --with-tiff was given.
3387 if test "${with_tiff+set}" = set; then :
3388 withval=$with_tiff;
3392 # Check whether --with-v4l was given.
3393 if test "${with_v4l+set}" = set; then :
3394 withval=$with_v4l;
3398 # Check whether --with-xcomposite was given.
3399 if test "${with_xcomposite+set}" = set; then :
3400 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3404 # Check whether --with-xcursor was given.
3405 if test "${with_xcursor+set}" = set; then :
3406 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3410 # Check whether --with-xinerama was given.
3411 if test "${with_xinerama+set}" = set; then :
3412 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3416 # Check whether --with-xinput was given.
3417 if test "${with_xinput+set}" = set; then :
3418 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3422 # Check whether --with-xinput2 was given.
3423 if test "${with_xinput2+set}" = set; then :
3424 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3428 # Check whether --with-xml was given.
3429 if test "${with_xml+set}" = set; then :
3430 withval=$with_xml;
3434 # Check whether --with-xrandr was given.
3435 if test "${with_xrandr+set}" = set; then :
3436 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3440 # Check whether --with-xrender was given.
3441 if test "${with_xrender+set}" = set; then :
3442 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3446 # Check whether --with-xshape was given.
3447 if test "${with_xshape+set}" = set; then :
3448 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3452 # Check whether --with-xshm was given.
3453 if test "${with_xshm+set}" = set; then :
3454 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3458 # Check whether --with-xslt was given.
3459 if test "${with_xslt+set}" = set; then :
3460 withval=$with_xslt;
3464 # Check whether --with-xxf86vm was given.
3465 if test "${with_xxf86vm+set}" = set; then :
3466 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
3470 # Check whether --with-zlib was given.
3471 if test "${with_zlib+set}" = set; then :
3472 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3477 # Check whether --with-wine-tools was given.
3478 if test "${with_wine_tools+set}" = set; then :
3479 withval=$with_wine_tools;
3483 # Check whether --with-wine64 was given.
3484 if test "${with_wine64+set}" = set; then :
3485 withval=$with_wine64;
3489 # Make sure we can run config.sub.
3490 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3491 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3494 $as_echo_n "checking build system type... " >&6; }
3495 if ${ac_cv_build+:} false; then :
3496 $as_echo_n "(cached) " >&6
3497 else
3498 ac_build_alias=$build_alias
3499 test "x$ac_build_alias" = x &&
3500 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3501 test "x$ac_build_alias" = x &&
3502 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3503 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3504 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3508 $as_echo "$ac_cv_build" >&6; }
3509 case $ac_cv_build in
3510 *-*-*) ;;
3511 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3512 esac
3513 build=$ac_cv_build
3514 ac_save_IFS=$IFS; IFS='-'
3515 set x $ac_cv_build
3516 shift
3517 build_cpu=$1
3518 build_vendor=$2
3519 shift; shift
3520 # Remember, the first character of IFS is used to create $*,
3521 # except with old shells:
3522 build_os=$*
3523 IFS=$ac_save_IFS
3524 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3528 $as_echo_n "checking host system type... " >&6; }
3529 if ${ac_cv_host+:} false; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 if test "x$host_alias" = x; then
3533 ac_cv_host=$ac_cv_build
3534 else
3535 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3536 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3541 $as_echo "$ac_cv_host" >&6; }
3542 case $ac_cv_host in
3543 *-*-*) ;;
3544 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3545 esac
3546 host=$ac_cv_host
3547 ac_save_IFS=$IFS; IFS='-'
3548 set x $ac_cv_host
3549 shift
3550 host_cpu=$1
3551 host_vendor=$2
3552 shift; shift
3553 # Remember, the first character of IFS is used to create $*,
3554 # except with old shells:
3555 host_os=$*
3556 IFS=$ac_save_IFS
3557 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3561 case "$srcdir" in
3562 .) ;;
3563 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3564 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3565 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3566 fi ;;
3567 esac
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3571 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3572 set x ${MAKE-make}
3573 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3574 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 cat >conftest.make <<\_ACEOF
3578 SHELL = /bin/sh
3579 all:
3580 @echo '@@@%%%=$(MAKE)=@@@%%%'
3581 _ACEOF
3582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3584 *@@@%%%=?*=@@@%%%*)
3585 eval ac_cv_prog_make_${ac_make}_set=yes;;
3587 eval ac_cv_prog_make_${ac_make}_set=no;;
3588 esac
3589 rm -f conftest.make
3591 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3594 SET_MAKE=
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 SET_MAKE="MAKE=${MAKE-make}"
3601 ac_ext=c
3602 ac_cpp='$CPP $CPPFLAGS'
3603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 if test -n "$ac_tool_prefix"; then
3607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if ${ac_cv_prog_CC+:} false; then :
3612 $as_echo_n "(cached) " >&6
3613 else
3614 if test -n "$CC"; then
3615 ac_cv_prog_CC="$CC" # Let the user override the test.
3616 else
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 for as_dir in $PATH
3620 IFS=$as_save_IFS
3621 test -z "$as_dir" && as_dir=.
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 break 2
3628 done
3629 done
3630 IFS=$as_save_IFS
3634 CC=$ac_cv_prog_CC
3635 if test -n "$CC"; then
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3637 $as_echo "$CC" >&6; }
3638 else
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3640 $as_echo "no" >&6; }
3645 if test -z "$ac_cv_prog_CC"; then
3646 ac_ct_CC=$CC
3647 # Extract the first word of "gcc", so it can be a program name with args.
3648 set dummy gcc; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3652 $as_echo_n "(cached) " >&6
3653 else
3654 if test -n "$ac_ct_CC"; then
3655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_ac_ct_CC="gcc"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 break 2
3668 done
3669 done
3670 IFS=$as_save_IFS
3674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3675 if test -n "$ac_ct_CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3677 $as_echo "$ac_ct_CC" >&6; }
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3683 if test "x$ac_ct_CC" = x; then
3684 CC=""
3685 else
3686 case $cross_compiling:$ac_tool_warned in
3687 yes:)
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3690 ac_tool_warned=yes ;;
3691 esac
3692 CC=$ac_ct_CC
3694 else
3695 CC="$ac_cv_prog_CC"
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3701 set dummy ${ac_tool_prefix}cc; ac_word=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false; then :
3705 $as_echo_n "(cached) " >&6
3706 else
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC="$CC" # Let the user override the test.
3709 else
3710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 for as_dir in $PATH
3713 IFS=$as_save_IFS
3714 test -z "$as_dir" && as_dir=.
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_CC="${ac_tool_prefix}cc"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 break 2
3721 done
3722 done
3723 IFS=$as_save_IFS
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 # Extract the first word of "cc", so it can be a program name with args.
3741 set dummy cc; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_CC+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC="$CC" # Let the user override the test.
3749 else
3750 ac_prog_rejected=no
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH
3754 IFS=$as_save_IFS
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3759 ac_prog_rejected=yes
3760 continue
3762 ac_cv_prog_CC="cc"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3770 if test $ac_prog_rejected = yes; then
3771 # We found a bogon in the path, so make sure we never use it.
3772 set dummy $ac_cv_prog_CC
3773 shift
3774 if test $# != 0; then
3775 # We chose a different compiler from the bogus one.
3776 # However, it has the same basename, so the bogon will be chosen
3777 # first if we set CC to just the basename; use the full file name.
3778 shift
3779 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3784 CC=$ac_cv_prog_CC
3785 if test -n "$CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 $as_echo "$CC" >&6; }
3788 else
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3795 if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 for ac_prog in cl.exe
3799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3800 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_CC+:} false; then :
3804 $as_echo_n "(cached) " >&6
3805 else
3806 if test -n "$CC"; then
3807 ac_cv_prog_CC="$CC" # Let the user override the test.
3808 else
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3812 IFS=$as_save_IFS
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 break 2
3820 done
3821 done
3822 IFS=$as_save_IFS
3826 CC=$ac_cv_prog_CC
3827 if test -n "$CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3829 $as_echo "$CC" >&6; }
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3836 test -n "$CC" && break
3837 done
3839 if test -z "$CC"; then
3840 ac_ct_CC=$CC
3841 for ac_prog in cl.exe
3843 # Extract the first word of "$ac_prog", so it can be a program name with args.
3844 set dummy $ac_prog; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 if test -n "$ac_ct_CC"; then
3851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_ac_ct_CC="$ac_prog"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 break 2
3864 done
3865 done
3866 IFS=$as_save_IFS
3870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3871 if test -n "$ac_ct_CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3873 $as_echo "$ac_ct_CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3880 test -n "$ac_ct_CC" && break
3881 done
3883 if test "x$ac_ct_CC" = x; then
3884 CC=""
3885 else
3886 case $cross_compiling:$ac_tool_warned in
3887 yes:)
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3890 ac_tool_warned=yes ;;
3891 esac
3892 CC=$ac_ct_CC
3899 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $? "no acceptable C compiler found in \$PATH
3902 See \`config.log' for more details" "$LINENO" 5; }
3904 # Provide some information about the compiler.
3905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3906 set X $ac_compile
3907 ac_compiler=$2
3908 for ac_option in --version -v -V -qversion; do
3909 { { ac_try="$ac_compiler $ac_option >&5"
3910 case "(($ac_try" in
3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3913 esac
3914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3915 $as_echo "$ac_try_echo"; } >&5
3916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3917 ac_status=$?
3918 if test -s conftest.err; then
3919 sed '10a\
3920 ... rest of stderr output deleted ...
3921 10q' conftest.err >conftest.er1
3922 cat conftest.er1 >&5
3924 rm -f conftest.er1 conftest.err
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }
3927 done
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3933 main ()
3937 return 0;
3939 _ACEOF
3940 ac_clean_files_save=$ac_clean_files
3941 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3942 # Try to create an executable without -o first, disregard a.out.
3943 # It will help us diagnose broken compilers, and finding out an intuition
3944 # of exeext.
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3946 $as_echo_n "checking whether the C compiler works... " >&6; }
3947 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3949 # The possible output files:
3950 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3952 ac_rmfiles=
3953 for ac_file in $ac_files
3955 case $ac_file in
3956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3957 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3958 esac
3959 done
3960 rm -f $ac_rmfiles
3962 if { { ac_try="$ac_link_default"
3963 case "(($ac_try" in
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3966 esac
3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969 (eval "$ac_link_default") 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3974 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3975 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3976 # so that the user can short-circuit this test for compilers unknown to
3977 # Autoconf.
3978 for ac_file in $ac_files ''
3980 test -f "$ac_file" || continue
3981 case $ac_file in
3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3984 [ab].out )
3985 # We found the default executable, but exeext='' is most
3986 # certainly right.
3987 break;;
3988 *.* )
3989 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3990 then :; else
3991 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3993 # We set ac_cv_exeext here because the later test for it is not
3994 # safe: cross compilers may not add the suffix if given an `-o'
3995 # argument, so we may need to know it at that point already.
3996 # Even if this section looks crufty: it has the advantage of
3997 # actually working.
3998 break;;
4000 break;;
4001 esac
4002 done
4003 test "$ac_cv_exeext" = no && ac_cv_exeext=
4005 else
4006 ac_file=''
4008 if test -z "$ac_file"; then :
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4011 $as_echo "$as_me: failed program was:" >&5
4012 sed 's/^/| /' conftest.$ac_ext >&5
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error 77 "C compiler cannot create executables
4017 See \`config.log' for more details" "$LINENO" 5; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4023 $as_echo_n "checking for C compiler default output file name... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4025 $as_echo "$ac_file" >&6; }
4026 ac_exeext=$ac_cv_exeext
4028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4029 ac_clean_files=$ac_clean_files_save
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try="$ac_link"
4033 case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4036 esac
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4040 ac_status=$?
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4044 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe'), while it won't with
4046 # `rm'.
4047 for ac_file in conftest.exe conftest conftest.*; do
4048 test -f "$ac_file" || continue
4049 case $ac_file in
4050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4051 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4052 break;;
4053 * ) break;;
4054 esac
4055 done
4056 else
4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details" "$LINENO" 5; }
4062 rm -f conftest conftest$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4066 rm -f conftest.$ac_ext
4067 EXEEXT=$ac_cv_exeext
4068 ac_exeext=$EXEEXT
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4071 #include <stdio.h>
4073 main ()
4075 FILE *f = fopen ("conftest.out", "w");
4076 return ferror (f) || fclose (f) != 0;
4079 return 0;
4081 _ACEOF
4082 ac_clean_files="$ac_clean_files conftest.out"
4083 # Check that the compiler produces executables we can run. If not, either
4084 # the compiler is broken, or we cross compile.
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4086 $as_echo_n "checking whether we are cross compiling... " >&6; }
4087 if test "$cross_compiling" != yes; then
4088 { { ac_try="$ac_link"
4089 case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_link") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }
4099 if { ac_try='./conftest$ac_cv_exeext'
4100 { { case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_try") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; }; then
4110 cross_compiling=no
4111 else
4112 if test "$cross_compiling" = maybe; then
4113 cross_compiling=yes
4114 else
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error $? "cannot run C compiled programs.
4118 If you meant to cross compile, use \`--host'.
4119 See \`config.log' for more details" "$LINENO" 5; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4124 $as_echo "$cross_compiling" >&6; }
4126 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4127 ac_clean_files=$ac_clean_files_save
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4129 $as_echo_n "checking for suffix of object files... " >&6; }
4130 if ${ac_cv_objext+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 rm -f conftest.o conftest.obj
4145 if { { ac_try="$ac_compile"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4151 $as_echo "$ac_try_echo"; } >&5
4152 (eval "$ac_compile") 2>&5
4153 ac_status=$?
4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4155 test $ac_status = 0; }; then :
4156 for ac_file in conftest.o conftest.obj conftest.*; do
4157 test -f "$ac_file" || continue;
4158 case $ac_file in
4159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4161 break;;
4162 esac
4163 done
4164 else
4165 $as_echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.$ac_ext >&5
4168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4170 as_fn_error $? "cannot compute suffix of object files: cannot compile
4171 See \`config.log' for more details" "$LINENO" 5; }
4173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4176 $as_echo "$ac_cv_objext" >&6; }
4177 OBJEXT=$ac_cv_objext
4178 ac_objext=$OBJEXT
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4180 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4181 if ${ac_cv_c_compiler_gnu+:} false; then :
4182 $as_echo_n "(cached) " >&6
4183 else
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4188 main ()
4190 #ifndef __GNUC__
4191 choke me
4192 #endif
4195 return 0;
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199 ac_compiler_gnu=yes
4200 else
4201 ac_compiler_gnu=no
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4208 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4209 if test $ac_compiler_gnu = yes; then
4210 GCC=yes
4211 else
4212 GCC=
4214 ac_test_CFLAGS=${CFLAGS+set}
4215 ac_save_CFLAGS=$CFLAGS
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4217 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4218 if ${ac_cv_prog_cc_g+:} false; then :
4219 $as_echo_n "(cached) " >&6
4220 else
4221 ac_save_c_werror_flag=$ac_c_werror_flag
4222 ac_c_werror_flag=yes
4223 ac_cv_prog_cc_g=no
4224 CFLAGS="-g"
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4229 main ()
4233 return 0;
4235 _ACEOF
4236 if ac_fn_c_try_compile "$LINENO"; then :
4237 ac_cv_prog_cc_g=yes
4238 else
4239 CFLAGS=""
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4244 main ()
4248 return 0;
4250 _ACEOF
4251 if ac_fn_c_try_compile "$LINENO"; then :
4253 else
4254 ac_c_werror_flag=$ac_save_c_werror_flag
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 ac_c_werror_flag=$ac_save_c_werror_flag
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4278 $as_echo "$ac_cv_prog_cc_g" >&6; }
4279 if test "$ac_test_CFLAGS" = set; then
4280 CFLAGS=$ac_save_CFLAGS
4281 elif test $ac_cv_prog_cc_g = yes; then
4282 if test "$GCC" = yes; then
4283 CFLAGS="-g -O2"
4284 else
4285 CFLAGS="-g"
4287 else
4288 if test "$GCC" = yes; then
4289 CFLAGS="-O2"
4290 else
4291 CFLAGS=
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4295 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4296 if ${ac_cv_prog_cc_c89+:} false; then :
4297 $as_echo_n "(cached) " >&6
4298 else
4299 ac_cv_prog_cc_c89=no
4300 ac_save_CC=$CC
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4303 #include <stdarg.h>
4304 #include <stdio.h>
4305 struct stat;
4306 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4307 struct buf { int x; };
4308 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4309 static char *e (p, i)
4310 char **p;
4311 int i;
4313 return p[i];
4315 static char *f (char * (*g) (char **, int), char **p, ...)
4317 char *s;
4318 va_list v;
4319 va_start (v,p);
4320 s = g (p, va_arg (v,int));
4321 va_end (v);
4322 return s;
4325 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4326 function prototypes and stuff, but not '\xHH' hex character constants.
4327 These don't provoke an error unfortunately, instead are silently treated
4328 as 'x'. The following induces an error, until -std is added to get
4329 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4330 array size at least. It's necessary to write '\x00'==0 to get something
4331 that's true only with -std. */
4332 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4334 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4335 inside strings and character constants. */
4336 #define FOO(x) 'x'
4337 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4339 int test (int i, double x);
4340 struct s1 {int (*f) (int a);};
4341 struct s2 {int (*f) (double a);};
4342 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4343 int argc;
4344 char **argv;
4346 main ()
4348 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4350 return 0;
4352 _ACEOF
4353 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4354 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4356 CC="$ac_save_CC $ac_arg"
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_cv_prog_cc_c89=$ac_arg
4360 rm -f core conftest.err conftest.$ac_objext
4361 test "x$ac_cv_prog_cc_c89" != "xno" && break
4362 done
4363 rm -f conftest.$ac_ext
4364 CC=$ac_save_CC
4367 # AC_CACHE_VAL
4368 case "x$ac_cv_prog_cc_c89" in
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4371 $as_echo "none needed" >&6; } ;;
4372 xno)
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4374 $as_echo "unsupported" >&6; } ;;
4376 CC="$CC $ac_cv_prog_cc_c89"
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4378 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4379 esac
4380 if test "x$ac_cv_prog_cc_c89" != xno; then :
4384 ac_ext=c
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 ac_ext=cpp
4391 ac_cpp='$CXXCPP $CPPFLAGS'
4392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4395 if test -z "$CXX"; then
4396 if test -n "$CCC"; then
4397 CXX=$CCC
4398 else
4399 if test -n "$ac_tool_prefix"; then
4400 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_CXX+:} false; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 if test -n "$CXX"; then
4410 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4411 else
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 break 2
4423 done
4424 done
4425 IFS=$as_save_IFS
4429 CXX=$ac_cv_prog_CXX
4430 if test -n "$CXX"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4432 $as_echo "$CXX" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4439 test -n "$CXX" && break
4440 done
4442 if test -z "$CXX"; then
4443 ac_ct_CXX=$CXX
4444 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4446 # Extract the first word of "$ac_prog", so it can be a program name with args.
4447 set dummy $ac_prog; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 if test -n "$ac_ct_CXX"; then
4454 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4455 else
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH
4459 IFS=$as_save_IFS
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4463 ac_cv_prog_ac_ct_CXX="$ac_prog"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 break 2
4467 done
4468 done
4469 IFS=$as_save_IFS
4473 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4474 if test -n "$ac_ct_CXX"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4476 $as_echo "$ac_ct_CXX" >&6; }
4477 else
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4483 test -n "$ac_ct_CXX" && break
4484 done
4486 if test "x$ac_ct_CXX" = x; then
4487 CXX="g++"
4488 else
4489 case $cross_compiling:$ac_tool_warned in
4490 yes:)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4494 esac
4495 CXX=$ac_ct_CXX
4501 # Provide some information about the compiler.
4502 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4503 set X $ac_compile
4504 ac_compiler=$2
4505 for ac_option in --version -v -V -qversion; do
4506 { { ac_try="$ac_compiler $ac_option >&5"
4507 case "(($ac_try" in
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4510 esac
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4514 ac_status=$?
4515 if test -s conftest.err; then
4516 sed '10a\
4517 ... rest of stderr output deleted ...
4518 10q' conftest.err >conftest.er1
4519 cat conftest.er1 >&5
4521 rm -f conftest.er1 conftest.err
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }
4524 done
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4527 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4528 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4537 #ifndef __GNUC__
4538 choke me
4539 #endif
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_compiler_gnu=yes
4547 else
4548 ac_compiler_gnu=no
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4555 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4556 if test $ac_compiler_gnu = yes; then
4557 GXX=yes
4558 else
4559 GXX=
4561 ac_test_CXXFLAGS=${CXXFLAGS+set}
4562 ac_save_CXXFLAGS=$CXXFLAGS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4564 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4565 if ${ac_cv_prog_cxx_g+:} false; then :
4566 $as_echo_n "(cached) " >&6
4567 else
4568 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4569 ac_cxx_werror_flag=yes
4570 ac_cv_prog_cxx_g=no
4571 CXXFLAGS="-g"
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4580 return 0;
4582 _ACEOF
4583 if ac_fn_cxx_try_compile "$LINENO"; then :
4584 ac_cv_prog_cxx_g=yes
4585 else
4586 CXXFLAGS=""
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4591 main ()
4595 return 0;
4597 _ACEOF
4598 if ac_fn_cxx_try_compile "$LINENO"; then :
4600 else
4601 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4602 CXXFLAGS="-g"
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_cxx_try_compile "$LINENO"; then :
4615 ac_cv_prog_cxx_g=yes
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4625 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4626 if test "$ac_test_CXXFLAGS" = set; then
4627 CXXFLAGS=$ac_save_CXXFLAGS
4628 elif test $ac_cv_prog_cxx_g = yes; then
4629 if test "$GXX" = yes; then
4630 CXXFLAGS="-g -O2"
4631 else
4632 CXXFLAGS="-g"
4634 else
4635 if test "$GXX" = yes; then
4636 CXXFLAGS="-O2"
4637 else
4638 CXXFLAGS=
4641 ac_ext=c
4642 ac_cpp='$CPP $CPPFLAGS'
4643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647 if test -n "$ac_tool_prefix"; then
4648 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4649 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_CPPBIN+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 if test -n "$CPPBIN"; then
4656 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4657 else
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH
4661 IFS=$as_save_IFS
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 break 2
4669 done
4670 done
4671 IFS=$as_save_IFS
4675 CPPBIN=$ac_cv_prog_CPPBIN
4676 if test -n "$CPPBIN"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4678 $as_echo "$CPPBIN" >&6; }
4679 else
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4686 if test -z "$ac_cv_prog_CPPBIN"; then
4687 ac_ct_CPPBIN=$CPPBIN
4688 # Extract the first word of "cpp", so it can be a program name with args.
4689 set dummy cpp; ac_word=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 if test -n "$ac_ct_CPPBIN"; then
4696 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4697 else
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $PATH
4701 IFS=$as_save_IFS
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_CPPBIN="cpp"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 break 2
4709 done
4710 done
4711 IFS=$as_save_IFS
4715 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4716 if test -n "$ac_ct_CPPBIN"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4718 $as_echo "$ac_ct_CPPBIN" >&6; }
4719 else
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4724 if test "x$ac_ct_CPPBIN" = x; then
4725 CPPBIN="cpp"
4726 else
4727 case $cross_compiling:$ac_tool_warned in
4728 yes:)
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731 ac_tool_warned=yes ;;
4732 esac
4733 CPPBIN=$ac_ct_CPPBIN
4735 else
4736 CPPBIN="$ac_cv_prog_CPPBIN"
4740 cat >>confdefs.h <<_ACEOF
4741 #define EXEEXT "$ac_exeext"
4742 _ACEOF
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4746 set dummy ${ac_tool_prefix}ld; ac_word=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_LD+:} false; then :
4750 $as_echo_n "(cached) " >&6
4751 else
4752 if test -n "$LD"; then
4753 ac_cv_prog_LD="$LD" # Let the user override the test.
4754 else
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 for as_dir in $PATH
4758 IFS=$as_save_IFS
4759 test -z "$as_dir" && as_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_LD="${ac_tool_prefix}ld"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4764 break 2
4766 done
4767 done
4768 IFS=$as_save_IFS
4772 LD=$ac_cv_prog_LD
4773 if test -n "$LD"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4775 $as_echo "$LD" >&6; }
4776 else
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4783 if test -z "$ac_cv_prog_LD"; then
4784 ac_ct_LD=$LD
4785 # Extract the first word of "ld", so it can be a program name with args.
4786 set dummy ld; ac_word=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4790 $as_echo_n "(cached) " >&6
4791 else
4792 if test -n "$ac_ct_LD"; then
4793 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_ac_ct_LD="ld"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 break 2
4806 done
4807 done
4808 IFS=$as_save_IFS
4812 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4813 if test -n "$ac_ct_LD"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4815 $as_echo "$ac_ct_LD" >&6; }
4816 else
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4821 if test "x$ac_ct_LD" = x; then
4822 LD=""
4823 else
4824 case $cross_compiling:$ac_tool_warned in
4825 yes:)
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned=yes ;;
4829 esac
4830 LD=$ac_ct_LD
4832 else
4833 LD="$ac_cv_prog_LD"
4837 case $host in
4838 *-darwin*)
4839 if test "x$enable_win64" = "xyes"
4840 then
4841 CC="$CC -m64"
4842 CXX="$CXX -m64"
4843 host_cpu="x86_64"
4844 notice_platform="64-bit "
4845 TARGETFLAGS="-m64"
4847 else
4848 CC="$CC -m32"
4849 CXX="$CXX -m32"
4850 host_cpu="i386"
4851 notice_platform="32-bit "
4852 TARGETFLAGS="-m32"
4854 enable_win16=${enable_win16:-yes}
4856 with_fontconfig=${with_fontconfig:-no}
4858 x86_64*)
4859 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4860 then
4861 CC="$CC -m32"
4862 CXX="$CXX -m32"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4864 $as_echo_n "checking whether $CC works... " >&6; }
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4870 main ()
4874 return 0;
4876 _ACEOF
4877 if ac_fn_c_try_link "$LINENO"; then :
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4879 $as_echo "yes" >&6; }
4880 else
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4883 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4885 rm -f core conftest.err conftest.$ac_objext \
4886 conftest$ac_exeext conftest.$ac_ext
4887 host_cpu="i386"
4888 notice_platform="32-bit "
4889 TARGETFLAGS="-m32"
4891 enable_win16=${enable_win16:-yes}
4892 else
4893 if test "x${GCC}" = "xyes"
4894 then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4896 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4899 #include <stdarg.h>
4901 main ()
4903 void func(__builtin_ms_va_list *args);
4905 return 0;
4907 _ACEOF
4908 if ac_fn_c_try_compile "$LINENO"; then :
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4914 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 TARGETFLAGS="-m64"
4922 arm*)
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4924 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4927 int ac_test(int i) { return i; }
4929 main ()
4931 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_link "$LINENO"; then :
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4938 $as_echo "yes" >&6; }
4939 else
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4946 CFLAGS="$CFLAGS -marm"
4947 TARGETFLAGS="-marm"
4950 *-mingw32*|*-cygwin*)
4951 enable_win16=${enable_win16:-no}
4952 CFLAGS="$CFLAGS -D_WIN32"
4954 i[3456789]86*)
4955 enable_win16=${enable_win16:-yes}
4957 esac
4959 enable_win16=${enable_win16:-no}
4960 enable_win64=${enable_win64:-no}
4962 enable_winetest=${enable_winetest:-$enable_tests}
4964 if test -n "$with_wine64"
4965 then
4966 if test "x$enable_win64" = "xyes"
4967 then
4968 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4969 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4971 enable_fonts=${enable_fonts:-no}
4972 enable_server=${enable_server:-no}
4973 elif test "x$enable_win64" = "xyes"
4974 then
4975 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4979 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4980 if ${wine_cv_toolsdir+:} false; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 wine_cv_toolsdir="$with_wine_tools"
4984 if test -z "$with_wine_tools"; then
4985 if test "$cross_compiling" = "yes"; then
4986 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4987 elif test -n "$with_wine64"; then
4988 wine_cv_toolsdir="$with_wine64"
4991 if test -z "$wine_cv_toolsdir"; then
4992 wine_makedep=tools/makedep
4993 wine_cv_toolsdir="\$(top_builddir)"
4994 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4995 wine_makedep=$wine_cv_toolsdir/tools/makedep
4996 case "$wine_cv_toolsdir" in
4997 /*) ;;
4998 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4999 esac
5000 enable_tools=${enable_tools:-no}
5001 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5002 else
5003 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5007 $as_echo "$wine_cv_toolsdir" >&6; }
5008 TOOLSDIR=$wine_cv_toolsdir
5010 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5011 then
5012 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5016 for ac_prog in flex
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy $ac_prog; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_FLEX+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_FLEX="$ac_prog"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 FLEX=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5048 $as_echo "$FLEX" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 test -n "$FLEX" && break
5056 done
5057 test -n "$FLEX" || FLEX="none"
5059 if test "$FLEX" = "none"
5060 then
5061 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5064 $as_echo_n "checking whether flex is recent enough... " >&6; }
5065 cat >conftest.l <<EOF
5066 %top{
5067 #include "prediluvian.h"
5071 if $FLEX -t conftest.l >/dev/null 2>&5
5072 then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5081 for ac_prog in bison
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy $ac_prog; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_BISON+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 if test -n "$BISON"; then
5091 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5096 IFS=$as_save_IFS
5097 test -z "$as_dir" && as_dir=.
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_BISON="$ac_prog"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 break 2
5104 done
5105 done
5106 IFS=$as_save_IFS
5110 BISON=$ac_cv_prog_BISON
5111 if test -n "$BISON"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5113 $as_echo "$BISON" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 test -n "$BISON" && break
5121 done
5122 test -n "$BISON" || BISON="none"
5124 if test "$BISON" = "none"
5125 then
5126 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5129 if test -n "$ac_tool_prefix"; then
5130 for ac_prog in ar gar
5132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_AR+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$AR"; then
5140 ac_cv_prog_AR="$AR" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 AR=$ac_cv_prog_AR
5160 if test -n "$AR"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5162 $as_echo "$AR" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$AR" && break
5170 done
5172 if test -z "$AR"; then
5173 ac_ct_AR=$AR
5174 for ac_prog in ar gar
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 if test -n "$ac_ct_AR"; then
5184 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_ac_ct_AR="$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 break 2
5197 done
5198 done
5199 IFS=$as_save_IFS
5203 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5204 if test -n "$ac_ct_AR"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5206 $as_echo "$ac_ct_AR" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$ac_ct_AR" && break
5214 done
5216 if test "x$ac_ct_AR" = x; then
5217 AR="ar"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 AR=$ac_ct_AR
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}strip; ac_word=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_STRIP+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5253 IFS=$as_save_IFS
5257 STRIP=$ac_cv_prog_STRIP
5258 if test -n "$STRIP"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5260 $as_echo "$STRIP" >&6; }
5261 else
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5268 if test -z "$ac_cv_prog_STRIP"; then
5269 ac_ct_STRIP=$STRIP
5270 # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip; ac_word=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5275 $as_echo_n "(cached) " >&6
5276 else
5277 if test -n "$ac_ct_STRIP"; then
5278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_STRIP="strip"
5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5293 IFS=$as_save_IFS
5297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5300 $as_echo "$ac_ct_STRIP" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5306 if test "x$ac_ct_STRIP" = x; then
5307 STRIP="strip"
5308 else
5309 case $cross_compiling:$ac_tool_warned in
5310 yes:)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5313 ac_tool_warned=yes ;;
5314 esac
5315 STRIP=$ac_ct_STRIP
5317 else
5318 STRIP="$ac_cv_prog_STRIP"
5321 ARFLAGS=rc
5323 if test -n "$ac_tool_prefix"; then
5324 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5325 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_RANLIB+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 if test -n "$RANLIB"; then
5332 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 RANLIB=$ac_cv_prog_RANLIB
5352 if test -n "$RANLIB"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5354 $as_echo "$RANLIB" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5362 if test -z "$ac_cv_prog_RANLIB"; then
5363 ac_ct_RANLIB=$RANLIB
5364 # Extract the first word of "ranlib", so it can be a program name with args.
5365 set dummy ranlib; ac_word=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 if test -n "$ac_ct_RANLIB"; then
5372 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5373 else
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 for as_dir in $PATH
5377 IFS=$as_save_IFS
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_ac_ct_RANLIB="ranlib"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 break 2
5385 done
5386 done
5387 IFS=$as_save_IFS
5391 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5392 if test -n "$ac_ct_RANLIB"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5394 $as_echo "$ac_ct_RANLIB" >&6; }
5395 else
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5400 if test "x$ac_ct_RANLIB" = x; then
5401 RANLIB=":"
5402 else
5403 case $cross_compiling:$ac_tool_warned in
5404 yes:)
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5407 ac_tool_warned=yes ;;
5408 esac
5409 RANLIB=$ac_ct_RANLIB
5411 else
5412 RANLIB="$ac_cv_prog_RANLIB"
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5416 $as_echo_n "checking whether ln -s works... " >&6; }
5417 LN_S=$as_ln_s
5418 if test "$LN_S" = "ln -s"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5420 $as_echo "yes" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5423 $as_echo "no, using $LN_S" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5427 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5428 if ${ac_cv_path_GREP+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 if test -z "$GREP"; then
5432 ac_path_GREP_found=false
5433 # Loop through the user's path and test for each of PROGNAME-LIST
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_prog in grep ggrep; do
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5442 as_fn_executable_p "$ac_path_GREP" || continue
5443 # Check for GNU ac_path_GREP and select it if it is found.
5444 # Check for GNU $ac_path_GREP
5445 case `"$ac_path_GREP" --version 2>&1` in
5446 *GNU*)
5447 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5449 ac_count=0
5450 $as_echo_n 0123456789 >"conftest.in"
5451 while :
5453 cat "conftest.in" "conftest.in" >"conftest.tmp"
5454 mv "conftest.tmp" "conftest.in"
5455 cp "conftest.in" "conftest.nl"
5456 $as_echo 'GREP' >> "conftest.nl"
5457 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5459 as_fn_arith $ac_count + 1 && ac_count=$as_val
5460 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5461 # Best one so far, save it but keep looking for a better one
5462 ac_cv_path_GREP="$ac_path_GREP"
5463 ac_path_GREP_max=$ac_count
5465 # 10*(2^10) chars as input seems more than enough
5466 test $ac_count -gt 10 && break
5467 done
5468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5469 esac
5471 $ac_path_GREP_found && break 3
5472 done
5473 done
5474 done
5475 IFS=$as_save_IFS
5476 if test -z "$ac_cv_path_GREP"; then
5477 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5479 else
5480 ac_cv_path_GREP=$GREP
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5485 $as_echo "$ac_cv_path_GREP" >&6; }
5486 GREP="$ac_cv_path_GREP"
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5490 $as_echo_n "checking for egrep... " >&6; }
5491 if ${ac_cv_path_EGREP+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5495 then ac_cv_path_EGREP="$GREP -E"
5496 else
5497 if test -z "$EGREP"; then
5498 ac_path_EGREP_found=false
5499 # Loop through the user's path and test for each of PROGNAME-LIST
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_prog in egrep; do
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5508 as_fn_executable_p "$ac_path_EGREP" || continue
5509 # Check for GNU ac_path_EGREP and select it if it is found.
5510 # Check for GNU $ac_path_EGREP
5511 case `"$ac_path_EGREP" --version 2>&1` in
5512 *GNU*)
5513 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5515 ac_count=0
5516 $as_echo_n 0123456789 >"conftest.in"
5517 while :
5519 cat "conftest.in" "conftest.in" >"conftest.tmp"
5520 mv "conftest.tmp" "conftest.in"
5521 cp "conftest.in" "conftest.nl"
5522 $as_echo 'EGREP' >> "conftest.nl"
5523 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5524 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5525 as_fn_arith $ac_count + 1 && ac_count=$as_val
5526 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5527 # Best one so far, save it but keep looking for a better one
5528 ac_cv_path_EGREP="$ac_path_EGREP"
5529 ac_path_EGREP_max=$ac_count
5531 # 10*(2^10) chars as input seems more than enough
5532 test $ac_count -gt 10 && break
5533 done
5534 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5535 esac
5537 $ac_path_EGREP_found && break 3
5538 done
5539 done
5540 done
5541 IFS=$as_save_IFS
5542 if test -z "$ac_cv_path_EGREP"; then
5543 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5545 else
5546 ac_cv_path_EGREP=$EGREP
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5552 $as_echo "$ac_cv_path_EGREP" >&6; }
5553 EGREP="$ac_cv_path_EGREP"
5556 # Extract the first word of "ldconfig", so it can be a program name with args.
5557 set dummy ldconfig; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_path_LDCONFIG+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 case $LDCONFIG in
5564 [\\/]* | ?:[\\/]*)
5565 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5569 for as_dir in /sbin /usr/sbin $PATH
5571 IFS=$as_save_IFS
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 break 2
5579 done
5580 done
5581 IFS=$as_save_IFS
5583 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5585 esac
5587 LDCONFIG=$ac_cv_path_LDCONFIG
5588 if test -n "$LDCONFIG"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5590 $as_echo "$LDCONFIG" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5597 for ac_prog in msgfmt
5599 # Extract the first word of "$ac_prog", so it can be a program name with args.
5600 set dummy $ac_prog; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_MSGFMT+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 if test -n "$MSGFMT"; then
5607 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5612 IFS=$as_save_IFS
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_MSGFMT="$ac_prog"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 break 2
5620 done
5621 done
5622 IFS=$as_save_IFS
5626 MSGFMT=$ac_cv_prog_MSGFMT
5627 if test -n "$MSGFMT"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5629 $as_echo "$MSGFMT" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5636 test -n "$MSGFMT" && break
5637 done
5638 test -n "$MSGFMT" || MSGFMT="false"
5640 if ${ac_tool_prefix+:} false; then :
5641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 if test -n "$PKG_CONFIG"; then
5649 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5669 if test -n "$PKG_CONFIG"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5671 $as_echo "$PKG_CONFIG" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5679 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5680 if test "x$cross_compiling" = xyes; then :
5682 else
5683 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5684 # Extract the first word of "pkg-config", so it can be a program name with args.
5685 set dummy pkg-config; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if test -n "$PKG_CONFIG"; then
5692 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_PKG_CONFIG="pkg-config"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 break 2
5705 done
5706 done
5707 IFS=$as_save_IFS
5711 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5712 if test -n "$PKG_CONFIG"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5714 $as_echo "$PKG_CONFIG" >&6; }
5715 else
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5722 else
5723 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5726 if test "x$enable_maintainer_mode" != "xyes"
5727 then
5728 FONTFORGE=""
5729 RSVG=""
5730 CONVERT=""
5731 ICOTOOL=""
5732 else
5733 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5734 for ac_prog in fontforge
5736 # Extract the first word of "$ac_prog", so it can be a program name with args.
5737 set dummy $ac_prog; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_FONTFORGE+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 if test -n "$FONTFORGE"; then
5744 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5749 IFS=$as_save_IFS
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_FONTFORGE="$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 break 2
5757 done
5758 done
5759 IFS=$as_save_IFS
5763 FONTFORGE=$ac_cv_prog_FONTFORGE
5764 if test -n "$FONTFORGE"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5766 $as_echo "$FONTFORGE" >&6; }
5767 else
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5773 test -n "$FONTFORGE" && break
5774 done
5775 test -n "$FONTFORGE" || FONTFORGE="false"
5777 for ac_prog in rsvg-convert rsvg
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy $ac_prog; ac_word=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_RSVG+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 if test -n "$RSVG"; then
5787 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5788 else
5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 for as_dir in $PATH
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_RSVG="$ac_prog"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5800 done
5801 done
5802 IFS=$as_save_IFS
5806 RSVG=$ac_cv_prog_RSVG
5807 if test -n "$RSVG"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5809 $as_echo "$RSVG" >&6; }
5810 else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 test -n "$RSVG" && break
5817 done
5818 test -n "$RSVG" || RSVG="false"
5820 for ac_prog in convert
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy $ac_prog; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_CONVERT+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$CONVERT"; then
5830 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_CONVERT="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 CONVERT=$ac_cv_prog_CONVERT
5850 if test -n "$CONVERT"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5852 $as_echo "$CONVERT" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$CONVERT" && break
5860 done
5861 test -n "$CONVERT" || CONVERT="false"
5863 for ac_prog in icotool
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy $ac_prog; ac_word=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_ICOTOOL+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 if test -n "$ICOTOOL"; then
5873 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5878 IFS=$as_save_IFS
5879 test -z "$as_dir" && as_dir=.
5880 for ac_exec_ext in '' $ac_executable_extensions; do
5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_ICOTOOL="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 break 2
5886 done
5887 done
5888 IFS=$as_save_IFS
5892 ICOTOOL=$ac_cv_prog_ICOTOOL
5893 if test -n "$ICOTOOL"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5895 $as_echo "$ICOTOOL" >&6; }
5896 else
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$ICOTOOL" && break
5903 done
5904 test -n "$ICOTOOL" || ICOTOOL="false"
5906 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5907 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5909 if test "$CONVERT" = false
5910 then
5911 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5912 else
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5914 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5915 convert_version=`convert --version | head -n1`
5916 if test "x$convert_version" != "x"
5917 then
5918 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5919 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5920 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5921 then
5922 CONVERT=false
5925 if test "$CONVERT" = false
5926 then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5928 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5929 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5930 else
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5932 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5936 if test "$ICOTOOL" = false
5937 then
5938 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5939 else
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5941 $as_echo_n "checking for recent enough icotool... " >&6; }
5942 icotool_version=`icotool --version | head -n1`
5943 if test "x$icotool_version" != "x"
5944 then
5945 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5946 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5947 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5948 then
5949 ICOTOOL=false
5950 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5953 if test "$ICOTOOL" = false
5954 then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5956 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5957 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5960 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5964 with_gettext=yes
5965 with_gettextpo=yes
5966 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5969 test "x$with_gettext" != xno || MSGFMT=false
5970 if test "$MSGFMT" != "false"
5971 then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5973 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5974 cat >conftest.po <<EOF
5975 # comment
5976 msgctxt "ctxt"
5977 msgid "id"
5978 msgstr "str"
5980 if $MSGFMT -o /dev/null conftest.po 2>&5
5981 then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5983 $as_echo "yes" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5987 MSGFMT=false
5990 if test "$MSGFMT" = false; then :
5991 case "x$with_gettext" in
5992 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5993 xno) ;;
5994 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5995 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5996 esac
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6001 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6002 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 ac_check_lib_save_LIBS=$LIBS
6006 LIBS="-li386 $LIBS"
6007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6010 /* Override any GCC internal prototype to avoid an error.
6011 Use char because int might match the return type of a GCC
6012 builtin and then its argument prototype would still apply. */
6013 #ifdef __cplusplus
6014 extern "C"
6015 #endif
6016 char i386_set_ldt ();
6018 main ()
6020 return i386_set_ldt ();
6022 return 0;
6024 _ACEOF
6025 if ac_fn_c_try_link "$LINENO"; then :
6026 ac_cv_lib_i386_i386_set_ldt=yes
6027 else
6028 ac_cv_lib_i386_i386_set_ldt=no
6030 rm -f core conftest.err conftest.$ac_objext \
6031 conftest$ac_exeext conftest.$ac_ext
6032 LIBS=$ac_check_lib_save_LIBS
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6035 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6036 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6037 cat >>confdefs.h <<_ACEOF
6038 #define HAVE_LIBI386 1
6039 _ACEOF
6041 LIBS="-li386 $LIBS"
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6046 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6047 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 ac_check_lib_save_LIBS=$LIBS
6051 LIBS="-lossaudio $LIBS"
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6055 /* Override any GCC internal prototype to avoid an error.
6056 Use char because int might match the return type of a GCC
6057 builtin and then its argument prototype would still apply. */
6058 #ifdef __cplusplus
6059 extern "C"
6060 #endif
6061 char _oss_ioctl ();
6063 main ()
6065 return _oss_ioctl ();
6067 return 0;
6069 _ACEOF
6070 if ac_fn_c_try_link "$LINENO"; then :
6071 ac_cv_lib_ossaudio__oss_ioctl=yes
6072 else
6073 ac_cv_lib_ossaudio__oss_ioctl=no
6075 rm -f core conftest.err conftest.$ac_objext \
6076 conftest$ac_exeext conftest.$ac_ext
6077 LIBS=$ac_check_lib_save_LIBS
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6080 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6081 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6082 cat >>confdefs.h <<_ACEOF
6083 #define HAVE_LIBOSSAUDIO 1
6084 _ACEOF
6086 LIBS="-lossaudio $LIBS"
6091 OPENGL_LIBS=""
6095 # Check whether --enable-largefile was given.
6096 if test "${enable_largefile+set}" = set; then :
6097 enableval=$enable_largefile;
6100 if test "$enable_largefile" != no; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6103 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6104 if ${ac_cv_sys_largefile_CC+:} false; then :
6105 $as_echo_n "(cached) " >&6
6106 else
6107 ac_cv_sys_largefile_CC=no
6108 if test "$GCC" != yes; then
6109 ac_save_CC=$CC
6110 while :; do
6111 # IRIX 6.2 and later do not support large files by default,
6112 # so use the C compiler's -n32 option if that helps.
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #include <sys/types.h>
6116 /* Check that off_t can represent 2**63 - 1 correctly.
6117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6118 since some C++ compilers masquerading as C compilers
6119 incorrectly reject 9223372036854775807. */
6120 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6122 && LARGE_OFF_T % 2147483647 == 1)
6123 ? 1 : -1];
6125 main ()
6129 return 0;
6131 _ACEOF
6132 if ac_fn_c_try_compile "$LINENO"; then :
6133 break
6135 rm -f core conftest.err conftest.$ac_objext
6136 CC="$CC -n32"
6137 if ac_fn_c_try_compile "$LINENO"; then :
6138 ac_cv_sys_largefile_CC=' -n32'; break
6140 rm -f core conftest.err conftest.$ac_objext
6141 break
6142 done
6143 CC=$ac_save_CC
6144 rm -f conftest.$ac_ext
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6148 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6149 if test "$ac_cv_sys_largefile_CC" != no; then
6150 CC=$CC$ac_cv_sys_largefile_CC
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6154 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6155 if ${ac_cv_sys_file_offset_bits+:} false; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 while :; do
6159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6160 /* end confdefs.h. */
6161 #include <sys/types.h>
6162 /* Check that off_t can represent 2**63 - 1 correctly.
6163 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6164 since some C++ compilers masquerading as C compilers
6165 incorrectly reject 9223372036854775807. */
6166 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6167 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6168 && LARGE_OFF_T % 2147483647 == 1)
6169 ? 1 : -1];
6171 main ()
6175 return 0;
6177 _ACEOF
6178 if ac_fn_c_try_compile "$LINENO"; then :
6179 ac_cv_sys_file_offset_bits=no; break
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #define _FILE_OFFSET_BITS 64
6185 #include <sys/types.h>
6186 /* Check that off_t can represent 2**63 - 1 correctly.
6187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6188 since some C++ compilers masquerading as C compilers
6189 incorrectly reject 9223372036854775807. */
6190 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6192 && LARGE_OFF_T % 2147483647 == 1)
6193 ? 1 : -1];
6195 main ()
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_compile "$LINENO"; then :
6203 ac_cv_sys_file_offset_bits=64; break
6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6206 ac_cv_sys_file_offset_bits=unknown
6207 break
6208 done
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6211 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6212 case $ac_cv_sys_file_offset_bits in #(
6213 no | unknown) ;;
6215 cat >>confdefs.h <<_ACEOF
6216 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6217 _ACEOF
6219 esac
6220 rm -rf conftest*
6221 if test $ac_cv_sys_file_offset_bits = unknown; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6223 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6224 if ${ac_cv_sys_large_files+:} false; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 while :; do
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <sys/types.h>
6231 /* Check that off_t can represent 2**63 - 1 correctly.
6232 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6233 since some C++ compilers masquerading as C compilers
6234 incorrectly reject 9223372036854775807. */
6235 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6236 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6237 && LARGE_OFF_T % 2147483647 == 1)
6238 ? 1 : -1];
6240 main ()
6244 return 0;
6246 _ACEOF
6247 if ac_fn_c_try_compile "$LINENO"; then :
6248 ac_cv_sys_large_files=no; break
6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #define _LARGE_FILES 1
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6262 ? 1 : -1];
6264 main ()
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_sys_large_files=1; break
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6275 ac_cv_sys_large_files=unknown
6276 break
6277 done
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6280 $as_echo "$ac_cv_sys_large_files" >&6; }
6281 case $ac_cv_sys_large_files in #(
6282 no | unknown) ;;
6284 cat >>confdefs.h <<_ACEOF
6285 #define _LARGE_FILES $ac_cv_sys_large_files
6286 _ACEOF
6288 esac
6289 rm -rf conftest*
6296 ac_ext=c
6297 ac_cpp='$CPP $CPPFLAGS'
6298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6302 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6303 # On Suns, sometimes $CPP names a directory.
6304 if test -n "$CPP" && test -d "$CPP"; then
6305 CPP=
6307 if test -z "$CPP"; then
6308 if ${ac_cv_prog_CPP+:} false; then :
6309 $as_echo_n "(cached) " >&6
6310 else
6311 # Double quotes because CPP needs to be expanded
6312 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6314 ac_preproc_ok=false
6315 for ac_c_preproc_warn_flag in '' yes
6317 # Use a header file that comes with gcc, so configuring glibc
6318 # with a fresh cross-compiler works.
6319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6320 # <limits.h> exists even on freestanding compilers.
6321 # On the NeXT, cc -E runs the code through the compiler's parser,
6322 # not just through cpp. "Syntax error" is here to catch this case.
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6325 #ifdef __STDC__
6326 # include <limits.h>
6327 #else
6328 # include <assert.h>
6329 #endif
6330 Syntax error
6331 _ACEOF
6332 if ac_fn_c_try_cpp "$LINENO"; then :
6334 else
6335 # Broken: fails on valid input.
6336 continue
6338 rm -f conftest.err conftest.i conftest.$ac_ext
6340 # OK, works on sane cases. Now check whether nonexistent headers
6341 # can be detected and how.
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <ac_nonexistent.h>
6345 _ACEOF
6346 if ac_fn_c_try_cpp "$LINENO"; then :
6347 # Broken: success on invalid input.
6348 continue
6349 else
6350 # Passes both tests.
6351 ac_preproc_ok=:
6352 break
6354 rm -f conftest.err conftest.i conftest.$ac_ext
6356 done
6357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6358 rm -f conftest.i conftest.err conftest.$ac_ext
6359 if $ac_preproc_ok; then :
6360 break
6363 done
6364 ac_cv_prog_CPP=$CPP
6367 CPP=$ac_cv_prog_CPP
6368 else
6369 ac_cv_prog_CPP=$CPP
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6372 $as_echo "$CPP" >&6; }
6373 ac_preproc_ok=false
6374 for ac_c_preproc_warn_flag in '' yes
6376 # Use a header file that comes with gcc, so configuring glibc
6377 # with a fresh cross-compiler works.
6378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6379 # <limits.h> exists even on freestanding compilers.
6380 # On the NeXT, cc -E runs the code through the compiler's parser,
6381 # not just through cpp. "Syntax error" is here to catch this case.
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #ifdef __STDC__
6385 # include <limits.h>
6386 #else
6387 # include <assert.h>
6388 #endif
6389 Syntax error
6390 _ACEOF
6391 if ac_fn_c_try_cpp "$LINENO"; then :
6393 else
6394 # Broken: fails on valid input.
6395 continue
6397 rm -f conftest.err conftest.i conftest.$ac_ext
6399 # OK, works on sane cases. Now check whether nonexistent headers
6400 # can be detected and how.
6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <ac_nonexistent.h>
6404 _ACEOF
6405 if ac_fn_c_try_cpp "$LINENO"; then :
6406 # Broken: success on invalid input.
6407 continue
6408 else
6409 # Passes both tests.
6410 ac_preproc_ok=:
6411 break
6413 rm -f conftest.err conftest.i conftest.$ac_ext
6415 done
6416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6417 rm -f conftest.i conftest.err conftest.$ac_ext
6418 if $ac_preproc_ok; then :
6420 else
6421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6423 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6424 See \`config.log' for more details" "$LINENO" 5; }
6427 ac_ext=c
6428 ac_cpp='$CPP $CPPFLAGS'
6429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6435 $as_echo_n "checking for ANSI C header files... " >&6; }
6436 if ${ac_cv_header_stdc+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 #include <stdlib.h>
6442 #include <stdarg.h>
6443 #include <string.h>
6444 #include <float.h>
6447 main ()
6451 return 0;
6453 _ACEOF
6454 if ac_fn_c_try_compile "$LINENO"; then :
6455 ac_cv_header_stdc=yes
6456 else
6457 ac_cv_header_stdc=no
6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6461 if test $ac_cv_header_stdc = yes; then
6462 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <string.h>
6467 _ACEOF
6468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6469 $EGREP "memchr" >/dev/null 2>&1; then :
6471 else
6472 ac_cv_header_stdc=no
6474 rm -f conftest*
6478 if test $ac_cv_header_stdc = yes; then
6479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6484 _ACEOF
6485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6486 $EGREP "free" >/dev/null 2>&1; then :
6488 else
6489 ac_cv_header_stdc=no
6491 rm -f conftest*
6495 if test $ac_cv_header_stdc = yes; then
6496 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6497 if test "$cross_compiling" = yes; then :
6499 else
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 #include <ctype.h>
6503 #include <stdlib.h>
6504 #if ((' ' & 0x0FF) == 0x020)
6505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6507 #else
6508 # define ISLOWER(c) \
6509 (('a' <= (c) && (c) <= 'i') \
6510 || ('j' <= (c) && (c) <= 'r') \
6511 || ('s' <= (c) && (c) <= 'z'))
6512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6513 #endif
6515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6517 main ()
6519 int i;
6520 for (i = 0; i < 256; i++)
6521 if (XOR (islower (i), ISLOWER (i))
6522 || toupper (i) != TOUPPER (i))
6523 return 2;
6524 return 0;
6526 _ACEOF
6527 if ac_fn_c_try_run "$LINENO"; then :
6529 else
6530 ac_cv_header_stdc=no
6532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6533 conftest.$ac_objext conftest.beam conftest.$ac_ext
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6539 $as_echo "$ac_cv_header_stdc" >&6; }
6540 if test $ac_cv_header_stdc = yes; then
6542 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6546 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6547 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6548 inttypes.h stdint.h unistd.h
6549 do :
6550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6551 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6554 cat >>confdefs.h <<_ACEOF
6555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6556 _ACEOF
6560 done
6563 for ac_header in \
6564 AL/al.h \
6565 ApplicationServices/ApplicationServices.h \
6566 AudioToolbox/AudioConverter.h \
6567 AudioUnit/AudioUnit.h \
6568 AudioUnit/AudioComponent.h \
6569 CL/cl.h \
6570 Carbon/Carbon.h \
6571 CoreAudio/CoreAudio.h \
6572 CoreServices/CoreServices.h \
6573 DiskArbitration/DiskArbitration.h \
6574 IOKit/IOKitLib.h \
6575 IOKit/hid/IOHIDLib.h \
6576 OpenAL/al.h \
6577 OpenCL/opencl.h \
6578 QuickTime/ImageCompression.h \
6579 Security/Security.h \
6580 alias.h \
6581 alsa/asoundlib.h \
6582 arpa/inet.h \
6583 arpa/nameser.h \
6584 asm/types.h \
6585 asm/user.h \
6586 curses.h \
6587 direct.h \
6588 dirent.h \
6589 dlfcn.h \
6590 elf.h \
6591 float.h \
6592 fnmatch.h \
6593 getopt.h \
6594 gettext-po.h \
6595 grp.h \
6596 gsm.h \
6597 gsm/gsm.h \
6598 ieeefp.h \
6599 inet/mib2.h \
6600 io.h \
6601 kstat.h \
6602 lber.h \
6603 ldap.h \
6604 libproc.h \
6605 link.h \
6606 linux/cdrom.h \
6607 linux/compiler.h \
6608 linux/filter.h \
6609 linux/hdreg.h \
6610 linux/input.h \
6611 linux/ioctl.h \
6612 linux/joystick.h \
6613 linux/major.h \
6614 linux/param.h \
6615 linux/serial.h \
6616 linux/types.h \
6617 linux/ucdrom.h \
6618 lwp.h \
6619 mach-o/nlist.h \
6620 mach-o/loader.h \
6621 mach/mach.h \
6622 mach/machine.h \
6623 machine/cpu.h \
6624 machine/limits.h \
6625 machine/sysarch.h \
6626 mntent.h \
6627 ncurses.h \
6628 netdb.h \
6629 netinet/in.h \
6630 netinet/in_systm.h \
6631 netinet/tcp.h \
6632 netinet/tcp_fsm.h \
6633 pcap/pcap.h \
6634 poll.h \
6635 port.h \
6636 process.h \
6637 pthread.h \
6638 pwd.h \
6639 sched.h \
6640 scsi/scsi.h \
6641 scsi/scsi_ioctl.h \
6642 scsi/sg.h \
6643 stdbool.h \
6644 stdint.h \
6645 stropts.h \
6646 sys/asoundlib.h \
6647 sys/attr.h \
6648 sys/cdio.h \
6649 sys/elf32.h \
6650 sys/epoll.h \
6651 sys/event.h \
6652 sys/exec_elf.h \
6653 sys/filio.h \
6654 sys/inotify.h \
6655 sys/ioctl.h \
6656 sys/ipc.h \
6657 sys/limits.h \
6658 sys/link.h \
6659 sys/mman.h \
6660 sys/modem.h \
6661 sys/msg.h \
6662 sys/mtio.h \
6663 sys/param.h \
6664 sys/poll.h \
6665 sys/prctl.h \
6666 sys/protosw.h \
6667 sys/ptrace.h \
6668 sys/queue.h \
6669 sys/resource.h \
6670 sys/scsiio.h \
6671 sys/shm.h \
6672 sys/signal.h \
6673 sys/socket.h \
6674 sys/socketvar.h \
6675 sys/sockio.h \
6676 sys/statvfs.h \
6677 sys/strtio.h \
6678 sys/syscall.h \
6679 sys/tihdr.h \
6680 sys/time.h \
6681 sys/timeout.h \
6682 sys/times.h \
6683 sys/uio.h \
6684 sys/user.h \
6685 sys/utsname.h \
6686 sys/vm86.h \
6687 sys/wait.h \
6688 syscall.h \
6689 termios.h \
6690 unistd.h \
6691 utime.h \
6692 valgrind/memcheck.h \
6693 valgrind/valgrind.h \
6694 zlib.h
6696 do :
6697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6698 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6699 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6700 cat >>confdefs.h <<_ACEOF
6701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6702 _ACEOF
6706 done
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6709 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6710 if ${ac_cv_header_stat_broken+:} false; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6715 #include <sys/types.h>
6716 #include <sys/stat.h>
6718 #if defined S_ISBLK && defined S_IFDIR
6719 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6720 #endif
6722 #if defined S_ISBLK && defined S_IFCHR
6723 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6724 #endif
6726 #if defined S_ISLNK && defined S_IFREG
6727 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6728 #endif
6730 #if defined S_ISSOCK && defined S_IFREG
6731 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6732 #endif
6734 _ACEOF
6735 if ac_fn_c_try_compile "$LINENO"; then :
6736 ac_cv_header_stat_broken=no
6737 else
6738 ac_cv_header_stat_broken=yes
6740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6743 $as_echo "$ac_cv_header_stat_broken" >&6; }
6744 if test $ac_cv_header_stat_broken = yes; then
6746 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6752 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6753 do :
6754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6755 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6756 #ifdef HAVE_SYS_PARAM_H
6757 # include <sys/param.h>
6758 #endif
6760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6761 cat >>confdefs.h <<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6763 _ACEOF
6767 done
6770 for ac_header in \
6771 netinet/ip.h \
6772 net/if.h \
6773 net/if_arp.h \
6774 net/if_dl.h \
6775 net/if_types.h \
6776 net/route.h \
6777 netinet/if_ether.h \
6778 netinet/if_inarp.h \
6779 netinet/in_pcb.h \
6780 netinet/ip_icmp.h \
6781 netinet/ip_var.h \
6782 netinet/udp.h \
6783 netipx/ipx.h \
6784 sys/un.h \
6786 do :
6787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6789 #ifdef HAVE_SYS_SOCKET_H
6790 # include <sys/socket.h>
6791 #endif
6792 #ifdef HAVE_SYS_SOCKETVAR_H
6793 # include <sys/socketvar.h>
6794 #endif
6795 #ifdef HAVE_NET_ROUTE_H
6796 # include <net/route.h>
6797 #endif
6798 #ifdef HAVE_NETINET_IN_H
6799 # include <netinet/in.h>
6800 #endif
6801 #ifdef HAVE_NETINET_IN_SYSTM_H
6802 # include <netinet/in_systm.h>
6803 #endif
6804 #ifdef HAVE_NET_IF_H
6805 # include <net/if.h>
6806 #endif
6807 #ifdef HAVE_NETINET_IP_H
6808 # include <netinet/ip.h>
6809 #endif
6811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6812 cat >>confdefs.h <<_ACEOF
6813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6814 _ACEOF
6818 done
6821 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6822 do :
6823 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6825 #ifdef HAVE_ALIAS_H
6826 # include <alias.h>
6827 #endif
6828 #ifdef HAVE_SYS_SOCKET_H
6829 # include <sys/socket.h>
6830 #endif
6831 #ifdef HAVE_SYS_SOCKETVAR_H
6832 # include <sys/socketvar.h>
6833 #endif
6834 #ifdef HAVE_SYS_TIMEOUT_H
6835 # include <sys/timeout.h>
6836 #endif
6837 #ifdef HAVE_NETINET_IN_H
6838 # include <netinet/in.h>
6839 #endif
6840 #ifdef HAVE_NETINET_IN_SYSTM_H
6841 # include <netinet/in_systm.h>
6842 #endif
6843 #ifdef HAVE_NETINET_IP_H
6844 # include <netinet/ip.h>
6845 #endif
6846 #ifdef HAVE_NETINET_IP_VAR_H
6847 # include <netinet/ip_var.h>
6848 #endif
6849 #ifdef HAVE_NETINET_IP_ICMP_H
6850 # include <netinet/ip_icmp.h>
6851 #endif
6852 #ifdef HAVE_NETINET_UDP_H
6853 # include <netinet/udp.h>
6854 #endif
6855 #ifdef HAVE_NETINET_TCP_H
6856 # include <netinet/tcp.h>
6857 #endif
6858 #ifdef HAVE_NETINET_TCP_TIMER_H
6859 #include <netinet/tcp_timer.h>
6860 #endif
6862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6863 cat >>confdefs.h <<_ACEOF
6864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6865 _ACEOF
6869 done
6872 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6873 do :
6874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6875 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6876 #ifdef HAVE_ASM_TYPES_H
6877 # include <asm/types.h>
6878 #endif
6879 #ifdef HAVE_SYS_SOCKET_H
6880 # include <sys/socket.h>
6881 #endif
6882 #ifdef HAVE_LINUX_TYPES_H
6883 # include <linux/types.h>
6884 #endif
6886 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6887 cat >>confdefs.h <<_ACEOF
6888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6889 _ACEOF
6893 done
6896 for ac_header in mach-o/dyld_images.h
6897 do :
6898 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6899 # include <stdbool.h>
6900 #endif
6901 #ifdef HAVE_STDINT_H
6902 # include <stdint.h>
6903 #endif
6905 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6906 cat >>confdefs.h <<_ACEOF
6907 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6908 _ACEOF
6912 done
6915 for ac_header in resolv.h
6916 do :
6917 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6918 #ifdef HAVE_SYS_SOCKET_H
6919 # include <sys/socket.h>
6920 #endif
6921 #ifdef HAVE_NETINET_IN_H
6922 # include <netinet/in.h>
6923 #endif
6924 #ifdef HAVE_ARPA_NAMESER_H
6925 # include <arpa/nameser.h>
6926 #endif
6928 if test "x$ac_cv_header_resolv_h" = xyes; then :
6929 cat >>confdefs.h <<_ACEOF
6930 #define HAVE_RESOLV_H 1
6931 _ACEOF
6935 done
6938 for ac_header in ifaddrs.h
6939 do :
6940 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6942 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define HAVE_IFADDRS_H 1
6945 _ACEOF
6949 done
6952 for ac_header in sys/ucontext.h
6953 do :
6954 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6956 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6957 cat >>confdefs.h <<_ACEOF
6958 #define HAVE_SYS_UCONTEXT_H 1
6959 _ACEOF
6963 done
6966 for ac_header in sys/thr.h
6967 do :
6968 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6969 #ifdef HAVE_SYS_UCONTEXT_H
6970 #include <sys/ucontext.h>
6971 #endif
6973 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6974 cat >>confdefs.h <<_ACEOF
6975 #define HAVE_SYS_THR_H 1
6976 _ACEOF
6980 done
6983 for ac_header in pthread_np.h
6984 do :
6985 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6986 #include <pthread.h>
6987 #endif
6989 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6990 cat >>confdefs.h <<_ACEOF
6991 #define HAVE_PTHREAD_NP_H 1
6992 _ACEOF
6996 done
6999 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7000 do :
7001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7003 #include <sys/time.h>
7004 #endif
7005 #include <sys/types.h>
7006 #ifdef HAVE_ASM_TYPES_H
7007 #include <asm/types.h>
7008 #endif
7010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013 _ACEOF
7017 done
7020 for ac_header in libprocstat.h
7021 do :
7022 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7023 #include <sys/param.h>
7024 #endif
7025 #ifdef HAVE_SYS_QUEUE_H
7026 #include <sys/queue.h>
7027 #endif
7028 #ifdef HAVE_SYS_SOCKET_H
7029 #include <sys/socket.h>
7030 #endif
7032 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7033 cat >>confdefs.h <<_ACEOF
7034 #define HAVE_LIBPROCSTAT_H 1
7035 _ACEOF
7039 done
7043 dlldir="\${libdir}/wine"
7045 DLLPREFIX=""
7047 DLLFLAGS="-D_REENTRANT"
7049 LDRPATH_INSTALL=""
7051 LDRPATH_LOCAL=""
7053 LIBEXT="so"
7054 DLLEXT=".so"
7055 IMPLIBEXT="def"
7056 STATIC_IMPLIBEXT="def.a"
7057 # Extract the first word of "ldd", so it can be a program name with args.
7058 set dummy ldd; ac_word=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 $as_echo_n "checking for $ac_word... " >&6; }
7061 if ${ac_cv_path_LDD+:} false; then :
7062 $as_echo_n "(cached) " >&6
7063 else
7064 case $LDD in
7065 [\\/]* | ?:[\\/]*)
7066 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 as_dummy="/sbin:/usr/sbin:$PATH"
7071 for as_dir in $as_dummy
7073 IFS=$as_save_IFS
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 break 2
7081 done
7082 done
7083 IFS=$as_save_IFS
7085 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7087 esac
7089 LDD=$ac_cv_path_LDD
7090 if test -n "$LDD"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7092 $as_echo "$LDD" >&6; }
7093 else
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7099 if test -n "$ac_tool_prefix"; then
7100 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7101 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_READELF+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$READELF"; then
7108 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7121 done
7122 done
7123 IFS=$as_save_IFS
7127 READELF=$ac_cv_prog_READELF
7128 if test -n "$READELF"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7130 $as_echo "$READELF" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7138 if test -z "$ac_cv_prog_READELF"; then
7139 ac_ct_READELF=$READELF
7140 # Extract the first word of "readelf", so it can be a program name with args.
7141 set dummy readelf; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7145 $as_echo_n "(cached) " >&6
7146 else
7147 if test -n "$ac_ct_READELF"; then
7148 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7149 else
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 for as_dir in $PATH
7153 IFS=$as_save_IFS
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_READELF="readelf"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 break 2
7161 done
7162 done
7163 IFS=$as_save_IFS
7167 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7168 if test -n "$ac_ct_READELF"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7170 $as_echo "$ac_ct_READELF" >&6; }
7171 else
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7176 if test "x$ac_ct_READELF" = x; then
7177 READELF="true"
7178 else
7179 case $cross_compiling:$ac_tool_warned in
7180 yes:)
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183 ac_tool_warned=yes ;;
7184 esac
7185 READELF=$ac_ct_READELF
7187 else
7188 READELF="$ac_cv_prog_READELF"
7191 wine_rules_file=conf$$rules.make
7192 rm -f $wine_rules_file
7193 ALL_POT_FILES=""
7194 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7195 ALL_TEST_RESOURCES=""
7198 wine_fn_append_file ()
7200 as_fn_append $1 " \\$as_nl $2"
7203 wine_fn_ignore_file ()
7205 case "$1" in
7206 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7207 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7208 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7209 esac
7212 wine_fn_append_rule ()
7214 $as_echo "$1" >>$wine_rules_file
7217 wine_fn_has_flag ()
7219 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7222 wine_fn_depend_rules ()
7224 wine_fn_append_rule \
7225 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7226 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7227 depend: $ac_dir/depend
7228 .PHONY: $ac_dir/depend
7229 $ac_dir/depend: \$(MAKEDEP) dummy
7230 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7233 wine_fn_pot_rules ()
7235 test "x$with_gettextpo" = xyes || return
7237 if wine_fn_has_flag mc
7238 then
7239 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7240 wine_fn_append_rule \
7241 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7242 @cd $ac_dir && \$(MAKE) msg.pot
7243 $ac_dir/msg.pot: tools/wmc include"
7245 if wine_fn_has_flag po
7246 then
7247 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7248 wine_fn_append_rule \
7249 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7250 @cd $ac_dir && \$(MAKE) rsrc.pot
7251 $ac_dir/rsrc.pot: tools/wrc include"
7255 wine_fn_all_rules ()
7257 wine_fn_depend_rules
7258 wine_fn_append_rule \
7259 "all: $ac_dir
7260 .PHONY: $ac_dir
7261 $ac_dir: $ac_dir/Makefile dummy
7262 @cd $ac_dir && \$(MAKE)"
7265 wine_fn_install_rules ()
7267 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7269 wine_fn_append_rule \
7270 ".PHONY: $ac_dir/install $ac_dir/uninstall
7271 $ac_dir/install:: $ac_dir
7272 @cd $ac_dir && \$(MAKE) install
7273 $ac_dir/uninstall:: $ac_dir/Makefile
7274 @cd $ac_dir && \$(MAKE) uninstall
7275 install:: $ac_dir/install
7276 __uninstall__: $ac_dir/uninstall"
7278 if wine_fn_has_flag install-lib
7279 then
7280 wine_fn_append_rule \
7281 ".PHONY: $ac_dir/install-lib
7282 $ac_dir/install-lib:: $ac_dir
7283 @cd $ac_dir && \$(MAKE) install-lib
7284 install-lib:: $ac_dir/install-lib"
7287 if wine_fn_has_flag install-dev
7288 then
7289 wine_fn_append_rule \
7290 ".PHONY: $ac_dir/install-dev
7291 $ac_dir/install-dev:: $ac_dir
7292 @cd $ac_dir && \$(MAKE) install-dev
7293 install-dev:: $ac_dir/install-dev"
7297 wine_fn_clean_rules ()
7299 ac_clean=$@
7300 ac_extraclean="$ac_dir/Makefile"
7301 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7302 case $ac_dir in
7303 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7304 esac
7306 if wine_fn_has_flag clean
7307 then
7308 wine_fn_append_rule \
7309 "__clean__: $ac_dir/clean
7310 .PHONY: $ac_dir/clean
7311 $ac_dir/clean: $ac_dir/Makefile
7312 @cd $ac_dir && \$(MAKE) clean
7313 \$(RM) $ac_extraclean"
7314 else
7315 wine_fn_append_rule \
7316 "__clean__: $ac_dir/clean
7317 .PHONY: $ac_dir/clean
7318 $ac_dir/clean: dummy
7319 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7323 wine_fn_disabled_rules ()
7325 ac_clean=$@
7326 ac_extraclean="$ac_dir/Makefile"
7327 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7329 wine_fn_append_rule \
7330 "__clean__: $ac_dir/clean
7331 .PHONY: $ac_dir/clean
7332 $ac_dir/clean: dummy
7333 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7336 wine_fn_config_makefile ()
7338 ac_dir=$1
7339 ac_enable=$2
7340 ac_flags=$3
7342 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7343 wine_fn_disabled_rules; return
7345 wine_fn_all_rules
7346 wine_fn_install_rules
7347 wine_fn_clean_rules
7350 wine_fn_config_lib ()
7352 ac_name=$1
7353 ac_flags=$2
7354 ac_dir=dlls/$ac_name
7355 ac_deps="include"
7357 if test "x$enable_tools" = xno; then :
7359 else
7360 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7362 wine_fn_all_rules
7363 wine_fn_clean_rules
7365 wine_fn_append_rule \
7366 ".PHONY: $ac_dir/install $ac_dir/uninstall
7367 $ac_dir/install:: $ac_dir
7368 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7369 $ac_dir/uninstall::
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7371 install install-dev:: $ac_dir/install
7372 __uninstall__: $ac_dir/uninstall
7373 __builddeps__: $ac_dir
7374 $ac_dir: $ac_deps"
7377 wine_fn_config_dll ()
7379 ac_name=$1
7380 ac_dir=dlls/$ac_name
7381 ac_enable=$2
7382 ac_flags=$3
7383 ac_implib=${4:-$ac_name}
7384 ac_file=$ac_dir/lib$ac_implib
7385 ac_dll=$ac_name
7386 ac_deps="include"
7387 ac_implibflags=""
7389 if test "x$enable_tools" = xno; then :
7391 else
7392 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7394 case $ac_name in
7395 *16) ac_implibflags=" -m16" ;;
7396 *.*) ;;
7397 *) ac_dll=$ac_dll.dll ;;
7398 esac
7400 ac_clean=
7401 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7402 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7403 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7404 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7406 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7407 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7408 then
7409 wine_fn_depend_rules
7410 wine_fn_clean_rules $ac_clean
7411 else
7412 wine_fn_disabled_rules $ac_clean
7413 return
7415 else
7416 wine_fn_all_rules
7417 wine_fn_clean_rules $ac_clean
7418 wine_fn_append_rule \
7419 "$ac_dir: __builddeps__
7420 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7421 @cd $ac_dir && \$(MAKE) \$@
7422 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7423 install install-lib:: $ac_dir/install-lib
7424 __uninstall__: $ac_dir/uninstall"
7425 if test -n "$DLLEXT"
7426 then
7427 wine_fn_append_rule \
7428 "$ac_dir/install-lib:: $ac_dir
7429 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7430 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7431 $ac_dir/uninstall::
7432 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7433 else
7434 wine_fn_append_rule \
7435 "$ac_dir/install-lib:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7437 $ac_dir/uninstall::
7438 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7441 wine_fn_pot_rules
7444 if wine_fn_has_flag staticimplib
7445 then
7446 wine_fn_append_rule \
7447 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7448 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7449 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7450 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7451 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7452 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7453 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7454 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7455 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7458 install install-dev:: $ac_dir/install-dev
7459 __uninstall__: $ac_dir/uninstall"
7461 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7462 then
7463 wine_fn_append_rule \
7464 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7465 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7470 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7471 then
7472 wine_fn_append_rule \
7473 "__builddeps__: $ac_file.cross.a
7474 $ac_file.cross.a: $ac_dir/Makefile dummy
7475 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7478 elif wine_fn_has_flag implib
7479 then
7480 wine_fn_append_rule \
7481 "__builddeps__: $ac_file.$IMPLIBEXT
7482 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7483 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7484 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7485 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7486 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7487 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7488 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7489 $ac_dir/uninstall::
7490 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7491 install install-dev:: $ac_dir/install-dev
7492 __uninstall__: $ac_dir/uninstall"
7493 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7494 then
7495 wine_fn_append_rule \
7496 "__builddeps__: $ac_file.cross.a
7497 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7498 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7501 if test "$ac_name" != "$ac_implib"
7502 then
7503 wine_fn_append_rule \
7504 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7505 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7506 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7507 clean::
7508 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7509 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7510 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7511 then
7512 wine_fn_append_rule \
7513 "__builddeps__: dlls/lib$ac_implib.cross.a
7514 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7515 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7516 clean::
7517 \$(RM) dlls/lib$ac_implib.cross.a"
7518 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7524 wine_fn_config_program ()
7526 ac_name=$1
7527 ac_dir=programs/$ac_name
7528 ac_enable=$2
7529 ac_flags=$3
7530 ac_program=$ac_name
7532 case $ac_name in
7533 *.*) ;;
7534 *) ac_program=$ac_program.exe ;;
7535 esac
7537 ac_clean=
7538 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7539 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7540 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7541 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7543 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7544 wine_fn_disabled_rules $ac_clean; return
7547 wine_fn_all_rules
7548 wine_fn_clean_rules $ac_clean
7549 wine_fn_append_rule "$ac_dir: __builddeps__"
7550 wine_fn_pot_rules
7552 wine_fn_has_flag install || return
7553 wine_fn_append_rule \
7554 ".PHONY: $ac_dir/install $ac_dir/uninstall
7555 install install-lib:: $ac_dir/install
7556 __uninstall__: $ac_dir/uninstall"
7558 if test -n "$DLLEXT"
7559 then
7560 wine_fn_append_rule \
7561 "$ac_dir/install:: $ac_dir
7562 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7563 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7564 $ac_dir/uninstall::
7565 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7567 if test -z "$with_wine64" && wine_fn_has_flag installbin
7568 then
7569 wine_fn_append_rule \
7570 "$ac_dir/install:: __tooldeps__
7571 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7572 $ac_dir/uninstall::
7573 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7575 else
7576 wine_fn_append_rule \
7577 "$ac_dir/install:: $ac_dir
7578 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7579 $ac_dir/uninstall::
7580 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7583 if test -z "$with_wine64" && wine_fn_has_flag manpage
7584 then
7585 wine_fn_append_rule \
7586 "$ac_dir/install:: $ac_dir
7587 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7588 $ac_dir/uninstall::
7589 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7593 wine_fn_config_test ()
7595 ac_dir=$1
7596 ac_name=$2
7597 ac_flags=$3
7599 ac_clean=
7600 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7601 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7603 if test "x$enable_tests" = xno; then :
7604 wine_fn_disabled_rules $ac_clean; return
7607 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7608 wine_fn_all_rules
7609 wine_fn_clean_rules $ac_clean
7611 wine_fn_append_rule \
7612 "$ac_dir: programs/winetest/Makefile __builddeps__
7613 programs/winetest: $ac_dir
7614 check test: $ac_dir/test
7615 .PHONY: $ac_dir/test
7616 $ac_dir/test: dummy
7617 @cd $ac_dir && \$(MAKE) test
7618 testclean::
7619 \$(RM) $ac_dir/*.ok"
7621 if test -n "$CROSSTARGET"
7622 then
7623 wine_fn_append_rule \
7624 "crosstest: $ac_dir/crosstest
7625 .PHONY: $ac_dir/crosstest
7626 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7627 @cd $ac_dir && \$(MAKE) crosstest"
7631 wine_fn_config_tool ()
7633 ac_dir=$1
7634 ac_flags=$2
7635 if test "x$enable_tools" = xno; then :
7636 return
7639 wine_fn_all_rules
7640 wine_fn_install_rules
7641 wine_fn_clean_rules
7643 wine_fn_append_rule "__tooldeps__: $ac_dir"
7644 wine_fn_append_rule "$ac_dir: libs/port"
7645 case $ac_dir in
7646 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7647 esac
7650 wine_fn_config_symlink ()
7652 ac_linkdir=
7653 if test "x$1" = "x-d"
7654 then
7655 ac_linkdir=$2
7656 shift; shift
7658 ac_links=$@
7659 wine_fn_append_rule \
7660 "$ac_links:
7661 @./config.status \$@
7662 distclean::
7663 \$(RM) $ac_links"
7664 for f in $ac_links; do wine_fn_ignore_file $f; done
7665 test -n "$ac_linkdir" || return
7666 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7669 wine_binary="wine"
7670 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7671 loader_programs="$wine_binary wine-installed"
7672 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7674 LOADER_RULES="
7675 all: wine.inf
7677 install install-lib:: wine-installed
7678 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7680 uninstall::
7681 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7685 case $host_os in
7686 cygwin*|mingw32*)
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_DLLTOOL+:} false; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 if test -n "$DLLTOOL"; then
7696 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7697 else
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 for as_dir in $PATH
7701 IFS=$as_save_IFS
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 break 2
7709 done
7710 done
7711 IFS=$as_save_IFS
7715 DLLTOOL=$ac_cv_prog_DLLTOOL
7716 if test -n "$DLLTOOL"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7718 $as_echo "$DLLTOOL" >&6; }
7719 else
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7726 if test -z "$ac_cv_prog_DLLTOOL"; then
7727 ac_ct_DLLTOOL=$DLLTOOL
7728 # Extract the first word of "dlltool", so it can be a program name with args.
7729 set dummy dlltool; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7733 $as_echo_n "(cached) " >&6
7734 else
7735 if test -n "$ac_ct_DLLTOOL"; then
7736 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7737 else
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 for as_dir in $PATH
7741 IFS=$as_save_IFS
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7747 break 2
7749 done
7750 done
7751 IFS=$as_save_IFS
7755 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7756 if test -n "$ac_ct_DLLTOOL"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7758 $as_echo "$ac_ct_DLLTOOL" >&6; }
7759 else
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7764 if test "x$ac_ct_DLLTOOL" = x; then
7765 DLLTOOL="false"
7766 else
7767 case $cross_compiling:$ac_tool_warned in
7768 yes:)
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7771 ac_tool_warned=yes ;;
7772 esac
7773 DLLTOOL=$ac_ct_DLLTOOL
7775 else
7776 DLLTOOL="$ac_cv_prog_DLLTOOL"
7779 LIBEXT="dll"
7780 DLLEXT=""
7781 IMPLIBEXT="a"
7782 STATIC_IMPLIBEXT="a"
7783 enable_iphlpapi=${enable_iphlpapi:-no}
7784 enable_kernel32=${enable_kernel32:-no}
7785 enable_msvcrt=${enable_msvcrt:-no}
7786 enable_ntdll=${enable_ntdll:-no}
7787 enable_ws2_32=${enable_ws2_32:-no}
7788 enable_loader=${enable_loader:-no}
7789 enable_server=${enable_server:-no}
7790 with_x=${with_x:-no}
7791 with_pthread=${with_pthread:-no}
7793 crtlibs=""
7794 case $host_os in
7795 mingw32*)
7796 crtlibs="-lmsvcrt"
7797 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7799 esac
7801 libwine_targets="libwine.dll libwine.a"
7802 LIBWINE_RULES="
7803 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7805 all: libwine.dll libwine.a
7807 libwine.a: \$(srcdir)/wine.def
7808 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7810 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7811 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7813 install install-lib:: libwine.dll
7814 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7816 install install-dev:: libwine.a
7817 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7819 uninstall::
7820 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7825 darwin*|macosx*)
7826 LIBEXT="dylib"
7827 DLLFLAGS="$DLLFLAGS -fPIC"
7828 LIBWINE_LDFLAGS="-multiply_defined suppress"
7829 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7830 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7831 COREFOUNDATION_LIBS="-framework CoreFoundation"
7833 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7835 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7837 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7839 CORESERVICES_LIBS="-framework CoreServices"
7841 APPKIT_LIBS="-framework AppKit"
7843 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7845 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7846 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7847 $as_echo_n "(cached) " >&6
7848 else
7849 ac_wine_try_cflags_saved=$CFLAGS
7850 CFLAGS="$CFLAGS -Wl,-no_pie"
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 int main(int argc, char **argv) { return 0; }
7854 _ACEOF
7855 if ac_fn_c_try_link "$LINENO"; then :
7856 ac_cv_cflags__Wl__no_pie=yes
7857 else
7858 ac_cv_cflags__Wl__no_pie=no
7860 rm -f core conftest.err conftest.$ac_objext \
7861 conftest$ac_exeext conftest.$ac_ext
7862 CFLAGS=$ac_wine_try_cflags_saved
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7865 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7866 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7867 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7869 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7870 then
7871 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7874 if test "$ac_cv_header_Security_Security_h" = "yes"
7875 then
7876 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7878 ac_save_LIBS="$LIBS"
7879 LIBS="$LIBS $SECURITY_LIBS"
7880 for ac_func in SSLCopyPeerCertificates
7881 do :
7882 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7883 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7886 _ACEOF
7889 done
7891 LIBS="$ac_save_LIBS"
7892 with_gnutls=${with_gnutls:-no}
7894 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7895 then
7896 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7897 then
7898 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7900 else
7901 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7904 ac_save_LIBS="$LIBS"
7905 LIBS="$LIBS $COREAUDIO_LIBS"
7906 for ac_func in AUGraphAddNode
7907 do :
7908 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7909 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7910 cat >>confdefs.h <<_ACEOF
7911 #define HAVE_AUGRAPHADDNODE 1
7912 _ACEOF
7915 done
7917 LIBS="$ac_save_LIBS"
7919 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7920 then
7921 OPENAL_LIBS="-framework OpenAL"
7924 cat >>confdefs.h <<_ACEOF
7925 #define HAVE_OPENAL 1
7926 _ACEOF
7928 ac_cv_lib_openal=yes
7930 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7931 then
7932 OPENCL_LIBS="-framework OpenCL"
7934 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7936 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7937 then
7938 ac_save_LIBS="$LIBS"
7939 LIBS="$LIBS $IOKIT_LIBS"
7940 for ac_func in IOHIDManagerCreate
7941 do :
7942 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7943 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7944 cat >>confdefs.h <<_ACEOF
7945 #define HAVE_IOHIDMANAGERCREATE 1
7946 _ACEOF
7949 done
7951 LIBS="$ac_save_LIBS"
7953 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7954 then
7955 ac_save_LIBS="$LIBS"
7956 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7958 $as_echo_n "checking for the QuickTime framework... " >&6; }
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 #include <QuickTime/ImageCompression.h>
7963 main ()
7965 CodecManagerVersion(NULL);
7967 return 0;
7969 _ACEOF
7970 if ac_fn_c_try_link "$LINENO"; then :
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7972 $as_echo "yes" >&6; }
7973 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7975 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7976 else
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7979 ac_cv_header_QuickTime_ImageCompression_h=no
7981 rm -f core conftest.err conftest.$ac_objext \
7982 conftest$ac_exeext conftest.$ac_ext
7983 LIBS="$ac_save_LIBS"
7985 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7986 then
7987 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7989 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7990 then
7991 CARBON_LIBS="-framework Carbon"
7995 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7996 then
7997 ac_save_LIBS="$LIBS"
7998 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7999 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8000 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8001 enable_winemac_drv=${enable_winemac_drv:-yes}
8004 LIBS="$ac_save_LIBS"
8007 if test "x$enable_win16" = "xyes"
8008 then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8010 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8011 if test "$cross_compiling" = yes; then :
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8013 $as_echo "cross-compiling, assuming yes" >&6; }
8014 else
8015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8017 asm(".text\n"
8018 "bad:\tnop;nop\n"
8019 "good:\tnop;nop\n\t"
8020 ".globl _testfunc\n"
8021 "_testfunc:\tcallw good");
8022 extern void testfunc();
8024 main ()
8026 unsigned short *p = (unsigned short *)testfunc;
8027 return p[0] != 0xe866 || p[1] != 0xfffa
8029 return 0;
8031 _ACEOF
8032 if ac_fn_c_try_run "$LINENO"; then :
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8034 $as_echo "yes" >&6; }
8035 else
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8038 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
8040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8041 conftest.$ac_objext conftest.beam conftest.$ac_ext
8046 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8047 LIBWINE_RULES="
8048 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8050 all: libwine.dylib
8052 libwine.$libwine_version.dylib: \$(OBJS)
8053 \$(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 \$@
8055 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8056 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8058 libwine.dylib: libwine.$libwine_soversion.dylib
8059 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8061 install install-lib:: libwine.$libwine_version.dylib
8062 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8063 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8065 install install-dev::
8066 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8068 uninstall::
8069 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8073 as_fn_append LOADER_RULES "
8074 $wine_binary: main.o wine_info.plist
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8077 wine-installed: main.o wine_info.plist
8078 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8082 linux-android*)
8083 DLLFLAGS="$DLLFLAGS -fPIC"
8084 DLLPREFIX="lib"
8085 LDEXECFLAGS=""
8086 dlldir="\${libdir}"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8088 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8089 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8090 $as_echo_n "(cached) " >&6
8091 else
8092 ac_wine_try_cflags_saved=$CFLAGS
8093 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 int main(int argc, char **argv) { return 0; }
8097 _ACEOF
8098 if ac_fn_c_try_link "$LINENO"; then :
8099 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8100 else
8101 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8103 rm -f core conftest.err conftest.$ac_objext \
8104 conftest$ac_exeext conftest.$ac_ext
8105 CFLAGS=$ac_wine_try_cflags_saved
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8108 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8109 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8110 LDEXECFLAGS="-Wl,--export-dynamic"
8112 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8115 if eval \${$as_ac_var+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 ac_wine_try_cflags_saved=$CFLAGS
8119 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 int main(int argc, char **argv) { return 0; }
8123 _ACEOF
8124 if ac_fn_c_try_link "$LINENO"; then :
8125 eval "$as_ac_var=yes"
8126 else
8127 eval "$as_ac_var=no"
8129 rm -f core conftest.err conftest.$ac_objext \
8130 conftest$ac_exeext conftest.$ac_ext
8131 CFLAGS=$ac_wine_try_cflags_saved
8133 eval ac_res=\$$as_ac_var
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8135 $as_echo "$ac_res" >&6; }
8136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8137 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8138 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8139 else
8140 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8142 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8143 if eval \${$as_ac_var+:} false; then :
8144 $as_echo_n "(cached) " >&6
8145 else
8146 ac_wine_try_cflags_saved=$CFLAGS
8147 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 int main(int argc, char **argv) { return 0; }
8151 _ACEOF
8152 if ac_fn_c_try_link "$LINENO"; then :
8153 eval "$as_ac_var=yes"
8154 else
8155 eval "$as_ac_var=no"
8157 rm -f core conftest.err conftest.$ac_objext \
8158 conftest$ac_exeext conftest.$ac_ext
8159 CFLAGS=$ac_wine_try_cflags_saved
8161 eval ac_res=\$$as_ac_var
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8163 $as_echo "$ac_res" >&6; }
8164 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8165 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8166 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8171 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8172 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 ac_wine_try_cflags_saved=$CFLAGS
8176 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 int main(int argc, char **argv) { return 0; }
8180 _ACEOF
8181 if ac_fn_c_try_link "$LINENO"; then :
8182 ac_cv_cflags__Wl___enable_new_dtags=yes
8183 else
8184 ac_cv_cflags__Wl___enable_new_dtags=no
8186 rm -f core conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 CFLAGS=$ac_wine_try_cflags_saved
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8191 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8192 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8193 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8196 case $host_cpu in
8197 *i[3456789]86* | x86_64)
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8199 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8200 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 ac_wine_try_cflags_saved=$CFLAGS
8204 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 int main(int argc, char **argv) { return 0; }
8208 _ACEOF
8209 if ac_fn_c_try_link "$LINENO"; then :
8210 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8211 else
8212 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8214 rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
8216 CFLAGS=$ac_wine_try_cflags_saved
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8219 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8220 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8221 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8224 esac
8226 libwine_targets="libwine.so"
8227 LIBWINE_RULES="
8228 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8230 all: libwine.so
8232 libwine.so: \$(OBJS)
8233 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8235 install install-lib:: libwine.so
8236 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8238 uninstall::
8239 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8243 as_fn_append LOADER_RULES "
8244 $wine_binary: main.o
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8247 wine-installed: main.o
8248 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8253 DLLFLAGS="$DLLFLAGS -fPIC"
8254 LDEXECFLAGS=""
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8256 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8257 if ${ac_cv_c_dll_gnuelf+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 void myfunc() {}
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 ac_cv_c_dll_gnuelf="yes"
8268 else
8269 ac_cv_c_dll_gnuelf="no"
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8276 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8277 if test "$ac_cv_c_dll_gnuelf" = "yes"
8278 then
8279 LDSHARED="\$(CC) -shared"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8281 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8282 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8283 $as_echo_n "(cached) " >&6
8284 else
8285 ac_wine_try_cflags_saved=$CFLAGS
8286 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8290 _ACEOF
8291 if ac_fn_c_try_link "$LINENO"; then :
8292 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8293 else
8294 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 CFLAGS=$ac_wine_try_cflags_saved
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8301 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8302 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8303 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8306 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8307 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 ac_wine_try_cflags_saved=$CFLAGS
8311 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8315 _ACEOF
8316 if ac_fn_c_try_link "$LINENO"; then :
8317 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8318 else
8319 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8321 rm -f core conftest.err conftest.$ac_objext \
8322 conftest$ac_exeext conftest.$ac_ext
8323 CFLAGS=$ac_wine_try_cflags_saved
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8326 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8327 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8328 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8332 echo '{ global: *; };' >conftest.map
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8334 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8335 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_wine_try_cflags_saved=$CFLAGS
8339 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8346 else
8347 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 CFLAGS=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8354 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8355 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8356 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8358 rm -f conftest.map
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8362 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8373 else
8374 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8381 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8382 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8383 LDEXECFLAGS="-Wl,--export-dynamic"
8386 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8388 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8389 if eval \${$as_ac_var+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_wine_try_cflags_saved=$CFLAGS
8393 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 int main(int argc, char **argv) { return 0; }
8397 _ACEOF
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 eval "$as_ac_var=yes"
8400 else
8401 eval "$as_ac_var=no"
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 CFLAGS=$ac_wine_try_cflags_saved
8407 eval ac_res=\$$as_ac_var
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8409 $as_echo "$ac_res" >&6; }
8410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8411 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8412 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8413 else
8414 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8417 if eval \${$as_ac_var+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 eval "$as_ac_var=yes"
8428 else
8429 eval "$as_ac_var=no"
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 eval ac_res=\$$as_ac_var
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8437 $as_echo "$ac_res" >&6; }
8438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8439 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8440 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8445 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8446 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__Wl___enable_new_dtags=yes
8457 else
8458 ac_cv_cflags__Wl___enable_new_dtags=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8465 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8466 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8467 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8470 case $host_cpu in
8471 *i[3456789]86* | x86_64)
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8473 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8474 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8485 else
8486 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8493 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8494 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8495 case $host_os in
8496 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8497 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8498 esac
8501 # Extract the first word of "prelink", so it can be a program name with args.
8502 set dummy prelink; ac_word=$2
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8504 $as_echo_n "checking for $ac_word... " >&6; }
8505 if ${ac_cv_path_PRELINK+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 case $PRELINK in
8509 [\\/]* | ?:[\\/]*)
8510 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 for as_dir in /sbin /usr/sbin $PATH
8516 IFS=$as_save_IFS
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8520 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 break 2
8524 done
8525 done
8526 IFS=$as_save_IFS
8528 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8530 esac
8532 PRELINK=$ac_cv_path_PRELINK
8533 if test -n "$PRELINK"; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8535 $as_echo "$PRELINK" >&6; }
8536 else
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538 $as_echo "no" >&6; }
8542 if test "x$PRELINK" = xfalse
8543 then
8544 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8547 esac
8549 else
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8551 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8552 if ${ac_cv_c_dll_unixware+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 void myfunc() {}
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 ac_cv_c_dll_unixware="yes"
8563 else
8564 ac_cv_c_dll_unixware="no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8571 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8572 if test "$ac_cv_c_dll_unixware" = "yes"
8573 then
8574 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8577 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8578 LIBWINE_RULES="
8579 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8581 all: libwine.so
8583 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8584 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8586 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8587 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8589 libwine.so: libwine.so.$libwine_soversion
8590 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8592 install install-lib:: libwine.so.$libwine_version
8593 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8594 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8596 install install-dev::
8597 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8599 uninstall::
8600 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8604 as_fn_append LOADER_RULES "
8605 $wine_binary: main.o
8606 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8608 wine-installed: main.o
8609 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8612 esac
8614 as_fn_append LIBWINE_RULES "
8615 EXTRA_TARGETS = $libwine_targets
8618 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8619 enable_winemac_drv=${enable_winemac_drv:-no}
8621 CROSSTARGET=""
8623 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8624 then
8625 case "$host_cpu" in
8626 i[3456789]86*)
8627 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
8628 mingw32-gcc" ;;
8629 x86_64)
8630 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 " ;;
8632 ac_prefix_list="" ;;
8633 esac
8634 for ac_prog in $ac_prefix_list
8636 # Extract the first word of "$ac_prog", so it can be a program name with args.
8637 set dummy $ac_prog; ac_word=$2
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8639 $as_echo_n "checking for $ac_word... " >&6; }
8640 if ${ac_cv_prog_CROSSCC+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 if test -n "$CROSSCC"; then
8644 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8645 else
8646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 for as_dir in $PATH
8649 IFS=$as_save_IFS
8650 test -z "$as_dir" && as_dir=.
8651 for ac_exec_ext in '' $ac_executable_extensions; do
8652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8653 ac_cv_prog_CROSSCC="$ac_prog"
8654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8655 break 2
8657 done
8658 done
8659 IFS=$as_save_IFS
8663 CROSSCC=$ac_cv_prog_CROSSCC
8664 if test -n "$CROSSCC"; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8666 $as_echo "$CROSSCC" >&6; }
8667 else
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8669 $as_echo "no" >&6; }
8673 test -n "$CROSSCC" && break
8674 done
8675 test -n "$CROSSCC" || CROSSCC="false"
8677 if test "$CROSSCC" != "false"
8678 then
8679 ac_save_CC="$CC"
8680 CC="$CROSSCC"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8682 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8687 main ()
8691 return 0;
8693 _ACEOF
8694 if ac_fn_c_try_compile "$LINENO"; then :
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8696 $as_echo "yes" >&6; }
8697 set x $CROSSCC
8698 shift
8699 while test $# -ge 1
8701 case "$1" in
8702 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8703 esac
8704 shift
8705 done
8706 else
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8711 CC="$ac_save_CC"
8716 if test "$ac_cv_header_pthread_h" = "yes"
8717 then
8718 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8719 if test "x$ac_cv_func_pthread_create" = xyes; then :
8721 else
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8723 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8724 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8725 $as_echo_n "(cached) " >&6
8726 else
8727 ac_check_lib_save_LIBS=$LIBS
8728 LIBS="-lpthread $LIBS"
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8732 /* Override any GCC internal prototype to avoid an error.
8733 Use char because int might match the return type of a GCC
8734 builtin and then its argument prototype would still apply. */
8735 #ifdef __cplusplus
8736 extern "C"
8737 #endif
8738 char pthread_create ();
8740 main ()
8742 return pthread_create ();
8744 return 0;
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_lib_pthread_pthread_create=yes
8749 else
8750 ac_cv_lib_pthread_pthread_create=no
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 LIBS=$ac_check_lib_save_LIBS
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8757 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8758 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8759 PTHREAD_LIBS="-lpthread"
8766 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8767 case "x$with_pthread" in
8768 xno) ;;
8769 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8770 Wine cannot support threads without libpthread.
8771 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8772 esac
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8777 $as_echo_n "checking for X... " >&6; }
8780 # Check whether --with-x was given.
8781 if test "${with_x+set}" = set; then :
8782 withval=$with_x;
8785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8786 if test "x$with_x" = xno; then
8787 # The user explicitly disabled X.
8788 have_x=disabled
8789 else
8790 case $x_includes,$x_libraries in #(
8791 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8792 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8793 $as_echo_n "(cached) " >&6
8794 else
8795 # One or both of the vars are not set, and there is no cached value.
8796 ac_x_includes=no ac_x_libraries=no
8797 rm -f -r conftest.dir
8798 if mkdir conftest.dir; then
8799 cd conftest.dir
8800 cat >Imakefile <<'_ACEOF'
8801 incroot:
8802 @echo incroot='${INCROOT}'
8803 usrlibdir:
8804 @echo usrlibdir='${USRLIBDIR}'
8805 libdir:
8806 @echo libdir='${LIBDIR}'
8807 _ACEOF
8808 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8810 for ac_var in incroot usrlibdir libdir; do
8811 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8812 done
8813 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8814 for ac_extension in a so sl dylib la dll; do
8815 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8816 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8817 ac_im_usrlibdir=$ac_im_libdir; break
8819 done
8820 # Screen out bogus values from the imake configuration. They are
8821 # bogus both because they are the default anyway, and because
8822 # using them would break gcc on systems where it needs fixed includes.
8823 case $ac_im_incroot in
8824 /usr/include) ac_x_includes= ;;
8825 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8826 esac
8827 case $ac_im_usrlibdir in
8828 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8829 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8830 esac
8832 cd ..
8833 rm -f -r conftest.dir
8836 # Standard set of common directories for X headers.
8837 # Check X11 before X11Rn because it is often a symlink to the current release.
8838 ac_x_header_dirs='
8839 /usr/X11/include
8840 /usr/X11R7/include
8841 /usr/X11R6/include
8842 /usr/X11R5/include
8843 /usr/X11R4/include
8845 /usr/include/X11
8846 /usr/include/X11R7
8847 /usr/include/X11R6
8848 /usr/include/X11R5
8849 /usr/include/X11R4
8851 /usr/local/X11/include
8852 /usr/local/X11R7/include
8853 /usr/local/X11R6/include
8854 /usr/local/X11R5/include
8855 /usr/local/X11R4/include
8857 /usr/local/include/X11
8858 /usr/local/include/X11R7
8859 /usr/local/include/X11R6
8860 /usr/local/include/X11R5
8861 /usr/local/include/X11R4
8863 /usr/X386/include
8864 /usr/x386/include
8865 /usr/XFree86/include/X11
8867 /usr/include
8868 /usr/local/include
8869 /usr/unsupported/include
8870 /usr/athena/include
8871 /usr/local/x11r5/include
8872 /usr/lpp/Xamples/include
8874 /usr/openwin/include
8875 /usr/openwin/share/include'
8877 if test "$ac_x_includes" = no; then
8878 # Guess where to find include files, by looking for Xlib.h.
8879 # First, try using that file with no special directory specified.
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 #include <X11/Xlib.h>
8883 _ACEOF
8884 if ac_fn_c_try_cpp "$LINENO"; then :
8885 # We can compile using X headers with no special include directory.
8886 ac_x_includes=
8887 else
8888 for ac_dir in $ac_x_header_dirs; do
8889 if test -r "$ac_dir/X11/Xlib.h"; then
8890 ac_x_includes=$ac_dir
8891 break
8893 done
8895 rm -f conftest.err conftest.i conftest.$ac_ext
8896 fi # $ac_x_includes = no
8898 if test "$ac_x_libraries" = no; then
8899 # Check for the libraries.
8900 # See if we find them without any special options.
8901 # Don't add to $LIBS permanently.
8902 ac_save_LIBS=$LIBS
8903 LIBS="-lX11 $LIBS"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 #include <X11/Xlib.h>
8908 main ()
8910 XrmInitialize ()
8912 return 0;
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 LIBS=$ac_save_LIBS
8917 # We can link X programs with no special library path.
8918 ac_x_libraries=
8919 else
8920 LIBS=$ac_save_LIBS
8921 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8923 # Don't even attempt the hair of trying to link an X program!
8924 for ac_extension in a so sl dylib la dll; do
8925 if test -r "$ac_dir/libX11.$ac_extension"; then
8926 ac_x_libraries=$ac_dir
8927 break 2
8929 done
8930 done
8932 rm -f core conftest.err conftest.$ac_objext \
8933 conftest$ac_exeext conftest.$ac_ext
8934 fi # $ac_x_libraries = no
8936 case $ac_x_includes,$ac_x_libraries in #(
8937 no,* | *,no | *\'*)
8938 # Didn't find X, or a directory has "'" in its name.
8939 ac_cv_have_x="have_x=no";; #(
8941 # Record where we found X for the cache.
8942 ac_cv_have_x="have_x=yes\
8943 ac_x_includes='$ac_x_includes'\
8944 ac_x_libraries='$ac_x_libraries'"
8945 esac
8947 ;; #(
8948 *) have_x=yes;;
8949 esac
8950 eval "$ac_cv_have_x"
8951 fi # $with_x != no
8953 if test "$have_x" != yes; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8955 $as_echo "$have_x" >&6; }
8956 no_x=yes
8957 else
8958 # If each of the values was on the command line, it overrides each guess.
8959 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8960 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8961 # Update the cache value to reflect the command line values.
8962 ac_cv_have_x="have_x=yes\
8963 ac_x_includes='$x_includes'\
8964 ac_x_libraries='$x_libraries'"
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8966 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8969 if test "$no_x" = yes; then
8970 # Not all programs may use this symbol, but it does not hurt to define it.
8972 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8974 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8975 else
8976 if test -n "$x_includes"; then
8977 X_CFLAGS="$X_CFLAGS -I$x_includes"
8980 # It would also be nice to do this for all -L options, not just this one.
8981 if test -n "$x_libraries"; then
8982 X_LIBS="$X_LIBS -L$x_libraries"
8983 # For Solaris; some versions of Sun CC require a space after -R and
8984 # others require no space. Words are not sufficient . . . .
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8986 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8987 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8988 ac_xsave_c_werror_flag=$ac_c_werror_flag
8989 ac_c_werror_flag=yes
8990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
8994 main ()
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9004 X_LIBS="$X_LIBS -R$x_libraries"
9005 else
9006 LIBS="$ac_xsave_LIBS -R $x_libraries"
9007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9011 main ()
9015 return 0;
9017 _ACEOF
9018 if ac_fn_c_try_link "$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9020 $as_echo "yes" >&6; }
9021 X_LIBS="$X_LIBS -R $x_libraries"
9022 else
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9024 $as_echo "neither works" >&6; }
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9029 rm -f core conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 ac_c_werror_flag=$ac_xsave_c_werror_flag
9032 LIBS=$ac_xsave_LIBS
9035 # Check for system-dependent libraries X programs must link with.
9036 # Do this before checking for the system-independent R6 libraries
9037 # (-lICE), since we may need -lsocket or whatever for X linking.
9039 if test "$ISC" = yes; then
9040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9041 else
9042 # Martyn Johnson says this is needed for Ultrix, if the X
9043 # libraries were built with DECnet support. And Karl Berry says
9044 # the Alpha needs dnet_stub (dnet does not exist).
9045 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char XOpenDisplay ();
9057 main ()
9059 return XOpenDisplay ();
9061 return 0;
9063 _ACEOF
9064 if ac_fn_c_try_link "$LINENO"; then :
9066 else
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9068 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9069 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 ac_check_lib_save_LIBS=$LIBS
9073 LIBS="-ldnet $LIBS"
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9077 /* Override any GCC internal prototype to avoid an error.
9078 Use char because int might match the return type of a GCC
9079 builtin and then its argument prototype would still apply. */
9080 #ifdef __cplusplus
9081 extern "C"
9082 #endif
9083 char dnet_ntoa ();
9085 main ()
9087 return dnet_ntoa ();
9089 return 0;
9091 _ACEOF
9092 if ac_fn_c_try_link "$LINENO"; then :
9093 ac_cv_lib_dnet_dnet_ntoa=yes
9094 else
9095 ac_cv_lib_dnet_dnet_ntoa=no
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 LIBS=$ac_check_lib_save_LIBS
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9102 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9103 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9104 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9107 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9109 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9110 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 ac_check_lib_save_LIBS=$LIBS
9114 LIBS="-ldnet_stub $LIBS"
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9121 #ifdef __cplusplus
9122 extern "C"
9123 #endif
9124 char dnet_ntoa ();
9126 main ()
9128 return dnet_ntoa ();
9130 return 0;
9132 _ACEOF
9133 if ac_fn_c_try_link "$LINENO"; then :
9134 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9135 else
9136 ac_cv_lib_dnet_stub_dnet_ntoa=no
9138 rm -f core conftest.err conftest.$ac_objext \
9139 conftest$ac_exeext conftest.$ac_ext
9140 LIBS=$ac_check_lib_save_LIBS
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9143 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9144 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9145 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 LIBS="$ac_xsave_LIBS"
9154 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9155 # to get the SysV transport functions.
9156 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9157 # needs -lnsl.
9158 # The nsl library prevents programs from opening the X display
9159 # on Irix 5.2, according to T.E. Dickey.
9160 # The functions gethostbyname, getservbyname, and inet_addr are
9161 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9162 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9163 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9167 if test $ac_cv_func_gethostbyname = no; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9169 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9170 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_lib_save_LIBS=$LIBS
9174 LIBS="-lnsl $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char gethostbyname ();
9186 main ()
9188 return gethostbyname ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 ac_cv_lib_nsl_gethostbyname=yes
9195 else
9196 ac_cv_lib_nsl_gethostbyname=no
9198 rm -f core conftest.err conftest.$ac_objext \
9199 conftest$ac_exeext conftest.$ac_ext
9200 LIBS=$ac_check_lib_save_LIBS
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9203 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9204 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9205 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9208 if test $ac_cv_lib_nsl_gethostbyname = no; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9210 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9211 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_check_lib_save_LIBS=$LIBS
9215 LIBS="-lbsd $LIBS"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char gethostbyname ();
9227 main ()
9229 return gethostbyname ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 ac_cv_lib_bsd_gethostbyname=yes
9236 else
9237 ac_cv_lib_bsd_gethostbyname=no
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9244 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9245 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9252 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9253 # socket/setsockopt and other routines are undefined under SCO ODT
9254 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9255 # on later versions), says Simon Leinen: it contains gethostby*
9256 # variants that don't use the name server (or something). -lsocket
9257 # must be given before -lnsl if both are needed. We assume that
9258 # if connect needs -lnsl, so does gethostbyname.
9259 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9260 if test "x$ac_cv_func_connect" = xyes; then :
9264 if test $ac_cv_func_connect = no; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9266 $as_echo_n "checking for connect in -lsocket... " >&6; }
9267 if ${ac_cv_lib_socket_connect+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_lib_save_LIBS=$LIBS
9271 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char connect ();
9283 main ()
9285 return connect ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_lib_socket_connect=yes
9292 else
9293 ac_cv_lib_socket_connect=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9300 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9301 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9302 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9307 # Guillermo Gomez says -lposix is necessary on A/UX.
9308 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9309 if test "x$ac_cv_func_remove" = xyes; then :
9313 if test $ac_cv_func_remove = no; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9315 $as_echo_n "checking for remove in -lposix... " >&6; }
9316 if ${ac_cv_lib_posix_remove+:} false; then :
9317 $as_echo_n "(cached) " >&6
9318 else
9319 ac_check_lib_save_LIBS=$LIBS
9320 LIBS="-lposix $LIBS"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char remove ();
9332 main ()
9334 return remove ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9340 ac_cv_lib_posix_remove=yes
9341 else
9342 ac_cv_lib_posix_remove=no
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_lib_save_LIBS
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9349 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9350 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9356 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9357 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9358 if test "x$ac_cv_func_shmat" = xyes; then :
9362 if test $ac_cv_func_shmat = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9364 $as_echo_n "checking for shmat in -lipc... " >&6; }
9365 if ${ac_cv_lib_ipc_shmat+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-lipc $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char shmat ();
9381 main ()
9383 return shmat ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_ipc_shmat=yes
9390 else
9391 ac_cv_lib_ipc_shmat=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9398 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9399 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9400 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9406 # Check for libraries that X11R6 Xt/Xaw programs need.
9407 ac_save_LDFLAGS=$LDFLAGS
9408 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9409 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9410 # check for ICE first), but we must link in the order -lSM -lICE or
9411 # we get undefined symbols. So assume we have SM if we have ICE.
9412 # These have to be linked with before -lX11, unlike the other
9413 # libraries we check for below, so use a different variable.
9414 # John Interrante, Karl Berry
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9416 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9417 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9418 $as_echo_n "(cached) " >&6
9419 else
9420 ac_check_lib_save_LIBS=$LIBS
9421 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9428 #ifdef __cplusplus
9429 extern "C"
9430 #endif
9431 char IceConnectionNumber ();
9433 main ()
9435 return IceConnectionNumber ();
9437 return 0;
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_lib_ICE_IceConnectionNumber=yes
9442 else
9443 ac_cv_lib_ICE_IceConnectionNumber=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 LIBS=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9450 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9451 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9452 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9455 LDFLAGS=$ac_save_LDFLAGS
9460 if test "$have_x" = "yes"
9461 then
9462 ac_save_CPPFLAGS="$CPPFLAGS"
9463 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9466 $as_echo_n "checking for -lX11... " >&6; }
9467 if ${ac_cv_lib_soname_X11+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_check_soname_save_LIBS=$LIBS
9471 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9478 #ifdef __cplusplus
9479 extern "C"
9480 #endif
9481 char XCreateWindow ();
9483 main ()
9485 return XCreateWindow ();
9487 return 0;
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9491 case "$LIBEXT" in
9492 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9493 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'` ;;
9494 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9495 if ${ac_cv_lib_soname_X11:+false} :; then :
9496 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9497 fi ;;
9498 esac
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 LIBS=$ac_check_soname_save_LIBS
9504 if ${ac_cv_lib_soname_X11:+false} :; then :
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9506 $as_echo "not found" >&6; }
9508 else
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9510 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9512 cat >>confdefs.h <<_ACEOF
9513 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9514 _ACEOF
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9519 $as_echo_n "checking for -lXext... " >&6; }
9520 if ${ac_cv_lib_soname_Xext+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_check_soname_save_LIBS=$LIBS
9524 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char XextCreateExtension ();
9536 main ()
9538 return XextCreateExtension ();
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 case "$LIBEXT" in
9545 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9546 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'` ;;
9547 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9548 if ${ac_cv_lib_soname_Xext:+false} :; then :
9549 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9550 fi ;;
9551 esac
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 LIBS=$ac_check_soname_save_LIBS
9557 if ${ac_cv_lib_soname_Xext:+false} :; then :
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9559 $as_echo "not found" >&6; }
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9563 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9565 cat >>confdefs.h <<_ACEOF
9566 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9567 _ACEOF
9569 X_LIBS="$X_LIBS -lXext"
9571 X_LIBS="$X_LIBS -lX11"
9573 for ac_header in X11/Xlib.h \
9574 X11/XKBlib.h \
9575 X11/Xutil.h \
9576 X11/Xcursor/Xcursor.h \
9577 X11/extensions/shape.h \
9578 X11/extensions/XInput.h \
9579 X11/extensions/XInput2.h \
9580 X11/extensions/XShm.h \
9581 X11/extensions/Xcomposite.h \
9582 X11/extensions/Xinerama.h \
9583 X11/extensions/Xrandr.h \
9584 X11/extensions/Xrender.h \
9585 X11/extensions/xf86vmode.h \
9586 X11/extensions/xf86vmproto.h
9587 do :
9588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9589 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9590 # include <X11/Xlib.h>
9591 #endif
9592 #ifdef HAVE_X11_XUTIL_H
9593 # include <X11/Xutil.h>
9594 #endif
9596 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9597 cat >>confdefs.h <<_ACEOF
9598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9599 _ACEOF
9603 done
9606 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9607 then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9609 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9610 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_check_lib_save_LIBS=$LIBS
9614 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9621 #ifdef __cplusplus
9622 extern "C"
9623 #endif
9624 char XkbQueryExtension ();
9626 main ()
9628 return XkbQueryExtension ();
9630 return 0;
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634 ac_cv_lib_X11_XkbQueryExtension=yes
9635 else
9636 ac_cv_lib_X11_XkbQueryExtension=no
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9643 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9644 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9646 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9652 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9653 then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9655 $as_echo_n "checking for -lXcursor... " >&6; }
9656 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_check_soname_save_LIBS=$LIBS
9660 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9667 #ifdef __cplusplus
9668 extern "C"
9669 #endif
9670 char XcursorImageLoadCursor ();
9672 main ()
9674 return XcursorImageLoadCursor ();
9676 return 0;
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680 case "$LIBEXT" in
9681 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9684 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9685 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9686 fi ;;
9687 esac
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_soname_save_LIBS
9693 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9695 $as_echo "not found" >&6; }
9697 else
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9699 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9701 cat >>confdefs.h <<_ACEOF
9702 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9703 _ACEOF
9708 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9709 case "x$with_xcursor" in
9710 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9711 xno) ;;
9712 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9713 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9714 esac
9717 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9718 then
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9720 $as_echo_n "checking for -lXi... " >&6; }
9721 if ${ac_cv_lib_soname_Xi+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 ac_check_soname_save_LIBS=$LIBS
9725 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9732 #ifdef __cplusplus
9733 extern "C"
9734 #endif
9735 char XOpenDevice ();
9737 main ()
9739 return XOpenDevice ();
9741 return 0;
9743 _ACEOF
9744 if ac_fn_c_try_link "$LINENO"; then :
9745 case "$LIBEXT" in
9746 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9747 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'` ;;
9748 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9749 if ${ac_cv_lib_soname_Xi:+false} :; then :
9750 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9751 fi ;;
9752 esac
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_soname_save_LIBS
9758 if ${ac_cv_lib_soname_Xi:+false} :; then :
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9760 $as_echo "not found" >&6; }
9762 else
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9764 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9766 cat >>confdefs.h <<_ACEOF
9767 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9768 _ACEOF
9773 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9774 case "x$with_xinput" in
9775 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9776 xno) ;;
9777 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9778 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9779 esac
9782 if test "x$ac_cv_lib_soname_Xi" != x
9783 then
9784 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9785 case "x$with_xinput2" in
9786 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9787 xno) ;;
9788 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9789 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9790 esac
9794 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9795 then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9797 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9798 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 ac_check_lib_save_LIBS=$LIBS
9802 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9809 #ifdef __cplusplus
9810 extern "C"
9811 #endif
9812 char XShmQueryExtension ();
9814 main ()
9816 return XShmQueryExtension ();
9818 return 0;
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 ac_cv_lib_Xext_XShmQueryExtension=yes
9823 else
9824 ac_cv_lib_Xext_XShmQueryExtension=no
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_lib_save_LIBS
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9831 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9832 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9834 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9839 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9840 case "x$with_xshm" in
9841 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9842 xno) ;;
9843 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9844 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9845 esac
9848 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9849 then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9851 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9852 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_check_lib_save_LIBS=$LIBS
9856 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9863 #ifdef __cplusplus
9864 extern "C"
9865 #endif
9866 char XShapeQueryExtension ();
9868 main ()
9870 return XShapeQueryExtension ();
9872 return 0;
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 ac_cv_lib_Xext_XShapeQueryExtension=yes
9877 else
9878 ac_cv_lib_Xext_XShapeQueryExtension=no
9880 rm -f core conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9885 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9886 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9888 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9893 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9894 case "x$with_xshape" in
9895 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9896 xno) ;;
9897 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9898 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9899 esac
9902 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9903 then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9905 $as_echo_n "checking for -lXxf86vm... " >&6; }
9906 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9907 $as_echo_n "(cached) " >&6
9908 else
9909 ac_check_soname_save_LIBS=$LIBS
9910 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9917 #ifdef __cplusplus
9918 extern "C"
9919 #endif
9920 char XF86VidModeQueryExtension ();
9922 main ()
9924 return XF86VidModeQueryExtension ();
9926 return 0;
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 case "$LIBEXT" in
9931 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9932 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'` ;;
9933 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9934 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9935 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9936 fi ;;
9937 esac
9939 rm -f core conftest.err conftest.$ac_objext \
9940 conftest$ac_exeext conftest.$ac_ext
9941 LIBS=$ac_check_soname_save_LIBS
9943 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9945 $as_echo "not found" >&6; }
9947 else
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9949 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9951 cat >>confdefs.h <<_ACEOF
9952 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9953 _ACEOF
9958 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9959 case "x$with_xxf86vm" in
9960 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9961 xno) ;;
9962 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9963 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9964 esac
9967 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9968 then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9970 $as_echo_n "checking for -lXrender... " >&6; }
9971 if ${ac_cv_lib_soname_Xrender+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_check_soname_save_LIBS=$LIBS
9975 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9982 #ifdef __cplusplus
9983 extern "C"
9984 #endif
9985 char XRenderQueryExtension ();
9987 main ()
9989 return XRenderQueryExtension ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 case "$LIBEXT" in
9996 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9997 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'` ;;
9998 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9999 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10000 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10001 fi ;;
10002 esac
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10006 LIBS=$ac_check_soname_save_LIBS
10008 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10010 $as_echo "not found" >&6; }
10012 else
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10014 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10016 cat >>confdefs.h <<_ACEOF
10017 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10018 _ACEOF
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10021 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10022 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char XRenderSetPictureTransform ();
10038 main ()
10040 return XRenderSetPictureTransform ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10047 else
10048 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10055 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10056 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10058 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10063 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10064 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XRenderCreateLinearGradient ();
10080 main ()
10082 return XRenderCreateLinearGradient ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10089 else
10090 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10097 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10098 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10100 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10107 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10108 case "x$with_xrender" in
10109 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10110 xno) ;;
10111 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10112 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10113 esac
10116 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10117 then
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10120 #include <X11/Xlib.h>
10121 #include <X11/extensions/Xrandr.h>
10123 main ()
10125 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_compile "$LINENO"; then :
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10132 $as_echo_n "checking for -lXrandr... " >&6; }
10133 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 ac_check_soname_save_LIBS=$LIBS
10137 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10144 #ifdef __cplusplus
10145 extern "C"
10146 #endif
10147 char XRRQueryExtension ();
10149 main ()
10151 return XRRQueryExtension ();
10153 return 0;
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 case "$LIBEXT" in
10158 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10159 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'` ;;
10160 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10161 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10162 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10163 fi ;;
10164 esac
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_soname_save_LIBS
10170 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10172 $as_echo "not found" >&6; }
10174 else
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10176 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10178 cat >>confdefs.h <<_ACEOF
10179 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10180 _ACEOF
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 #include <X11/Xlib.h>
10185 #include <X11/extensions/Xrandr.h>
10187 main ()
10189 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10191 return 0;
10193 _ACEOF
10194 if ac_fn_c_try_compile "$LINENO"; then :
10196 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10204 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10205 case "x$with_xrandr" in
10206 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10207 xno) ;;
10208 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10209 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10210 esac
10213 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10214 then
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 #include <X11/Xlib.h>
10218 #include <X11/extensions/Xinerama.h>
10220 main ()
10222 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10224 return 0;
10226 _ACEOF
10227 if ac_fn_c_try_compile "$LINENO"; then :
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10229 $as_echo_n "checking for -lXinerama... " >&6; }
10230 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_check_soname_save_LIBS=$LIBS
10234 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char XineramaQueryScreens ();
10246 main ()
10248 return XineramaQueryScreens ();
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 case "$LIBEXT" in
10255 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10256 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'` ;;
10257 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10258 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10259 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10260 fi ;;
10261 esac
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_soname_save_LIBS
10267 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10269 $as_echo "not found" >&6; }
10271 else
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10273 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10275 cat >>confdefs.h <<_ACEOF
10276 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10277 _ACEOF
10282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10284 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10285 case "x$with_xinerama" in
10286 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10287 xno) ;;
10288 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10290 esac
10293 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10294 then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10296 $as_echo_n "checking for -lXcomposite... " >&6; }
10297 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_check_soname_save_LIBS=$LIBS
10301 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10308 #ifdef __cplusplus
10309 extern "C"
10310 #endif
10311 char XCompositeRedirectWindow ();
10313 main ()
10315 return XCompositeRedirectWindow ();
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_link "$LINENO"; then :
10321 case "$LIBEXT" in
10322 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10323 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'` ;;
10324 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10325 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10326 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10327 fi ;;
10328 esac
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_soname_save_LIBS
10334 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10336 $as_echo "not found" >&6; }
10338 else
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10340 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10342 cat >>confdefs.h <<_ACEOF
10343 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10344 _ACEOF
10349 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10350 case "x$with_xcomposite" in
10351 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10352 xno) ;;
10353 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10354 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10355 esac
10358 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10359 #include <X11/Xlib.h>
10360 #endif
10362 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10364 cat >>confdefs.h <<_ACEOF
10365 #define HAVE_XICCALLBACK_CALLBACK 1
10366 _ACEOF
10370 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10371 #include <X11/Xlib.h>
10372 #endif
10374 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10376 cat >>confdefs.h <<_ACEOF
10377 #define HAVE_XEVENT_XCOOKIE 1
10378 _ACEOF
10385 opengl_msg=""
10386 if test "x$with_opengl" != "xno"
10387 then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10389 $as_echo_n "checking for -lGL... " >&6; }
10390 if ${ac_cv_lib_soname_GL+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_check_soname_save_LIBS=$LIBS
10394 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10401 #ifdef __cplusplus
10402 extern "C"
10403 #endif
10404 char glXCreateContext ();
10406 main ()
10408 return glXCreateContext ();
10410 return 0;
10412 _ACEOF
10413 if ac_fn_c_try_link "$LINENO"; then :
10414 case "$LIBEXT" in
10415 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_GL:+false} :; then :
10419 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10420 fi ;;
10421 esac
10423 rm -f core conftest.err conftest.$ac_objext \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_GL:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10431 $as_echo_n "checking for -lGL... " >&6; }
10432 if ${ac_cv_lib_soname_GL+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_check_soname_save_LIBS=$LIBS
10436 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"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10443 #ifdef __cplusplus
10444 extern "C"
10445 #endif
10446 char glXCreateContext ();
10448 main ()
10450 return glXCreateContext ();
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 case "$LIBEXT" in
10457 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if ${ac_cv_lib_soname_GL:+false} :; then :
10461 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 fi ;;
10463 esac
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_soname_save_LIBS
10469 if ${ac_cv_lib_soname_GL:+false} :; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10472 if test -f /usr/X11R6/lib/libGL.a
10473 then
10474 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10475 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10476 else
10477 opengl_msg="No OpenGL library found on this system."
10479 else
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10481 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10483 cat >>confdefs.h <<_ACEOF
10484 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10485 _ACEOF
10487 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"
10489 else
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10491 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10493 cat >>confdefs.h <<_ACEOF
10494 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10495 _ACEOF
10497 OPENGL_LIBS="-lGL"
10499 if test "x$with_glu" != "xno"
10500 then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10502 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10503 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10504 $as_echo_n "(cached) " >&6
10505 else
10506 ac_check_lib_save_LIBS=$LIBS
10507 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10514 #ifdef __cplusplus
10515 extern "C"
10516 #endif
10517 char gluLookAt ();
10519 main ()
10521 return gluLookAt ();
10523 return 0;
10525 _ACEOF
10526 if ac_fn_c_try_link "$LINENO"; then :
10527 ac_cv_lib_GLU_gluLookAt=yes
10528 else
10529 ac_cv_lib_GLU_gluLookAt=no
10531 rm -f core conftest.err conftest.$ac_objext \
10532 conftest$ac_exeext conftest.$ac_ext
10533 LIBS=$ac_check_lib_save_LIBS
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10536 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10537 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10541 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10542 case "x$with_glu" in
10543 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10546 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10547 esac
10551 if test "x$with_osmesa" != "xno"
10552 then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10554 $as_echo_n "checking for -lOSMesa... " >&6; }
10555 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10556 $as_echo_n "(cached) " >&6
10557 else
10558 ac_check_soname_save_LIBS=$LIBS
10559 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10566 #ifdef __cplusplus
10567 extern "C"
10568 #endif
10569 char glAccum ();
10571 main ()
10573 return glAccum ();
10575 return 0;
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 case "$LIBEXT" in
10580 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10583 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10584 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 fi ;;
10586 esac
10588 rm -f core conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_soname_save_LIBS
10592 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10596 else
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10598 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10602 _ACEOF
10606 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10607 case "x$with_osmesa" in
10608 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10609 xno) ;;
10610 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10611 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10612 esac
10616 if test -n "$opengl_msg"; then :
10617 case "x$with_opengl" in
10618 x) as_fn_append wine_warnings "|$opengl_msg
10619 OpenGL and Direct3D won't be supported." ;;
10620 xno) ;;
10621 *) as_fn_error $? "$opengl_msg
10622 OpenGL and Direct3D won't be supported.
10623 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10624 esac
10627 CPPFLAGS="$ac_save_CPPFLAGS"
10628 else
10629 X_CFLAGS=""
10630 X_LIBS=""
10631 enable_winex11_drv=${enable_winex11_drv:-no}
10633 if test "x$X_LIBS" = "x"; then :
10634 case "x$with_x" in
10635 xno) ;;
10636 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10637 without X support, which probably isn't what you want. You will need
10638 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10639 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10640 esac
10643 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10645 if test "$ac_cv_header_CL_cl_h" = "yes"
10646 then
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10648 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10649 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_lib_save_LIBS=$LIBS
10653 LIBS="-lOpenCL $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char clGetPlatformInfo ();
10665 main ()
10667 return clGetPlatformInfo ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10674 else
10675 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10682 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10683 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10684 OPENCL_LIBS="-lOpenCL"
10689 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10690 case "x$with_opencl" in
10691 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10692 xno) ;;
10693 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10694 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10695 esac
10697 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10699 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10700 then
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10702 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10703 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_lib_save_LIBS=$LIBS
10707 LIBS="-lpcap $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char pcap_create ();
10719 main ()
10721 return pcap_create ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_lib_pcap_pcap_create=yes
10728 else
10729 ac_cv_lib_pcap_pcap_create=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LIBS=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10736 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10737 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10738 LIBPCAP="-lpcap"
10743 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10744 case "x$with_pcap" in
10745 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10746 xno) ;;
10747 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10748 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10749 esac
10751 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10754 if test "x$with_xml" != "xno"
10755 then
10756 if ${XML2_CFLAGS:+false} :; then :
10757 if ${PKG_CONFIG+:} false; then :
10758 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10761 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10762 if ${XML2_LIBS:+false} :; then :
10763 if ${PKG_CONFIG+:} false; then :
10764 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10767 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10768 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10769 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10770 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10771 ac_save_CPPFLAGS=$CPPFLAGS
10772 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10773 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10774 do :
10775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10776 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10778 cat >>confdefs.h <<_ACEOF
10779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10780 _ACEOF
10784 done
10786 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"
10787 then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10789 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10790 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_lib_save_LIBS=$LIBS
10794 LIBS="-lxml2 $XML2_LIBS $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char xmlParseMemory ();
10806 main ()
10808 return xmlParseMemory ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 ac_cv_lib_xml2_xmlParseMemory=yes
10815 else
10816 ac_cv_lib_xml2_xmlParseMemory=no
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10823 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10824 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10826 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10828 else
10829 XML2_LIBS=""
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10833 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10834 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_lib_save_LIBS=$LIBS
10838 LIBS="-lxml2 $XML2_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char xmlReadMemory ();
10850 main ()
10852 return xmlReadMemory ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 ac_cv_lib_xml2_xmlReadMemory=yes
10859 else
10860 ac_cv_lib_xml2_xmlReadMemory=no
10862 rm -f core conftest.err conftest.$ac_objext \
10863 conftest$ac_exeext conftest.$ac_ext
10864 LIBS=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10867 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10868 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10870 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10875 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10876 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-lxml2 $XML2_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char xmlNewDocPI ();
10892 main ()
10894 return xmlNewDocPI ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 ac_cv_lib_xml2_xmlNewDocPI=yes
10901 else
10902 ac_cv_lib_xml2_xmlNewDocPI=no
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10909 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10910 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10912 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10917 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10918 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10919 $as_echo_n "(cached) " >&6
10920 else
10921 ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-lxml2 $XML2_LIBS $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char xmlSchemaSetParserStructuredErrors ();
10934 main ()
10936 return xmlSchemaSetParserStructuredErrors ();
10938 return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10943 else
10944 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10951 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10952 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10954 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10959 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char xmlSchemaSetValidStructuredErrors ();
10976 main ()
10978 return xmlSchemaSetValidStructuredErrors ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10985 else
10986 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10996 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11001 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char xmlFirstElementChild ();
11018 main ()
11020 return xmlFirstElementChild ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_xml2_xmlFirstElementChild=yes
11027 else
11028 ac_cv_lib_xml2_xmlFirstElementChild=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11038 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11042 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11044 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11046 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11050 else
11051 XML2_CFLAGS=""
11052 XML2_LIBS=""
11054 CPPFLAGS=$ac_save_CPPFLAGS
11055 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11056 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11059 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11060 case "x$with_xml" in
11061 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11062 xno) ;;
11063 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11064 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11065 esac
11068 if test "x$with_xslt" != "xno"
11069 then
11070 if ${XSLT_CFLAGS:+false} :; then :
11071 if ${PKG_CONFIG+:} false; then :
11072 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11075 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11076 if ${XSLT_LIBS:+false} :; then :
11077 if ${PKG_CONFIG+:} false; then :
11078 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11081 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11082 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11083 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11085 ac_save_CPPFLAGS=$CPPFLAGS
11086 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11087 for ac_header in libxslt/pattern.h libxslt/transform.h
11088 do :
11089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11090 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11091 # include <libxslt/pattern.h>
11092 #endif
11094 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11095 cat >>confdefs.h <<_ACEOF
11096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11097 _ACEOF
11101 done
11103 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11104 then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11106 $as_echo_n "checking for -lxslt... " >&6; }
11107 if ${ac_cv_lib_soname_xslt+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_soname_save_LIBS=$LIBS
11111 LIBS="-lxslt $XSLT_LIBS $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char xsltCompilePattern ();
11123 main ()
11125 return xsltCompilePattern ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 case "$LIBEXT" in
11132 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11133 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'` ;;
11134 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11135 if ${ac_cv_lib_soname_xslt:+false} :; then :
11136 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11137 fi ;;
11138 esac
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_soname_save_LIBS
11144 if ${ac_cv_lib_soname_xslt:+false} :; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11146 $as_echo "not found" >&6; }
11148 else
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11150 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11152 cat >>confdefs.h <<_ACEOF
11153 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11154 _ACEOF
11158 else
11159 XSLT_CFLAGS=""
11161 CPPFLAGS=$ac_save_CPPFLAGS
11162 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11163 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11166 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11167 case "x$with_xslt" in
11168 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11169 xno) ;;
11170 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11171 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11172 esac
11175 if test "x$with_dbus" != "xno"
11176 then
11177 if ${DBUS_CFLAGS:+false} :; then :
11178 if ${PKG_CONFIG+:} false; then :
11179 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11183 if ${DBUS_LIBS:+false} :; then :
11184 if ${PKG_CONFIG+:} false; then :
11185 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11190 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11191 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11192 ac_save_CPPFLAGS=$CPPFLAGS
11193 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11194 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11195 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11197 $as_echo_n "checking for -ldbus-1... " >&6; }
11198 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_soname_save_LIBS=$LIBS
11202 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char dbus_connection_close ();
11214 main ()
11216 return dbus_connection_close ();
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 case "$LIBEXT" in
11223 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11224 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'` ;;
11225 *) 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'`
11226 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11227 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11228 fi ;;
11229 esac
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_soname_save_LIBS
11235 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11237 $as_echo "not found" >&6; }
11238 DBUS_CFLAGS=""
11239 else
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11241 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11243 cat >>confdefs.h <<_ACEOF
11244 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11245 _ACEOF
11249 else
11250 DBUS_CFLAGS=""
11254 CPPFLAGS=$ac_save_CPPFLAGS
11255 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11256 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11259 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11260 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11261 case "x$with_dbus" in
11262 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11263 xno) ;;
11264 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11265 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11266 esac
11269 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11270 then
11271 if ${HAL_CFLAGS:+false} :; then :
11272 if ${PKG_CONFIG+:} false; then :
11273 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11277 if ${HAL_LIBS:+false} :; then :
11278 if ${PKG_CONFIG+:} false; then :
11279 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11283 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11284 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11285 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11286 ac_save_CPPFLAGS=$CPPFLAGS
11287 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11288 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11289 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11291 $as_echo_n "checking for -lhal... " >&6; }
11292 if ${ac_cv_lib_soname_hal+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_soname_save_LIBS=$LIBS
11296 LIBS="-lhal $HAL_LIBS $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char libhal_ctx_new ();
11308 main ()
11310 return libhal_ctx_new ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 case "$LIBEXT" in
11317 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11318 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'` ;;
11319 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11320 if ${ac_cv_lib_soname_hal:+false} :; then :
11321 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11322 fi ;;
11323 esac
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_soname_save_LIBS
11329 if ${ac_cv_lib_soname_hal:+false} :; then :
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11331 $as_echo "not found" >&6; }
11332 HAL_CFLAGS=""
11333 else
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11335 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11337 cat >>confdefs.h <<_ACEOF
11338 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11339 _ACEOF
11343 else
11344 HAL_CFLAGS=""
11348 CPPFLAGS=$ac_save_CPPFLAGS
11349 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11350 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11352 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11353 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11354 case "x$with_hal" in
11355 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11356 xno) ;;
11357 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11358 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11359 esac
11363 if test "x$with_gnutls" != "xno"
11364 then
11365 if ${GNUTLS_CFLAGS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11371 if ${GNUTLS_LIBS:+false} :; then :
11372 if ${PKG_CONFIG+:} false; then :
11373 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11378 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11379 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11380 ac_save_CPPFLAGS=$CPPFLAGS
11381 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11382 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11383 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 #include <gnutls/gnutls.h>
11387 #include <gnutls/crypto.h>
11389 main ()
11391 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_compile "$LINENO"; then :
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11398 $as_echo_n "checking for -lgnutls... " >&6; }
11399 if ${ac_cv_lib_soname_gnutls+:} false; then :
11400 $as_echo_n "(cached) " >&6
11401 else
11402 ac_check_soname_save_LIBS=$LIBS
11403 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11410 #ifdef __cplusplus
11411 extern "C"
11412 #endif
11413 char gnutls_global_init ();
11415 main ()
11417 return gnutls_global_init ();
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 case "$LIBEXT" in
11424 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11425 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'` ;;
11426 *) 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'`
11427 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11428 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'`
11429 fi ;;
11430 esac
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_soname_save_LIBS
11436 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11438 $as_echo "not found" >&6; }
11439 GNUTLS_CFLAGS=""
11440 else
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11442 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11444 cat >>confdefs.h <<_ACEOF
11445 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11446 _ACEOF
11451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11452 else
11453 GNUTLS_CFLAGS=""
11457 CPPFLAGS=$ac_save_CPPFLAGS
11458 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11459 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11462 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11463 case "x$with_gnutls" in
11464 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11465 xno) ;;
11466 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11467 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11468 esac
11471 CURSES_LIBS=""
11472 if test "$ac_cv_header_ncurses_h" = "yes"
11473 then
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11475 $as_echo_n "checking for -lncurses... " >&6; }
11476 if ${ac_cv_lib_soname_ncurses+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lncurses $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char waddch ();
11492 main ()
11494 return waddch ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'`
11504 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11505 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11519 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11523 _ACEOF
11525 CURSES_LIBS="-lncurses"
11527 elif test "$ac_cv_header_curses_h" = "yes"
11528 then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11530 $as_echo_n "checking for -lcurses... " >&6; }
11531 if ${ac_cv_lib_soname_curses+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_soname_save_LIBS=$LIBS
11535 LIBS="-lcurses $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char waddch ();
11547 main ()
11549 return waddch ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 case "$LIBEXT" in
11556 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_curses:+false} :; then :
11560 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 fi ;;
11562 esac
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_curses:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11574 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11578 _ACEOF
11580 CURSES_LIBS="-lcurses"
11583 ac_save_LIBS="$LIBS"
11584 LIBS="$LIBS $CURSES_LIBS"
11585 for ac_func in mousemask
11586 do :
11587 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11588 if test "x$ac_cv_func_mousemask" = xyes; then :
11589 cat >>confdefs.h <<_ACEOF
11590 #define HAVE_MOUSEMASK 1
11591 _ACEOF
11594 done
11596 LIBS="$ac_save_LIBS"
11597 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11598 case "x$with_curses" in
11599 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11600 xno) ;;
11601 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11602 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11603 esac
11606 if test "x$with_sane" != "xno"
11607 then
11608 if ${SANE_CFLAGS:+false} :; then :
11609 if ${PKG_CONFIG+:} false; then :
11610 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11613 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11614 if ${SANE_LIBS:+false} :; then :
11615 if ${PKG_CONFIG+:} false; then :
11616 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11619 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11621 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11622 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11623 ac_save_CPPFLAGS=$CPPFLAGS
11624 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11625 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11626 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11628 $as_echo_n "checking for -lsane... " >&6; }
11629 if ${ac_cv_lib_soname_sane+:} false; then :
11630 $as_echo_n "(cached) " >&6
11631 else
11632 ac_check_soname_save_LIBS=$LIBS
11633 LIBS="-lsane $SANE_LIBS $LIBS"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char sane_init ();
11645 main ()
11647 return sane_init ();
11649 return 0;
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 case "$LIBEXT" in
11654 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11657 if ${ac_cv_lib_soname_sane:+false} :; then :
11658 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11659 fi ;;
11660 esac
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_sane:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11669 SANE_CFLAGS=""
11670 else
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11672 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11674 cat >>confdefs.h <<_ACEOF
11675 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11676 _ACEOF
11680 else
11681 SANE_CFLAGS=""
11685 CPPFLAGS=$ac_save_CPPFLAGS
11686 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11687 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11690 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11691 case "x$with_sane" in
11692 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11693 xno) ;;
11694 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11695 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11696 esac
11699 if test "x$with_v4l" != "xno"
11700 then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11702 $as_echo_n "checking for -lv4l1... " >&6; }
11703 if ${ac_cv_lib_soname_v4l1+:} false; then :
11704 $as_echo_n "(cached) " >&6
11705 else
11706 ac_check_soname_save_LIBS=$LIBS
11707 LIBS="-lv4l1 $LIBS"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11714 #ifdef __cplusplus
11715 extern "C"
11716 #endif
11717 char v4l1_open ();
11719 main ()
11721 return v4l1_open ();
11723 return 0;
11725 _ACEOF
11726 if ac_fn_c_try_link "$LINENO"; then :
11727 case "$LIBEXT" in
11728 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11729 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'` ;;
11730 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11731 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11732 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11733 fi ;;
11734 esac
11736 rm -f core conftest.err conftest.$ac_objext \
11737 conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_soname_save_LIBS
11740 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11742 $as_echo "not found" >&6; }
11744 else
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11746 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11748 cat >>confdefs.h <<_ACEOF
11749 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11750 _ACEOF
11755 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11756 case "x$with_v4l" in
11757 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11758 xno) ;;
11759 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11760 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11761 esac
11764 if test "x$with_gphoto" != "xno"
11765 then
11766 if ${GPHOTO2_CFLAGS:+false} :; then :
11767 if ${PKG_CONFIG+:} false; then :
11768 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11771 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11772 if ${GPHOTO2_LIBS:+false} :; then :
11773 if ${PKG_CONFIG+:} false; then :
11774 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11777 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11778 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11779 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11780 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11781 ac_save_CPPFLAGS=$CPPFLAGS
11782 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11783 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11784 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11786 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11787 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 ac_check_lib_save_LIBS=$LIBS
11791 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char gp_camera_new ();
11803 main ()
11805 return gp_camera_new ();
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 ac_cv_lib_gphoto2_gp_camera_new=yes
11812 else
11813 ac_cv_lib_gphoto2_gp_camera_new=no
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_lib_save_LIBS
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11820 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11821 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11823 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11825 else
11826 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11829 else
11830 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11834 CPPFLAGS=$ac_save_CPPFLAGS
11835 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11836 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11838 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11839 if ${PKG_CONFIG+:} false; then :
11840 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11843 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11844 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11845 if ${PKG_CONFIG+:} false; then :
11846 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11849 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11850 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11851 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11852 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11853 ac_save_CPPFLAGS=$CPPFLAGS
11854 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11855 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11858 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11859 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11860 $as_echo_n "(cached) " >&6
11861 else
11862 ac_check_lib_save_LIBS=$LIBS
11863 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11870 #ifdef __cplusplus
11871 extern "C"
11872 #endif
11873 char gp_port_info_list_new ();
11875 main ()
11877 return gp_port_info_list_new ();
11879 return 0;
11881 _ACEOF
11882 if ac_fn_c_try_link "$LINENO"; then :
11883 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11884 else
11885 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11887 rm -f core conftest.err conftest.$ac_objext \
11888 conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_lib_save_LIBS
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11892 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11893 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11895 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11897 else
11898 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11901 else
11902 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11906 CPPFLAGS=$ac_save_CPPFLAGS
11907 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11908 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11911 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11912 case "x$with_gphoto" in
11913 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11916 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11917 esac
11919 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11920 case "x$with_gphoto" in
11921 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11922 xno) ;;
11923 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11924 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "$ac_cv_header_resolv_h" = "yes"
11930 then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11932 $as_echo_n "checking for resolver library... " >&6; }
11933 if ${ac_cv_have_resolv+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_save_LIBS="$LIBS"
11937 for lib in '' -lresolv
11939 LIBS="$lib $ac_save_LIBS"
11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 #ifdef HAVE_NETINET_IN_H
11943 #include <netinet/in.h>
11944 #endif
11945 #include <resolv.h>
11947 main ()
11949 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_link "$LINENO"; then :
11955 ac_cv_have_resolv=${lib:-"none required"}
11956 else
11957 ac_cv_have_resolv="not found"
11959 rm -f core conftest.err conftest.$ac_objext \
11960 conftest$ac_exeext conftest.$ac_ext
11961 test "x$ac_cv_have_resolv" = "xnot found" || break
11962 done
11963 LIBS="$ac_save_LIBS"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11966 $as_echo "$ac_cv_have_resolv" >&6; }
11968 case "$ac_cv_have_resolv" in
11969 "not found") ;;
11970 "none required")
11972 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11975 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11977 RESOLV_LIBS=$ac_cv_have_resolv
11979 esac
11982 if test "x$with_cms" != "xno"
11983 then
11984 if ${LCMS2_CFLAGS:+false} :; then :
11985 if ${PKG_CONFIG+:} false; then :
11986 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11990 if ${LCMS2_LIBS:+false} :; then :
11991 if ${PKG_CONFIG+:} false; then :
11992 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11996 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11997 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11998 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11999 ac_save_CPPFLAGS=$CPPFLAGS
12000 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12001 for ac_header in lcms2.h
12002 do :
12003 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12004 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12005 cat >>confdefs.h <<_ACEOF
12006 #define HAVE_LCMS2_H 1
12007 _ACEOF
12011 done
12013 if test "$ac_cv_header_lcms2_h" = "yes"
12014 then
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12016 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12017 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char cmsOpenProfileFromFile ();
12033 main ()
12035 return cmsOpenProfileFromFile ();
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"; then :
12041 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12042 else
12043 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_lib_save_LIBS
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12050 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12051 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12053 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12055 else
12056 LCMS2_LIBS=""
12059 else
12060 LCMS2_CFLAGS=""
12061 LCMS2_LIBS=""
12063 CPPFLAGS=$ac_save_CPPFLAGS
12064 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12065 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12068 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12069 case "x$with_cms" in
12070 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12071 xno) ;;
12072 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12073 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12074 esac
12077 if test "x$with_freetype" != "xno"
12078 then
12079 if ${FREETYPE_CFLAGS:+false} :; then :
12080 if ${PKG_CONFIG+:} false; then :
12081 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12084 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12085 if ${FREETYPE_LIBS:+false} :; then :
12086 if ${PKG_CONFIG+:} false; then :
12087 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12090 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12091 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12092 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12093 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12094 ac_save_CPPFLAGS=$CPPFLAGS
12095 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12096 for ac_header in ft2build.h
12097 do :
12098 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12099 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12100 cat >>confdefs.h <<_ACEOF
12101 #define HAVE_FT2BUILD_H 1
12102 _ACEOF
12106 done
12108 if test "$ac_cv_header_ft2build_h" = "yes"
12109 then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12111 $as_echo_n "checking for -lfreetype... " >&6; }
12112 if ${ac_cv_lib_soname_freetype+:} false; then :
12113 $as_echo_n "(cached) " >&6
12114 else
12115 ac_check_soname_save_LIBS=$LIBS
12116 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12123 #ifdef __cplusplus
12124 extern "C"
12125 #endif
12126 char FT_Init_FreeType ();
12128 main ()
12130 return FT_Init_FreeType ();
12132 return 0;
12134 _ACEOF
12135 if ac_fn_c_try_link "$LINENO"; then :
12136 case "$LIBEXT" in
12137 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12138 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'` ;;
12139 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12140 if ${ac_cv_lib_soname_freetype:+false} :; then :
12141 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12142 fi ;;
12143 esac
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_soname_save_LIBS
12149 if ${ac_cv_lib_soname_freetype:+false} :; then :
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12151 $as_echo "not found" >&6; }
12152 FREETYPE_LIBS=""
12153 else
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12155 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12157 cat >>confdefs.h <<_ACEOF
12158 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12159 _ACEOF
12162 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12164 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12165 #include FT_MODULE_H
12167 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12169 cat >>confdefs.h <<_ACEOF
12170 #define HAVE_FT_TRUETYPEENGINETYPE 1
12171 _ACEOF
12177 else
12178 FREETYPE_CFLAGS=""
12179 FREETYPE_LIBS=""
12181 CPPFLAGS=$ac_save_CPPFLAGS
12182 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12183 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12186 if test "x$ac_cv_lib_soname_freetype" = x; then :
12187 case "x$with_freetype" in
12188 xno) ;;
12189 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12190 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12191 esac
12193 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12196 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12197 if ${ac_cv_c_ppdev+:} false; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #ifdef HAVE_SYS_IOCTL_H
12203 # include <sys/ioctl.h>
12204 #endif
12205 #include <linux/ppdev.h>
12207 main ()
12209 ioctl (1,PPCLAIM,0)
12211 return 0;
12213 _ACEOF
12214 if ac_fn_c_try_compile "$LINENO"; then :
12215 ac_cv_c_ppdev="yes"
12216 else
12217 ac_cv_c_ppdev="no"
12219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12222 $as_echo "$ac_cv_c_ppdev" >&6; }
12223 if test "$ac_cv_c_ppdev" = "yes"
12224 then
12226 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12230 ac_wine_check_funcs_save_LIBS="$LIBS"
12231 LIBS="$LIBS $PTHREAD_LIBS"
12232 for ac_func in \
12233 pthread_attr_get_np \
12234 pthread_getattr_np \
12235 pthread_getthreadid_np \
12236 pthread_get_stackaddr_np \
12237 pthread_get_stacksize_np
12238 do :
12239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12242 cat >>confdefs.h <<_ACEOF
12243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12244 _ACEOF
12247 done
12249 LIBS="$ac_wine_check_funcs_save_LIBS"
12251 if test "$ac_cv_header_zlib_h" = "yes"
12252 then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12254 $as_echo_n "checking for inflate in -lz... " >&6; }
12255 if ${ac_cv_lib_z_inflate+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_lib_save_LIBS=$LIBS
12259 LIBS="-lz $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char inflate ();
12271 main ()
12273 return inflate ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 ac_cv_lib_z_inflate=yes
12280 else
12281 ac_cv_lib_z_inflate=no
12283 rm -f core conftest.err conftest.$ac_objext \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_lib_save_LIBS
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12288 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12289 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12291 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12293 Z_LIBS="-lz"
12298 if test "x$Z_LIBS" = "x"; then :
12299 case "x$with_zlib" in
12300 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12301 xno) ;;
12302 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12303 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12304 esac
12307 if test "x$enable_tools" != xno
12308 then
12309 if test "$ac_cv_header_gettext_po_h" = "yes"
12310 then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12312 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12313 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315 else
12316 ac_check_lib_save_LIBS=$LIBS
12317 LIBS="-lgettextpo $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char po_message_msgctxt ();
12329 main ()
12331 return po_message_msgctxt ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"; then :
12337 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12338 else
12339 ac_cv_lib_gettextpo_po_message_msgctxt=no
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12346 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12347 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12349 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12351 GETTEXTPO_LIBS="-lgettextpo"
12356 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12357 case "x$with_gettextpo" in
12358 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12359 xno) ;;
12360 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12361 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12362 esac
12366 if test "x$with_gstreamer" != "xno"
12367 then
12368 if ${GSTREAMER_CFLAGS:+false} :; then :
12369 if ${PKG_CONFIG+:} false; then :
12370 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12374 if ${GSTREAMER_LIBS:+false} :; then :
12375 if ${PKG_CONFIG+:} false; then :
12376 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12381 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12382 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12383 ac_save_CPPFLAGS=$CPPFLAGS
12384 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12385 ac_gst_incl=""
12386 for i in $GSTREAMER_CFLAGS
12388 case "$i" in
12389 -I*) ac_gst_incl="$ac_gst_incl $i";;
12390 esac
12391 done
12392 GSTREAMER_CFLAGS=$ac_gst_incl
12393 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12394 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12396 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12399 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12402 #include <gst/app/gstappsink.h>
12404 main ()
12406 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_compile "$LINENO"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12413 $as_echo "yes" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12415 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12416 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_lib_save_LIBS=$LIBS
12420 LIBS="-lgstreamer-0.10 $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char gst_pad_get_caps_reffed ();
12432 main ()
12434 return gst_pad_get_caps_reffed ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12441 else
12442 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12444 rm -f core conftest.err conftest.$ac_objext \
12445 conftest$ac_exeext conftest.$ac_ext
12446 LIBS=$ac_check_lib_save_LIBS
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12449 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12450 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12452 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12453 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_lib_save_LIBS=$LIBS
12457 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char gst_app_buffer_new ();
12469 main ()
12471 return gst_app_buffer_new ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12478 else
12479 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12486 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12487 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12493 else
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12501 else
12502 GSTREAMER_CFLAGS=""
12506 CPPFLAGS=$ac_save_CPPFLAGS
12507 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12508 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12511 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12512 case "x$with_gstreamer" in
12513 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12514 xno) ;;
12515 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12516 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12517 esac
12519 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12521 ALSA_LIBS=""
12523 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12524 then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12526 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12527 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_lib_save_LIBS=$LIBS
12531 LIBS="-lasound $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char snd_pcm_hw_params_get_access_mask ();
12543 main ()
12545 return snd_pcm_hw_params_get_access_mask ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12552 else
12553 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12555 rm -f core conftest.err conftest.$ac_objext \
12556 conftest$ac_exeext conftest.$ac_ext
12557 LIBS=$ac_check_lib_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12560 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12561 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #ifdef HAVE_ALSA_ASOUNDLIB_H
12565 #include <alsa/asoundlib.h>
12566 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12567 #include <sys/asoundlib.h>
12568 #endif
12570 main ()
12572 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12574 return 0;
12576 _ACEOF
12577 if ac_fn_c_try_compile "$LINENO"; then :
12578 ALSA_LIBS="-lasound"
12580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12585 if test "x$with_oss" != xno
12586 then
12587 ac_save_CPPFLAGS="$CPPFLAGS"
12588 if test -f /etc/oss.conf
12589 then
12590 . /etc/oss.conf
12592 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12593 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12594 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12595 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12596 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12598 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12600 cat >>confdefs.h <<_ACEOF
12601 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12602 _ACEOF
12604 OSS4_CFLAGS="$ac_oss_incl"
12611 CPPFLAGS="$ac_save_CPPFLAGS"
12612 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12613 then
12614 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12618 if test "x$with_capi" != "xno"
12619 then
12620 if ${CAPI20_CFLAGS:+false} :; then :
12621 if ${PKG_CONFIG+:} false; then :
12622 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12626 if ${CAPI20_LIBS:+false} :; then :
12627 if ${PKG_CONFIG+:} false; then :
12628 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12633 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12634 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12635 ac_save_CPPFLAGS=$CPPFLAGS
12636 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12637 for ac_header in capi20.h linux/capi.h
12638 do :
12639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12640 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12643 cat >>confdefs.h <<_ACEOF
12644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12645 _ACEOF
12649 done
12651 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12652 then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12654 $as_echo_n "checking for -lcapi20... " >&6; }
12655 if ${ac_cv_lib_soname_capi20+:} false; then :
12656 $as_echo_n "(cached) " >&6
12657 else
12658 ac_check_soname_save_LIBS=$LIBS
12659 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12666 #ifdef __cplusplus
12667 extern "C"
12668 #endif
12669 char capi20_register ();
12671 main ()
12673 return capi20_register ();
12675 return 0;
12677 _ACEOF
12678 if ac_fn_c_try_link "$LINENO"; then :
12679 case "$LIBEXT" in
12680 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12681 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'` ;;
12682 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12683 if ${ac_cv_lib_soname_capi20:+false} :; then :
12684 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12685 fi ;;
12686 esac
12688 rm -f core conftest.err conftest.$ac_objext \
12689 conftest$ac_exeext conftest.$ac_ext
12690 LIBS=$ac_check_soname_save_LIBS
12692 if ${ac_cv_lib_soname_capi20:+false} :; then :
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12694 $as_echo "not found" >&6; }
12696 else
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12698 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12700 cat >>confdefs.h <<_ACEOF
12701 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12702 _ACEOF
12707 CPPFLAGS=$ac_save_CPPFLAGS
12708 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12709 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12712 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12713 case "x$with_capi" in
12714 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12715 xno) ;;
12716 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12717 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12718 esac
12721 CUPS_CFLAGS=""
12723 if test "x$with_cups" != "xno"
12724 then
12725 ac_save_CPPFLAGS="$CPPFLAGS"
12726 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12727 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12728 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12729 for ac_header in cups/cups.h
12730 do :
12731 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define HAVE_CUPS_CUPS_H 1
12735 _ACEOF
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12737 $as_echo_n "checking for -lcups... " >&6; }
12738 if ${ac_cv_lib_soname_cups+:} false; then :
12739 $as_echo_n "(cached) " >&6
12740 else
12741 ac_check_soname_save_LIBS=$LIBS
12742 LIBS="-lcups $ac_cups_libs $LIBS"
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char cupsGetDefault ();
12754 main ()
12756 return cupsGetDefault ();
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_link "$LINENO"; then :
12762 case "$LIBEXT" in
12763 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12764 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'` ;;
12765 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12766 if ${ac_cv_lib_soname_cups:+false} :; then :
12767 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12768 fi ;;
12769 esac
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 LIBS=$ac_check_soname_save_LIBS
12775 if ${ac_cv_lib_soname_cups:+false} :; then :
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12777 $as_echo "not found" >&6; }
12779 else
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12781 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12783 cat >>confdefs.h <<_ACEOF
12784 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12785 _ACEOF
12787 CUPS_CFLAGS="$ac_cups_cflags"
12791 done
12793 CPPFLAGS="$ac_save_CPPFLAGS"
12795 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12796 case "x$with_cups" in
12797 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12798 xno) ;;
12799 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12800 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12801 esac
12804 if test "x$with_fontconfig" != "xno"
12805 then
12806 if ${FONTCONFIG_CFLAGS:+false} :; then :
12807 if ${PKG_CONFIG+:} false; then :
12808 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12811 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12812 if ${FONTCONFIG_LIBS:+false} :; then :
12813 if ${PKG_CONFIG+:} false; then :
12814 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12817 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12819 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12820 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12821 ac_save_CPPFLAGS=$CPPFLAGS
12822 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12823 for ac_header in fontconfig/fontconfig.h
12824 do :
12825 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12826 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12827 cat >>confdefs.h <<_ACEOF
12828 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12829 _ACEOF
12833 done
12835 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12836 then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12838 $as_echo_n "checking for -lfontconfig... " >&6; }
12839 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12840 $as_echo_n "(cached) " >&6
12841 else
12842 ac_check_soname_save_LIBS=$LIBS
12843 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char FcInit ();
12855 main ()
12857 return FcInit ();
12859 return 0;
12861 _ACEOF
12862 if ac_fn_c_try_link "$LINENO"; then :
12863 case "$LIBEXT" in
12864 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12865 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'` ;;
12866 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12867 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12868 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12869 fi ;;
12870 esac
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_soname_save_LIBS
12876 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12878 $as_echo "not found" >&6; }
12879 FONTCONFIG_CFLAGS=""
12880 else
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12882 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12884 cat >>confdefs.h <<_ACEOF
12885 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12886 _ACEOF
12890 else
12891 FONTCONFIG_CFLAGS=""
12893 CPPFLAGS=$ac_save_CPPFLAGS
12894 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12895 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12898 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12899 case "x$with_fontconfig" in
12900 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12901 xno) ;;
12902 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12903 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12904 esac
12907 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12908 then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12910 $as_echo_n "checking for -lgsm... " >&6; }
12911 if ${ac_cv_lib_soname_gsm+:} false; then :
12912 $as_echo_n "(cached) " >&6
12913 else
12914 ac_check_soname_save_LIBS=$LIBS
12915 LIBS="-lgsm $LIBS"
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12922 #ifdef __cplusplus
12923 extern "C"
12924 #endif
12925 char gsm_create ();
12927 main ()
12929 return gsm_create ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 case "$LIBEXT" in
12936 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12937 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'` ;;
12938 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12939 if ${ac_cv_lib_soname_gsm:+false} :; then :
12940 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12941 fi ;;
12942 esac
12944 rm -f core conftest.err conftest.$ac_objext \
12945 conftest$ac_exeext conftest.$ac_ext
12946 LIBS=$ac_check_soname_save_LIBS
12948 if ${ac_cv_lib_soname_gsm:+false} :; then :
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12950 $as_echo "not found" >&6; }
12952 else
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12954 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12956 cat >>confdefs.h <<_ACEOF
12957 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12958 _ACEOF
12963 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12964 case "x$with_gsm" in
12965 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12966 xno) ;;
12967 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12968 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12969 esac
12972 if test "x$with_jpeg" != "xno"
12973 then
12974 if ${JPEG_CFLAGS:+false} :; then :
12975 if ${PKG_CONFIG+:} false; then :
12976 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12980 if ${JPEG_LIBS:+false} :; then :
12981 if ${PKG_CONFIG+:} false; then :
12982 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12987 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12989 ac_save_CPPFLAGS=$CPPFLAGS
12990 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12991 for ac_header in jpeglib.h
12992 do :
12993 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12994 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12995 cat >>confdefs.h <<_ACEOF
12996 #define HAVE_JPEGLIB_H 1
12997 _ACEOF
13001 done
13003 if test "$ac_cv_header_jpeglib_h" = "yes"
13004 then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13006 $as_echo_n "checking for -ljpeg... " >&6; }
13007 if ${ac_cv_lib_soname_jpeg+:} false; then :
13008 $as_echo_n "(cached) " >&6
13009 else
13010 ac_check_soname_save_LIBS=$LIBS
13011 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char jpeg_start_decompress ();
13023 main ()
13025 return jpeg_start_decompress ();
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_link "$LINENO"; then :
13031 case "$LIBEXT" in
13032 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13033 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'` ;;
13034 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13035 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13036 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13037 fi ;;
13038 esac
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_soname_save_LIBS
13044 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13046 $as_echo "not found" >&6; }
13047 JPEG_CFLAGS=""
13048 else
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13050 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13052 cat >>confdefs.h <<_ACEOF
13053 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13054 _ACEOF
13058 else
13059 JPEG_CFLAGS=""
13061 CPPFLAGS=$ac_save_CPPFLAGS
13062 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13063 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13066 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13067 case "x$with_jpeg" in
13068 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13069 xno) ;;
13070 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13071 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13072 esac
13075 if test "x$with_png" != "xno"
13076 then
13077 if ${PNG_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false; then :
13079 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13082 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13083 if ${PNG_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false; then :
13085 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13088 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13090 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13092 ac_save_CPPFLAGS=$CPPFLAGS
13093 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13094 for ac_header in png.h
13095 do :
13096 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13097 if test "x$ac_cv_header_png_h" = xyes; then :
13098 cat >>confdefs.h <<_ACEOF
13099 #define HAVE_PNG_H 1
13100 _ACEOF
13104 done
13106 if test "$ac_cv_header_png_h" = "yes"
13107 then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13109 $as_echo_n "checking for -lpng... " >&6; }
13110 if ${ac_cv_lib_soname_png+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_soname_save_LIBS=$LIBS
13114 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char png_create_read_struct ();
13126 main ()
13128 return png_create_read_struct ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 case "$LIBEXT" in
13135 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13136 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'` ;;
13137 *) 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'`
13138 if ${ac_cv_lib_soname_png:+false} :; then :
13139 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13140 fi ;;
13141 esac
13143 rm -f core conftest.err conftest.$ac_objext \
13144 conftest$ac_exeext conftest.$ac_ext
13145 LIBS=$ac_check_soname_save_LIBS
13147 if ${ac_cv_lib_soname_png:+false} :; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13149 $as_echo "not found" >&6; }
13150 PNG_CFLAGS=""
13151 else
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13153 $as_echo "$ac_cv_lib_soname_png" >&6; }
13155 cat >>confdefs.h <<_ACEOF
13156 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13157 _ACEOF
13159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 #include <png.h>
13163 main ()
13165 typeof(png_set_expand_gray_1_2_4_to_8) *p
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_compile "$LINENO"; then :
13172 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13177 else
13178 PNG_CFLAGS=""
13180 CPPFLAGS=$ac_save_CPPFLAGS
13181 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13182 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13185 if test "x$ac_cv_lib_soname_png" = "x"; then :
13186 case "x$with_png" in
13187 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13188 xno) ;;
13189 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13190 This is an error since --with-png was requested." "$LINENO" 5 ;;
13191 esac
13194 if test "x$with_tiff" != "xno"
13195 then
13196 if ${TIFF_CFLAGS:+false} :; then :
13197 if ${PKG_CONFIG+:} false; then :
13198 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13202 if ${TIFF_LIBS:+false} :; then :
13203 if ${PKG_CONFIG+:} false; then :
13204 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13209 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13211 ac_save_CPPFLAGS=$CPPFLAGS
13212 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13213 for ac_header in tiffio.h
13214 do :
13215 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13216 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13217 cat >>confdefs.h <<_ACEOF
13218 #define HAVE_TIFFIO_H 1
13219 _ACEOF
13223 done
13225 if test "$ac_cv_header_tiffio_h" = "yes"
13226 then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13228 $as_echo_n "checking for -ltiff... " >&6; }
13229 if ${ac_cv_lib_soname_tiff+:} false; then :
13230 $as_echo_n "(cached) " >&6
13231 else
13232 ac_check_soname_save_LIBS=$LIBS
13233 LIBS="-ltiff $TIFF_LIBS $LIBS"
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 char TIFFClientOpen ();
13245 main ()
13247 return TIFFClientOpen ();
13249 return 0;
13251 _ACEOF
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 case "$LIBEXT" in
13254 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13255 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'` ;;
13256 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13257 if ${ac_cv_lib_soname_tiff:+false} :; then :
13258 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13259 fi ;;
13260 esac
13262 rm -f core conftest.err conftest.$ac_objext \
13263 conftest$ac_exeext conftest.$ac_ext
13264 LIBS=$ac_check_soname_save_LIBS
13266 if ${ac_cv_lib_soname_tiff:+false} :; then :
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13268 $as_echo "not found" >&6; }
13270 else
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13272 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13274 cat >>confdefs.h <<_ACEOF
13275 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13276 _ACEOF
13281 CPPFLAGS=$ac_save_CPPFLAGS
13282 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13283 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13286 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13287 case "x$with_tiff" in
13288 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13289 xno) ;;
13290 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13291 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13292 esac
13295 if test "x$with_mpg123" != "xno"
13296 then
13297 if ${MPG123_CFLAGS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13303 if ${MPG123_LIBS:+false} :; then :
13304 if ${PKG_CONFIG+:} false; then :
13305 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13309 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13312 ac_save_CPPFLAGS=$CPPFLAGS
13313 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13314 for ac_header in mpg123.h
13315 do :
13316 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13317 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_MPG123_H 1
13320 _ACEOF
13324 done
13326 if test "$ac_cv_header_mpg123_h" = "yes"
13327 then
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13329 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13330 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13331 $as_echo_n "(cached) " >&6
13332 else
13333 ac_check_lib_save_LIBS=$LIBS
13334 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13341 #ifdef __cplusplus
13342 extern "C"
13343 #endif
13344 char mpg123_feed ();
13346 main ()
13348 return mpg123_feed ();
13350 return 0;
13352 _ACEOF
13353 if ac_fn_c_try_link "$LINENO"; then :
13354 ac_cv_lib_mpg123_mpg123_feed=yes
13355 else
13356 ac_cv_lib_mpg123_mpg123_feed=no
13358 rm -f core conftest.err conftest.$ac_objext \
13359 conftest$ac_exeext conftest.$ac_ext
13360 LIBS=$ac_check_lib_save_LIBS
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13363 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13364 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13366 else
13367 MPG123_LIBS=""
13370 else
13371 MPG123_CFLAGS=""
13372 MPG123_LIBS=""
13374 CPPFLAGS=$ac_save_CPPFLAGS
13375 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13376 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13379 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13380 case "x$with_mpg123" in
13381 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13382 xno) ;;
13383 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13384 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13385 esac
13387 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}
13389 if test "$ac_cv_header_AL_al_h" = "yes"
13390 then
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13392 $as_echo_n "checking for -lopenal... " >&6; }
13393 if ${ac_cv_lib_soname_openal+:} false; then :
13394 $as_echo_n "(cached) " >&6
13395 else
13396 ac_check_soname_save_LIBS=$LIBS
13397 LIBS="-lopenal $LIBS"
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13404 #ifdef __cplusplus
13405 extern "C"
13406 #endif
13407 char alGetSource3i ();
13409 main ()
13411 return alGetSource3i ();
13413 return 0;
13415 _ACEOF
13416 if ac_fn_c_try_link "$LINENO"; then :
13417 case "$LIBEXT" in
13418 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13419 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'` ;;
13420 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13421 if ${ac_cv_lib_soname_openal:+false} :; then :
13422 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13423 fi ;;
13424 esac
13426 rm -f core conftest.err conftest.$ac_objext \
13427 conftest$ac_exeext conftest.$ac_ext
13428 LIBS=$ac_check_soname_save_LIBS
13430 if ${ac_cv_lib_soname_openal:+false} :; then :
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13432 $as_echo "not found" >&6; }
13434 else
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13436 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13438 cat >>confdefs.h <<_ACEOF
13439 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13440 _ACEOF
13442 OPENAL_LIBS="-lopenal"
13444 ac_cv_lib_openal=yes
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_OPENAL 1
13448 _ACEOF
13452 if test "x$ac_cv_lib_openal" != xyes; then :
13453 case "x$with_openal" in
13454 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13455 xno) ;;
13456 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13457 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13458 esac
13460 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13462 if test "$ac_cv_header_kstat_h" = "yes"
13463 then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13465 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13466 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13467 $as_echo_n "(cached) " >&6
13468 else
13469 ac_check_lib_save_LIBS=$LIBS
13470 LIBS="-lkstat $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char kstat_open ();
13482 main ()
13484 return kstat_open ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 ac_cv_lib_kstat_kstat_open=yes
13491 else
13492 ac_cv_lib_kstat_kstat_open=no
13494 rm -f core conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13496 LIBS=$ac_check_lib_save_LIBS
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13499 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13500 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13502 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13504 KSTAT_LIBS="-lkstat"
13510 if test "$ac_cv_header_libprocstat_h" = "yes"
13511 then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13513 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13514 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13515 $as_echo_n "(cached) " >&6
13516 else
13517 ac_check_lib_save_LIBS=$LIBS
13518 LIBS="-lprocstat $LIBS"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13525 #ifdef __cplusplus
13526 extern "C"
13527 #endif
13528 char procstat_open_sysctl ();
13530 main ()
13532 return procstat_open_sysctl ();
13534 return 0;
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 ac_cv_lib_procstat_procstat_open_sysctl=yes
13539 else
13540 ac_cv_lib_procstat_procstat_open_sysctl=no
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 LIBS=$ac_check_lib_save_LIBS
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13547 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13548 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13550 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13552 PROCSTAT_LIBS="-lprocstat"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13559 $as_echo_n "checking for -lodbc... " >&6; }
13560 if ${ac_cv_lib_soname_odbc+:} false; then :
13561 $as_echo_n "(cached) " >&6
13562 else
13563 ac_check_soname_save_LIBS=$LIBS
13564 LIBS="-lodbc $LIBS"
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13571 #ifdef __cplusplus
13572 extern "C"
13573 #endif
13574 char SQLConnect ();
13576 main ()
13578 return SQLConnect ();
13580 return 0;
13582 _ACEOF
13583 if ac_fn_c_try_link "$LINENO"; then :
13584 case "$LIBEXT" in
13585 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13586 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'` ;;
13587 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13588 if ${ac_cv_lib_soname_odbc:+false} :; then :
13589 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13590 fi ;;
13591 esac
13593 rm -f core conftest.err conftest.$ac_objext \
13594 conftest$ac_exeext conftest.$ac_ext
13595 LIBS=$ac_check_soname_save_LIBS
13597 if ${ac_cv_lib_soname_odbc:+false} :; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13599 $as_echo "not found" >&6; }
13600 cat >>confdefs.h <<_ACEOF
13601 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13602 _ACEOF
13604 else
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13606 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13610 _ACEOF
13615 if test "x$with_netapi" != "xno"
13616 then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13618 $as_echo_n "checking for -lnetapi... " >&6; }
13619 if ${ac_cv_lib_soname_netapi+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_check_soname_save_LIBS=$LIBS
13623 LIBS="-lnetapi $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char libnetapi_init ();
13635 main ()
13637 return libnetapi_init ();
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 case "$LIBEXT" in
13644 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13645 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'` ;;
13646 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13647 if ${ac_cv_lib_soname_netapi:+false} :; then :
13648 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13649 fi ;;
13650 esac
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext conftest.$ac_ext
13654 LIBS=$ac_check_soname_save_LIBS
13656 if ${ac_cv_lib_soname_netapi:+false} :; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13658 $as_echo "not found" >&6; }
13659 cat >>confdefs.h <<_ACEOF
13660 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13661 _ACEOF
13663 else
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13665 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13667 cat >>confdefs.h <<_ACEOF
13668 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13669 _ACEOF
13675 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13676 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13677 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13678 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13680 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13681 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13682 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13683 then
13684 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13688 EXTRACFLAGS=""
13690 if test "x${GCC}" = "xyes"
13691 then
13692 EXTRACFLAGS="-Wall -pipe"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13695 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13696 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13697 $as_echo_n "(cached) " >&6
13698 else
13699 if test "$cross_compiling" = yes; then :
13700 ac_cv_c_gcc_strength_bug="yes"
13701 else
13702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13704 int L[4] = {0,1,2,3};
13706 main ()
13708 static int Array[3];
13709 unsigned int B = 3;
13710 int i;
13711 for(i=0; i<B; i++) Array[i] = i - 3;
13712 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13713 L[i] = 4;
13714 return (Array[1] != -2 || L[2] != 3)
13716 return 0;
13718 _ACEOF
13719 if ac_fn_c_try_run "$LINENO"; then :
13720 ac_cv_c_gcc_strength_bug="no"
13721 else
13722 ac_cv_c_gcc_strength_bug="yes"
13724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13725 conftest.$ac_objext conftest.beam conftest.$ac_ext
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13730 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13731 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13732 then
13733 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13737 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13738 if ${ac_cv_cflags__fno_builtin+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 ac_wine_try_cflags_saved=$CFLAGS
13742 CFLAGS="$CFLAGS -fno-builtin"
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int main(int argc, char **argv) { return 0; }
13746 _ACEOF
13747 if ac_fn_c_try_link "$LINENO"; then :
13748 ac_cv_cflags__fno_builtin=yes
13749 else
13750 ac_cv_cflags__fno_builtin=no
13752 rm -f core conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 CFLAGS=$ac_wine_try_cflags_saved
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13757 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13758 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13759 BUILTINFLAG="-fno-builtin"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13763 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13764 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 ac_wine_try_cflags_saved=$CFLAGS
13768 CFLAGS="$CFLAGS -fno-strict-aliasing"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_cflags__fno_strict_aliasing=yes
13775 else
13776 ac_cv_cflags__fno_strict_aliasing=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 CFLAGS=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13783 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13784 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13785 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13787 saved_CFLAGS=$CFLAGS
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13789 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13790 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_cflags__Werror_unknown_warning_option=yes
13801 else
13802 ac_cv_cflags__Werror_unknown_warning_option=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13809 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13810 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13811 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13814 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13815 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_wine_try_cflags_saved=$CFLAGS
13819 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"; then :
13825 ac_cv_cflags__Wdeclaration_after_statement=yes
13826 else
13827 ac_cv_cflags__Wdeclaration_after_statement=no
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 CFLAGS=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13834 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13835 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13836 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13839 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13840 if ${ac_cv_cflags__Wempty_body+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_wine_try_cflags_saved=$CFLAGS
13844 CFLAGS="$CFLAGS -Wempty-body"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_cflags__Wempty_body=yes
13851 else
13852 ac_cv_cflags__Wempty_body=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13859 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13860 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13861 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13864 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13865 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_wine_try_cflags_saved=$CFLAGS
13869 CFLAGS="$CFLAGS -Wignored-qualifiers"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_cflags__Wignored_qualifiers=yes
13876 else
13877 ac_cv_cflags__Wignored_qualifiers=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 CFLAGS=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13884 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13885 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13886 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13889 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13890 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_wine_try_cflags_saved=$CFLAGS
13894 CFLAGS="$CFLAGS -Wstrict-prototypes"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_cflags__Wstrict_prototypes=yes
13901 else
13902 ac_cv_cflags__Wstrict_prototypes=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 CFLAGS=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13909 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13910 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13911 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13914 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13915 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_wine_try_cflags_saved=$CFLAGS
13919 CFLAGS="$CFLAGS -Wtype-limits"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13923 _ACEOF
13924 if ac_fn_c_try_link "$LINENO"; then :
13925 ac_cv_cflags__Wtype_limits=yes
13926 else
13927 ac_cv_cflags__Wtype_limits=no
13929 rm -f core conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13931 CFLAGS=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13934 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13935 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13936 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13939 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13940 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_wine_try_cflags_saved=$CFLAGS
13944 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 ac_cv_cflags__Wunused_but_set_parameter=yes
13951 else
13952 ac_cv_cflags__Wunused_but_set_parameter=no
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 CFLAGS=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13959 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13960 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13961 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13964 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13965 if ${ac_cv_cflags__Wvla+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 ac_wine_try_cflags_saved=$CFLAGS
13969 CFLAGS="$CFLAGS -Wvla"
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13973 _ACEOF
13974 if ac_fn_c_try_link "$LINENO"; then :
13975 ac_cv_cflags__Wvla=yes
13976 else
13977 ac_cv_cflags__Wvla=no
13979 rm -f core conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 CFLAGS=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13984 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13985 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13986 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13989 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13990 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_wine_try_cflags_saved=$CFLAGS
13994 CFLAGS="$CFLAGS -Wwrite-strings"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_cv_cflags__Wwrite_strings=yes
14001 else
14002 ac_cv_cflags__Wwrite_strings=no
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 CFLAGS=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14009 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14010 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14011 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14015 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14016 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_wine_try_cflags_saved=$CFLAGS
14020 CFLAGS="$CFLAGS -Wpointer-arith"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_cflags__Wpointer_arith=yes
14027 else
14028 ac_cv_cflags__Wpointer_arith=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 CFLAGS=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14035 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14036 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14037 saved_string_h_CFLAGS=$CFLAGS
14038 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14040 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14041 if ${ac_cv_c_string_h_warnings+:} false; then :
14042 $as_echo_n "(cached) " >&6
14043 else
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 #include <string.h>
14048 main ()
14052 return 0;
14054 _ACEOF
14055 if ac_fn_c_try_compile "$LINENO"; then :
14056 ac_cv_c_string_h_warnings=no
14057 else
14058 ac_cv_c_string_h_warnings=yes
14060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14063 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14064 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14065 CFLAGS=$saved_string_h_CFLAGS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14069 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14070 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -Wlogical-op"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_cflags__Wlogical_op=yes
14081 else
14082 ac_cv_cflags__Wlogical_op=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14089 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14090 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14091 saved_string_h_CFLAGS=$CFLAGS
14092 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14094 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14095 if ${ac_cv_c_logicalop_noisy+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #include <string.h>
14101 char*f(const char *h,char n) {return strchr(h,n);}
14103 main ()
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_compile "$LINENO"; then :
14111 ac_cv_c_logicalop_noisy=no
14112 else
14113 ac_cv_c_logicalop_noisy=yes
14115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14118 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14119 CFLAGS=$saved_string_h_CFLAGS
14120 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14123 CFLAGS=$saved_CFLAGS
14125 for ac_flag in $CFLAGS; do
14126 case $ac_flag in
14127 -g) case $host_os in
14128 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14129 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14130 if ${ac_cv_cflags__gstabsp+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_wine_try_cflags_saved=$CFLAGS
14134 CFLAGS="$CFLAGS -gstabs+"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 int main(int argc, char **argv) { return 0; }
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 ac_cv_cflags__gstabsp=yes
14141 else
14142 ac_cv_cflags__gstabsp=no
14144 rm -f core conftest.err conftest.$ac_objext \
14145 conftest$ac_exeext conftest.$ac_ext
14146 CFLAGS=$ac_wine_try_cflags_saved
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14149 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14150 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14151 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14152 fi ;;
14153 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14154 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14155 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14156 $as_echo_n "(cached) " >&6
14157 else
14158 ac_wine_try_cflags_saved=$CFLAGS
14159 CFLAGS="$CFLAGS -gdwarf-2"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 ac_cv_cflags__gdwarf_2=yes
14166 else
14167 ac_cv_cflags__gdwarf_2=no
14169 rm -f core conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 CFLAGS=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14174 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14175 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14176 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14179 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14180 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_wine_try_cflags_saved=$CFLAGS
14184 CFLAGS="$CFLAGS -gstrict-dwarf"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 int main(int argc, char **argv) { return 0; }
14188 _ACEOF
14189 if ac_fn_c_try_link "$LINENO"; then :
14190 ac_cv_cflags__gstrict_dwarf=yes
14191 else
14192 ac_cv_cflags__gstrict_dwarf=no
14194 rm -f core conftest.err conftest.$ac_objext \
14195 conftest$ac_exeext conftest.$ac_ext
14196 CFLAGS=$ac_wine_try_cflags_saved
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14199 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14200 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14201 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14202 fi ;;
14203 esac ;;
14204 esac
14205 done
14207 case $host_cpu in
14208 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14209 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14210 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 ac_wine_try_cflags_saved=$CFLAGS
14214 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 int main(int argc, char **argv) { return 0; }
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 ac_cv_cflags__fno_omit_frame_pointer=yes
14221 else
14222 ac_cv_cflags__fno_omit_frame_pointer=no
14224 rm -f core conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226 CFLAGS=$ac_wine_try_cflags_saved
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14229 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14230 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14231 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14232 fi ;;
14233 esac
14235 case $host in
14236 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14237 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14238 if ${ac_cv_cflags__Wno_format+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_wine_try_cflags_saved=$CFLAGS
14242 CFLAGS="$CFLAGS -Wno-format"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_cflags__Wno_format=yes
14249 else
14250 ac_cv_cflags__Wno_format=no
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 CFLAGS=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14257 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14258 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14259 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14260 fi ;;
14261 esac
14263 if test "x$enable_maintainer_mode" = "xyes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14266 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14267 if ${ac_cv_cflags__Werror+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_wine_try_cflags_saved=$CFLAGS
14271 CFLAGS="$CFLAGS -Werror"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 int main(int argc, char **argv) { return 0; }
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_cflags__Werror=yes
14278 else
14279 ac_cv_cflags__Werror=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 CFLAGS=$ac_wine_try_cflags_saved
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14286 $as_echo "$ac_cv_cflags__Werror" >&6; }
14287 if test "x$ac_cv_cflags__Werror" = xyes; then :
14288 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14292 saved_CFLAGS="$CFLAGS"
14293 CFLAGS="$CFLAGS -Werror"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14295 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14296 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14303 main ()
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_compile "$LINENO"; then :
14311 ac_cv_have_ms_hook_prologue="yes"
14312 else
14313 ac_cv_have_ms_hook_prologue="no"
14315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14318 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14319 CFLAGS="$saved_CFLAGS"
14320 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14321 then
14323 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14325 else
14326 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14333 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14334 if ${ac_cv_c_fortify_enabled+:} false; then :
14335 $as_echo_n "(cached) " >&6
14336 else
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <string.h>
14341 main ()
14343 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14344 #error Fortify enabled
14345 #endif
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_compile "$LINENO"; then :
14351 ac_cv_c_fortify_enabled=no
14352 else
14353 ac_cv_c_fortify_enabled=yes
14355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14358 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14359 if test "$ac_cv_c_fortify_enabled" = yes
14360 then
14361 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14366 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14367 if ${ac_cv_c_extern_prefix+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14372 extern int ac_test;
14374 main ()
14376 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14378 return 0;
14380 _ACEOF
14381 if ac_fn_c_try_link "$LINENO"; then :
14382 ac_cv_c_extern_prefix="yes"
14383 else
14384 ac_cv_c_extern_prefix="no"
14386 rm -f core conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14390 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14392 case $host_cpu in
14393 *i[3456789]86*)
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14395 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14396 if ${ac_cv_c_stdcall_suffix+:} false; then :
14397 $as_echo_n "(cached) " >&6
14398 else
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14401 #ifndef _MSC_VER
14402 #define __stdcall __attribute__((__stdcall__))
14403 #endif
14404 int __stdcall ac_test(int i) { return i; }
14406 main ()
14408 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_link "$LINENO"; then :
14414 ac_cv_c_stdcall_suffix="yes"
14415 else
14416 ac_cv_c_stdcall_suffix="no"
14418 rm -f core conftest.err conftest.$ac_objext \
14419 conftest$ac_exeext conftest.$ac_ext
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14422 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14423 *) ac_cv_c_stdcall_suffix="no" ;;
14424 esac
14427 if test "$ac_cv_c_extern_prefix" = "yes"
14428 then
14429 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14431 asm_name_prefix="_"
14432 else
14433 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14435 asm_name_prefix=""
14439 if test "$ac_cv_c_stdcall_suffix" = "yes"
14440 then
14441 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14443 else
14444 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14450 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14451 if ${ac_cv_asm_func_def+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14458 main ()
14460 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14462 return 0;
14464 _ACEOF
14465 if ac_fn_c_try_link "$LINENO"; then :
14466 ac_cv_asm_func_def=".def"
14467 else
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14472 main ()
14474 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14476 return 0;
14478 _ACEOF
14479 if ac_fn_c_try_link "$LINENO"; then :
14480 ac_cv_asm_func_def=".type @function"
14481 else
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14486 main ()
14488 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_asm_func_def=".type 2"
14495 else
14496 ac_cv_asm_func_def="unknown"
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14504 rm -f core conftest.err conftest.$ac_objext \
14505 conftest$ac_exeext conftest.$ac_ext
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14508 $as_echo "$ac_cv_asm_func_def" >&6; }
14511 case "$ac_cv_asm_func_def" in
14512 ".def")
14513 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14515 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14516 ".type @function")
14517 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14519 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14520 ".type 2")
14521 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14523 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14525 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14527 asm_func_header="" ;;
14528 esac
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14531 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14532 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 asm(".text\n\t.long 0");
14539 main ()
14543 return 0;
14545 _ACEOF
14546 if ac_fn_c_try_compile "$LINENO"; then :
14547 ac_cv_c_asm_outside_funcs="yes"
14548 else
14549 ac_cv_c_asm_outside_funcs="no"
14551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14554 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14557 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14558 if ${ac_cv_c_dot_previous+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14565 main ()
14567 asm(".text\nac_test:\t.long 0\n\t.previous");
14569 return 0;
14571 _ACEOF
14572 if ac_fn_c_try_link "$LINENO"; then :
14573 ac_cv_c_dot_previous="yes"
14574 else
14575 ac_cv_c_dot_previous="no"
14577 rm -f core conftest.err conftest.$ac_objext \
14578 conftest$ac_exeext conftest.$ac_ext
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14581 $as_echo "$ac_cv_c_dot_previous" >&6; }
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14584 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14585 if ${ac_cv_c_cfi_support+:} false; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14592 main ()
14596 return 0;
14598 _ACEOF
14599 if ac_fn_c_try_compile "$LINENO"; then :
14600 ac_cv_c_cfi_support="yes"
14601 else
14602 ac_cv_c_cfi_support="no"
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14607 $as_echo "$ac_cv_c_cfi_support" >&6; }
14609 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14610 asm_func_trailer=""
14611 if test "$ac_cv_c_dot_previous" = "yes"
14612 then
14613 asm_func_trailer="\\n\\t.previous"
14615 if test "$ac_cv_c_cfi_support" = "yes"
14616 then
14617 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14618 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14620 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14622 UNWINDFLAGS=-fasynchronous-unwind-tables
14624 else
14625 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14629 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14632 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14633 then
14634 cat >>confdefs.h <<_ACEOF
14635 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14636 _ACEOF
14638 else
14639 cat >>confdefs.h <<_ACEOF
14640 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14641 _ACEOF
14645 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14648 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14652 case $build_os in
14653 cygwin*|mingw32*) TOOLSEXT=".exe"
14655 esac
14657 case $host_os in
14658 linux*)
14659 case $host_cpu in
14660 *i[3456789]86*|x86_64*)
14661 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14662 loader_programs="$loader_programs $wine_binary-preloader"
14663 as_fn_append LOADER_RULES "
14664 $wine_binary-preloader: preloader.o
14665 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14667 install install-lib:: $wine_binary-preloader
14668 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14670 uninstall::
14671 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14673 preloader_EXTRADEFS = $BUILTINFLAG
14674 " ;;
14675 esac
14677 esac
14678 as_fn_append LOADER_RULES "
14679 PROGRAMS = $loader_programs
14683 ac_save_CFLAGS="$CFLAGS"
14684 CFLAGS="$CFLAGS $BUILTINFLAG"
14685 for ac_func in \
14686 __res_get_state \
14687 __res_getservers \
14688 _finite \
14689 _isnan \
14690 _pclose \
14691 _popen \
14692 _snprintf \
14693 _spawnvp \
14694 _strdup \
14695 _stricmp \
14696 _strnicmp \
14697 _strtoi64 \
14698 _strtoui64 \
14699 _vsnprintf \
14700 asctime_r \
14701 chsize \
14702 dlopen \
14703 epoll_create \
14704 ffs \
14705 finitef \
14706 fnmatch \
14707 fork \
14708 fpclass \
14709 fstatfs \
14710 fstatvfs \
14711 ftruncate \
14712 futimens \
14713 futimes \
14714 futimesat \
14715 getattrlist \
14716 getdirentries \
14717 getopt_long_only \
14718 getpwuid \
14719 gettimeofday \
14720 getuid \
14721 if_nameindex \
14722 isnanf \
14723 kqueue \
14724 lstat \
14725 memmove \
14726 mmap \
14727 pclose \
14728 pipe2 \
14729 poll \
14730 popen \
14731 port_create \
14732 prctl \
14733 pread \
14734 proc_pidinfo \
14735 pwrite \
14736 readdir \
14737 readlink \
14738 sched_yield \
14739 select \
14740 setproctitle \
14741 setrlimit \
14742 settimeofday \
14743 sigaltstack \
14744 sigprocmask \
14745 snprintf \
14746 statfs \
14747 statvfs \
14748 strcasecmp \
14749 strdup \
14750 strerror \
14751 strncasecmp \
14752 strtold \
14753 strtoll \
14754 strtoull \
14755 symlink \
14756 tcdrain \
14757 thr_kill2 \
14758 timegm \
14759 usleep \
14760 vsnprintf
14762 do :
14763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14766 cat >>confdefs.h <<_ACEOF
14767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14768 _ACEOF
14771 done
14773 CFLAGS="$ac_save_CFLAGS"
14775 if test "$ac_cv_func_dlopen" = no
14776 then
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14778 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14779 if ${ac_cv_lib_dl_dlopen+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_check_lib_save_LIBS=$LIBS
14783 LIBS="-ldl $LIBS"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14790 #ifdef __cplusplus
14791 extern "C"
14792 #endif
14793 char dlopen ();
14795 main ()
14797 return dlopen ();
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_lib_dl_dlopen=yes
14804 else
14805 ac_cv_lib_dl_dlopen=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_lib_save_LIBS
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14812 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14813 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14814 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14815 DL_LIBS="-ldl"
14820 ac_wine_check_funcs_save_LIBS="$LIBS"
14821 LIBS="$LIBS $DL_LIBS"
14822 for ac_func in dladdr
14823 do :
14824 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14825 if test "x$ac_cv_func_dladdr" = xyes; then :
14826 cat >>confdefs.h <<_ACEOF
14827 #define HAVE_DLADDR 1
14828 _ACEOF
14831 done
14833 LIBS="$ac_wine_check_funcs_save_LIBS"
14835 if test "$ac_cv_func_poll" = no
14836 then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14838 $as_echo_n "checking for poll in -lpoll... " >&6; }
14839 if ${ac_cv_lib_poll_poll+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 ac_check_lib_save_LIBS=$LIBS
14843 LIBS="-lpoll $LIBS"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14850 #ifdef __cplusplus
14851 extern "C"
14852 #endif
14853 char poll ();
14855 main ()
14857 return poll ();
14859 return 0;
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 ac_cv_lib_poll_poll=yes
14864 else
14865 ac_cv_lib_poll_poll=no
14867 rm -f core conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14872 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14873 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14874 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14875 POLL_LIBS="-lpoll"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14882 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14883 if ${ac_cv_search_gethostbyname+:} false; then :
14884 $as_echo_n "(cached) " >&6
14885 else
14886 ac_func_search_save_LIBS=$LIBS
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 #ifdef __cplusplus
14894 extern "C"
14895 #endif
14896 char gethostbyname ();
14898 main ()
14900 return gethostbyname ();
14902 return 0;
14904 _ACEOF
14905 for ac_lib in '' nsl; do
14906 if test -z "$ac_lib"; then
14907 ac_res="none required"
14908 else
14909 ac_res=-l$ac_lib
14910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_search_gethostbyname=$ac_res
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext
14917 if ${ac_cv_search_gethostbyname+:} false; then :
14918 break
14920 done
14921 if ${ac_cv_search_gethostbyname+:} false; then :
14923 else
14924 ac_cv_search_gethostbyname=no
14926 rm conftest.$ac_ext
14927 LIBS=$ac_func_search_save_LIBS
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14930 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14931 ac_res=$ac_cv_search_gethostbyname
14932 if test "$ac_res" != no; then :
14933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14939 $as_echo_n "checking for library containing connect... " >&6; }
14940 if ${ac_cv_search_connect+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 ac_func_search_save_LIBS=$LIBS
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14947 /* Override any GCC internal prototype to avoid an error.
14948 Use char because int might match the return type of a GCC
14949 builtin and then its argument prototype would still apply. */
14950 #ifdef __cplusplus
14951 extern "C"
14952 #endif
14953 char connect ();
14955 main ()
14957 return connect ();
14959 return 0;
14961 _ACEOF
14962 for ac_lib in '' socket; do
14963 if test -z "$ac_lib"; then
14964 ac_res="none required"
14965 else
14966 ac_res=-l$ac_lib
14967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 ac_cv_search_connect=$ac_res
14972 rm -f core conftest.err conftest.$ac_objext \
14973 conftest$ac_exeext
14974 if ${ac_cv_search_connect+:} false; then :
14975 break
14977 done
14978 if ${ac_cv_search_connect+:} false; then :
14980 else
14981 ac_cv_search_connect=no
14983 rm conftest.$ac_ext
14984 LIBS=$ac_func_search_save_LIBS
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14987 $as_echo "$ac_cv_search_connect" >&6; }
14988 ac_res=$ac_cv_search_connect
14989 if test "$ac_res" != no; then :
14990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14996 $as_echo_n "checking for library containing inet_aton... " >&6; }
14997 if ${ac_cv_search_inet_aton+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_func_search_save_LIBS=$LIBS
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 #ifdef __cplusplus
15008 extern "C"
15009 #endif
15010 char inet_aton ();
15012 main ()
15014 return inet_aton ();
15016 return 0;
15018 _ACEOF
15019 for ac_lib in '' resolv; do
15020 if test -z "$ac_lib"; then
15021 ac_res="none required"
15022 else
15023 ac_res=-l$ac_lib
15024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 ac_cv_search_inet_aton=$ac_res
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext
15031 if ${ac_cv_search_inet_aton+:} false; then :
15032 break
15034 done
15035 if ${ac_cv_search_inet_aton+:} false; then :
15037 else
15038 ac_cv_search_inet_aton=no
15040 rm conftest.$ac_ext
15041 LIBS=$ac_func_search_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15044 $as_echo "$ac_cv_search_inet_aton" >&6; }
15045 ac_res=$ac_cv_search_inet_aton
15046 if test "$ac_res" != no; then :
15047 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15052 for ac_func in \
15053 getaddrinfo \
15054 getnameinfo \
15055 getnetbyname \
15056 getprotobyname \
15057 getprotobynumber \
15058 getservbyport \
15059 inet_addr \
15060 inet_network \
15061 inet_ntop \
15062 inet_pton \
15063 sendmsg \
15064 socketpair \
15066 do :
15067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15070 cat >>confdefs.h <<_ACEOF
15071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15072 _ACEOF
15075 done
15078 ac_save_LIBS=$LIBS
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15081 if ${ac_cv_search_clock_gettime+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_func_search_save_LIBS=$LIBS
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 /* Override any GCC internal prototype to avoid an error.
15089 Use char because int might match the return type of a GCC
15090 builtin and then its argument prototype would still apply. */
15091 #ifdef __cplusplus
15092 extern "C"
15093 #endif
15094 char clock_gettime ();
15096 main ()
15098 return clock_gettime ();
15100 return 0;
15102 _ACEOF
15103 for ac_lib in '' rt; do
15104 if test -z "$ac_lib"; then
15105 ac_res="none required"
15106 else
15107 ac_res=-l$ac_lib
15108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15110 if ac_fn_c_try_link "$LINENO"; then :
15111 ac_cv_search_clock_gettime=$ac_res
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext
15115 if ${ac_cv_search_clock_gettime+:} false; then :
15116 break
15118 done
15119 if ${ac_cv_search_clock_gettime+:} false; then :
15121 else
15122 ac_cv_search_clock_gettime=no
15124 rm conftest.$ac_ext
15125 LIBS=$ac_func_search_save_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15128 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15129 ac_res=$ac_cv_search_clock_gettime
15130 if test "$ac_res" != no; then :
15131 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15133 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15135 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15139 LIBS=$ac_save_LIBS
15141 LDAP_LIBS=""
15143 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15144 then
15145 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15147 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15149 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15150 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15151 $as_echo_n "(cached) " >&6
15152 else
15153 ac_check_lib_save_LIBS=$LIBS
15154 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15158 /* Override any GCC internal prototype to avoid an error.
15159 Use char because int might match the return type of a GCC
15160 builtin and then its argument prototype would still apply. */
15161 #ifdef __cplusplus
15162 extern "C"
15163 #endif
15164 char ldap_initialize ();
15166 main ()
15168 return ldap_initialize ();
15170 return 0;
15172 _ACEOF
15173 if ac_fn_c_try_link "$LINENO"; then :
15174 ac_cv_lib_ldap_r_ldap_initialize=yes
15175 else
15176 ac_cv_lib_ldap_r_ldap_initialize=no
15178 rm -f core conftest.err conftest.$ac_objext \
15179 conftest$ac_exeext conftest.$ac_ext
15180 LIBS=$ac_check_lib_save_LIBS
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15183 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15184 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15186 $as_echo_n "checking for ber_init in -llber... " >&6; }
15187 if ${ac_cv_lib_lber_ber_init+:} false; then :
15188 $as_echo_n "(cached) " >&6
15189 else
15190 ac_check_lib_save_LIBS=$LIBS
15191 LIBS="-llber $PTHREAD_LIBS $LIBS"
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15195 /* Override any GCC internal prototype to avoid an error.
15196 Use char because int might match the return type of a GCC
15197 builtin and then its argument prototype would still apply. */
15198 #ifdef __cplusplus
15199 extern "C"
15200 #endif
15201 char ber_init ();
15203 main ()
15205 return ber_init ();
15207 return 0;
15209 _ACEOF
15210 if ac_fn_c_try_link "$LINENO"; then :
15211 ac_cv_lib_lber_ber_init=yes
15212 else
15213 ac_cv_lib_lber_ber_init=no
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_lib_save_LIBS
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15220 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15221 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15223 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15225 LDAP_LIBS="-lldap_r -llber"
15232 ac_wine_check_funcs_save_LIBS="$LIBS"
15233 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15234 for ac_func in \
15235 ldap_count_references \
15236 ldap_first_reference \
15237 ldap_next_reference \
15238 ldap_parse_reference \
15239 ldap_parse_sort_control \
15240 ldap_parse_sortresponse_control \
15241 ldap_parse_vlv_control \
15242 ldap_parse_vlvresponse_control
15243 do :
15244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15247 cat >>confdefs.h <<_ACEOF
15248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15249 _ACEOF
15252 done
15254 LIBS="$ac_wine_check_funcs_save_LIBS"
15256 if test "x$LDAP_LIBS" = "x"; then :
15257 case "x$with_ldap" in
15258 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15259 xno) ;;
15260 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15261 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15262 esac
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15266 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15267 if ${wine_cv_one_arg_mkdir+:} false; then :
15268 $as_echo_n "(cached) " >&6
15269 else
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15272 #include <sys/stat.h>
15274 main ()
15276 mkdir("foo");
15278 return 0;
15280 _ACEOF
15281 if ac_fn_c_try_compile "$LINENO"; then :
15282 wine_cv_one_arg_mkdir=yes
15283 else
15284 wine_cv_one_arg_mkdir=no
15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15289 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15290 if test "$wine_cv_one_arg_mkdir" = "yes"
15291 then
15293 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15298 $as_echo_n "checking for sched_setaffinity... " >&6; }
15299 if ${wine_cv_have_sched_setaffinity+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15304 #define _GNU_SOURCE
15305 #include <sched.h>
15307 main ()
15309 sched_setaffinity(0, 0, 0);
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 wine_cv_have_sched_setaffinity=yes
15316 else
15317 wine_cv_have_sched_setaffinity=no
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15323 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15324 if test "$wine_cv_have_sched_setaffinity" = "yes"
15325 then
15327 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15332 $as_echo_n "checking for fallocate... " >&6; }
15333 if ${wine_cv_have_fallocate+:} false; then :
15334 $as_echo_n "(cached) " >&6
15335 else
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 #define _GNU_SOURCE
15339 #include <fcntl.h>
15341 main ()
15343 fallocate(-1, 0, 0, 0);
15345 return 0;
15347 _ACEOF
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 wine_cv_have_fallocate=yes
15350 else
15351 wine_cv_have_fallocate=no
15353 rm -f core conftest.err conftest.$ac_objext \
15354 conftest$ac_exeext conftest.$ac_ext
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15357 $as_echo "$wine_cv_have_fallocate" >&6; }
15358 if test "$wine_cv_have_fallocate" = "yes"
15359 then
15361 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15367 $as_echo_n "checking for inline... " >&6; }
15368 if ${ac_cv_c_inline+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 ac_cv_c_inline=no
15372 for ac_kw in inline __inline__ __inline; do
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #ifndef __cplusplus
15376 typedef int foo_t;
15377 static $ac_kw foo_t static_foo () {return 0; }
15378 $ac_kw foo_t foo () {return 0; }
15379 #endif
15381 _ACEOF
15382 if ac_fn_c_try_compile "$LINENO"; then :
15383 ac_cv_c_inline=$ac_kw
15385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15386 test "$ac_cv_c_inline" != no && break
15387 done
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15391 $as_echo "$ac_cv_c_inline" >&6; }
15393 case $ac_cv_c_inline in
15394 inline | yes) ;;
15396 case $ac_cv_c_inline in
15397 no) ac_val=;;
15398 *) ac_val=$ac_cv_c_inline;;
15399 esac
15400 cat >>confdefs.h <<_ACEOF
15401 #ifndef __cplusplus
15402 #define inline $ac_val
15403 #endif
15404 _ACEOF
15406 esac
15408 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15409 if test "x$ac_cv_type_mode_t" = xyes; then :
15411 cat >>confdefs.h <<_ACEOF
15412 #define HAVE_MODE_T 1
15413 _ACEOF
15417 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15418 if test "x$ac_cv_type_off_t" = xyes; then :
15420 cat >>confdefs.h <<_ACEOF
15421 #define HAVE_OFF_T 1
15422 _ACEOF
15426 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15427 if test "x$ac_cv_type_pid_t" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_PID_T 1
15431 _ACEOF
15435 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15436 if test "x$ac_cv_type_size_t" = xyes; then :
15438 cat >>confdefs.h <<_ACEOF
15439 #define HAVE_SIZE_T 1
15440 _ACEOF
15444 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15445 if test "x$ac_cv_type_ssize_t" = xyes; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define HAVE_SSIZE_T 1
15449 _ACEOF
15453 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15454 if test "x$ac_cv_type_long_long" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_LONG_LONG 1
15458 _ACEOF
15462 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15463 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15465 cat >>confdefs.h <<_ACEOF
15466 #define HAVE_FSBLKCNT_T 1
15467 _ACEOF
15471 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15472 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15474 cat >>confdefs.h <<_ACEOF
15475 #define HAVE_FSFILCNT_T 1
15476 _ACEOF
15481 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15482 #include <signal.h>
15484 if test "x$ac_cv_type_sigset_t" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_SIGSET_T 1
15488 _ACEOF
15493 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15495 if test "x$ac_cv_type_request_sense" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_REQUEST_SENSE 1
15499 _ACEOF
15505 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15506 #ifdef HAVE_SYS_SOCKET_H
15507 #include <sys/socket.h>
15508 #endif
15509 #ifdef HAVE_SYS_SOCKETVAR_H
15510 #include <sys/socketvar.h>
15511 #endif
15512 #ifdef HAVE_NET_ROUTE_H
15513 #include <net/route.h>
15514 #endif
15515 #ifdef HAVE_NETINET_IN_H
15516 #include <netinet/in.h>
15517 #endif
15518 #ifdef HAVE_NETINET_IN_SYSTM_H
15519 #include <netinet/in_systm.h>
15520 #endif
15521 #ifdef HAVE_NETINET_IP_H
15522 #include <netinet/ip.h>
15523 #endif
15524 #ifdef HAVE_NETINET_IN_PCB_H
15525 #include <netinet/in_pcb.h>
15526 #endif
15528 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15530 cat >>confdefs.h <<_ACEOF
15531 #define HAVE_STRUCT_XINPGEN 1
15532 _ACEOF
15538 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15539 #include <link.h>
15540 #endif
15541 #ifdef HAVE_SYS_LINK_H
15542 #include <sys/link.h>
15543 #endif
15545 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15547 cat >>confdefs.h <<_ACEOF
15548 #define HAVE_STRUCT_R_DEBUG 1
15549 _ACEOF
15553 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15554 #include <link.h>
15555 #endif
15556 #ifdef HAVE_SYS_LINK_H
15557 #include <sys/link.h>
15558 #endif
15560 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15562 cat >>confdefs.h <<_ACEOF
15563 #define HAVE_STRUCT_LINK_MAP 1
15564 _ACEOF
15570 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15571 #include <linux/input.h>
15572 #endif
15574 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15578 _ACEOF
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15585 $as_echo_n "checking for sigaddset... " >&6; }
15586 if ${wine_cv_have_sigaddset+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15591 #include <signal.h>
15593 main ()
15595 sigset_t set; sigaddset(&set,SIGTERM);
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 wine_cv_have_sigaddset=yes
15602 else
15603 wine_cv_have_sigaddset=no
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15609 $as_echo "$wine_cv_have_sigaddset" >&6; }
15610 if test "$wine_cv_have_sigaddset" = "yes"
15611 then
15613 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15619 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15620 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15621 $as_echo_n "(cached) " >&6
15622 else
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15625 #include <netdb.h>
15627 main ()
15630 char *name=0;
15631 struct hostent he;
15632 struct hostent *result;
15633 char *buf=0;
15634 int bufsize=0;
15635 int errnr;
15636 char *addr=0;
15637 int addrlen=0;
15638 int addrtype=0;
15639 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15640 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15643 return 0;
15645 _ACEOF
15646 if ac_fn_c_try_link "$LINENO"; then :
15647 wine_cv_linux_gethostbyname_r_6=yes
15648 else
15649 wine_cv_linux_gethostbyname_r_6=no
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15657 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15658 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15659 then
15661 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15665 if test "$ac_cv_header_linux_joystick_h" = "yes"
15666 then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15668 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15669 if ${wine_cv_linux_joystick_22_api+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15675 #include <sys/ioctl.h>
15676 #include <sys/types.h>
15677 #include <linux/joystick.h>
15679 struct js_event blub;
15680 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15681 #error "no 2.2 header"
15682 #endif
15685 main ()
15687 /*empty*/
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_compile "$LINENO"; then :
15693 wine_cv_linux_joystick_22_api=yes
15694 else
15695 wine_cv_linux_joystick_22_api=no
15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15701 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15702 if test "$wine_cv_linux_joystick_22_api" = "yes"
15703 then
15705 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15711 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_PARAM_H
15713 # include <sys/param.h>
15714 #endif
15715 #ifdef HAVE_SYS_MOUNT_H
15716 # include <sys/mount.h>
15717 #endif
15718 #ifdef HAVE_SYS_VFS_H
15719 # include <sys/vfs.h>
15720 #endif
15721 #ifdef HAVE_SYS_STATFS_H
15722 # include <sys/statfs.h>
15723 #endif
15725 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_STRUCT_STATFS_F_BFREE 1
15729 _ACEOF
15733 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15734 #ifdef HAVE_SYS_PARAM_H
15735 # include <sys/param.h>
15736 #endif
15737 #ifdef HAVE_SYS_MOUNT_H
15738 # include <sys/mount.h>
15739 #endif
15740 #ifdef HAVE_SYS_VFS_H
15741 # include <sys/vfs.h>
15742 #endif
15743 #ifdef HAVE_SYS_STATFS_H
15744 # include <sys/statfs.h>
15745 #endif
15747 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15751 _ACEOF
15755 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_PARAM_H
15757 # include <sys/param.h>
15758 #endif
15759 #ifdef HAVE_SYS_MOUNT_H
15760 # include <sys/mount.h>
15761 #endif
15762 #ifdef HAVE_SYS_VFS_H
15763 # include <sys/vfs.h>
15764 #endif
15765 #ifdef HAVE_SYS_STATFS_H
15766 # include <sys/statfs.h>
15767 #endif
15769 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15773 _ACEOF
15777 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15778 #ifdef HAVE_SYS_PARAM_H
15779 # include <sys/param.h>
15780 #endif
15781 #ifdef HAVE_SYS_MOUNT_H
15782 # include <sys/mount.h>
15783 #endif
15784 #ifdef HAVE_SYS_VFS_H
15785 # include <sys/vfs.h>
15786 #endif
15787 #ifdef HAVE_SYS_STATFS_H
15788 # include <sys/statfs.h>
15789 #endif
15791 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_STRUCT_STATFS_F_FFREE 1
15795 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15800 #ifdef HAVE_SYS_PARAM_H
15801 # include <sys/param.h>
15802 #endif
15803 #ifdef HAVE_SYS_MOUNT_H
15804 # include <sys/mount.h>
15805 #endif
15806 #ifdef HAVE_SYS_VFS_H
15807 # include <sys/vfs.h>
15808 #endif
15809 #ifdef HAVE_SYS_STATFS_H
15810 # include <sys/statfs.h>
15811 #endif
15813 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15815 cat >>confdefs.h <<_ACEOF
15816 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15817 _ACEOF
15821 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15822 #ifdef HAVE_SYS_PARAM_H
15823 # include <sys/param.h>
15824 #endif
15825 #ifdef HAVE_SYS_MOUNT_H
15826 # include <sys/mount.h>
15827 #endif
15828 #ifdef HAVE_SYS_VFS_H
15829 # include <sys/vfs.h>
15830 #endif
15831 #ifdef HAVE_SYS_STATFS_H
15832 # include <sys/statfs.h>
15833 #endif
15835 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15839 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15846 #include <sys/statvfs.h>
15847 #endif
15849 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15853 _ACEOF
15859 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15860 #include <dirent.h>
15861 #endif
15863 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15867 _ACEOF
15873 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15874 #ifdef HAVE_SYS_SOCKET_H
15875 # include <sys/socket.h>
15876 #endif
15877 #ifdef HAVE_SYS_UN_H
15878 # include <sys/un.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15885 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_SOCKET_H
15891 # include <sys/socket.h>
15892 #endif
15893 #ifdef HAVE_SYS_UN_H
15894 # include <sys/un.h>
15895 #endif
15897 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15901 _ACEOF
15905 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15906 #ifdef HAVE_SYS_SOCKET_H
15907 # include <sys/socket.h>
15908 #endif
15909 #ifdef HAVE_SYS_UN_H
15910 # include <sys/un.h>
15911 #endif
15913 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15915 cat >>confdefs.h <<_ACEOF
15916 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15917 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15924 #ifdef HAVE_SCSI_SG_H
15925 #include <scsi/sg.h>
15926 #endif
15928 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_SCSIREQ_T_CMD 1
15932 _ACEOF
15936 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>
15937 #ifdef HAVE_SCSI_SG_H
15938 #include <scsi/sg.h>
15939 #endif
15941 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15945 _ACEOF
15951 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15953 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_SIGINFO_T_SI_FD 1
15957 _ACEOF
15963 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15964 #ifdef HAVE_SYS_MTIO_H
15965 #include <sys/mtio.h>
15966 #endif
15968 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15970 cat >>confdefs.h <<_ACEOF
15971 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15972 _ACEOF
15976 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15977 #ifdef HAVE_SYS_MTIO_H
15978 #include <sys/mtio.h>
15979 #endif
15981 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15985 _ACEOF
15989 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15990 #ifdef HAVE_SYS_MTIO_H
15991 #include <sys/mtio.h>
15992 #endif
15994 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15998 _ACEOF
16004 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16005 #include <getopt.h>
16006 #endif
16008 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_STRUCT_OPTION_NAME 1
16012 _ACEOF
16018 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16019 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16023 _ACEOF
16027 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16028 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_STRUCT_STAT_ST_MTIM 1
16032 _ACEOF
16036 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16037 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16041 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16046 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_STRUCT_STAT_ST_CTIM 1
16050 _ACEOF
16054 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16055 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16059 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16064 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_STAT_ST_ATIM 1
16068 _ACEOF
16072 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16073 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16077 _ACEOF
16081 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16082 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16086 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16091 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16095 _ACEOF
16099 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16100 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16104 _ACEOF
16108 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16109 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16113 _ACEOF
16117 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16118 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16122 _ACEOF
16128 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
16129 #include <sys/types.h>
16130 #endif
16131 #ifdef HAVE_NETINET_IN_H
16132 #include <netinet/in.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16139 _ACEOF
16145 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16146 #include <resolv.h>
16147 #endif
16149 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT___RES_STATE 1
16153 _ACEOF
16159 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
16160 #include <resolv.h>
16161 #endif
16163 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16167 _ACEOF
16173 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16174 #include <sys/types.h>
16175 #endif
16176 #ifdef HAVE_NETINET_IN_H
16177 # include <netinet/in.h>
16178 #endif
16179 #ifdef HAVE_ARPA_NAMESER_H
16180 # include <arpa/nameser.h>
16181 #endif
16183 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_NS_MSG__MSG_PTR 1
16187 _ACEOF
16193 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16194 #include <sys/types.h>
16195 #endif
16196 #ifdef HAVE_NETINET_IP_H
16197 #include <netinet/ip.h>
16198 #endif
16199 #ifdef HAVE_NETINET_IP_ICMP_H
16200 #include <netinet/ip_icmp.h>
16201 #endif
16202 #ifdef HAVE_NETINET_ICMP_VAR_H
16203 #include <netinet/icmp_var.h>
16204 #endif
16206 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16210 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16218 #endif
16219 #ifdef HAVE_ALIAS_H
16220 #include <alias.h>
16221 #endif
16222 #ifdef HAVE_SYS_SOCKET_H
16223 #include <sys/socket.h>
16224 #endif
16225 #ifdef HAVE_SYS_SOCKETVAR_H
16226 #include <sys/socketvar.h>
16227 #endif
16228 #ifdef HAVE_SYS_TIMEOUT_H
16229 #include <sys/timeout.h>
16230 #endif
16231 #ifdef HAVE_NETINET_IN_H
16232 #include <netinet/in.h>
16233 #endif
16234 #ifdef HAVE_NETINET_IN_SYSTM_H
16235 #include <netinet/in_systm.h>
16236 #endif
16237 #ifdef HAVE_NETINET_IP_H
16238 #include <netinet/ip.h>
16239 #endif
16240 #ifdef HAVE_NETINET_IP_VAR_H
16241 #include <netinet/ip_var.h>
16242 #endif
16243 #ifdef HAVE_NETINET_IP_ICMP_H
16244 #include <netinet/ip_icmp.h>
16245 #endif
16246 #ifdef HAVE_NETINET_ICMP_VAR_H
16247 #include <netinet/icmp_var.h>
16248 #endif
16250 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16254 _ACEOF
16260 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16261 #include <sys/types.h>
16262 #endif
16263 #ifdef HAVE_SYS_SOCKETVAR_H
16264 #include <sys/socketvar.h>
16265 #endif
16266 #ifdef HAVE_NETINET_IN_H
16267 #include <netinet/in.h>
16268 #endif
16269 #ifdef HAVE_NETINET_IP_VAR_H
16270 #include <netinet/ip_var.h>
16271 #endif
16273 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16277 _ACEOF
16283 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
16284 #include <netinet/ip_var.h>
16285 #endif
16287 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16291 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16298 #include <sys/types.h>
16299 #endif
16300 #ifdef HAVE_SYS_SOCKETVAR_H
16301 #include <sys/socketvar.h>
16302 #endif
16303 #ifdef HAVE_NETINET_IN_H
16304 #include <netinet/in.h>
16305 #endif
16306 #ifdef HAVE_NETINET_TCP_H
16307 #include <netinet/tcp.h>
16308 #endif
16309 #ifdef HAVE_NETINET_TCP_VAR_H
16310 #include <netinet/tcp_var.h>
16311 #endif
16313 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16317 _ACEOF
16323 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
16324 #include <netinet/tcp_var.h>
16325 #endif
16327 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16331 _ACEOF
16337 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16338 #include <sys/types.h>
16339 #endif
16340 #ifdef HAVE_NETINET_IN_H
16341 #include <netinet/in.h>
16342 #endif
16343 #ifdef HAVE_NETINET_IP_VAR_H
16344 #include <netinet/ip_var.h>
16345 #endif
16346 #ifdef HAVE_NETINET_UDP_H
16347 #include <netinet/udp.h>
16348 #endif
16349 #ifdef HAVE_NETINET_UDP_VAR_H
16350 #include <netinet/udp_var.h>
16351 #endif
16353 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16357 _ACEOF
16363 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16364 #include <sys/types.h>
16365 #endif
16366 #ifdef HAVE_NET_IF_H
16367 # include <net/if.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16374 _ACEOF
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16381 $as_echo_n "checking for timezone variable... " >&6; }
16382 if ${ac_cv_have_timezone+:} false; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 #include <time.h>
16389 main ()
16391 timezone = 1
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 ac_cv_have_timezone="yes"
16398 else
16399 ac_cv_have_timezone="no"
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16405 $as_echo "$ac_cv_have_timezone" >&6; }
16406 if test "$ac_cv_have_timezone" = "yes"
16407 then
16409 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16413 $as_echo_n "checking for daylight variable... " >&6; }
16414 if ${ac_cv_have_daylight+:} false; then :
16415 $as_echo_n "(cached) " >&6
16416 else
16417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16419 #include <time.h>
16421 main ()
16423 daylight = 1
16425 return 0;
16427 _ACEOF
16428 if ac_fn_c_try_link "$LINENO"; then :
16429 ac_cv_have_daylight="yes"
16430 else
16431 ac_cv_have_daylight="no"
16433 rm -f core conftest.err conftest.$ac_objext \
16434 conftest$ac_exeext conftest.$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16437 $as_echo "$ac_cv_have_daylight" >&6; }
16438 if test "$ac_cv_have_daylight" = "yes"
16439 then
16441 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16445 ac_save_LIBS="$LIBS"
16446 LIBS="$LIBS -lm"
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16448 $as_echo_n "checking for isfinite... " >&6; }
16449 if ${ac_cv_have_isfinite+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 #define _GNU_SOURCE
16455 #include <math.h>
16457 main ()
16459 float f = 0.0; return isfinite(f)
16461 return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"; then :
16465 ac_cv_have_isfinite="yes"
16466 else
16467 ac_cv_have_isfinite="no"
16469 rm -f core conftest.err conftest.$ac_objext \
16470 conftest$ac_exeext conftest.$ac_ext
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16473 $as_echo "$ac_cv_have_isfinite" >&6; }
16474 if test "$ac_cv_have_isfinite" = "yes"
16475 then
16477 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16482 $as_echo_n "checking for isinf... " >&6; }
16483 if ${ac_cv_have_isinf+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #include <math.h>
16490 main ()
16492 float f = 0.0; return isinf(f)
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 ac_cv_have_isinf="yes"
16499 else
16500 ac_cv_have_isinf="no"
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16506 $as_echo "$ac_cv_have_isinf" >&6; }
16507 if test "$ac_cv_have_isinf" = "yes"
16508 then
16510 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16515 $as_echo_n "checking for isnan... " >&6; }
16516 if ${ac_cv_have_isnan+:} false; then :
16517 $as_echo_n "(cached) " >&6
16518 else
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #include <math.h>
16523 main ()
16525 float f = 0.0; return isnan(f)
16527 return 0;
16529 _ACEOF
16530 if ac_fn_c_try_link "$LINENO"; then :
16531 ac_cv_have_isnan="yes"
16532 else
16533 ac_cv_have_isnan="no"
16535 rm -f core conftest.err conftest.$ac_objext \
16536 conftest$ac_exeext conftest.$ac_ext
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16539 $as_echo "$ac_cv_have_isnan" >&6; }
16540 if test "$ac_cv_have_isnan" = "yes"
16541 then
16543 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16547 for ac_func in \
16548 cbrt \
16549 cbrtf \
16550 exp2 \
16551 exp2f \
16552 llrint \
16553 llrintf \
16554 llround \
16555 llroundf \
16556 log2 \
16557 log2f \
16558 lrint \
16559 lrintf \
16560 lround \
16561 lroundf \
16562 rint \
16563 rintf \
16564 round \
16565 roundf \
16566 trunc \
16567 truncf
16569 do :
16570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16575 _ACEOF
16578 done
16580 LIBS="$ac_save_LIBS"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16583 $as_echo_n "checking for __builtin_clz... " >&6; }
16584 if ${ac_cv_have___builtin_clz+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16591 main ()
16593 return __builtin_clz(1)
16595 return 0;
16597 _ACEOF
16598 if ac_fn_c_try_link "$LINENO"; then :
16599 ac_cv_have___builtin_clz="yes"
16600 else
16601 ac_cv_have___builtin_clz="no"
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16607 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16608 if test "$ac_cv_have___builtin_clz" = "yes"
16609 then
16611 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16616 case $host_cpu in
16617 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16618 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16619 if ${ac_cv_cpp_def___i386__+:} false; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16624 #ifndef __i386__
16626 #endif
16627 _ACEOF
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev/null 2>&1; then :
16630 ac_cv_cpp_def___i386__=yes
16631 else
16632 ac_cv_cpp_def___i386__=no
16634 rm -f conftest*
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16638 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16639 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16640 CFLAGS="$CFLAGS -D__i386__"
16641 LINTFLAGS="$LINTFLAGS -D__i386__"
16642 fi ;;
16643 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16644 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16645 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #ifndef __x86_64__
16652 #endif
16653 _ACEOF
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "yes" >/dev/null 2>&1; then :
16656 ac_cv_cpp_def___x86_64__=yes
16657 else
16658 ac_cv_cpp_def___x86_64__=no
16660 rm -f conftest*
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16664 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16665 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16666 CFLAGS="$CFLAGS -D__x86_64__"
16667 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16668 fi ;;
16669 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16670 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16671 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #ifndef __sparc64__
16678 #endif
16679 _ACEOF
16680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16681 $EGREP "yes" >/dev/null 2>&1; then :
16682 ac_cv_cpp_def___sparc64__=yes
16683 else
16684 ac_cv_cpp_def___sparc64__=no
16686 rm -f conftest*
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16690 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16691 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16692 CFLAGS="$CFLAGS -D__sparc64__"
16693 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16694 fi ;;
16695 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16696 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16697 if ${ac_cv_cpp_def___sparc__+:} false; then :
16698 $as_echo_n "(cached) " >&6
16699 else
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #ifndef __sparc__
16704 #endif
16705 _ACEOF
16706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16707 $EGREP "yes" >/dev/null 2>&1; then :
16708 ac_cv_cpp_def___sparc__=yes
16709 else
16710 ac_cv_cpp_def___sparc__=no
16712 rm -f conftest*
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16716 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16717 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16718 CFLAGS="$CFLAGS -D__sparc__"
16719 LINTFLAGS="$LINTFLAGS -D__sparc__"
16720 fi ;;
16721 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16722 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16723 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16724 $as_echo_n "(cached) " >&6
16725 else
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #ifndef __powerpc64__
16730 #endif
16731 _ACEOF
16732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16733 $EGREP "yes" >/dev/null 2>&1; then :
16734 ac_cv_cpp_def___powerpc64__=yes
16735 else
16736 ac_cv_cpp_def___powerpc64__=no
16738 rm -f conftest*
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16742 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16743 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16744 CFLAGS="$CFLAGS -D__powerpc64__"
16745 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16746 fi ;;
16747 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16748 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16749 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16750 $as_echo_n "(cached) " >&6
16751 else
16752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #ifndef __powerpc__
16756 #endif
16757 _ACEOF
16758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16759 $EGREP "yes" >/dev/null 2>&1; then :
16760 ac_cv_cpp_def___powerpc__=yes
16761 else
16762 ac_cv_cpp_def___powerpc__=no
16764 rm -f conftest*
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16768 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16769 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16770 CFLAGS="$CFLAGS -D__powerpc__"
16771 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16772 fi ;;
16773 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16774 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16775 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #ifndef __aarch64__
16782 #endif
16783 _ACEOF
16784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16785 $EGREP "yes" >/dev/null 2>&1; then :
16786 ac_cv_cpp_def___aarch64__=yes
16787 else
16788 ac_cv_cpp_def___aarch64__=no
16790 rm -f conftest*
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16794 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16795 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16796 CFLAGS="$CFLAGS -D__aarch64__"
16797 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16798 fi ;;
16799 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16800 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16801 if ${ac_cv_cpp_def___arm__+:} false; then :
16802 $as_echo_n "(cached) " >&6
16803 else
16804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16806 #ifndef __arm__
16808 #endif
16809 _ACEOF
16810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16811 $EGREP "yes" >/dev/null 2>&1; then :
16812 ac_cv_cpp_def___arm__=yes
16813 else
16814 ac_cv_cpp_def___arm__=no
16816 rm -f conftest*
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16820 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16821 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16822 CFLAGS="$CFLAGS -D__arm__"
16823 LINTFLAGS="$LINTFLAGS -D__arm__"
16824 fi ;;
16825 esac
16827 case $host_vendor in
16828 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16829 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16830 if ${ac_cv_cpp_def___sun__+:} false; then :
16831 $as_echo_n "(cached) " >&6
16832 else
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16835 #ifndef __sun__
16837 #endif
16838 _ACEOF
16839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16840 $EGREP "yes" >/dev/null 2>&1; then :
16841 ac_cv_cpp_def___sun__=yes
16842 else
16843 ac_cv_cpp_def___sun__=no
16845 rm -f conftest*
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16849 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16850 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16851 CFLAGS="$CFLAGS -D__sun__"
16852 LINTFLAGS="$LINTFLAGS -D__sun__"
16853 fi ;;
16854 esac
16860 ac_config_commands="$ac_config_commands include/stamp-h"
16862 $as_echo_n "creating Makefile rules..." >&6
16864 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16865 SOCKET_LIBS = $SOCKET_LIBS
16866 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16867 IOKIT_LIBS = $IOKIT_LIBS
16868 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16869 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16870 CORESERVICES_LIBS = $CORESERVICES_LIBS
16871 APPKIT_LIBS = $APPKIT_LIBS
16872 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16873 SECURITY_LIBS = $SECURITY_LIBS
16874 COREAUDIO_LIBS = $COREAUDIO_LIBS
16875 OPENAL_LIBS = $OPENAL_LIBS
16876 OPENCL_LIBS = $OPENCL_LIBS
16877 QUICKTIME_LIBS = $QUICKTIME_LIBS
16878 CARBON_LIBS = $CARBON_LIBS
16879 PTHREAD_LIBS = $PTHREAD_LIBS
16880 X_CFLAGS = $X_CFLAGS
16881 X_PRE_LIBS = $X_PRE_LIBS
16882 X_LIBS = $X_LIBS
16883 X_EXTRA_LIBS = $X_EXTRA_LIBS
16884 XML2_CFLAGS = $XML2_CFLAGS
16885 XML2_LIBS = $XML2_LIBS
16886 XSLT_CFLAGS = $XSLT_CFLAGS
16887 XSLT_LIBS = $XSLT_LIBS
16888 DBUS_CFLAGS = $DBUS_CFLAGS
16889 DBUS_LIBS = $DBUS_LIBS
16890 HAL_CFLAGS = $HAL_CFLAGS
16891 HAL_LIBS = $HAL_LIBS
16892 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16893 GNUTLS_LIBS = $GNUTLS_LIBS
16894 SANE_CFLAGS = $SANE_CFLAGS
16895 SANE_LIBS = $SANE_LIBS
16896 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16897 GPHOTO2_LIBS = $GPHOTO2_LIBS
16898 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16899 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16900 RESOLV_LIBS = $RESOLV_LIBS
16901 LCMS2_CFLAGS = $LCMS2_CFLAGS
16902 LCMS2_LIBS = $LCMS2_LIBS
16903 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16904 FREETYPE_LIBS = $FREETYPE_LIBS
16905 Z_LIBS = $Z_LIBS
16906 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16907 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16908 GSTREAMER_LIBS = $GSTREAMER_LIBS
16909 ALSA_LIBS = $ALSA_LIBS
16910 OSS4_CFLAGS = $OSS4_CFLAGS
16911 CAPI20_CFLAGS = $CAPI20_CFLAGS
16912 CAPI20_LIBS = $CAPI20_LIBS
16913 CUPS_CFLAGS = $CUPS_CFLAGS
16914 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16915 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16916 JPEG_CFLAGS = $JPEG_CFLAGS
16917 JPEG_LIBS = $JPEG_LIBS
16918 PNG_CFLAGS = $PNG_CFLAGS
16919 PNG_LIBS = $PNG_LIBS
16920 TIFF_CFLAGS = $TIFF_CFLAGS
16921 TIFF_LIBS = $TIFF_LIBS
16922 MPG123_CFLAGS = $MPG123_CFLAGS
16923 MPG123_LIBS = $MPG123_LIBS
16924 KSTAT_LIBS = $KSTAT_LIBS
16925 PROCSTAT_LIBS = $PROCSTAT_LIBS
16926 DL_LIBS = $DL_LIBS
16927 POLL_LIBS = $POLL_LIBS
16928 RT_LIBS = $RT_LIBS
16929 LDAP_LIBS = $LDAP_LIBS
16934 wine_fn_append_rule "
16935 # Rules automatically generated by configure
16937 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16939 .INIT: Makefile
16940 .MAKEFILEDEPS:
16941 all: Makefile
16942 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16943 @./config.status Make.tmp Makefile"
16945 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16946 .gitignore: config.status
16947 @./config.status .gitignore"
16949 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16950 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16952 if test "x$enable_fonts" != xno; then
16953 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16954 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16955 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16956 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16957 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16959 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16960 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16961 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16962 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16963 ac_config_links="$ac_config_links wine:tools/winewrapper"
16964 wine_fn_config_symlink wine
16965 if test "x$enable_win64" != xno; then
16966 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16967 wine_fn_config_symlink wine64
16970 wine_fn_config_dll acledit enable_acledit
16971 wine_fn_config_dll aclui enable_aclui implib
16972 wine_fn_config_dll activeds enable_activeds implib
16973 wine_fn_config_dll actxprxy enable_actxprxy clean
16974 wine_fn_config_lib adsiid
16975 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16976 wine_fn_config_test dlls/advapi32/tests advapi32_test
16977 wine_fn_config_dll advpack enable_advpack implib
16978 wine_fn_config_test dlls/advpack/tests advpack_test
16979 wine_fn_config_dll amstream enable_amstream clean
16980 wine_fn_config_test dlls/amstream/tests amstream_test
16981 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16983 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16985 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16986 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16988 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16991 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16992 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16993 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16997 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17002 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17006 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17010 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17019 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17025 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17037 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17038 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17039 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17040 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17041 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17042 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17043 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17044 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17045 wine_fn_config_dll apphelp enable_apphelp
17046 wine_fn_config_test dlls/apphelp/tests apphelp_test
17047 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17048 wine_fn_config_dll atl enable_atl clean,implib
17049 wine_fn_config_test dlls/atl/tests atl_test
17050 wine_fn_config_dll atl100 enable_atl100 clean,implib
17051 wine_fn_config_test dlls/atl100/tests atl100_test
17052 wine_fn_config_dll atl110 enable_atl110 clean
17053 wine_fn_config_dll atl80 enable_atl80 clean,implib
17054 wine_fn_config_test dlls/atl80/tests atl80_test
17055 wine_fn_config_dll atl90 enable_atl90 clean
17056 wine_fn_config_dll authz enable_authz
17057 wine_fn_config_dll avicap32 enable_avicap32 implib
17058 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17059 wine_fn_config_test dlls/avifil32/tests avifil32_test
17060 wine_fn_config_dll avifile.dll16 enable_win16
17061 wine_fn_config_dll avrt enable_avrt implib
17062 wine_fn_config_dll bcrypt enable_bcrypt
17063 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17064 wine_fn_config_dll browseui enable_browseui clean,po
17065 wine_fn_config_test dlls/browseui/tests browseui_test
17066 wine_fn_config_dll cabinet enable_cabinet implib
17067 wine_fn_config_test dlls/cabinet/tests cabinet_test
17068 wine_fn_config_dll capi2032 enable_capi2032 implib
17069 wine_fn_config_dll cards enable_cards implib
17070 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17071 wine_fn_config_dll clusapi enable_clusapi implib
17072 wine_fn_config_dll combase enable_combase
17073 wine_fn_config_test dlls/combase/tests combase_test
17074 wine_fn_config_dll comcat enable_comcat
17075 wine_fn_config_test dlls/comcat/tests comcat_test
17076 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17077 wine_fn_config_test dlls/comctl32/tests comctl32_test
17078 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17079 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17080 wine_fn_config_dll comm.drv16 enable_win16
17081 wine_fn_config_dll commdlg.dll16 enable_win16
17082 wine_fn_config_dll compobj.dll16 enable_win16
17083 wine_fn_config_dll compstui enable_compstui implib
17084 wine_fn_config_dll comsvcs enable_comsvcs implib
17085 wine_fn_config_dll connect enable_connect
17086 wine_fn_config_dll credui enable_credui implib,po
17087 wine_fn_config_test dlls/credui/tests credui_test
17088 wine_fn_config_dll crtdll enable_crtdll implib
17089 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17090 wine_fn_config_test dlls/crypt32/tests crypt32_test
17091 wine_fn_config_dll cryptdlg enable_cryptdlg po
17092 wine_fn_config_dll cryptdll enable_cryptdll implib
17093 wine_fn_config_dll cryptext enable_cryptext
17094 wine_fn_config_dll cryptnet enable_cryptnet implib
17095 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17096 wine_fn_config_dll cryptui enable_cryptui implib,po
17097 wine_fn_config_test dlls/cryptui/tests cryptui_test
17098 wine_fn_config_dll ctapi32 enable_ctapi32
17099 wine_fn_config_dll ctl3d.dll16 enable_win16
17100 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17101 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17102 wine_fn_config_dll d2d1 enable_d2d1 implib
17103 wine_fn_config_test dlls/d2d1/tests d2d1_test
17104 wine_fn_config_dll d3d10 enable_d3d10 implib
17105 wine_fn_config_test dlls/d3d10/tests d3d10_test
17106 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17107 wine_fn_config_dll d3d10core enable_d3d10core implib
17108 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17109 wine_fn_config_dll d3d11 enable_d3d11
17110 wine_fn_config_dll d3d8 enable_d3d8 implib
17111 wine_fn_config_test dlls/d3d8/tests d3d8_test
17112 wine_fn_config_dll d3d9 enable_d3d9 implib
17113 wine_fn_config_test dlls/d3d9/tests d3d9_test
17114 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17115 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17116 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17117 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17118 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17119 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17120 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17121 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17122 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17123 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17124 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17125 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17126 wine_fn_config_dll d3dim enable_d3dim implib
17127 wine_fn_config_dll d3drm enable_d3drm implib
17128 wine_fn_config_test dlls/d3drm/tests d3drm_test
17129 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17130 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17131 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17132 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17133 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17134 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17135 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17136 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17137 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17138 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17139 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17140 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17141 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17142 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17143 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17144 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17145 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17146 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17147 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17148 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17149 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17150 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17151 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17152 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17153 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17154 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17155 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17156 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17157 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17158 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17159 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17160 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17161 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17162 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17163 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17164 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17165 wine_fn_config_dll dbgeng enable_dbgeng implib
17166 wine_fn_config_dll dbghelp enable_dbghelp implib
17167 wine_fn_config_dll dciman32 enable_dciman32 implib
17168 wine_fn_config_dll ddeml.dll16 enable_win16
17169 wine_fn_config_dll ddraw enable_ddraw clean,implib
17170 wine_fn_config_test dlls/ddraw/tests ddraw_test
17171 wine_fn_config_dll ddrawex enable_ddrawex clean
17172 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17173 wine_fn_config_dll devenum enable_devenum clean,po
17174 wine_fn_config_test dlls/devenum/tests devenum_test
17175 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17176 wine_fn_config_dll difxapi enable_difxapi
17177 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17178 wine_fn_config_test dlls/dinput/tests dinput_test
17179 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17180 wine_fn_config_test dlls/dinput8/tests dinput8_test
17181 wine_fn_config_dll dispdib.dll16 enable_win16
17182 wine_fn_config_dll dispex enable_dispex clean
17183 wine_fn_config_test dlls/dispex/tests dispex_test
17184 wine_fn_config_dll display.drv16 enable_win16
17185 wine_fn_config_dll dmband enable_dmband clean
17186 wine_fn_config_test dlls/dmband/tests dmband_test
17187 wine_fn_config_dll dmcompos enable_dmcompos clean
17188 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17189 wine_fn_config_dll dmime enable_dmime clean
17190 wine_fn_config_test dlls/dmime/tests dmime_test
17191 wine_fn_config_dll dmloader enable_dmloader clean
17192 wine_fn_config_test dlls/dmloader/tests dmloader_test
17193 wine_fn_config_dll dmscript enable_dmscript clean
17194 wine_fn_config_test dlls/dmscript/tests dmscript_test
17195 wine_fn_config_dll dmstyle enable_dmstyle clean
17196 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17197 wine_fn_config_dll dmsynth enable_dmsynth clean
17198 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17199 wine_fn_config_dll dmusic enable_dmusic clean
17200 wine_fn_config_test dlls/dmusic/tests dmusic_test
17201 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17202 wine_fn_config_dll dnsapi enable_dnsapi implib
17203 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17204 wine_fn_config_dll dplay enable_dplay implib
17205 wine_fn_config_dll dplayx enable_dplayx clean,implib
17206 wine_fn_config_test dlls/dplayx/tests dplayx_test
17207 wine_fn_config_dll dpnaddr enable_dpnaddr
17208 wine_fn_config_dll dpnet enable_dpnet clean,implib
17209 wine_fn_config_test dlls/dpnet/tests dpnet_test
17210 wine_fn_config_dll dpnhpast enable_dpnhpast
17211 wine_fn_config_dll dpnlobby enable_dpnlobby
17212 wine_fn_config_dll dpvoice enable_dpvoice clean
17213 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17214 wine_fn_config_dll dpwsockx enable_dpwsockx
17215 wine_fn_config_dll drmclien enable_drmclien
17216 wine_fn_config_dll dsound enable_dsound clean,implib
17217 wine_fn_config_test dlls/dsound/tests dsound_test
17218 wine_fn_config_dll dssenh enable_dssenh
17219 wine_fn_config_test dlls/dssenh/tests dssenh_test
17220 wine_fn_config_dll dswave enable_dswave clean
17221 wine_fn_config_test dlls/dswave/tests dswave_test
17222 wine_fn_config_dll dwmapi enable_dwmapi implib
17223 wine_fn_config_dll dwrite enable_dwrite implib
17224 wine_fn_config_test dlls/dwrite/tests dwrite_test
17225 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17226 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17227 wine_fn_config_lib dxerr8
17228 wine_fn_config_lib dxerr9
17229 wine_fn_config_dll dxgi enable_dxgi implib
17230 wine_fn_config_test dlls/dxgi/tests dxgi_test
17231 wine_fn_config_lib dxguid
17232 wine_fn_config_dll dxva2 enable_dxva2
17233 wine_fn_config_dll evr enable_evr
17234 wine_fn_config_dll explorerframe enable_explorerframe clean
17235 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17236 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17237 wine_fn_config_dll faultrep enable_faultrep implib
17238 wine_fn_config_test dlls/faultrep/tests faultrep_test
17239 wine_fn_config_dll fltlib enable_fltlib
17240 wine_fn_config_dll fntcache enable_fntcache
17241 wine_fn_config_dll fontsub enable_fontsub
17242 wine_fn_config_dll fusion enable_fusion
17243 wine_fn_config_test dlls/fusion/tests fusion_test
17244 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17245 wine_fn_config_dll gameux enable_gameux clean
17246 wine_fn_config_test dlls/gameux/tests gameux_test
17247 wine_fn_config_dll gdi.exe16 enable_win16
17248 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17249 wine_fn_config_test dlls/gdi32/tests gdi32_test
17250 wine_fn_config_dll gdiplus enable_gdiplus implib
17251 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17252 wine_fn_config_dll glu32 enable_glu32 implib
17253 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17254 wine_fn_config_dll gpkcsp enable_gpkcsp
17255 wine_fn_config_dll hal enable_hal
17256 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17257 wine_fn_config_dll hid enable_hid implib
17258 wine_fn_config_dll hlink enable_hlink clean,implib
17259 wine_fn_config_test dlls/hlink/tests hlink_test
17260 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17261 wine_fn_config_dll httpapi enable_httpapi
17262 wine_fn_config_dll iccvid enable_iccvid po
17263 wine_fn_config_dll icmp enable_icmp
17264 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17265 wine_fn_config_test dlls/ieframe/tests ieframe_test
17266 wine_fn_config_dll ifsmgr.vxd enable_win16
17267 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17268 wine_fn_config_dll imagehlp enable_imagehlp implib
17269 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17270 wine_fn_config_dll imm.dll16 enable_win16
17271 wine_fn_config_dll imm32 enable_imm32 implib
17272 wine_fn_config_test dlls/imm32/tests imm32_test
17273 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17274 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17275 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17276 wine_fn_config_dll inetmib1 enable_inetmib1
17277 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17278 wine_fn_config_dll infosoft enable_infosoft clean
17279 wine_fn_config_test dlls/infosoft/tests infosoft_test
17280 wine_fn_config_dll initpki enable_initpki
17281 wine_fn_config_dll inkobj enable_inkobj
17282 wine_fn_config_dll inseng enable_inseng clean
17283 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17284 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17285 wine_fn_config_dll itircl enable_itircl
17286 wine_fn_config_dll itss enable_itss clean
17287 wine_fn_config_test dlls/itss/tests itss_test
17288 wine_fn_config_dll joy.cpl enable_joy_cpl po
17289 wine_fn_config_dll jscript enable_jscript clean,po
17290 wine_fn_config_test dlls/jscript/tests jscript_test
17291 wine_fn_config_dll jsproxy enable_jsproxy implib
17292 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17293 wine_fn_config_test dlls/kernel32/tests kernel32_test
17294 wine_fn_config_dll keyboard.drv16 enable_win16
17295 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17296 wine_fn_config_dll ksuser enable_ksuser
17297 wine_fn_config_dll ktmw32 enable_ktmw32
17298 wine_fn_config_dll loadperf enable_loadperf implib
17299 wine_fn_config_dll localspl enable_localspl po
17300 wine_fn_config_test dlls/localspl/tests localspl_test
17301 wine_fn_config_dll localui enable_localui po
17302 wine_fn_config_test dlls/localui/tests localui_test
17303 wine_fn_config_dll lz32 enable_lz32 implib
17304 wine_fn_config_test dlls/lz32/tests lz32_test
17305 wine_fn_config_dll lzexpand.dll16 enable_win16
17306 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17307 wine_fn_config_test dlls/mapi32/tests mapi32_test
17308 wine_fn_config_dll mapistub enable_mapistub
17309 wine_fn_config_dll mciavi32 enable_mciavi32
17310 wine_fn_config_dll mcicda enable_mcicda
17311 wine_fn_config_dll mciqtz32 enable_mciqtz32
17312 wine_fn_config_dll mciseq enable_mciseq
17313 wine_fn_config_dll mciwave enable_mciwave
17314 wine_fn_config_dll mf enable_mf
17315 wine_fn_config_dll mfplat enable_mfplat
17316 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17317 wine_fn_config_dll mgmtapi enable_mgmtapi
17318 wine_fn_config_dll midimap enable_midimap
17319 wine_fn_config_dll mlang enable_mlang clean,implib
17320 wine_fn_config_test dlls/mlang/tests mlang_test
17321 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17322 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17323 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17324 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17325 wine_fn_config_dll mmdevldr.vxd enable_win16
17326 wine_fn_config_dll mmsystem.dll16 enable_win16
17327 wine_fn_config_dll monodebg.vxd enable_win16
17328 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17329 wine_fn_config_dll mouse.drv16 enable_win16
17330 wine_fn_config_dll mpr enable_mpr implib,po
17331 wine_fn_config_test dlls/mpr/tests mpr_test
17332 wine_fn_config_dll mprapi enable_mprapi implib
17333 wine_fn_config_dll msacm.dll16 enable_win16
17334 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17335 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17336 wine_fn_config_test dlls/msacm32/tests msacm32_test
17337 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17338 wine_fn_config_dll msasn1 enable_msasn1 implib
17339 wine_fn_config_dll mscat32 enable_mscat32
17340 wine_fn_config_dll mscms enable_mscms implib
17341 wine_fn_config_test dlls/mscms/tests mscms_test
17342 wine_fn_config_dll mscoree enable_mscoree clean
17343 wine_fn_config_test dlls/mscoree/tests mscoree_test
17344 wine_fn_config_dll msctf enable_msctf clean
17345 wine_fn_config_test dlls/msctf/tests msctf_test
17346 wine_fn_config_dll msdaps enable_msdaps clean
17347 wine_fn_config_dll msdmo enable_msdmo implib
17348 wine_fn_config_test dlls/msdmo/tests msdmo_test
17349 wine_fn_config_dll msftedit enable_msftedit
17350 wine_fn_config_dll msg711.acm enable_msg711_acm
17351 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17352 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17353 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17354 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17355 wine_fn_config_dll msi enable_msi clean,implib,po
17356 wine_fn_config_test dlls/msi/tests msi_test
17357 wine_fn_config_dll msident enable_msident clean
17358 wine_fn_config_dll msimg32 enable_msimg32 implib
17359 wine_fn_config_dll msimsg enable_msimsg
17360 wine_fn_config_dll msimtf enable_msimtf clean
17361 wine_fn_config_dll msisip enable_msisip
17362 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17363 wine_fn_config_dll msls31 enable_msls31
17364 wine_fn_config_dll msnet32 enable_msnet32
17365 wine_fn_config_dll mspatcha enable_mspatcha
17366 wine_fn_config_dll msrle32 enable_msrle32 po
17367 wine_fn_config_test dlls/msrle32/tests msrle32_test
17368 wine_fn_config_dll mssign32 enable_mssign32
17369 wine_fn_config_dll mssip32 enable_mssip32
17370 wine_fn_config_dll mstask enable_mstask clean
17371 wine_fn_config_test dlls/mstask/tests mstask_test
17372 wine_fn_config_dll msvcirt enable_msvcirt
17373 wine_fn_config_dll msvcm80 enable_msvcm80
17374 wine_fn_config_dll msvcm90 enable_msvcm90
17375 wine_fn_config_dll msvcp100 enable_msvcp100
17376 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17377 wine_fn_config_dll msvcp110 enable_msvcp110
17378 wine_fn_config_dll msvcp120 enable_msvcp120
17379 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17380 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17381 wine_fn_config_dll msvcp60 enable_msvcp60
17382 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17383 wine_fn_config_dll msvcp70 enable_msvcp70
17384 wine_fn_config_dll msvcp71 enable_msvcp71
17385 wine_fn_config_dll msvcp80 enable_msvcp80
17386 wine_fn_config_dll msvcp90 enable_msvcp90
17387 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17388 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17389 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17390 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17391 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17392 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17393 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17394 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17395 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17396 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17397 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17398 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17399 wine_fn_config_dll msvcrt enable_msvcrt implib
17400 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17401 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17402 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17403 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17404 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17405 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17406 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17407 wine_fn_config_dll msvidc32 enable_msvidc32 po
17408 wine_fn_config_dll msvideo.dll16 enable_win16
17409 wine_fn_config_dll mswsock enable_mswsock implib
17410 wine_fn_config_dll msxml enable_msxml clean
17411 wine_fn_config_dll msxml2 enable_msxml2 clean
17412 wine_fn_config_dll msxml3 enable_msxml3 clean
17413 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17414 wine_fn_config_dll msxml4 enable_msxml4 clean
17415 wine_fn_config_dll msxml6 enable_msxml6 clean
17416 wine_fn_config_dll nddeapi enable_nddeapi implib
17417 wine_fn_config_dll ndis.sys enable_ndis_sys
17418 wine_fn_config_dll netapi32 enable_netapi32 implib
17419 wine_fn_config_test dlls/netapi32/tests netapi32_test
17420 wine_fn_config_dll netcfgx enable_netcfgx clean
17421 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17422 wine_fn_config_dll netprofm enable_netprofm clean
17423 wine_fn_config_test dlls/netprofm/tests netprofm_test
17424 wine_fn_config_dll newdev enable_newdev implib
17425 wine_fn_config_dll normaliz enable_normaliz implib
17426 wine_fn_config_dll npmshtml enable_npmshtml
17427 wine_fn_config_dll npptools enable_npptools
17428 wine_fn_config_dll ntdll enable_ntdll implib
17429 wine_fn_config_test dlls/ntdll/tests ntdll_test
17430 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17431 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17432 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17433 wine_fn_config_dll ntprint enable_ntprint
17434 wine_fn_config_test dlls/ntprint/tests ntprint_test
17435 wine_fn_config_dll objsel enable_objsel clean
17436 wine_fn_config_dll odbc32 enable_odbc32 implib
17437 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17438 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17439 wine_fn_config_dll odbccu32 enable_odbccu32
17440 wine_fn_config_dll ole2.dll16 enable_win16
17441 wine_fn_config_dll ole2conv.dll16 enable_win16
17442 wine_fn_config_dll ole2disp.dll16 enable_win16
17443 wine_fn_config_dll ole2nls.dll16 enable_win16
17444 wine_fn_config_dll ole2prox.dll16 enable_win16
17445 wine_fn_config_dll ole2thk.dll16 enable_win16
17446 wine_fn_config_dll ole32 enable_ole32 clean,implib
17447 wine_fn_config_test dlls/ole32/tests ole32_test
17448 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17449 wine_fn_config_test dlls/oleacc/tests oleacc_test
17450 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17451 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17452 wine_fn_config_dll olecli.dll16 enable_win16
17453 wine_fn_config_dll olecli32 enable_olecli32 implib
17454 wine_fn_config_dll oledb32 enable_oledb32 clean
17455 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17456 wine_fn_config_dll oledlg enable_oledlg implib,po
17457 wine_fn_config_dll olepro32 enable_olepro32 implib
17458 wine_fn_config_dll olesvr.dll16 enable_win16
17459 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17460 wine_fn_config_dll olethk32 enable_olethk32
17461 wine_fn_config_dll openal32 enable_openal32
17462 wine_fn_config_dll opencl enable_opencl
17463 wine_fn_config_dll opengl32 enable_opengl32 implib
17464 wine_fn_config_test dlls/opengl32/tests opengl32_test
17465 wine_fn_config_dll packager enable_packager clean
17466 wine_fn_config_test dlls/packager/tests packager_test
17467 wine_fn_config_dll pdh enable_pdh implib
17468 wine_fn_config_test dlls/pdh/tests pdh_test
17469 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17470 wine_fn_config_dll pidgen enable_pidgen
17471 wine_fn_config_dll powrprof enable_powrprof implib
17472 wine_fn_config_dll printui enable_printui
17473 wine_fn_config_dll prntvpt enable_prntvpt
17474 wine_fn_config_dll propsys enable_propsys clean,implib
17475 wine_fn_config_test dlls/propsys/tests propsys_test
17476 wine_fn_config_dll psapi enable_psapi implib
17477 wine_fn_config_test dlls/psapi/tests psapi_test
17478 wine_fn_config_dll pstorec enable_pstorec clean
17479 wine_fn_config_dll qcap enable_qcap
17480 wine_fn_config_test dlls/qcap/tests qcap_test
17481 wine_fn_config_dll qedit enable_qedit clean
17482 wine_fn_config_test dlls/qedit/tests qedit_test
17483 wine_fn_config_dll qmgr enable_qmgr clean
17484 wine_fn_config_test dlls/qmgr/tests qmgr_test
17485 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17486 wine_fn_config_dll quartz enable_quartz clean,implib
17487 wine_fn_config_test dlls/quartz/tests quartz_test clean
17488 wine_fn_config_dll query enable_query
17489 wine_fn_config_dll rasapi16.dll16 enable_win16
17490 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17491 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17492 wine_fn_config_dll rasdlg enable_rasdlg implib
17493 wine_fn_config_dll regapi enable_regapi
17494 wine_fn_config_dll resutils enable_resutils implib
17495 wine_fn_config_dll riched20 enable_riched20 implib
17496 wine_fn_config_test dlls/riched20/tests riched20_test
17497 wine_fn_config_dll riched32 enable_riched32
17498 wine_fn_config_test dlls/riched32/tests riched32_test
17499 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17500 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17501 wine_fn_config_dll rsabase enable_rsabase
17502 wine_fn_config_dll rsaenh enable_rsaenh implib
17503 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17504 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17505 wine_fn_config_dll rtutils enable_rtutils implib
17506 wine_fn_config_dll samlib enable_samlib
17507 wine_fn_config_dll sane.ds enable_sane_ds po
17508 wine_fn_config_dll scarddlg enable_scarddlg
17509 wine_fn_config_dll sccbase enable_sccbase
17510 wine_fn_config_dll schannel enable_schannel
17511 wine_fn_config_test dlls/schannel/tests schannel_test
17512 wine_fn_config_dll schedsvc enable_schedsvc clean
17513 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17514 wine_fn_config_dll scrrun enable_scrrun clean
17515 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17516 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17517 wine_fn_config_dll secur32 enable_secur32 implib
17518 wine_fn_config_test dlls/secur32/tests secur32_test
17519 wine_fn_config_dll security enable_security
17520 wine_fn_config_dll sensapi enable_sensapi implib
17521 wine_fn_config_dll serialui enable_serialui implib,po
17522 wine_fn_config_test dlls/serialui/tests serialui_test
17523 wine_fn_config_dll setupapi enable_setupapi implib,po
17524 wine_fn_config_test dlls/setupapi/tests setupapi_test
17525 wine_fn_config_dll setupx.dll16 enable_win16
17526 wine_fn_config_dll sfc enable_sfc implib
17527 wine_fn_config_dll sfc_os enable_sfc_os implib
17528 wine_fn_config_dll shdoclc enable_shdoclc po
17529 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17530 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17531 wine_fn_config_dll shell.dll16 enable_win16
17532 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17533 wine_fn_config_test dlls/shell32/tests shell32_test
17534 wine_fn_config_dll shfolder enable_shfolder implib
17535 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17536 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17537 wine_fn_config_dll slbcsp enable_slbcsp
17538 wine_fn_config_dll slc enable_slc implib
17539 wine_fn_config_test dlls/slc/tests slc_test
17540 wine_fn_config_dll snmpapi enable_snmpapi implib
17541 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17542 wine_fn_config_dll softpub enable_softpub
17543 wine_fn_config_dll sound.drv16 enable_win16
17544 wine_fn_config_dll spoolss enable_spoolss implib
17545 wine_fn_config_test dlls/spoolss/tests spoolss_test
17546 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17547 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17548 wine_fn_config_dll sti enable_sti clean,implib
17549 wine_fn_config_test dlls/sti/tests sti_test
17550 wine_fn_config_dll storage.dll16 enable_win16
17551 wine_fn_config_dll stress.dll16 enable_win16
17552 wine_fn_config_lib strmbase
17553 wine_fn_config_lib strmiids
17554 wine_fn_config_dll svrapi enable_svrapi
17555 wine_fn_config_dll sxs enable_sxs implib
17556 wine_fn_config_test dlls/sxs/tests sxs_test
17557 wine_fn_config_dll system.drv16 enable_win16
17558 wine_fn_config_dll t2embed enable_t2embed
17559 wine_fn_config_dll tapi32 enable_tapi32 implib
17560 wine_fn_config_dll taskschd enable_taskschd clean
17561 wine_fn_config_test dlls/taskschd/tests taskschd_test
17562 wine_fn_config_dll toolhelp.dll16 enable_win16
17563 wine_fn_config_dll traffic enable_traffic
17564 wine_fn_config_dll twain.dll16 enable_win16
17565 wine_fn_config_dll twain_32 enable_twain_32
17566 wine_fn_config_test dlls/twain_32/tests twain_32_test
17567 wine_fn_config_dll typelib.dll16 enable_win16
17568 wine_fn_config_dll unicows enable_unicows implib
17569 wine_fn_config_dll updspapi enable_updspapi
17570 wine_fn_config_dll url enable_url implib
17571 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17572 wine_fn_config_test dlls/urlmon/tests urlmon_test
17573 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17574 wine_fn_config_dll user.exe16 enable_win16
17575 wine_fn_config_dll user32 enable_user32 clean,implib,po
17576 wine_fn_config_test dlls/user32/tests user32_test
17577 wine_fn_config_dll userenv enable_userenv implib
17578 wine_fn_config_test dlls/userenv/tests userenv_test
17579 wine_fn_config_dll usp10 enable_usp10 implib
17580 wine_fn_config_test dlls/usp10/tests usp10_test
17581 wine_fn_config_lib uuid
17582 wine_fn_config_dll uxtheme enable_uxtheme implib
17583 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17584 wine_fn_config_dll vbscript enable_vbscript clean
17585 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17586 wine_fn_config_dll vcomp enable_vcomp
17587 wine_fn_config_dll vcomp100 enable_vcomp100
17588 wine_fn_config_dll vcomp90 enable_vcomp90
17589 wine_fn_config_dll vdhcp.vxd enable_win16
17590 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17591 wine_fn_config_dll ver.dll16 enable_win16
17592 wine_fn_config_dll version enable_version implib
17593 wine_fn_config_test dlls/version/tests version_test
17594 wine_fn_config_dll vmm.vxd enable_win16
17595 wine_fn_config_dll vnbt.vxd enable_win16
17596 wine_fn_config_dll vnetbios.vxd enable_win16
17597 wine_fn_config_dll vssapi enable_vssapi
17598 wine_fn_config_dll vtdapi.vxd enable_win16
17599 wine_fn_config_dll vwin32.vxd enable_win16
17600 wine_fn_config_dll w32skrnl enable_win16
17601 wine_fn_config_dll w32sys.dll16 enable_win16
17602 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17603 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17604 wine_fn_config_dll wbemprox enable_wbemprox clean
17605 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17606 wine_fn_config_dll webservices enable_webservices implib
17607 wine_fn_config_dll wer enable_wer implib
17608 wine_fn_config_test dlls/wer/tests wer_test
17609 wine_fn_config_dll wevtapi enable_wevtapi
17610 wine_fn_config_dll wiaservc enable_wiaservc clean
17611 wine_fn_config_dll win32s16.dll16 enable_win16
17612 wine_fn_config_dll win87em.dll16 enable_win16
17613 wine_fn_config_dll winaspi.dll16 enable_win16
17614 wine_fn_config_dll windebug.dll16 enable_win16
17615 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17616 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17617 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17618 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17619 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17620 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17621 wine_fn_config_lib winecrt0
17622 wine_fn_config_dll wined3d enable_wined3d implib
17623 wine_fn_config_dll winegstreamer enable_winegstreamer
17624 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17625 wine_fn_config_dll winemac.drv enable_winemac_drv
17626 wine_fn_config_dll winemapi enable_winemapi
17627 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17628 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17629 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17630 wine_fn_config_dll wineps16.drv16 enable_win16
17631 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17632 wine_fn_config_dll winex11.drv enable_winex11_drv
17633 wine_fn_config_dll wing.dll16 enable_win16
17634 wine_fn_config_dll wing32 enable_wing32
17635 wine_fn_config_dll winhttp enable_winhttp clean,implib
17636 wine_fn_config_test dlls/winhttp/tests winhttp_test
17637 wine_fn_config_dll wininet enable_wininet implib,po
17638 wine_fn_config_test dlls/wininet/tests wininet_test
17639 wine_fn_config_dll winmm enable_winmm implib,po
17640 wine_fn_config_test dlls/winmm/tests winmm_test
17641 wine_fn_config_dll winnls.dll16 enable_win16
17642 wine_fn_config_dll winnls32 enable_winnls32 implib
17643 wine_fn_config_dll winscard enable_winscard implib
17644 wine_fn_config_dll winsock.dll16 enable_win16
17645 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17646 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17647 wine_fn_config_dll winsta enable_winsta
17648 wine_fn_config_dll wintab.dll16 enable_win16
17649 wine_fn_config_dll wintab32 enable_wintab32 implib
17650 wine_fn_config_test dlls/wintab32/tests wintab32_test
17651 wine_fn_config_dll wintrust enable_wintrust implib
17652 wine_fn_config_test dlls/wintrust/tests wintrust_test
17653 wine_fn_config_dll wlanapi enable_wlanapi
17654 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17655 wine_fn_config_test dlls/wldap32/tests wldap32_test
17656 wine_fn_config_dll wmi enable_wmi
17657 wine_fn_config_dll wmiutils enable_wmiutils clean
17658 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17659 wine_fn_config_dll wmp enable_wmp clean
17660 wine_fn_config_test dlls/wmp/tests wmp_test
17661 wine_fn_config_dll wmvcore enable_wmvcore
17662 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17663 wine_fn_config_dll wow32 enable_win16 implib
17664 wine_fn_config_dll wpcap enable_wpcap
17665 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17666 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17667 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17668 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17669 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17670 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17671 wine_fn_config_dll wsock32 enable_wsock32 implib
17672 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17673 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17674 wine_fn_config_dll wuapi enable_wuapi clean
17675 wine_fn_config_dll wuaueng enable_wuaueng
17676 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17677 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17678 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17679 wine_fn_config_dll xinput1_1 enable_xinput1_1
17680 wine_fn_config_dll xinput1_2 enable_xinput1_2
17681 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17682 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17683 wine_fn_config_dll xinput1_4 enable_xinput1_4
17684 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17685 wine_fn_config_dll xmllite enable_xmllite implib
17686 wine_fn_config_test dlls/xmllite/tests xmllite_test
17687 wine_fn_config_dll xolehlp enable_xolehlp
17688 wine_fn_config_dll xpsprint enable_xpsprint
17689 wine_fn_config_dll xpssvcs enable_xpssvcs
17690 wine_fn_config_makefile documentation enable_documentation clean
17691 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17692 wine_fn_config_makefile include enable_include clean,install-dev
17693 wine_fn_config_makefile libs/port enable_libs_port
17694 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17695 wine_fn_config_makefile libs/wpp enable_libs_wpp
17696 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17697 wine_fn_config_program arp enable_arp install
17698 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17699 wine_fn_config_program attrib enable_attrib install,po
17700 wine_fn_config_program cabarc enable_cabarc install
17701 wine_fn_config_program cacls enable_cacls install
17702 wine_fn_config_program clock enable_clock install,po
17703 wine_fn_config_program cmd enable_cmd install,po
17704 wine_fn_config_test programs/cmd/tests cmd.exe_test
17705 wine_fn_config_program conhost enable_conhost install
17706 wine_fn_config_program control enable_control install
17707 wine_fn_config_program cscript enable_cscript clean,install
17708 wine_fn_config_program dpnsvr enable_dpnsvr install
17709 wine_fn_config_program dxdiag enable_dxdiag install,po
17710 wine_fn_config_program eject enable_eject install
17711 wine_fn_config_program expand enable_expand install
17712 wine_fn_config_program explorer enable_explorer install,po
17713 wine_fn_config_program extrac32 enable_extrac32 install
17714 wine_fn_config_program findstr enable_findstr install
17715 wine_fn_config_program hh enable_hh install
17716 wine_fn_config_program hostname enable_hostname install,po
17717 wine_fn_config_program icinfo enable_icinfo install
17718 wine_fn_config_program iexplore enable_iexplore install
17719 wine_fn_config_program ipconfig enable_ipconfig install,po
17720 wine_fn_config_program lodctr enable_lodctr install
17721 wine_fn_config_program mofcomp enable_mofcomp install
17722 wine_fn_config_program mshta enable_mshta install
17723 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17724 wine_fn_config_program net enable_net install,po
17725 wine_fn_config_program netsh enable_netsh install
17726 wine_fn_config_program netstat enable_netstat install,po
17727 wine_fn_config_program ngen enable_ngen install
17728 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17729 wine_fn_config_program oleview enable_oleview install,po
17730 wine_fn_config_program ping enable_ping install
17731 wine_fn_config_program plugplay enable_plugplay install
17732 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17733 wine_fn_config_program progman enable_progman install,po
17734 wine_fn_config_program reg enable_reg install,po
17735 wine_fn_config_test programs/reg/tests reg.exe_test
17736 wine_fn_config_program regasm enable_regasm install
17737 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17738 wine_fn_config_test programs/regedit/tests regedit.exe_test
17739 wine_fn_config_program regsvcs enable_regsvcs install
17740 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17741 wine_fn_config_program rpcss enable_rpcss clean,install
17742 wine_fn_config_program rundll.exe16 enable_win16 install
17743 wine_fn_config_program rundll32 enable_rundll32 install
17744 wine_fn_config_program sc enable_sc install
17745 wine_fn_config_program schtasks enable_schtasks install
17746 wine_fn_config_program sdbinst enable_sdbinst install
17747 wine_fn_config_program secedit enable_secedit install
17748 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17749 wine_fn_config_program services enable_services clean,install
17750 wine_fn_config_test programs/services/tests services.exe_test
17751 wine_fn_config_program spoolsv enable_spoolsv install
17752 wine_fn_config_program start enable_start install,po
17753 wine_fn_config_program svchost enable_svchost install
17754 wine_fn_config_program systeminfo enable_systeminfo install
17755 wine_fn_config_program taskkill enable_taskkill install,po
17756 wine_fn_config_program tasklist enable_tasklist install
17757 wine_fn_config_program taskmgr enable_taskmgr install,po
17758 wine_fn_config_program termsv enable_termsv install
17759 wine_fn_config_program uninstaller enable_uninstaller install,po
17760 wine_fn_config_program unlodctr enable_unlodctr install
17761 wine_fn_config_program view enable_view install,po
17762 wine_fn_config_program wevtutil enable_wevtutil install
17763 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17764 wine_fn_config_program winebrowser enable_winebrowser install
17765 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17766 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17767 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17768 wine_fn_config_program winedevice enable_winedevice install
17769 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17770 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17771 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17772 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17773 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17774 wine_fn_config_program winetest enable_winetest clean
17775 wine_fn_config_program winevdm enable_win16 install
17776 wine_fn_config_program winhelp.exe16 enable_win16 install
17777 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17778 wine_fn_config_program winoldap.mod16 enable_win16 install
17779 wine_fn_config_program winver enable_winver install
17780 wine_fn_config_program wmic enable_wmic install,po
17781 wine_fn_config_program wordpad enable_wordpad install,po
17782 wine_fn_config_program write enable_write install,po
17783 wine_fn_config_program wscript enable_wscript clean,install
17784 wine_fn_config_test programs/wscript/tests wscript.exe_test
17785 wine_fn_config_program wusa enable_wusa install
17786 wine_fn_config_program xcopy enable_xcopy install,po
17787 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17788 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17789 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17790 wine_fn_config_tool tools/sfnt2fon clean
17791 wine_fn_config_tool tools/widl clean,install-dev,manpage
17792 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17793 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17794 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17795 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17796 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17798 LINGUAS="\
17799 ar \
17800 bg \
17801 ca \
17802 cs \
17803 da \
17804 de \
17805 el \
17806 en \
17807 en_US \
17808 eo \
17809 es \
17810 fa \
17811 fi \
17812 fr \
17813 he \
17814 hi \
17815 hr \
17816 hu \
17817 it \
17818 ja \
17819 ko \
17820 lt \
17821 ml \
17822 nb_NO \
17823 nl \
17824 or \
17825 pa \
17826 pl \
17827 pt_BR \
17828 pt_PT \
17829 rm \
17830 ro \
17831 ru \
17832 sk \
17833 sl \
17834 sr_RS@cyrillic \
17835 sr_RS@latin \
17836 sv \
17837 te \
17838 th \
17839 tr \
17840 uk \
17841 wa \
17842 zh_CN \
17843 zh_TW"
17848 wine_fn_ignore_file ".gitignore"
17849 wine_fn_ignore_file "Makefile"
17850 wine_fn_ignore_file "TAGS"
17851 wine_fn_ignore_file "tags"
17852 wine_fn_ignore_file "autom4te.cache"
17853 wine_fn_ignore_file "config.cache"
17854 wine_fn_ignore_file "config.log"
17855 wine_fn_ignore_file "config.status"
17856 wine_fn_ignore_file "configure.lineno"
17857 wine_fn_ignore_file "include/config.h"
17858 wine_fn_ignore_file "include/stamp-h"
17859 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17861 if test "x$enable_tools" != xno
17862 then
17863 wine_fn_ignore_file "tools/makedep$ac_exeext"
17864 ac_config_commands="$ac_config_commands tools/makedep"
17868 ac_config_commands="$ac_config_commands Makefile"
17871 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17875 if test "x$enable_maintainer_mode" = xyes
17876 then
17877 wine_fn_append_rule "configure: configure.ac aclocal.m4
17878 autoconf --warnings=all
17879 include/config.h.in: include/stamp-h.in
17880 include/stamp-h.in: configure.ac aclocal.m4
17881 autoheader --warnings=all
17882 @echo timestamp > \$@"
17885 if test "x$with_gettextpo" = xyes
17886 then
17887 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17888 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17889 \$(LINGUAS:%=po/%.po): po/wine.pot
17890 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17891 po/wine.pot: \$(ALL_POT_FILES)
17892 msgcat -o \$@ \$(ALL_POT_FILES)"
17895 if test "$MSGFMT" != false
17896 then
17897 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17898 clean::
17899 \$(RM) \$(LINGUAS:%=po/%.mo)"
17901 posrc="po"
17902 test "$srcdir" = . || posrc="$srcdir/po"
17903 for i in $LINGUAS
17905 wine_fn_ignore_file "po/$i.mo"
17906 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17907 \$(MSGFMT) -o \$@ $posrc/$i.po"
17908 done
17909 else
17910 LINGUAS=
17913 if test "x$enable_tools" != xno
17914 then
17915 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17916 @./config.status tools/makedep
17917 Makefile: tools/makedep$ac_exeext
17918 distclean:: clean
17919 \$(RM) tools/makedep$ac_exeext"
17920 else
17921 wine_fn_append_rule "\$(MAKEDEP):
17922 @echo \"You need to run make in $TOOLSDIR first\" && false"
17925 if test -n "$with_wine64"
17926 then
17927 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17928 fonts server tools:
17929 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17930 $with_wine64/loader/wine:
17931 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17932 $with_wine64/loader/wine-preloader:
17933 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17934 clean::
17935 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17936 else
17937 as_fn_append LOADER_RULES "
17938 install install-lib:: wine.inf install-man-pages
17939 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17940 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17942 uninstall::
17943 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17947 if test "$srcdir" = .
17948 then
17949 ac_config_commands="$ac_config_commands .gitignore"
17953 $as_echo " done" >&6
17954 cat >confcache <<\_ACEOF
17955 # This file is a shell script that caches the results of configure
17956 # tests run on this system so they can be shared between configure
17957 # scripts and configure runs, see configure's option --config-cache.
17958 # It is not useful on other systems. If it contains results you don't
17959 # want to keep, you may remove or edit it.
17961 # config.status only pays attention to the cache file if you give it
17962 # the --recheck option to rerun configure.
17964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17966 # following values.
17968 _ACEOF
17970 # The following way of writing the cache mishandles newlines in values,
17971 # but we know of no workaround that is simple, portable, and efficient.
17972 # So, we kill variables containing newlines.
17973 # Ultrix sh set writes to stderr and can't be redirected directly,
17974 # and sets the high bit in the cache file unless we assign to the vars.
17976 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17977 eval ac_val=\$$ac_var
17978 case $ac_val in #(
17979 *${as_nl}*)
17980 case $ac_var in #(
17981 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17983 esac
17984 case $ac_var in #(
17985 _ | IFS | as_nl) ;; #(
17986 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17987 *) { eval $ac_var=; unset $ac_var;} ;;
17988 esac ;;
17989 esac
17990 done
17992 (set) 2>&1 |
17993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17994 *${as_nl}ac_space=\ *)
17995 # `set' does not quote correctly, so add quotes: double-quote
17996 # substitution turns \\\\ into \\, and sed turns \\ into \.
17997 sed -n \
17998 "s/'/'\\\\''/g;
17999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18000 ;; #(
18002 # `set' quotes correctly as required by POSIX, so do not add quotes.
18003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18005 esac |
18006 sort
18008 sed '
18009 /^ac_cv_env_/b end
18010 t clear
18011 :clear
18012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18013 t end
18014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18015 :end' >>confcache
18016 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18017 if test -w "$cache_file"; then
18018 if test "x$cache_file" != "x/dev/null"; then
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18020 $as_echo "$as_me: updating cache $cache_file" >&6;}
18021 if test ! -f "$cache_file" || test -h "$cache_file"; then
18022 cat confcache >"$cache_file"
18023 else
18024 case $cache_file in #(
18025 */* | ?:*)
18026 mv -f confcache "$cache_file"$$ &&
18027 mv -f "$cache_file"$$ "$cache_file" ;; #(
18029 mv -f confcache "$cache_file" ;;
18030 esac
18033 else
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18038 rm -f confcache
18040 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18041 # Let make expand exec_prefix.
18042 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18044 DEFS=-DHAVE_CONFIG_H
18046 ac_libobjs=
18047 ac_ltlibobjs=
18049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18050 # 1. Remove the extension, and $U if already installed.
18051 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18052 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18054 # will be set to the directory where LIBOBJS objects are built.
18055 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18056 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18057 done
18058 LIBOBJS=$ac_libobjs
18060 LTLIBOBJS=$ac_ltlibobjs
18064 : "${CONFIG_STATUS=./config.status}"
18065 ac_write_fail=0
18066 ac_clean_files_save=$ac_clean_files
18067 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18070 as_write_fail=0
18071 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18072 #! $SHELL
18073 # Generated by $as_me.
18074 # Run this file to recreate the current configuration.
18075 # Compiler output produced by configure, useful for debugging
18076 # configure, is in config.log if it exists.
18078 debug=false
18079 ac_cs_recheck=false
18080 ac_cs_silent=false
18082 SHELL=\${CONFIG_SHELL-$SHELL}
18083 export SHELL
18084 _ASEOF
18085 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18086 ## -------------------- ##
18087 ## M4sh Initialization. ##
18088 ## -------------------- ##
18090 # Be more Bourne compatible
18091 DUALCASE=1; export DUALCASE # for MKS sh
18092 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18093 emulate sh
18094 NULLCMD=:
18095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18096 # is contrary to our usage. Disable this feature.
18097 alias -g '${1+"$@"}'='"$@"'
18098 setopt NO_GLOB_SUBST
18099 else
18100 case `(set -o) 2>/dev/null` in #(
18101 *posix*) :
18102 set -o posix ;; #(
18103 *) :
18105 esac
18109 as_nl='
18111 export as_nl
18112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18113 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18116 # Prefer a ksh shell builtin over an external printf program on Solaris,
18117 # but without wasting forks for bash or zsh.
18118 if test -z "$BASH_VERSION$ZSH_VERSION" \
18119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18120 as_echo='print -r --'
18121 as_echo_n='print -rn --'
18122 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18123 as_echo='printf %s\n'
18124 as_echo_n='printf %s'
18125 else
18126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18127 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18128 as_echo_n='/usr/ucb/echo -n'
18129 else
18130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18131 as_echo_n_body='eval
18132 arg=$1;
18133 case $arg in #(
18134 *"$as_nl"*)
18135 expr "X$arg" : "X\\(.*\\)$as_nl";
18136 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18137 esac;
18138 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18140 export as_echo_n_body
18141 as_echo_n='sh -c $as_echo_n_body as_echo'
18143 export as_echo_body
18144 as_echo='sh -c $as_echo_body as_echo'
18147 # The user is always right.
18148 if test "${PATH_SEPARATOR+set}" != set; then
18149 PATH_SEPARATOR=:
18150 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18151 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18152 PATH_SEPARATOR=';'
18157 # IFS
18158 # We need space, tab and new line, in precisely that order. Quoting is
18159 # there to prevent editors from complaining about space-tab.
18160 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18161 # splitting by setting IFS to empty value.)
18162 IFS=" "" $as_nl"
18164 # Find who we are. Look in the path if we contain no directory separator.
18165 as_myself=
18166 case $0 in #((
18167 *[\\/]* ) as_myself=$0 ;;
18168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18169 for as_dir in $PATH
18171 IFS=$as_save_IFS
18172 test -z "$as_dir" && as_dir=.
18173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18174 done
18175 IFS=$as_save_IFS
18178 esac
18179 # We did not find ourselves, most probably we were run as `sh COMMAND'
18180 # in which case we are not to be found in the path.
18181 if test "x$as_myself" = x; then
18182 as_myself=$0
18184 if test ! -f "$as_myself"; then
18185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18186 exit 1
18189 # Unset variables that we do not need and which cause bugs (e.g. in
18190 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18191 # suppresses any "Segmentation fault" message there. '((' could
18192 # trigger a bug in pdksh 5.2.14.
18193 for as_var in BASH_ENV ENV MAIL MAILPATH
18194 do eval test x\${$as_var+set} = xset \
18195 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18196 done
18197 PS1='$ '
18198 PS2='> '
18199 PS4='+ '
18201 # NLS nuisances.
18202 LC_ALL=C
18203 export LC_ALL
18204 LANGUAGE=C
18205 export LANGUAGE
18207 # CDPATH.
18208 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18211 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18212 # ----------------------------------------
18213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18215 # script with STATUS, using 1 if that was 0.
18216 as_fn_error ()
18218 as_status=$1; test $as_status -eq 0 && as_status=1
18219 if test "$4"; then
18220 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18223 $as_echo "$as_me: error: $2" >&2
18224 as_fn_exit $as_status
18225 } # as_fn_error
18228 # as_fn_set_status STATUS
18229 # -----------------------
18230 # Set $? to STATUS, without forking.
18231 as_fn_set_status ()
18233 return $1
18234 } # as_fn_set_status
18236 # as_fn_exit STATUS
18237 # -----------------
18238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18239 as_fn_exit ()
18241 set +e
18242 as_fn_set_status $1
18243 exit $1
18244 } # as_fn_exit
18246 # as_fn_unset VAR
18247 # ---------------
18248 # Portably unset VAR.
18249 as_fn_unset ()
18251 { eval $1=; unset $1;}
18253 as_unset=as_fn_unset
18254 # as_fn_append VAR VALUE
18255 # ----------------------
18256 # Append the text in VALUE to the end of the definition contained in VAR. Take
18257 # advantage of any shell optimizations that allow amortized linear growth over
18258 # repeated appends, instead of the typical quadratic growth present in naive
18259 # implementations.
18260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18261 eval 'as_fn_append ()
18263 eval $1+=\$2
18265 else
18266 as_fn_append ()
18268 eval $1=\$$1\$2
18270 fi # as_fn_append
18272 # as_fn_arith ARG...
18273 # ------------------
18274 # Perform arithmetic evaluation on the ARGs, and store the result in the
18275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18276 # must be portable across $(()) and expr.
18277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18278 eval 'as_fn_arith ()
18280 as_val=$(( $* ))
18282 else
18283 as_fn_arith ()
18285 as_val=`expr "$@" || test $? -eq 1`
18287 fi # as_fn_arith
18290 if expr a : '\(a\)' >/dev/null 2>&1 &&
18291 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18292 as_expr=expr
18293 else
18294 as_expr=false
18297 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18298 as_basename=basename
18299 else
18300 as_basename=false
18303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18304 as_dirname=dirname
18305 else
18306 as_dirname=false
18309 as_me=`$as_basename -- "$0" ||
18310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18311 X"$0" : 'X\(//\)$' \| \
18312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18313 $as_echo X/"$0" |
18314 sed '/^.*\/\([^/][^/]*\)\/*$/{
18315 s//\1/
18318 /^X\/\(\/\/\)$/{
18319 s//\1/
18322 /^X\/\(\/\).*/{
18323 s//\1/
18326 s/.*/./; q'`
18328 # Avoid depending upon Character Ranges.
18329 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18330 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18331 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18332 as_cr_digits='0123456789'
18333 as_cr_alnum=$as_cr_Letters$as_cr_digits
18335 ECHO_C= ECHO_N= ECHO_T=
18336 case `echo -n x` in #(((((
18337 -n*)
18338 case `echo 'xy\c'` in
18339 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18340 xy) ECHO_C='\c';;
18341 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18342 ECHO_T=' ';;
18343 esac;;
18345 ECHO_N='-n';;
18346 esac
18348 rm -f conf$$ conf$$.exe conf$$.file
18349 if test -d conf$$.dir; then
18350 rm -f conf$$.dir/conf$$.file
18351 else
18352 rm -f conf$$.dir
18353 mkdir conf$$.dir 2>/dev/null
18355 if (echo >conf$$.file) 2>/dev/null; then
18356 if ln -s conf$$.file conf$$ 2>/dev/null; then
18357 as_ln_s='ln -s'
18358 # ... but there are two gotchas:
18359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18361 # In both cases, we have to default to `cp -pR'.
18362 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18363 as_ln_s='cp -pR'
18364 elif ln conf$$.file conf$$ 2>/dev/null; then
18365 as_ln_s=ln
18366 else
18367 as_ln_s='cp -pR'
18369 else
18370 as_ln_s='cp -pR'
18372 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18373 rmdir conf$$.dir 2>/dev/null
18376 # as_fn_mkdir_p
18377 # -------------
18378 # Create "$as_dir" as a directory, including parents if necessary.
18379 as_fn_mkdir_p ()
18382 case $as_dir in #(
18383 -*) as_dir=./$as_dir;;
18384 esac
18385 test -d "$as_dir" || eval $as_mkdir_p || {
18386 as_dirs=
18387 while :; do
18388 case $as_dir in #(
18389 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18390 *) as_qdir=$as_dir;;
18391 esac
18392 as_dirs="'$as_qdir' $as_dirs"
18393 as_dir=`$as_dirname -- "$as_dir" ||
18394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18395 X"$as_dir" : 'X\(//\)[^/]' \| \
18396 X"$as_dir" : 'X\(//\)$' \| \
18397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18398 $as_echo X"$as_dir" |
18399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18400 s//\1/
18403 /^X\(\/\/\)[^/].*/{
18404 s//\1/
18407 /^X\(\/\/\)$/{
18408 s//\1/
18411 /^X\(\/\).*/{
18412 s//\1/
18415 s/.*/./; q'`
18416 test -d "$as_dir" && break
18417 done
18418 test -z "$as_dirs" || eval "mkdir $as_dirs"
18419 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18422 } # as_fn_mkdir_p
18423 if mkdir -p . 2>/dev/null; then
18424 as_mkdir_p='mkdir -p "$as_dir"'
18425 else
18426 test -d ./-p && rmdir ./-p
18427 as_mkdir_p=false
18431 # as_fn_executable_p FILE
18432 # -----------------------
18433 # Test if FILE is an executable regular file.
18434 as_fn_executable_p ()
18436 test -f "$1" && test -x "$1"
18437 } # as_fn_executable_p
18438 as_test_x='test -x'
18439 as_executable_p=as_fn_executable_p
18441 # Sed expression to map a string onto a valid CPP name.
18442 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18444 # Sed expression to map a string onto a valid variable name.
18445 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18448 exec 6>&1
18449 ## ----------------------------------- ##
18450 ## Main body of $CONFIG_STATUS script. ##
18451 ## ----------------------------------- ##
18452 _ASEOF
18453 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18456 # Save the log message, to keep $0 and so on meaningful, and to
18457 # report actual input values of CONFIG_FILES etc. instead of their
18458 # values after options handling.
18459 ac_log="
18460 This file was extended by Wine $as_me 1.7.36, which was
18461 generated by GNU Autoconf 2.69. Invocation command line was
18463 CONFIG_FILES = $CONFIG_FILES
18464 CONFIG_HEADERS = $CONFIG_HEADERS
18465 CONFIG_LINKS = $CONFIG_LINKS
18466 CONFIG_COMMANDS = $CONFIG_COMMANDS
18467 $ $0 $@
18469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18472 _ACEOF
18474 case $ac_config_files in *"
18475 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18476 esac
18478 case $ac_config_headers in *"
18479 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18480 esac
18483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18484 # Files that config.status was made for.
18485 config_files="$ac_config_files"
18486 config_headers="$ac_config_headers"
18487 config_links="$ac_config_links"
18488 config_commands="$ac_config_commands"
18490 _ACEOF
18492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18493 ac_cs_usage="\
18494 \`$as_me' instantiates files and other configuration actions
18495 from templates according to the current configuration. Unless the files
18496 and actions are specified as TAGs, all are instantiated by default.
18498 Usage: $0 [OPTION]... [TAG]...
18500 -h, --help print this help, then exit
18501 -V, --version print version number and configuration settings, then exit
18502 --config print configuration, then exit
18503 -q, --quiet, --silent
18504 do not print progress messages
18505 -d, --debug don't remove temporary files
18506 --recheck update $as_me by reconfiguring in the same conditions
18507 --file=FILE[:TEMPLATE]
18508 instantiate the configuration file FILE
18509 --header=FILE[:TEMPLATE]
18510 instantiate the configuration header FILE
18512 Configuration files:
18513 $config_files
18515 Configuration headers:
18516 $config_headers
18518 Configuration links:
18519 $config_links
18521 Configuration commands:
18522 $config_commands
18524 Report bugs to <wine-devel@winehq.org>.
18525 Wine home page: <http://www.winehq.org>."
18527 _ACEOF
18528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18530 ac_cs_version="\\
18531 Wine config.status 1.7.36
18532 configured by $0, generated by GNU Autoconf 2.69,
18533 with options \\"\$ac_cs_config\\"
18535 Copyright (C) 2012 Free Software Foundation, Inc.
18536 This config.status script is free software; the Free Software Foundation
18537 gives unlimited permission to copy, distribute and modify it."
18539 ac_pwd='$ac_pwd'
18540 srcdir='$srcdir'
18541 test -n "\$AWK" || AWK=awk
18542 _ACEOF
18544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18545 # The default lists apply if the user does not specify any file.
18546 ac_need_defaults=:
18547 while test $# != 0
18549 case $1 in
18550 --*=?*)
18551 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18552 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18553 ac_shift=:
18555 --*=)
18556 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18557 ac_optarg=
18558 ac_shift=:
18561 ac_option=$1
18562 ac_optarg=$2
18563 ac_shift=shift
18565 esac
18567 case $ac_option in
18568 # Handling of the options.
18569 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18570 ac_cs_recheck=: ;;
18571 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18572 $as_echo "$ac_cs_version"; exit ;;
18573 --config | --confi | --conf | --con | --co | --c )
18574 $as_echo "$ac_cs_config"; exit ;;
18575 --debug | --debu | --deb | --de | --d | -d )
18576 debug=: ;;
18577 --file | --fil | --fi | --f )
18578 $ac_shift
18579 case $ac_optarg in
18580 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18581 '') as_fn_error $? "missing file argument" ;;
18582 esac
18583 as_fn_append CONFIG_FILES " '$ac_optarg'"
18584 ac_need_defaults=false;;
18585 --header | --heade | --head | --hea )
18586 $ac_shift
18587 case $ac_optarg in
18588 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18589 esac
18590 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18591 ac_need_defaults=false;;
18592 --he | --h)
18593 # Conflict between --help and --header
18594 as_fn_error $? "ambiguous option: \`$1'
18595 Try \`$0 --help' for more information.";;
18596 --help | --hel | -h )
18597 $as_echo "$ac_cs_usage"; exit ;;
18598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18599 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18600 ac_cs_silent=: ;;
18602 # This is an error.
18603 -*) as_fn_error $? "unrecognized option: \`$1'
18604 Try \`$0 --help' for more information." ;;
18606 *) as_fn_append ac_config_targets " $1"
18607 ac_need_defaults=false ;;
18609 esac
18610 shift
18611 done
18613 ac_configure_extra_args=
18615 if $ac_cs_silent; then
18616 exec 6>/dev/null
18617 ac_configure_extra_args="$ac_configure_extra_args --silent"
18620 _ACEOF
18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18622 if \$ac_cs_recheck; then
18623 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18624 shift
18625 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18626 CONFIG_SHELL='$SHELL'
18627 export CONFIG_SHELL
18628 exec "\$@"
18631 _ACEOF
18632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18633 exec 5>>config.log
18635 echo
18636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18637 ## Running $as_me. ##
18638 _ASBOX
18639 $as_echo "$ac_log"
18640 } >&5
18642 _ACEOF
18643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18645 # INIT-COMMANDS
18647 wine_fn_output_makedep ()
18649 as_dir=tools; as_fn_mkdir_p
18650 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18652 wine_fn_output_makefile ()
18654 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18655 `cat $wine_rules_file`
18656 _WINE_EOF
18657 as_fn_error $? "could not create Makefile" "$LINENO" 5
18659 wine_fn_output_gitignore ()
18661 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18662 $GITIGNORE
18663 _WINE_EOF
18664 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18667 _ACEOF
18669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18671 # Handling of arguments.
18672 for ac_config_target in $ac_config_targets
18674 case $ac_config_target in
18675 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18676 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18677 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18678 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18679 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18680 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18681 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18682 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18683 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18684 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18685 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18686 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18687 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18688 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18690 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18691 esac
18692 done
18695 # If the user did not use the arguments to specify the items to instantiate,
18696 # then the envvar interface is used. Set only those that are not.
18697 # We use the long form for the default assignment because of an extremely
18698 # bizarre bug on SunOS 4.1.3.
18699 if $ac_need_defaults; then
18700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18702 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18706 # Have a temporary directory for convenience. Make it in the build tree
18707 # simply because there is no reason against having it here, and in addition,
18708 # creating and moving files from /tmp can sometimes cause problems.
18709 # Hook for its removal unless debugging.
18710 # Note that there is a small window in which the directory will not be cleaned:
18711 # after its creation but before its name has been assigned to `$tmp'.
18712 $debug ||
18714 tmp= ac_tmp=
18715 trap 'exit_status=$?
18716 : "${ac_tmp:=$tmp}"
18717 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18719 trap 'as_fn_exit 1' 1 2 13 15
18721 # Create a (secure) tmp directory for tmp files.
18724 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18725 test -d "$tmp"
18726 } ||
18728 tmp=./conf$$-$RANDOM
18729 (umask 077 && mkdir "$tmp")
18730 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18731 ac_tmp=$tmp
18733 # Set up the scripts for CONFIG_FILES section.
18734 # No need to generate them if there are no CONFIG_FILES.
18735 # This happens for instance with `./config.status config.h'.
18736 if test -n "$CONFIG_FILES"; then
18739 ac_cr=`echo X | tr X '\015'`
18740 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18741 # But we know of no other shell where ac_cr would be empty at this
18742 # point, so we can use a bashism as a fallback.
18743 if test "x$ac_cr" = x; then
18744 eval ac_cr=\$\'\\r\'
18746 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18747 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18748 ac_cs_awk_cr='\\r'
18749 else
18750 ac_cs_awk_cr=$ac_cr
18753 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18754 _ACEOF
18758 echo "cat >conf$$subs.awk <<_ACEOF" &&
18759 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18760 echo "_ACEOF"
18761 } >conf$$subs.sh ||
18762 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18763 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18764 ac_delim='%!_!# '
18765 for ac_last_try in false false false false false :; do
18766 . ./conf$$subs.sh ||
18767 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18769 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18770 if test $ac_delim_n = $ac_delim_num; then
18771 break
18772 elif $ac_last_try; then
18773 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18774 else
18775 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18777 done
18778 rm -f conf$$subs.sh
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18782 _ACEOF
18783 sed -n '
18785 s/^/S["/; s/!.*/"]=/
18788 s/^[^!]*!//
18789 :repl
18790 t repl
18791 s/'"$ac_delim"'$//
18792 t delim
18795 s/\(.\{148\}\)..*/\1/
18796 t more1
18797 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18800 b repl
18801 :more1
18802 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18805 s/.\{148\}//
18806 t nl
18807 :delim
18809 s/\(.\{148\}\)..*/\1/
18810 t more2
18811 s/["\\]/\\&/g; s/^/"/; s/$/"/
18814 :more2
18815 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18818 s/.\{148\}//
18819 t delim
18820 ' <conf$$subs.awk | sed '
18821 /^[^""]/{
18823 s/\n//
18825 ' >>$CONFIG_STATUS || ac_write_fail=1
18826 rm -f conf$$subs.awk
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18828 _ACAWK
18829 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18830 for (key in S) S_is_set[key] = 1
18831 FS = "\a"
18835 line = $ 0
18836 nfields = split(line, field, "@")
18837 substed = 0
18838 len = length(field[1])
18839 for (i = 2; i < nfields; i++) {
18840 key = field[i]
18841 keylen = length(key)
18842 if (S_is_set[key]) {
18843 value = S[key]
18844 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18845 len += length(value) + length(field[++i])
18846 substed = 1
18847 } else
18848 len += 1 + keylen
18851 print line
18854 _ACAWK
18855 _ACEOF
18856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18857 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18858 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18859 else
18861 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18862 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18863 _ACEOF
18865 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18866 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18867 # trailing colons and then remove the whole line if VPATH becomes empty
18868 # (actually we leave an empty line to preserve line numbers).
18869 if test "x$srcdir" = x.; then
18870 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18872 s///
18873 s/^/:/
18874 s/[ ]*$/:/
18875 s/:\$(srcdir):/:/g
18876 s/:\${srcdir}:/:/g
18877 s/:@srcdir@:/:/g
18878 s/^:*//
18879 s/:*$//
18881 s/\(=[ ]*\).*/\1/
18883 s/\n//
18884 s/^[^=]*=[ ]*$//
18888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18889 fi # test -n "$CONFIG_FILES"
18891 # Set up the scripts for CONFIG_HEADERS section.
18892 # No need to generate them if there are no CONFIG_HEADERS.
18893 # This happens for instance with `./config.status Makefile'.
18894 if test -n "$CONFIG_HEADERS"; then
18895 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18896 BEGIN {
18897 _ACEOF
18899 # Transform confdefs.h into an awk script `defines.awk', embedded as
18900 # here-document in config.status, that substitutes the proper values into
18901 # config.h.in to produce config.h.
18903 # Create a delimiter string that does not exist in confdefs.h, to ease
18904 # handling of long lines.
18905 ac_delim='%!_!# '
18906 for ac_last_try in false false :; do
18907 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18908 if test -z "$ac_tt"; then
18909 break
18910 elif $ac_last_try; then
18911 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18912 else
18913 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18915 done
18917 # For the awk script, D is an array of macro values keyed by name,
18918 # likewise P contains macro parameters if any. Preserve backslash
18919 # newline sequences.
18921 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18922 sed -n '
18923 s/.\{148\}/&'"$ac_delim"'/g
18924 t rset
18925 :rset
18926 s/^[ ]*#[ ]*define[ ][ ]*/ /
18927 t def
18929 :def
18930 s/\\$//
18931 t bsnl
18932 s/["\\]/\\&/g
18933 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18934 D["\1"]=" \3"/p
18935 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18937 :bsnl
18938 s/["\\]/\\&/g
18939 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18940 D["\1"]=" \3\\\\\\n"\\/p
18941 t cont
18942 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18943 t cont
18945 :cont
18947 s/.\{148\}/&'"$ac_delim"'/g
18948 t clear
18949 :clear
18950 s/\\$//
18951 t bsnlc
18952 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18954 :bsnlc
18955 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18956 b cont
18957 ' <confdefs.h | sed '
18958 s/'"$ac_delim"'/"\\\
18959 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18962 for (key in D) D_is_set[key] = 1
18963 FS = "\a"
18965 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18966 line = \$ 0
18967 split(line, arg, " ")
18968 if (arg[1] == "#") {
18969 defundef = arg[2]
18970 mac1 = arg[3]
18971 } else {
18972 defundef = substr(arg[1], 2)
18973 mac1 = arg[2]
18975 split(mac1, mac2, "(") #)
18976 macro = mac2[1]
18977 prefix = substr(line, 1, index(line, defundef) - 1)
18978 if (D_is_set[macro]) {
18979 # Preserve the white space surrounding the "#".
18980 print prefix "define", macro P[macro] D[macro]
18981 next
18982 } else {
18983 # Replace #undef with comments. This is necessary, for example,
18984 # in the case of _POSIX_SOURCE, which is predefined and required
18985 # on some systems where configure will not decide to define it.
18986 if (defundef == "undef") {
18987 print "/*", prefix defundef, macro, "*/"
18988 next
18992 { print }
18993 _ACAWK
18994 _ACEOF
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18996 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18997 fi # test -n "$CONFIG_HEADERS"
19000 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19001 shift
19002 for ac_tag
19004 case $ac_tag in
19005 :[FHLC]) ac_mode=$ac_tag; continue;;
19006 esac
19007 case $ac_mode$ac_tag in
19008 :[FHL]*:*);;
19009 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19010 :[FH]-) ac_tag=-:-;;
19011 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19012 esac
19013 ac_save_IFS=$IFS
19014 IFS=:
19015 set x $ac_tag
19016 IFS=$ac_save_IFS
19017 shift
19018 ac_file=$1
19019 shift
19021 case $ac_mode in
19022 :L) ac_source=$1;;
19023 :[FH])
19024 ac_file_inputs=
19025 for ac_f
19027 case $ac_f in
19028 -) ac_f="$ac_tmp/stdin";;
19029 *) # Look for the file first in the build tree, then in the source tree
19030 # (if the path is not absolute). The absolute path cannot be DOS-style,
19031 # because $ac_f cannot contain `:'.
19032 test -f "$ac_f" ||
19033 case $ac_f in
19034 [\\/$]*) false;;
19035 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19036 esac ||
19037 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19038 esac
19039 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19040 as_fn_append ac_file_inputs " '$ac_f'"
19041 done
19043 # Let's still pretend it is `configure' which instantiates (i.e., don't
19044 # use $as_me), people would be surprised to read:
19045 # /* config.h. Generated by config.status. */
19046 configure_input='Generated from '`
19047 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19048 `' by configure.'
19049 if test x"$ac_file" != x-; then
19050 configure_input="$ac_file. $configure_input"
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19052 $as_echo "$as_me: creating $ac_file" >&6;}
19054 # Neutralize special characters interpreted by sed in replacement strings.
19055 case $configure_input in #(
19056 *\&* | *\|* | *\\* )
19057 ac_sed_conf_input=`$as_echo "$configure_input" |
19058 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19059 *) ac_sed_conf_input=$configure_input;;
19060 esac
19062 case $ac_tag in
19063 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19065 esac
19067 esac
19069 ac_dir=`$as_dirname -- "$ac_file" ||
19070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19071 X"$ac_file" : 'X\(//\)[^/]' \| \
19072 X"$ac_file" : 'X\(//\)$' \| \
19073 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19074 $as_echo X"$ac_file" |
19075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19076 s//\1/
19079 /^X\(\/\/\)[^/].*/{
19080 s//\1/
19083 /^X\(\/\/\)$/{
19084 s//\1/
19087 /^X\(\/\).*/{
19088 s//\1/
19091 s/.*/./; q'`
19092 as_dir="$ac_dir"; as_fn_mkdir_p
19093 ac_builddir=.
19095 case "$ac_dir" in
19096 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19098 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19099 # A ".." for each directory in $ac_dir_suffix.
19100 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19101 case $ac_top_builddir_sub in
19102 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19103 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19104 esac ;;
19105 esac
19106 ac_abs_top_builddir=$ac_pwd
19107 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19108 # for backward compatibility:
19109 ac_top_builddir=$ac_top_build_prefix
19111 case $srcdir in
19112 .) # We are building in place.
19113 ac_srcdir=.
19114 ac_top_srcdir=$ac_top_builddir_sub
19115 ac_abs_top_srcdir=$ac_pwd ;;
19116 [\\/]* | ?:[\\/]* ) # Absolute name.
19117 ac_srcdir=$srcdir$ac_dir_suffix;
19118 ac_top_srcdir=$srcdir
19119 ac_abs_top_srcdir=$srcdir ;;
19120 *) # Relative name.
19121 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19122 ac_top_srcdir=$ac_top_build_prefix$srcdir
19123 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19124 esac
19125 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19128 case $ac_mode in
19131 # CONFIG_FILE
19134 _ACEOF
19136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19137 # If the template does not know about datarootdir, expand it.
19138 # FIXME: This hack should be removed a few years after 2.60.
19139 ac_datarootdir_hack=; ac_datarootdir_seen=
19140 ac_sed_dataroot='
19141 /datarootdir/ {
19145 /@datadir@/p
19146 /@docdir@/p
19147 /@infodir@/p
19148 /@localedir@/p
19149 /@mandir@/p'
19150 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19151 *datarootdir*) ac_datarootdir_seen=yes;;
19152 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19154 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19155 _ACEOF
19156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19157 ac_datarootdir_hack='
19158 s&@datadir@&$datadir&g
19159 s&@docdir@&$docdir&g
19160 s&@infodir@&$infodir&g
19161 s&@localedir@&$localedir&g
19162 s&@mandir@&$mandir&g
19163 s&\\\${datarootdir}&$datarootdir&g' ;;
19164 esac
19165 _ACEOF
19167 # Neutralize VPATH when `$srcdir' = `.'.
19168 # Shell code in configure.ac might set extrasub.
19169 # FIXME: do we really want to maintain this feature?
19170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19171 ac_sed_extra="$ac_vpsub
19172 $extrasub
19173 _ACEOF
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19177 s|@configure_input@|$ac_sed_conf_input|;t t
19178 s&@top_builddir@&$ac_top_builddir_sub&;t t
19179 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19180 s&@srcdir@&$ac_srcdir&;t t
19181 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19182 s&@top_srcdir@&$ac_top_srcdir&;t t
19183 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19184 s&@builddir@&$ac_builddir&;t t
19185 s&@abs_builddir@&$ac_abs_builddir&;t t
19186 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19187 $ac_datarootdir_hack
19189 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19190 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19192 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19193 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19194 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19195 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19197 which seems to be undefined. Please make sure it is defined" >&5
19198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19199 which seems to be undefined. Please make sure it is defined" >&2;}
19201 rm -f "$ac_tmp/stdin"
19202 case $ac_file in
19203 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19204 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19205 esac \
19206 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19210 # CONFIG_HEADER
19212 if test x"$ac_file" != x-; then
19214 $as_echo "/* $configure_input */" \
19215 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19216 } >"$ac_tmp/config.h" \
19217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19218 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19220 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19221 else
19222 rm -f "$ac_file"
19223 mv "$ac_tmp/config.h" "$ac_file" \
19224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19226 else
19227 $as_echo "/* $configure_input */" \
19228 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19229 || as_fn_error $? "could not create -" "$LINENO" 5
19234 # CONFIG_LINK
19237 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19239 else
19240 # Prefer the file from the source tree if names are identical.
19241 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19242 ac_source=$srcdir/$ac_source
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19246 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19248 if test ! -r "$ac_source"; then
19249 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19251 rm -f "$ac_file"
19253 # Try a relative symlink, then a hard link, then a copy.
19254 case $ac_source in
19255 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19256 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19257 esac
19258 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19259 ln "$ac_source" "$ac_file" 2>/dev/null ||
19260 cp -p "$ac_source" "$ac_file" ||
19261 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19264 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19265 $as_echo "$as_me: executing $ac_file commands" >&6;}
19267 esac
19270 case $ac_file$ac_mode in
19271 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19272 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19273 "Makefile":C) wine_fn_output_makefile Makefile ;;
19274 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19276 esac
19277 done # for ac_tag
19280 as_fn_exit 0
19281 _ACEOF
19282 ac_clean_files=$ac_clean_files_save
19284 test $ac_write_fail = 0 ||
19285 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19288 # configure is writing to config.log, and then calls config.status.
19289 # config.status does its own redirection, appending to config.log.
19290 # Unfortunately, on DOS this fails, as config.log is still kept open
19291 # by configure, so config.status won't be able to write to it; its
19292 # output is simply discarded. So we exec the FD to /dev/null,
19293 # effectively closing config.log, so it can be properly (re)opened and
19294 # appended to by config.status. When coming back to configure, we
19295 # need to make the FD available again.
19296 if test "$no_create" != yes; then
19297 ac_cs_success=:
19298 ac_config_status_args=
19299 test "$silent" = yes &&
19300 ac_config_status_args="$ac_config_status_args --quiet"
19301 exec 5>/dev/null
19302 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19303 exec 5>>config.log
19304 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19305 # would make configure fail if this is the last instruction.
19306 $ac_cs_success || as_fn_exit 1
19308 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19310 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19314 if test "$no_create" = "yes"
19315 then
19316 exit 0
19319 ac_save_IFS="$IFS"
19320 if test "x$wine_notices != "x; then
19321 echo >&6
19322 IFS="|"
19323 for msg in $wine_notices; do
19324 IFS="$ac_save_IFS"
19325 if ${msg:+false} :; then :
19327 else
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19329 $as_echo "$as_me: $msg" >&6;}
19331 done
19333 IFS="|"
19334 for msg in $wine_warnings; do
19335 IFS="$ac_save_IFS"
19336 if ${msg:+false} :; then :
19338 else
19339 echo >&2
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19341 $as_echo "$as_me: WARNING: $msg" >&2;}
19343 done
19344 IFS="$ac_save_IFS"
19346 $as_echo "
19347 $as_me: Finished. Do '${ac_make}' to compile Wine.
19348 " >&6