opengl32: Filter disabled extensions on OpenGL core profile contexts too.
[wine.git] / configure
blob273f79e670df911bbc5f3886e38147f2d8652f58
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.37.
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.37'
584 PACKAGE_STRING='Wine 1.7.37'
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_1
1327 enable_x3daudio1_3
1328 enable_x3daudio1_4
1329 enable_x3daudio1_5
1330 enable_x3daudio1_6
1331 enable_x3daudio1_7
1332 enable_xapofx1_1
1333 enable_xapofx1_3
1334 enable_xapofx1_4
1335 enable_xapofx1_5
1336 enable_xaudio2_7
1337 enable_xinput1_1
1338 enable_xinput1_2
1339 enable_xinput1_3
1340 enable_xinput1_4
1341 enable_xinput9_1_0
1342 enable_xmllite
1343 enable_xolehlp
1344 enable_xpsprint
1345 enable_xpssvcs
1346 enable_documentation
1347 enable_fonts
1348 enable_include
1349 enable_libs_port
1350 enable_libs_wine
1351 enable_libs_wpp
1352 enable_loader
1353 enable_arp
1354 enable_aspnet_regiis
1355 enable_attrib
1356 enable_cabarc
1357 enable_cacls
1358 enable_clock
1359 enable_cmd
1360 enable_conhost
1361 enable_control
1362 enable_cscript
1363 enable_dpnsvr
1364 enable_dxdiag
1365 enable_eject
1366 enable_expand
1367 enable_explorer
1368 enable_extrac32
1369 enable_findstr
1370 enable_hh
1371 enable_hostname
1372 enable_icinfo
1373 enable_iexplore
1374 enable_ipconfig
1375 enable_lodctr
1376 enable_mofcomp
1377 enable_mshta
1378 enable_msiexec
1379 enable_net
1380 enable_netsh
1381 enable_netstat
1382 enable_ngen
1383 enable_notepad
1384 enable_oleview
1385 enable_ping
1386 enable_plugplay
1387 enable_presentationfontcache
1388 enable_progman
1389 enable_reg
1390 enable_regasm
1391 enable_regedit
1392 enable_regsvcs
1393 enable_regsvr32
1394 enable_rpcss
1395 enable_rundll32
1396 enable_sc
1397 enable_schtasks
1398 enable_sdbinst
1399 enable_secedit
1400 enable_servicemodelreg
1401 enable_services
1402 enable_spoolsv
1403 enable_start
1404 enable_svchost
1405 enable_systeminfo
1406 enable_taskkill
1407 enable_tasklist
1408 enable_taskmgr
1409 enable_termsv
1410 enable_uninstaller
1411 enable_unlodctr
1412 enable_view
1413 enable_wevtutil
1414 enable_wineboot
1415 enable_winebrowser
1416 enable_winecfg
1417 enable_wineconsole
1418 enable_winedbg
1419 enable_winedevice
1420 enable_winefile
1421 enable_winemenubuilder
1422 enable_winemine
1423 enable_winemsibuilder
1424 enable_winepath
1425 enable_winetest
1426 enable_winhlp32
1427 enable_winver
1428 enable_wmic
1429 enable_wordpad
1430 enable_write
1431 enable_wscript
1432 enable_wusa
1433 enable_xcopy
1434 enable_server
1435 enable_tools
1437 ac_precious_vars='build_alias
1438 host_alias
1439 target_alias
1441 CFLAGS
1442 LDFLAGS
1443 LIBS
1444 CPPFLAGS
1446 CXXFLAGS
1449 XMKMF
1450 XML2_CFLAGS
1451 XML2_LIBS
1452 XSLT_CFLAGS
1453 XSLT_LIBS
1454 DBUS_CFLAGS
1455 DBUS_LIBS
1456 HAL_CFLAGS
1457 HAL_LIBS
1458 GNUTLS_CFLAGS
1459 GNUTLS_LIBS
1460 SANE_CFLAGS
1461 SANE_LIBS
1462 GPHOTO2_CFLAGS
1463 GPHOTO2_LIBS
1464 GPHOTO2_PORT_CFLAGS
1465 GPHOTO2_PORT_LIBS
1466 LCMS2_CFLAGS
1467 LCMS2_LIBS
1468 FREETYPE_CFLAGS
1469 FREETYPE_LIBS
1470 GSTREAMER_CFLAGS
1471 GSTREAMER_LIBS
1472 CAPI20_CFLAGS
1473 CAPI20_LIBS
1474 FONTCONFIG_CFLAGS
1475 FONTCONFIG_LIBS
1476 JPEG_CFLAGS
1477 JPEG_LIBS
1478 PNG_CFLAGS
1479 PNG_LIBS
1480 TIFF_CFLAGS
1481 TIFF_LIBS
1482 MPG123_CFLAGS
1483 MPG123_LIBS'
1486 # Initialize some variables set by options.
1487 ac_init_help=
1488 ac_init_version=false
1489 ac_unrecognized_opts=
1490 ac_unrecognized_sep=
1491 # The variables have the same names as the options, with
1492 # dashes changed to underlines.
1493 cache_file=/dev/null
1494 exec_prefix=NONE
1495 no_create=
1496 no_recursion=
1497 prefix=NONE
1498 program_prefix=NONE
1499 program_suffix=NONE
1500 program_transform_name=s,x,x,
1501 silent=
1502 site=
1503 srcdir=
1504 verbose=
1505 x_includes=NONE
1506 x_libraries=NONE
1508 # Installation directory options.
1509 # These are left unexpanded so users can "make install exec_prefix=/foo"
1510 # and all the variables that are supposed to be based on exec_prefix
1511 # by default will actually change.
1512 # Use braces instead of parens because sh, perl, etc. also accept them.
1513 # (The list follows the same order as the GNU Coding Standards.)
1514 bindir='${exec_prefix}/bin'
1515 sbindir='${exec_prefix}/sbin'
1516 libexecdir='${exec_prefix}/libexec'
1517 datarootdir='${prefix}/share'
1518 datadir='${datarootdir}'
1519 sysconfdir='${prefix}/etc'
1520 sharedstatedir='${prefix}/com'
1521 localstatedir='${prefix}/var'
1522 includedir='${prefix}/include'
1523 oldincludedir='/usr/include'
1524 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1525 infodir='${datarootdir}/info'
1526 htmldir='${docdir}'
1527 dvidir='${docdir}'
1528 pdfdir='${docdir}'
1529 psdir='${docdir}'
1530 libdir='${exec_prefix}/lib'
1531 localedir='${datarootdir}/locale'
1532 mandir='${datarootdir}/man'
1534 ac_prev=
1535 ac_dashdash=
1536 for ac_option
1538 # If the previous option needs an argument, assign it.
1539 if test -n "$ac_prev"; then
1540 eval $ac_prev=\$ac_option
1541 ac_prev=
1542 continue
1545 case $ac_option in
1546 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1547 *=) ac_optarg= ;;
1548 *) ac_optarg=yes ;;
1549 esac
1551 # Accept the important Cygnus configure options, so we can diagnose typos.
1553 case $ac_dashdash$ac_option in
1555 ac_dashdash=yes ;;
1557 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1558 ac_prev=bindir ;;
1559 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1560 bindir=$ac_optarg ;;
1562 -build | --build | --buil | --bui | --bu)
1563 ac_prev=build_alias ;;
1564 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1565 build_alias=$ac_optarg ;;
1567 -cache-file | --cache-file | --cache-fil | --cache-fi \
1568 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1569 ac_prev=cache_file ;;
1570 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1571 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1572 cache_file=$ac_optarg ;;
1574 --config-cache | -C)
1575 cache_file=config.cache ;;
1577 -datadir | --datadir | --datadi | --datad)
1578 ac_prev=datadir ;;
1579 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1580 datadir=$ac_optarg ;;
1582 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1583 | --dataroo | --dataro | --datar)
1584 ac_prev=datarootdir ;;
1585 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1586 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1587 datarootdir=$ac_optarg ;;
1589 -disable-* | --disable-*)
1590 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1591 # Reject names that are not valid shell variable names.
1592 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1593 as_fn_error $? "invalid feature name: $ac_useropt"
1594 ac_useropt_orig=$ac_useropt
1595 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1596 case $ac_user_opts in
1598 "enable_$ac_useropt"
1599 "*) ;;
1600 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1601 ac_unrecognized_sep=', ';;
1602 esac
1603 eval enable_$ac_useropt=no ;;
1605 -docdir | --docdir | --docdi | --doc | --do)
1606 ac_prev=docdir ;;
1607 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1608 docdir=$ac_optarg ;;
1610 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1611 ac_prev=dvidir ;;
1612 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1613 dvidir=$ac_optarg ;;
1615 -enable-* | --enable-*)
1616 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1617 # Reject names that are not valid shell variable names.
1618 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1619 as_fn_error $? "invalid feature name: $ac_useropt"
1620 ac_useropt_orig=$ac_useropt
1621 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1622 case $ac_user_opts in
1624 "enable_$ac_useropt"
1625 "*) ;;
1626 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1627 ac_unrecognized_sep=', ';;
1628 esac
1629 eval enable_$ac_useropt=\$ac_optarg ;;
1631 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1632 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1633 | --exec | --exe | --ex)
1634 ac_prev=exec_prefix ;;
1635 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1636 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1637 | --exec=* | --exe=* | --ex=*)
1638 exec_prefix=$ac_optarg ;;
1640 -gas | --gas | --ga | --g)
1641 # Obsolete; use --with-gas.
1642 with_gas=yes ;;
1644 -help | --help | --hel | --he | -h)
1645 ac_init_help=long ;;
1646 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1647 ac_init_help=recursive ;;
1648 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1649 ac_init_help=short ;;
1651 -host | --host | --hos | --ho)
1652 ac_prev=host_alias ;;
1653 -host=* | --host=* | --hos=* | --ho=*)
1654 host_alias=$ac_optarg ;;
1656 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1657 ac_prev=htmldir ;;
1658 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1659 | --ht=*)
1660 htmldir=$ac_optarg ;;
1662 -includedir | --includedir | --includedi | --included | --include \
1663 | --includ | --inclu | --incl | --inc)
1664 ac_prev=includedir ;;
1665 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1666 | --includ=* | --inclu=* | --incl=* | --inc=*)
1667 includedir=$ac_optarg ;;
1669 -infodir | --infodir | --infodi | --infod | --info | --inf)
1670 ac_prev=infodir ;;
1671 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1672 infodir=$ac_optarg ;;
1674 -libdir | --libdir | --libdi | --libd)
1675 ac_prev=libdir ;;
1676 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1677 libdir=$ac_optarg ;;
1679 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1680 | --libexe | --libex | --libe)
1681 ac_prev=libexecdir ;;
1682 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1683 | --libexe=* | --libex=* | --libe=*)
1684 libexecdir=$ac_optarg ;;
1686 -localedir | --localedir | --localedi | --localed | --locale)
1687 ac_prev=localedir ;;
1688 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1689 localedir=$ac_optarg ;;
1691 -localstatedir | --localstatedir | --localstatedi | --localstated \
1692 | --localstate | --localstat | --localsta | --localst | --locals)
1693 ac_prev=localstatedir ;;
1694 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1695 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1696 localstatedir=$ac_optarg ;;
1698 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1699 ac_prev=mandir ;;
1700 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1701 mandir=$ac_optarg ;;
1703 -nfp | --nfp | --nf)
1704 # Obsolete; use --without-fp.
1705 with_fp=no ;;
1707 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1708 | --no-cr | --no-c | -n)
1709 no_create=yes ;;
1711 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1712 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1713 no_recursion=yes ;;
1715 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1716 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1717 | --oldin | --oldi | --old | --ol | --o)
1718 ac_prev=oldincludedir ;;
1719 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1720 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1721 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1722 oldincludedir=$ac_optarg ;;
1724 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1725 ac_prev=prefix ;;
1726 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1727 prefix=$ac_optarg ;;
1729 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1730 | --program-pre | --program-pr | --program-p)
1731 ac_prev=program_prefix ;;
1732 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1733 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1734 program_prefix=$ac_optarg ;;
1736 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1737 | --program-suf | --program-su | --program-s)
1738 ac_prev=program_suffix ;;
1739 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1740 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1741 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1751 -program-transform-name=* | --program-transform-name=* \
1752 | --program-transform-nam=* | --program-transform-na=* \
1753 | --program-transform-n=* | --program-transform-=* \
1754 | --program-transform=* | --program-transfor=* \
1755 | --program-transfo=* | --program-transf=* \
1756 | --program-trans=* | --program-tran=* \
1757 | --progr-tra=* | --program-tr=* | --program-t=*)
1758 program_transform_name=$ac_optarg ;;
1760 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1761 ac_prev=pdfdir ;;
1762 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1763 pdfdir=$ac_optarg ;;
1765 -psdir | --psdir | --psdi | --psd | --ps)
1766 ac_prev=psdir ;;
1767 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1768 psdir=$ac_optarg ;;
1770 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1771 | -silent | --silent | --silen | --sile | --sil)
1772 silent=yes ;;
1774 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1775 ac_prev=sbindir ;;
1776 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1777 | --sbi=* | --sb=*)
1778 sbindir=$ac_optarg ;;
1780 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1781 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1782 | --sharedst | --shareds | --shared | --share | --shar \
1783 | --sha | --sh)
1784 ac_prev=sharedstatedir ;;
1785 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1786 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1787 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1788 | --sha=* | --sh=*)
1789 sharedstatedir=$ac_optarg ;;
1791 -site | --site | --sit)
1792 ac_prev=site ;;
1793 -site=* | --site=* | --sit=*)
1794 site=$ac_optarg ;;
1796 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1797 ac_prev=srcdir ;;
1798 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1799 srcdir=$ac_optarg ;;
1801 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1802 | --syscon | --sysco | --sysc | --sys | --sy)
1803 ac_prev=sysconfdir ;;
1804 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1805 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1806 sysconfdir=$ac_optarg ;;
1808 -target | --target | --targe | --targ | --tar | --ta | --t)
1809 ac_prev=target_alias ;;
1810 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1811 target_alias=$ac_optarg ;;
1813 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1814 verbose=yes ;;
1816 -version | --version | --versio | --versi | --vers | -V)
1817 ac_init_version=: ;;
1819 -with-* | --with-*)
1820 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1821 # Reject names that are not valid shell variable names.
1822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1823 as_fn_error $? "invalid package name: $ac_useropt"
1824 ac_useropt_orig=$ac_useropt
1825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1826 case $ac_user_opts in
1828 "with_$ac_useropt"
1829 "*) ;;
1830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1831 ac_unrecognized_sep=', ';;
1832 esac
1833 eval with_$ac_useropt=\$ac_optarg ;;
1835 -without-* | --without-*)
1836 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1837 # Reject names that are not valid shell variable names.
1838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1839 as_fn_error $? "invalid package name: $ac_useropt"
1840 ac_useropt_orig=$ac_useropt
1841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1842 case $ac_user_opts in
1844 "with_$ac_useropt"
1845 "*) ;;
1846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1847 ac_unrecognized_sep=', ';;
1848 esac
1849 eval with_$ac_useropt=no ;;
1851 --x)
1852 # Obsolete; use --with-x.
1853 with_x=yes ;;
1855 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1856 | --x-incl | --x-inc | --x-in | --x-i)
1857 ac_prev=x_includes ;;
1858 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1859 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1860 x_includes=$ac_optarg ;;
1862 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1863 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1864 ac_prev=x_libraries ;;
1865 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1866 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1867 x_libraries=$ac_optarg ;;
1869 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1870 Try \`$0 --help' for more information"
1873 *=*)
1874 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1875 # Reject names that are not valid shell variable names.
1876 case $ac_envvar in #(
1877 '' | [0-9]* | *[!_$as_cr_alnum]* )
1878 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1879 esac
1880 eval $ac_envvar=\$ac_optarg
1881 export $ac_envvar ;;
1884 # FIXME: should be removed in autoconf 3.0.
1885 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1886 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1887 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1888 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1891 esac
1892 done
1894 if test -n "$ac_prev"; then
1895 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1896 as_fn_error $? "missing argument to $ac_option"
1899 if test -n "$ac_unrecognized_opts"; then
1900 case $enable_option_checking in
1901 no) ;;
1902 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1903 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1904 esac
1907 # Check all directory arguments for consistency.
1908 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1909 datadir sysconfdir sharedstatedir localstatedir includedir \
1910 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1911 libdir localedir mandir
1913 eval ac_val=\$$ac_var
1914 # Remove trailing slashes.
1915 case $ac_val in
1916 */ )
1917 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1918 eval $ac_var=\$ac_val;;
1919 esac
1920 # Be sure to have absolute directory names.
1921 case $ac_val in
1922 [\\/$]* | ?:[\\/]* ) continue;;
1923 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1924 esac
1925 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1926 done
1928 # There might be people who depend on the old broken behavior: `$host'
1929 # used to hold the argument of --host etc.
1930 # FIXME: To remove some day.
1931 build=$build_alias
1932 host=$host_alias
1933 target=$target_alias
1935 # FIXME: To remove some day.
1936 if test "x$host_alias" != x; then
1937 if test "x$build_alias" = x; then
1938 cross_compiling=maybe
1939 elif test "x$build_alias" != "x$host_alias"; then
1940 cross_compiling=yes
1944 ac_tool_prefix=
1945 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1947 test "$silent" = yes && exec 6>/dev/null
1950 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1951 ac_ls_di=`ls -di .` &&
1952 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1953 as_fn_error $? "working directory cannot be determined"
1954 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1955 as_fn_error $? "pwd does not report name of working directory"
1958 # Find the source files, if location was not specified.
1959 if test -z "$srcdir"; then
1960 ac_srcdir_defaulted=yes
1961 # Try the directory containing this script, then the parent directory.
1962 ac_confdir=`$as_dirname -- "$as_myself" ||
1963 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1964 X"$as_myself" : 'X\(//\)[^/]' \| \
1965 X"$as_myself" : 'X\(//\)$' \| \
1966 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1967 $as_echo X"$as_myself" |
1968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1969 s//\1/
1972 /^X\(\/\/\)[^/].*/{
1973 s//\1/
1976 /^X\(\/\/\)$/{
1977 s//\1/
1980 /^X\(\/\).*/{
1981 s//\1/
1984 s/.*/./; q'`
1985 srcdir=$ac_confdir
1986 if test ! -r "$srcdir/$ac_unique_file"; then
1987 srcdir=..
1989 else
1990 ac_srcdir_defaulted=no
1992 if test ! -r "$srcdir/$ac_unique_file"; then
1993 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1994 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1996 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1997 ac_abs_confdir=`(
1998 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1999 pwd)`
2000 # When building in place, set srcdir=.
2001 if test "$ac_abs_confdir" = "$ac_pwd"; then
2002 srcdir=.
2004 # Remove unnecessary trailing slashes from srcdir.
2005 # Double slashes in file names in object file debugging info
2006 # mess up M-x gdb in Emacs.
2007 case $srcdir in
2008 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2009 esac
2010 for ac_var in $ac_precious_vars; do
2011 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2012 eval ac_env_${ac_var}_value=\$${ac_var}
2013 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2014 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2015 done
2018 # Report the --help message.
2020 if test "$ac_init_help" = "long"; then
2021 # Omit some internal or obsolete options to make the list less imposing.
2022 # This message is too long to be a string in the A/UX 3.1 sh.
2023 cat <<_ACEOF
2024 \`configure' configures Wine 1.7.37 to adapt to many kinds of systems.
2026 Usage: $0 [OPTION]... [VAR=VALUE]...
2028 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2029 VAR=VALUE. See below for descriptions of some of the useful variables.
2031 Defaults for the options are specified in brackets.
2033 Configuration:
2034 -h, --help display this help and exit
2035 --help=short display options specific to this package
2036 --help=recursive display the short help of all the included packages
2037 -V, --version display version information and exit
2038 -q, --quiet, --silent do not print \`checking ...' messages
2039 --cache-file=FILE cache test results in FILE [disabled]
2040 -C, --config-cache alias for \`--cache-file=config.cache'
2041 -n, --no-create do not create output files
2042 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2044 Installation directories:
2045 --prefix=PREFIX install architecture-independent files in PREFIX
2046 [$ac_default_prefix]
2047 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2048 [PREFIX]
2050 By default, \`make install' will install all the files in
2051 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2052 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2053 for instance \`--prefix=\$HOME'.
2055 For better control, use the options below.
2057 Fine tuning of the installation directories:
2058 --bindir=DIR user executables [EPREFIX/bin]
2059 --sbindir=DIR system admin executables [EPREFIX/sbin]
2060 --libexecdir=DIR program executables [EPREFIX/libexec]
2061 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2062 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2063 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2064 --libdir=DIR object code libraries [EPREFIX/lib]
2065 --includedir=DIR C header files [PREFIX/include]
2066 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2067 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2068 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2069 --infodir=DIR info documentation [DATAROOTDIR/info]
2070 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2071 --mandir=DIR man documentation [DATAROOTDIR/man]
2072 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2073 --htmldir=DIR html documentation [DOCDIR]
2074 --dvidir=DIR dvi documentation [DOCDIR]
2075 --pdfdir=DIR pdf documentation [DOCDIR]
2076 --psdir=DIR ps documentation [DOCDIR]
2077 _ACEOF
2079 cat <<\_ACEOF
2081 X features:
2082 --x-includes=DIR X include files are in DIR
2083 --x-libraries=DIR X library files are in DIR
2085 System types:
2086 --build=BUILD configure for building on BUILD [guessed]
2087 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2088 _ACEOF
2091 if test -n "$ac_init_help"; then
2092 case $ac_init_help in
2093 short | recursive ) echo "Configuration of Wine 1.7.37:";;
2094 esac
2095 cat <<\_ACEOF
2097 Optional Features:
2098 --disable-option-checking ignore unrecognized --enable/--with options
2099 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2100 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2101 --disable-win16 do not include Win16 support
2102 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2103 binaries)
2104 --disable-tests do not build the regression tests
2105 --enable-maintainer-mode
2106 enable maintainer-specific build rules
2107 --disable-largefile omit support for large files
2109 Optional Packages:
2110 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2111 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2112 --without-alsa do not use the Alsa sound support
2113 --without-capi do not use CAPI (ISDN support)
2114 --without-cms do not use CMS (color management support)
2115 --without-coreaudio do not use the CoreAudio sound support
2116 --without-cups do not use CUPS
2117 --without-curses do not use (n)curses
2118 --without-dbus do not use DBus (dynamic device support)
2119 --without-fontconfig do not use fontconfig
2120 --without-freetype do not use the FreeType library
2121 --without-gettext do not use gettext
2122 --with-gettextpo use the GetTextPO library to rebuild po files
2123 --without-gphoto do not use gphoto (Digital Camera support)
2124 --without-glu do not use the GLU library
2125 --without-gnutls do not use GnuTLS (schannel support)
2126 --without-gsm do not use libgsm (GSM 06.10 codec support)
2127 --without-gstreamer do not use GStreamer (codecs support)
2128 --without-hal do not use HAL (dynamic device support)
2129 --without-jpeg do not use JPEG
2130 --without-ldap do not use LDAP
2131 --without-mpg123 do not use the mpg123 library
2132 --without-netapi do not use the Samba NetAPI library
2133 --without-openal do not use OpenAL
2134 --without-opencl do not use OpenCL
2135 --without-opengl do not use OpenGL
2136 --without-osmesa do not use the OSMesa library
2137 --without-oss do not use the OSS sound support
2138 --without-pcap do not use the Packet Capture library
2139 --without-png do not use PNG
2140 --without-pthread do not use the pthread library
2141 --without-sane do not use SANE (scanner support)
2142 --without-tiff do not use TIFF
2143 --without-v4l do not use v4l1 (v4l support)
2144 --without-xcomposite do not use the Xcomposite extension
2145 --without-xcursor do not use the Xcursor extension
2146 --without-xinerama do not use Xinerama (multi-monitor support)
2147 --without-xinput do not use the Xinput extension
2148 --without-xinput2 do not use the Xinput 2 extension
2149 --without-xml do not use XML
2150 --without-xrandr do not use Xrandr (resolution changes)
2151 --without-xrender do not use the Xrender extension
2152 --without-xshape do not use the Xshape extension
2153 --without-xshm do not use XShm (shared memory extension)
2154 --without-xslt do not use XSLT
2155 --without-xxf86vm do not use XFree video mode extension
2156 --without-zlib do not use Zlib (data compression)
2157 --with-wine-tools=DIR use Wine tools from directory DIR
2158 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2159 --with-x use the X Window System
2161 Some influential environment variables:
2162 CC C compiler command
2163 CFLAGS C compiler flags
2164 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2165 nonstandard directory <lib dir>
2166 LIBS libraries to pass to the linker, e.g. -l<library>
2167 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2168 you have headers in a nonstandard directory <include dir>
2169 CXX C++ compiler command
2170 CXXFLAGS C++ compiler flags
2171 CPP C preprocessor
2172 XMKMF Path to xmkmf, Makefile generator for X Window System
2173 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2174 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2175 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2176 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2177 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2178 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2179 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2180 HAL_LIBS Linker flags for hal, overriding pkg-config
2181 GNUTLS_CFLAGS
2182 C compiler flags for gnutls, overriding pkg-config
2183 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2184 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2185 SANE_LIBS Linker flags for libsane, overriding pkg-config
2186 GPHOTO2_CFLAGS
2187 C compiler flags for libgphoto2, overriding pkg-config
2188 GPHOTO2_LIBS
2189 Linker flags for libgphoto2, overriding pkg-config
2190 GPHOTO2_PORT_CFLAGS
2191 C compiler flags for libgphoto2_port, overriding pkg-config
2192 GPHOTO2_PORT_LIBS
2193 Linker flags for libgphoto2_port, overriding pkg-config
2194 LCMS2_CFLAGS
2195 C compiler flags for lcms2, overriding pkg-config
2196 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2197 FREETYPE_CFLAGS
2198 C compiler flags for freetype2, overriding pkg-config
2199 FREETYPE_LIBS
2200 Linker flags for freetype2, overriding pkg-config
2201 GSTREAMER_CFLAGS
2202 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2203 GSTREAMER_LIBS
2204 Linker flags for gstreamer-app-0.10, overriding pkg-config
2205 CAPI20_CFLAGS
2206 C compiler flags for capi20, overriding pkg-config
2207 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2208 FONTCONFIG_CFLAGS
2209 C compiler flags for fontconfig, overriding pkg-config
2210 FONTCONFIG_LIBS
2211 Linker flags for fontconfig, overriding pkg-config
2212 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2213 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2214 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2215 PNG_LIBS Linker flags for libpng, overriding pkg-config
2216 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2217 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2218 MPG123_CFLAGS
2219 C compiler flags for libmpg123, overriding pkg-config
2220 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2222 Use these variables to override the choices made by `configure' or to help
2223 it to find libraries and programs with nonstandard names/locations.
2225 Report bugs to <wine-devel@winehq.org>.
2226 Wine home page: <http://www.winehq.org>.
2227 _ACEOF
2228 ac_status=$?
2231 if test "$ac_init_help" = "recursive"; then
2232 # If there are subdirs, report their specific --help.
2233 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2234 test -d "$ac_dir" ||
2235 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2236 continue
2237 ac_builddir=.
2239 case "$ac_dir" in
2240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2242 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2243 # A ".." for each directory in $ac_dir_suffix.
2244 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2245 case $ac_top_builddir_sub in
2246 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2247 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2248 esac ;;
2249 esac
2250 ac_abs_top_builddir=$ac_pwd
2251 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2252 # for backward compatibility:
2253 ac_top_builddir=$ac_top_build_prefix
2255 case $srcdir in
2256 .) # We are building in place.
2257 ac_srcdir=.
2258 ac_top_srcdir=$ac_top_builddir_sub
2259 ac_abs_top_srcdir=$ac_pwd ;;
2260 [\\/]* | ?:[\\/]* ) # Absolute name.
2261 ac_srcdir=$srcdir$ac_dir_suffix;
2262 ac_top_srcdir=$srcdir
2263 ac_abs_top_srcdir=$srcdir ;;
2264 *) # Relative name.
2265 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2266 ac_top_srcdir=$ac_top_build_prefix$srcdir
2267 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2268 esac
2269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2271 cd "$ac_dir" || { ac_status=$?; continue; }
2272 # Check for guested configure.
2273 if test -f "$ac_srcdir/configure.gnu"; then
2274 echo &&
2275 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2276 elif test -f "$ac_srcdir/configure"; then
2277 echo &&
2278 $SHELL "$ac_srcdir/configure" --help=recursive
2279 else
2280 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2281 fi || ac_status=$?
2282 cd "$ac_pwd" || { ac_status=$?; break; }
2283 done
2286 test -n "$ac_init_help" && exit $ac_status
2287 if $ac_init_version; then
2288 cat <<\_ACEOF
2289 Wine configure 1.7.37
2290 generated by GNU Autoconf 2.69
2292 Copyright (C) 2012 Free Software Foundation, Inc.
2293 This configure script is free software; the Free Software Foundation
2294 gives unlimited permission to copy, distribute and modify it.
2295 _ACEOF
2296 exit
2299 ## ------------------------ ##
2300 ## Autoconf initialization. ##
2301 ## ------------------------ ##
2303 # ac_fn_c_try_compile LINENO
2304 # --------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_c_try_compile ()
2308 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309 rm -f conftest.$ac_objext
2310 if { { ac_try="$ac_compile"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2318 ac_status=$?
2319 if test -s conftest.err; then
2320 grep -v '^ *+' conftest.err >conftest.er1
2321 cat conftest.er1 >&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_c_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.$ac_objext; then :
2329 ac_retval=0
2330 else
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2334 ac_retval=1
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status $ac_retval
2339 } # ac_fn_c_try_compile
2341 # ac_fn_cxx_try_compile LINENO
2342 # ----------------------------
2343 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2344 ac_fn_cxx_try_compile ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 rm -f conftest.$ac_objext
2348 if { { ac_try="$ac_compile"
2349 case "(($ac_try" in
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2352 esac
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_compile") 2>conftest.err
2356 ac_status=$?
2357 if test -s conftest.err; then
2358 grep -v '^ *+' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_cxx_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest.$ac_objext; then :
2367 ac_retval=0
2368 else
2369 $as_echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.$ac_ext >&5
2372 ac_retval=1
2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2375 as_fn_set_status $ac_retval
2377 } # ac_fn_cxx_try_compile
2379 # ac_fn_c_try_link LINENO
2380 # -----------------------
2381 # Try to link conftest.$ac_ext, and return whether this succeeded.
2382 ac_fn_c_try_link ()
2384 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2385 rm -f conftest.$ac_objext conftest$ac_exeext
2386 if { { ac_try="$ac_link"
2387 case "(($ac_try" in
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2390 esac
2391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2392 $as_echo "$ac_try_echo"; } >&5
2393 (eval "$ac_link") 2>conftest.err
2394 ac_status=$?
2395 if test -s conftest.err; then
2396 grep -v '^ *+' conftest.err >conftest.er1
2397 cat conftest.er1 >&5
2398 mv -f conftest.er1 conftest.err
2400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2401 test $ac_status = 0; } && {
2402 test -z "$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 } && test -s conftest$ac_exeext && {
2405 test "$cross_compiling" = yes ||
2406 test -x conftest$ac_exeext
2407 }; then :
2408 ac_retval=0
2409 else
2410 $as_echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2413 ac_retval=1
2415 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2416 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2417 # interfere with the next link command; also delete a directory that is
2418 # left behind by Apple's compiler. We do this before executing the actions.
2419 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2421 as_fn_set_status $ac_retval
2423 } # ac_fn_c_try_link
2425 # ac_fn_c_try_cpp LINENO
2426 # ----------------------
2427 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2428 ac_fn_c_try_cpp ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 if { { ac_try="$ac_cpp conftest.$ac_ext"
2432 case "(($ac_try" in
2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2435 esac
2436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2437 $as_echo "$ac_try_echo"; } >&5
2438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2439 ac_status=$?
2440 if test -s conftest.err; then
2441 grep -v '^ *+' conftest.err >conftest.er1
2442 cat conftest.er1 >&5
2443 mv -f conftest.er1 conftest.err
2445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2446 test $ac_status = 0; } > conftest.i && {
2447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2448 test ! -s conftest.err
2449 }; then :
2450 ac_retval=0
2451 else
2452 $as_echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.$ac_ext >&5
2455 ac_retval=1
2457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458 as_fn_set_status $ac_retval
2460 } # ac_fn_c_try_cpp
2462 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2463 # -------------------------------------------------------
2464 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2465 # the include files in INCLUDES and setting the cache variable VAR
2466 # accordingly.
2467 ac_fn_c_check_header_mongrel ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 if eval \${$3+:} false; then :
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2472 $as_echo_n "checking for $2... " >&6; }
2473 if eval \${$3+:} false; then :
2474 $as_echo_n "(cached) " >&6
2476 eval ac_res=\$$3
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2478 $as_echo "$ac_res" >&6; }
2479 else
2480 # Is the header compilable?
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2482 $as_echo_n "checking $2 usability... " >&6; }
2483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2484 /* end confdefs.h. */
2486 #include <$2>
2487 _ACEOF
2488 if ac_fn_c_try_compile "$LINENO"; then :
2489 ac_header_compiler=yes
2490 else
2491 ac_header_compiler=no
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2495 $as_echo "$ac_header_compiler" >&6; }
2497 # Is the header present?
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2499 $as_echo_n "checking $2 presence... " >&6; }
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2502 #include <$2>
2503 _ACEOF
2504 if ac_fn_c_try_cpp "$LINENO"; then :
2505 ac_header_preproc=yes
2506 else
2507 ac_header_preproc=no
2509 rm -f conftest.err conftest.i conftest.$ac_ext
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2511 $as_echo "$ac_header_preproc" >&6; }
2513 # So? What about this header?
2514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2515 yes:no: )
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2517 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2519 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2521 no:yes:* )
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2523 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2525 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2527 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2529 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2531 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2532 ( $as_echo "## ------------------------------------ ##
2533 ## Report this to wine-devel@winehq.org ##
2534 ## ------------------------------------ ##"
2535 ) | sed "s/^/$as_me: WARNING: /" >&2
2537 esac
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2539 $as_echo_n "checking for $2... " >&6; }
2540 if eval \${$3+:} false; then :
2541 $as_echo_n "(cached) " >&6
2542 else
2543 eval "$3=\$ac_header_compiler"
2545 eval ac_res=\$$3
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2547 $as_echo "$ac_res" >&6; }
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 } # ac_fn_c_check_header_mongrel
2553 # ac_fn_c_try_run LINENO
2554 # ----------------------
2555 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2556 # that executables *can* be run.
2557 ac_fn_c_try_run ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 if { { ac_try="$ac_link"
2561 case "(($ac_try" in
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2564 esac
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_link") 2>&5
2568 ac_status=$?
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2571 { { case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_try") 2>&5
2578 ac_status=$?
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; }; }; then :
2581 ac_retval=0
2582 else
2583 $as_echo "$as_me: program exited with status $ac_status" >&5
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2587 ac_retval=$ac_status
2589 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2591 as_fn_set_status $ac_retval
2593 } # ac_fn_c_try_run
2595 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2596 # -------------------------------------------------------
2597 # Tests whether HEADER exists and can be compiled using the include files in
2598 # INCLUDES, setting the cache variable VAR accordingly.
2599 ac_fn_c_check_header_compile ()
2601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2603 $as_echo_n "checking for $2... " >&6; }
2604 if eval \${$3+:} false; then :
2605 $as_echo_n "(cached) " >&6
2606 else
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2610 #include <$2>
2611 _ACEOF
2612 if ac_fn_c_try_compile "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2619 eval ac_res=\$$3
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2621 $as_echo "$ac_res" >&6; }
2622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 } # ac_fn_c_check_header_compile
2626 # ac_fn_c_check_func LINENO FUNC VAR
2627 # ----------------------------------
2628 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2629 ac_fn_c_check_func ()
2631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2633 $as_echo_n "checking for $2... " >&6; }
2634 if eval \${$3+:} false; then :
2635 $as_echo_n "(cached) " >&6
2636 else
2637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2638 /* end confdefs.h. */
2639 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2641 #define $2 innocuous_$2
2643 /* System header to define __stub macros and hopefully few prototypes,
2644 which can conflict with char $2 (); below.
2645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2646 <limits.h> exists even on freestanding compilers. */
2648 #ifdef __STDC__
2649 # include <limits.h>
2650 #else
2651 # include <assert.h>
2652 #endif
2654 #undef $2
2656 /* Override any GCC internal prototype to avoid an error.
2657 Use char because int might match the return type of a GCC
2658 builtin and then its argument prototype would still apply. */
2659 #ifdef __cplusplus
2660 extern "C"
2661 #endif
2662 char $2 ();
2663 /* The GNU C library defines this for functions which it implements
2664 to always fail with ENOSYS. Some functions are actually named
2665 something starting with __ and the normal name is an alias. */
2666 #if defined __stub_$2 || defined __stub___$2
2667 choke me
2668 #endif
2671 main ()
2673 return $2 ();
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_link "$LINENO"; then :
2679 eval "$3=yes"
2680 else
2681 eval "$3=no"
2683 rm -f core conftest.err conftest.$ac_objext \
2684 conftest$ac_exeext conftest.$ac_ext
2686 eval ac_res=\$$3
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2688 $as_echo "$ac_res" >&6; }
2689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2691 } # ac_fn_c_check_func
2693 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2694 # ----------------------------------------------------
2695 # Tries to find if the field MEMBER exists in type AGGR, after including
2696 # INCLUDES, setting cache variable VAR accordingly.
2697 ac_fn_c_check_member ()
2699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2701 $as_echo_n "checking for $2.$3... " >&6; }
2702 if eval \${$4+:} false; then :
2703 $as_echo_n "(cached) " >&6
2704 else
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2709 main ()
2711 static $2 ac_aggr;
2712 if (ac_aggr.$3)
2713 return 0;
2715 return 0;
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 eval "$4=yes"
2720 else
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2725 main ()
2727 static $2 ac_aggr;
2728 if (sizeof ac_aggr.$3)
2729 return 0;
2731 return 0;
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 eval "$4=yes"
2736 else
2737 eval "$4=no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 eval ac_res=\$$4
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2745 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_member
2750 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2751 # -------------------------------------------
2752 # Tests whether TYPE exists after having included INCLUDES, setting cache
2753 # variable VAR accordingly.
2754 ac_fn_c_check_type ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2758 $as_echo_n "checking for $2... " >&6; }
2759 if eval \${$3+:} false; then :
2760 $as_echo_n "(cached) " >&6
2761 else
2762 eval "$3=no"
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2767 main ()
2769 if (sizeof ($2))
2770 return 0;
2772 return 0;
2774 _ACEOF
2775 if ac_fn_c_try_compile "$LINENO"; then :
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 main ()
2782 if (sizeof (($2)))
2783 return 0;
2785 return 0;
2787 _ACEOF
2788 if ac_fn_c_try_compile "$LINENO"; then :
2790 else
2791 eval "$3=yes"
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 eval ac_res=\$$3
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2799 $as_echo "$ac_res" >&6; }
2800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 } # ac_fn_c_check_type
2803 cat >config.log <<_ACEOF
2804 This file contains any messages produced by compilers while
2805 running configure, to aid debugging if configure makes a mistake.
2807 It was created by Wine $as_me 1.7.37, which was
2808 generated by GNU Autoconf 2.69. Invocation command line was
2810 $ $0 $@
2812 _ACEOF
2813 exec 5>>config.log
2815 cat <<_ASUNAME
2816 ## --------- ##
2817 ## Platform. ##
2818 ## --------- ##
2820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2827 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2829 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2830 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2832 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2833 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2834 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2835 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2837 _ASUNAME
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 for as_dir in $PATH
2842 IFS=$as_save_IFS
2843 test -z "$as_dir" && as_dir=.
2844 $as_echo "PATH: $as_dir"
2845 done
2846 IFS=$as_save_IFS
2848 } >&5
2850 cat >&5 <<_ACEOF
2853 ## ----------- ##
2854 ## Core tests. ##
2855 ## ----------- ##
2857 _ACEOF
2860 # Keep a trace of the command line.
2861 # Strip out --no-create and --no-recursion so they do not pile up.
2862 # Strip out --silent because we don't want to record it for future runs.
2863 # Also quote any args containing shell meta-characters.
2864 # Make two passes to allow for proper duplicate-argument suppression.
2865 ac_configure_args=
2866 ac_configure_args0=
2867 ac_configure_args1=
2868 ac_must_keep_next=false
2869 for ac_pass in 1 2
2871 for ac_arg
2873 case $ac_arg in
2874 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2876 | -silent | --silent | --silen | --sile | --sil)
2877 continue ;;
2878 *\'*)
2879 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2880 esac
2881 case $ac_pass in
2882 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2884 as_fn_append ac_configure_args1 " '$ac_arg'"
2885 if test $ac_must_keep_next = true; then
2886 ac_must_keep_next=false # Got value, back to normal.
2887 else
2888 case $ac_arg in
2889 *=* | --config-cache | -C | -disable-* | --disable-* \
2890 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2891 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2892 | -with-* | --with-* | -without-* | --without-* | --x)
2893 case "$ac_configure_args0 " in
2894 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2895 esac
2897 -* ) ac_must_keep_next=true ;;
2898 esac
2900 as_fn_append ac_configure_args " '$ac_arg'"
2902 esac
2903 done
2904 done
2905 { ac_configure_args0=; unset ac_configure_args0;}
2906 { ac_configure_args1=; unset ac_configure_args1;}
2908 # When interrupted or exit'd, cleanup temporary files, and complete
2909 # config.log. We remove comments because anyway the quotes in there
2910 # would cause problems or look ugly.
2911 # WARNING: Use '\'' to represent an apostrophe within the trap.
2912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2913 trap 'exit_status=$?
2914 # Save into config.log some information that might help in debugging.
2916 echo
2918 $as_echo "## ---------------- ##
2919 ## Cache variables. ##
2920 ## ---------------- ##"
2921 echo
2922 # The following way of writing the cache mishandles newlines in values,
2924 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2925 eval ac_val=\$$ac_var
2926 case $ac_val in #(
2927 *${as_nl}*)
2928 case $ac_var in #(
2929 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2931 esac
2932 case $ac_var in #(
2933 _ | IFS | as_nl) ;; #(
2934 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2935 *) { eval $ac_var=; unset $ac_var;} ;;
2936 esac ;;
2937 esac
2938 done
2939 (set) 2>&1 |
2940 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2941 *${as_nl}ac_space=\ *)
2942 sed -n \
2943 "s/'\''/'\''\\\\'\'''\''/g;
2944 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2945 ;; #(
2947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2949 esac |
2950 sort
2952 echo
2954 $as_echo "## ----------------- ##
2955 ## Output variables. ##
2956 ## ----------------- ##"
2957 echo
2958 for ac_var in $ac_subst_vars
2960 eval ac_val=\$$ac_var
2961 case $ac_val in
2962 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2963 esac
2964 $as_echo "$ac_var='\''$ac_val'\''"
2965 done | sort
2966 echo
2968 if test -n "$ac_subst_files"; then
2969 $as_echo "## ------------------- ##
2970 ## File substitutions. ##
2971 ## ------------------- ##"
2972 echo
2973 for ac_var in $ac_subst_files
2975 eval ac_val=\$$ac_var
2976 case $ac_val in
2977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2978 esac
2979 $as_echo "$ac_var='\''$ac_val'\''"
2980 done | sort
2981 echo
2984 if test -s confdefs.h; then
2985 $as_echo "## ----------- ##
2986 ## confdefs.h. ##
2987 ## ----------- ##"
2988 echo
2989 cat confdefs.h
2990 echo
2992 test "$ac_signal" != 0 &&
2993 $as_echo "$as_me: caught signal $ac_signal"
2994 $as_echo "$as_me: exit $exit_status"
2995 } >&5
2996 rm -f core *.core core.conftest.* &&
2997 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2998 exit $exit_status
3000 for ac_signal in 1 2 13 15; do
3001 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3002 done
3003 ac_signal=0
3005 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3006 rm -f -r conftest* confdefs.h
3008 $as_echo "/* confdefs.h */" > confdefs.h
3010 # Predefined preprocessor variables.
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_NAME "$PACKAGE_NAME"
3014 _ACEOF
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3018 _ACEOF
3020 cat >>confdefs.h <<_ACEOF
3021 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3022 _ACEOF
3024 cat >>confdefs.h <<_ACEOF
3025 #define PACKAGE_STRING "$PACKAGE_STRING"
3026 _ACEOF
3028 cat >>confdefs.h <<_ACEOF
3029 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3030 _ACEOF
3032 cat >>confdefs.h <<_ACEOF
3033 #define PACKAGE_URL "$PACKAGE_URL"
3034 _ACEOF
3037 # Let the site file select an alternate cache file if it wants to.
3038 # Prefer an explicitly selected file to automatically selected ones.
3039 ac_site_file1=NONE
3040 ac_site_file2=NONE
3041 if test -n "$CONFIG_SITE"; then
3042 # We do not want a PATH search for config.site.
3043 case $CONFIG_SITE in #((
3044 -*) ac_site_file1=./$CONFIG_SITE;;
3045 */*) ac_site_file1=$CONFIG_SITE;;
3046 *) ac_site_file1=./$CONFIG_SITE;;
3047 esac
3048 elif test "x$prefix" != xNONE; then
3049 ac_site_file1=$prefix/share/config.site
3050 ac_site_file2=$prefix/etc/config.site
3051 else
3052 ac_site_file1=$ac_default_prefix/share/config.site
3053 ac_site_file2=$ac_default_prefix/etc/config.site
3055 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3057 test "x$ac_site_file" = xNONE && continue
3058 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3060 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3061 sed 's/^/| /' "$ac_site_file" >&5
3062 . "$ac_site_file" \
3063 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $? "failed to load site script $ac_site_file
3066 See \`config.log' for more details" "$LINENO" 5; }
3068 done
3070 if test -r "$cache_file"; then
3071 # Some versions of bash will fail to source /dev/null (special files
3072 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3073 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3075 $as_echo "$as_me: loading cache $cache_file" >&6;}
3076 case $cache_file in
3077 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3078 *) . "./$cache_file";;
3079 esac
3081 else
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3083 $as_echo "$as_me: creating cache $cache_file" >&6;}
3084 >$cache_file
3087 # Check that the precious variables saved in the cache have kept the same
3088 # value.
3089 ac_cache_corrupted=false
3090 for ac_var in $ac_precious_vars; do
3091 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3092 eval ac_new_set=\$ac_env_${ac_var}_set
3093 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3094 eval ac_new_val=\$ac_env_${ac_var}_value
3095 case $ac_old_set,$ac_new_set in
3096 set,)
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3098 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3099 ac_cache_corrupted=: ;;
3100 ,set)
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3102 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3103 ac_cache_corrupted=: ;;
3104 ,);;
3106 if test "x$ac_old_val" != "x$ac_new_val"; then
3107 # differences in whitespace do not lead to failure.
3108 ac_old_val_w=`echo x $ac_old_val`
3109 ac_new_val_w=`echo x $ac_new_val`
3110 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3112 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3113 ac_cache_corrupted=:
3114 else
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3116 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3117 eval $ac_var=\$ac_old_val
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3120 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3122 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3123 fi;;
3124 esac
3125 # Pass precious variables to config.status.
3126 if test "$ac_new_set" = set; then
3127 case $ac_new_val in
3128 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3129 *) ac_arg=$ac_var=$ac_new_val ;;
3130 esac
3131 case " $ac_configure_args " in
3132 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3133 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3134 esac
3136 done
3137 if $ac_cache_corrupted; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3141 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3142 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3144 ## -------------------- ##
3145 ## Main body of script. ##
3146 ## -------------------- ##
3148 ac_ext=c
3149 ac_cpp='$CPP $CPPFLAGS'
3150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3156 ac_config_headers="$ac_config_headers include/config.h"
3158 ac_aux_dir=
3159 for ac_dir in tools "$srcdir"/tools; do
3160 if test -f "$ac_dir/install-sh"; then
3161 ac_aux_dir=$ac_dir
3162 ac_install_sh="$ac_aux_dir/install-sh -c"
3163 break
3164 elif test -f "$ac_dir/install.sh"; then
3165 ac_aux_dir=$ac_dir
3166 ac_install_sh="$ac_aux_dir/install.sh -c"
3167 break
3168 elif test -f "$ac_dir/shtool"; then
3169 ac_aux_dir=$ac_dir
3170 ac_install_sh="$ac_aux_dir/shtool install -c"
3171 break
3173 done
3174 if test -z "$ac_aux_dir"; then
3175 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3178 # These three variables are undocumented and unsupported,
3179 # and are intended to be withdrawn in a future Autoconf release.
3180 # They can cause serious problems if a builder's source tree is in a directory
3181 # whose full name contains unusual characters.
3182 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3183 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3184 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3188 libwine_version="1.0"
3192 # Check whether --enable-win16 was given.
3193 if test "${enable_win16+set}" = set; then :
3194 enableval=$enable_win16;
3197 # Check whether --enable-win64 was given.
3198 if test "${enable_win64+set}" = set; then :
3199 enableval=$enable_win64;
3202 # Check whether --enable-tests was given.
3203 if test "${enable_tests+set}" = set; then :
3204 enableval=$enable_tests;
3207 # Check whether --enable-maintainer-mode was given.
3208 if test "${enable_maintainer_mode+set}" = set; then :
3209 enableval=$enable_maintainer_mode;
3214 # Check whether --with-alsa was given.
3215 if test "${with_alsa+set}" = set; then :
3216 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3220 # Check whether --with-capi was given.
3221 if test "${with_capi+set}" = set; then :
3222 withval=$with_capi;
3226 # Check whether --with-cms was given.
3227 if test "${with_cms+set}" = set; then :
3228 withval=$with_cms;
3232 # Check whether --with-coreaudio was given.
3233 if test "${with_coreaudio+set}" = set; then :
3234 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3238 # Check whether --with-cups was given.
3239 if test "${with_cups+set}" = set; then :
3240 withval=$with_cups;
3244 # Check whether --with-curses was given.
3245 if test "${with_curses+set}" = set; then :
3246 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3250 # Check whether --with-dbus was given.
3251 if test "${with_dbus+set}" = set; then :
3252 withval=$with_dbus;
3256 # Check whether --with-fontconfig was given.
3257 if test "${with_fontconfig+set}" = set; then :
3258 withval=$with_fontconfig;
3262 # Check whether --with-freetype was given.
3263 if test "${with_freetype+set}" = set; then :
3264 withval=$with_freetype;
3268 # Check whether --with-gettext was given.
3269 if test "${with_gettext+set}" = set; then :
3270 withval=$with_gettext;
3274 # Check whether --with-gettextpo was given.
3275 if test "${with_gettextpo+set}" = set; then :
3276 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3280 # Check whether --with-gphoto was given.
3281 if test "${with_gphoto+set}" = set; then :
3282 withval=$with_gphoto;
3286 # Check whether --with-glu was given.
3287 if test "${with_glu+set}" = set; then :
3288 withval=$with_glu;
3292 # Check whether --with-gnutls was given.
3293 if test "${with_gnutls+set}" = set; then :
3294 withval=$with_gnutls;
3298 # Check whether --with-gsm was given.
3299 if test "${with_gsm+set}" = set; then :
3300 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3304 # Check whether --with-gstreamer was given.
3305 if test "${with_gstreamer+set}" = set; then :
3306 withval=$with_gstreamer;
3310 # Check whether --with-hal was given.
3311 if test "${with_hal+set}" = set; then :
3312 withval=$with_hal;
3316 # Check whether --with-jpeg was given.
3317 if test "${with_jpeg+set}" = set; then :
3318 withval=$with_jpeg;
3322 # Check whether --with-ldap was given.
3323 if test "${with_ldap+set}" = set; then :
3324 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3328 # Check whether --with-mpg123 was given.
3329 if test "${with_mpg123+set}" = set; then :
3330 withval=$with_mpg123;
3334 # Check whether --with-netapi was given.
3335 if test "${with_netapi+set}" = set; then :
3336 withval=$with_netapi;
3340 # Check whether --with-openal was given.
3341 if test "${with_openal+set}" = set; then :
3342 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3346 # Check whether --with-opencl was given.
3347 if test "${with_opencl+set}" = set; then :
3348 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3352 # Check whether --with-opengl was given.
3353 if test "${with_opengl+set}" = set; then :
3354 withval=$with_opengl;
3358 # Check whether --with-osmesa was given.
3359 if test "${with_osmesa+set}" = set; then :
3360 withval=$with_osmesa;
3364 # Check whether --with-oss was given.
3365 if test "${with_oss+set}" = set; then :
3366 withval=$with_oss;
3370 # Check whether --with-pcap was given.
3371 if test "${with_pcap+set}" = set; then :
3372 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3376 # Check whether --with-png was given.
3377 if test "${with_png+set}" = set; then :
3378 withval=$with_png;
3382 # Check whether --with-pthread was given.
3383 if test "${with_pthread+set}" = set; then :
3384 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3388 # Check whether --with-sane was given.
3389 if test "${with_sane+set}" = set; then :
3390 withval=$with_sane;
3394 # Check whether --with-tiff was given.
3395 if test "${with_tiff+set}" = set; then :
3396 withval=$with_tiff;
3400 # Check whether --with-v4l was given.
3401 if test "${with_v4l+set}" = set; then :
3402 withval=$with_v4l;
3406 # Check whether --with-xcomposite was given.
3407 if test "${with_xcomposite+set}" = set; then :
3408 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3412 # Check whether --with-xcursor was given.
3413 if test "${with_xcursor+set}" = set; then :
3414 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3418 # Check whether --with-xinerama was given.
3419 if test "${with_xinerama+set}" = set; then :
3420 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3424 # Check whether --with-xinput was given.
3425 if test "${with_xinput+set}" = set; then :
3426 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3430 # Check whether --with-xinput2 was given.
3431 if test "${with_xinput2+set}" = set; then :
3432 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3436 # Check whether --with-xml was given.
3437 if test "${with_xml+set}" = set; then :
3438 withval=$with_xml;
3442 # Check whether --with-xrandr was given.
3443 if test "${with_xrandr+set}" = set; then :
3444 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3448 # Check whether --with-xrender was given.
3449 if test "${with_xrender+set}" = set; then :
3450 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3454 # Check whether --with-xshape was given.
3455 if test "${with_xshape+set}" = set; then :
3456 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3460 # Check whether --with-xshm was given.
3461 if test "${with_xshm+set}" = set; then :
3462 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3466 # Check whether --with-xslt was given.
3467 if test "${with_xslt+set}" = set; then :
3468 withval=$with_xslt;
3472 # Check whether --with-xxf86vm was given.
3473 if test "${with_xxf86vm+set}" = set; then :
3474 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
3478 # Check whether --with-zlib was given.
3479 if test "${with_zlib+set}" = set; then :
3480 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3485 # Check whether --with-wine-tools was given.
3486 if test "${with_wine_tools+set}" = set; then :
3487 withval=$with_wine_tools;
3491 # Check whether --with-wine64 was given.
3492 if test "${with_wine64+set}" = set; then :
3493 withval=$with_wine64;
3497 # Make sure we can run config.sub.
3498 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3499 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3502 $as_echo_n "checking build system type... " >&6; }
3503 if ${ac_cv_build+:} false; then :
3504 $as_echo_n "(cached) " >&6
3505 else
3506 ac_build_alias=$build_alias
3507 test "x$ac_build_alias" = x &&
3508 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3509 test "x$ac_build_alias" = x &&
3510 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3512 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3516 $as_echo "$ac_cv_build" >&6; }
3517 case $ac_cv_build in
3518 *-*-*) ;;
3519 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3520 esac
3521 build=$ac_cv_build
3522 ac_save_IFS=$IFS; IFS='-'
3523 set x $ac_cv_build
3524 shift
3525 build_cpu=$1
3526 build_vendor=$2
3527 shift; shift
3528 # Remember, the first character of IFS is used to create $*,
3529 # except with old shells:
3530 build_os=$*
3531 IFS=$ac_save_IFS
3532 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3536 $as_echo_n "checking host system type... " >&6; }
3537 if ${ac_cv_host+:} false; then :
3538 $as_echo_n "(cached) " >&6
3539 else
3540 if test "x$host_alias" = x; then
3541 ac_cv_host=$ac_cv_build
3542 else
3543 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3544 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3549 $as_echo "$ac_cv_host" >&6; }
3550 case $ac_cv_host in
3551 *-*-*) ;;
3552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3553 esac
3554 host=$ac_cv_host
3555 ac_save_IFS=$IFS; IFS='-'
3556 set x $ac_cv_host
3557 shift
3558 host_cpu=$1
3559 host_vendor=$2
3560 shift; shift
3561 # Remember, the first character of IFS is used to create $*,
3562 # except with old shells:
3563 host_os=$*
3564 IFS=$ac_save_IFS
3565 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3569 case "$srcdir" in
3570 .) ;;
3571 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3572 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3573 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3574 fi ;;
3575 esac
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3579 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3580 set x ${MAKE-make}
3581 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3582 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3583 $as_echo_n "(cached) " >&6
3584 else
3585 cat >conftest.make <<\_ACEOF
3586 SHELL = /bin/sh
3587 all:
3588 @echo '@@@%%%=$(MAKE)=@@@%%%'
3589 _ACEOF
3590 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3591 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3592 *@@@%%%=?*=@@@%%%*)
3593 eval ac_cv_prog_make_${ac_make}_set=yes;;
3595 eval ac_cv_prog_make_${ac_make}_set=no;;
3596 esac
3597 rm -f conftest.make
3599 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3601 $as_echo "yes" >&6; }
3602 SET_MAKE=
3603 else
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3606 SET_MAKE="MAKE=${MAKE-make}"
3609 ac_ext=c
3610 ac_cpp='$CPP $CPPFLAGS'
3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3614 if test -n "$ac_tool_prefix"; then
3615 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3616 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if ${ac_cv_prog_CC+:} false; then :
3620 $as_echo_n "(cached) " >&6
3621 else
3622 if test -n "$CC"; then
3623 ac_cv_prog_CC="$CC" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3628 IFS=$as_save_IFS
3629 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 break 2
3636 done
3637 done
3638 IFS=$as_save_IFS
3642 CC=$ac_cv_prog_CC
3643 if test -n "$CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3645 $as_echo "$CC" >&6; }
3646 else
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3653 if test -z "$ac_cv_prog_CC"; then
3654 ac_ct_CC=$CC
3655 # Extract the first word of "gcc", so it can be a program name with args.
3656 set dummy gcc; ac_word=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3660 $as_echo_n "(cached) " >&6
3661 else
3662 if test -n "$ac_ct_CC"; then
3663 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3664 else
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 for as_dir in $PATH
3668 IFS=$as_save_IFS
3669 test -z "$as_dir" && as_dir=.
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_ac_ct_CC="gcc"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 break 2
3676 done
3677 done
3678 IFS=$as_save_IFS
3682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3683 if test -n "$ac_ct_CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3685 $as_echo "$ac_ct_CC" >&6; }
3686 else
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3691 if test "x$ac_ct_CC" = x; then
3692 CC=""
3693 else
3694 case $cross_compiling:$ac_tool_warned in
3695 yes:)
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3698 ac_tool_warned=yes ;;
3699 esac
3700 CC=$ac_ct_CC
3702 else
3703 CC="$ac_cv_prog_CC"
3706 if test -z "$CC"; then
3707 if test -n "$ac_tool_prefix"; then
3708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3709 set dummy ${ac_tool_prefix}cc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_CC+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_CC="${ac_tool_prefix}cc"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3747 if test -z "$CC"; then
3748 # Extract the first word of "cc", so it can be a program name with args.
3749 set dummy cc; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_CC+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 else
3758 ac_prog_rejected=no
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3767 ac_prog_rejected=yes
3768 continue
3770 ac_cv_prog_CC="cc"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3774 done
3775 done
3776 IFS=$as_save_IFS
3778 if test $ac_prog_rejected = yes; then
3779 # We found a bogon in the path, so make sure we never use it.
3780 set dummy $ac_cv_prog_CC
3781 shift
3782 if test $# != 0; then
3783 # We chose a different compiler from the bogus one.
3784 # However, it has the same basename, so the bogon will be chosen
3785 # first if we set CC to just the basename; use the full file name.
3786 shift
3787 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3792 CC=$ac_cv_prog_CC
3793 if test -n "$CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3795 $as_echo "$CC" >&6; }
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3803 if test -z "$CC"; then
3804 if test -n "$ac_tool_prefix"; then
3805 for ac_prog in cl.exe
3807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_prog_CC+:} false; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 if test -n "$CC"; then
3815 ac_cv_prog_CC="$CC" # Let the user override the test.
3816 else
3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 for as_dir in $PATH
3820 IFS=$as_save_IFS
3821 test -z "$as_dir" && as_dir=.
3822 for ac_exec_ext in '' $ac_executable_extensions; do
3823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 break 2
3828 done
3829 done
3830 IFS=$as_save_IFS
3834 CC=$ac_cv_prog_CC
3835 if test -n "$CC"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 $as_echo "$CC" >&6; }
3838 else
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3844 test -n "$CC" && break
3845 done
3847 if test -z "$CC"; then
3848 ac_ct_CC=$CC
3849 for ac_prog in cl.exe
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy $ac_prog; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 if test -n "$ac_ct_CC"; then
3859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3860 else
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_CC="$ac_prog"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 break 2
3872 done
3873 done
3874 IFS=$as_save_IFS
3878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3879 if test -n "$ac_ct_CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3881 $as_echo "$ac_ct_CC" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3888 test -n "$ac_ct_CC" && break
3889 done
3891 if test "x$ac_ct_CC" = x; then
3892 CC=""
3893 else
3894 case $cross_compiling:$ac_tool_warned in
3895 yes:)
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3898 ac_tool_warned=yes ;;
3899 esac
3900 CC=$ac_ct_CC
3907 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909 as_fn_error $? "no acceptable C compiler found in \$PATH
3910 See \`config.log' for more details" "$LINENO" 5; }
3912 # Provide some information about the compiler.
3913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3914 set X $ac_compile
3915 ac_compiler=$2
3916 for ac_option in --version -v -V -qversion; do
3917 { { ac_try="$ac_compiler $ac_option >&5"
3918 case "(($ac_try" in
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3921 esac
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3925 ac_status=$?
3926 if test -s conftest.err; then
3927 sed '10a\
3928 ... rest of stderr output deleted ...
3929 10q' conftest.err >conftest.er1
3930 cat conftest.er1 >&5
3932 rm -f conftest.er1 conftest.err
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }
3935 done
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3941 main ()
3945 return 0;
3947 _ACEOF
3948 ac_clean_files_save=$ac_clean_files
3949 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3950 # Try to create an executable without -o first, disregard a.out.
3951 # It will help us diagnose broken compilers, and finding out an intuition
3952 # of exeext.
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3954 $as_echo_n "checking whether the C compiler works... " >&6; }
3955 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3957 # The possible output files:
3958 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3960 ac_rmfiles=
3961 for ac_file in $ac_files
3963 case $ac_file in
3964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3965 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3966 esac
3967 done
3968 rm -f $ac_rmfiles
3970 if { { ac_try="$ac_link_default"
3971 case "(($ac_try" in
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3974 esac
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_link_default") 2>&5
3978 ac_status=$?
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
3981 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3982 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3983 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3984 # so that the user can short-circuit this test for compilers unknown to
3985 # Autoconf.
3986 for ac_file in $ac_files ''
3988 test -f "$ac_file" || continue
3989 case $ac_file in
3990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3992 [ab].out )
3993 # We found the default executable, but exeext='' is most
3994 # certainly right.
3995 break;;
3996 *.* )
3997 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3998 then :; else
3999 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4001 # We set ac_cv_exeext here because the later test for it is not
4002 # safe: cross compilers may not add the suffix if given an `-o'
4003 # argument, so we may need to know it at that point already.
4004 # Even if this section looks crufty: it has the advantage of
4005 # actually working.
4006 break;;
4008 break;;
4009 esac
4010 done
4011 test "$ac_cv_exeext" = no && ac_cv_exeext=
4013 else
4014 ac_file=''
4016 if test -z "$ac_file"; then :
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 $as_echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error 77 "C compiler cannot create executables
4025 See \`config.log' for more details" "$LINENO" 5; }
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4028 $as_echo "yes" >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4031 $as_echo_n "checking for C compiler default output file name... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4033 $as_echo "$ac_file" >&6; }
4034 ac_exeext=$ac_cv_exeext
4036 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4037 ac_clean_files=$ac_clean_files_save
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4039 $as_echo_n "checking for suffix of executables... " >&6; }
4040 if { { ac_try="$ac_link"
4041 case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4044 esac
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4048 ac_status=$?
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; then :
4051 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4052 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4053 # work properly (i.e., refer to `conftest.exe'), while it won't with
4054 # `rm'.
4055 for ac_file in conftest.exe conftest conftest.*; do
4056 test -f "$ac_file" || continue
4057 case $ac_file in
4058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4059 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4060 break;;
4061 * ) break;;
4062 esac
4063 done
4064 else
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4068 See \`config.log' for more details" "$LINENO" 5; }
4070 rm -f conftest conftest$ac_cv_exeext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4072 $as_echo "$ac_cv_exeext" >&6; }
4074 rm -f conftest.$ac_ext
4075 EXEEXT=$ac_cv_exeext
4076 ac_exeext=$EXEEXT
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4079 #include <stdio.h>
4081 main ()
4083 FILE *f = fopen ("conftest.out", "w");
4084 return ferror (f) || fclose (f) != 0;
4087 return 0;
4089 _ACEOF
4090 ac_clean_files="$ac_clean_files conftest.out"
4091 # Check that the compiler produces executables we can run. If not, either
4092 # the compiler is broken, or we cross compile.
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4094 $as_echo_n "checking whether we are cross compiling... " >&6; }
4095 if test "$cross_compiling" != yes; then
4096 { { ac_try="$ac_link"
4097 case "(($ac_try" in
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4100 esac
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_link") 2>&5
4104 ac_status=$?
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }
4107 if { ac_try='./conftest$ac_cv_exeext'
4108 { { case "(($ac_try" in
4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4110 *) ac_try_echo=$ac_try;;
4111 esac
4112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4113 $as_echo "$ac_try_echo"; } >&5
4114 (eval "$ac_try") 2>&5
4115 ac_status=$?
4116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4117 test $ac_status = 0; }; }; then
4118 cross_compiling=no
4119 else
4120 if test "$cross_compiling" = maybe; then
4121 cross_compiling=yes
4122 else
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error $? "cannot run C compiled programs.
4126 If you meant to cross compile, use \`--host'.
4127 See \`config.log' for more details" "$LINENO" 5; }
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4132 $as_echo "$cross_compiling" >&6; }
4134 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4135 ac_clean_files=$ac_clean_files_save
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4137 $as_echo_n "checking for suffix of object files... " >&6; }
4138 if ${ac_cv_objext+:} false; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4149 return 0;
4151 _ACEOF
4152 rm -f conftest.o conftest.obj
4153 if { { ac_try="$ac_compile"
4154 case "(($ac_try" in
4155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156 *) ac_try_echo=$ac_try;;
4157 esac
4158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4159 $as_echo "$ac_try_echo"; } >&5
4160 (eval "$ac_compile") 2>&5
4161 ac_status=$?
4162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4163 test $ac_status = 0; }; then :
4164 for ac_file in conftest.o conftest.obj conftest.*; do
4165 test -f "$ac_file" || continue;
4166 case $ac_file in
4167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4169 break;;
4170 esac
4171 done
4172 else
4173 $as_echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.$ac_ext >&5
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $? "cannot compute suffix of object files: cannot compile
4179 See \`config.log' for more details" "$LINENO" 5; }
4181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4184 $as_echo "$ac_cv_objext" >&6; }
4185 OBJEXT=$ac_cv_objext
4186 ac_objext=$OBJEXT
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4188 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4189 if ${ac_cv_c_compiler_gnu+:} false; then :
4190 $as_echo_n "(cached) " >&6
4191 else
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4196 main ()
4198 #ifndef __GNUC__
4199 choke me
4200 #endif
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 ac_compiler_gnu=yes
4208 else
4209 ac_compiler_gnu=no
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4216 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4217 if test $ac_compiler_gnu = yes; then
4218 GCC=yes
4219 else
4220 GCC=
4222 ac_test_CFLAGS=${CFLAGS+set}
4223 ac_save_CFLAGS=$CFLAGS
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4225 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4226 if ${ac_cv_prog_cc_g+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 ac_save_c_werror_flag=$ac_c_werror_flag
4230 ac_c_werror_flag=yes
4231 ac_cv_prog_cc_g=no
4232 CFLAGS="-g"
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4237 main ()
4241 return 0;
4243 _ACEOF
4244 if ac_fn_c_try_compile "$LINENO"; then :
4245 ac_cv_prog_cc_g=yes
4246 else
4247 CFLAGS=""
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 main ()
4256 return 0;
4258 _ACEOF
4259 if ac_fn_c_try_compile "$LINENO"; then :
4261 else
4262 ac_c_werror_flag=$ac_save_c_werror_flag
4263 CFLAGS="-g"
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4268 main ()
4272 return 0;
4274 _ACEOF
4275 if ac_fn_c_try_compile "$LINENO"; then :
4276 ac_cv_prog_cc_g=yes
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4286 $as_echo "$ac_cv_prog_cc_g" >&6; }
4287 if test "$ac_test_CFLAGS" = set; then
4288 CFLAGS=$ac_save_CFLAGS
4289 elif test $ac_cv_prog_cc_g = yes; then
4290 if test "$GCC" = yes; then
4291 CFLAGS="-g -O2"
4292 else
4293 CFLAGS="-g"
4295 else
4296 if test "$GCC" = yes; then
4297 CFLAGS="-O2"
4298 else
4299 CFLAGS=
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4303 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4304 if ${ac_cv_prog_cc_c89+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 ac_cv_prog_cc_c89=no
4308 ac_save_CC=$CC
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4311 #include <stdarg.h>
4312 #include <stdio.h>
4313 struct stat;
4314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4315 struct buf { int x; };
4316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4317 static char *e (p, i)
4318 char **p;
4319 int i;
4321 return p[i];
4323 static char *f (char * (*g) (char **, int), char **p, ...)
4325 char *s;
4326 va_list v;
4327 va_start (v,p);
4328 s = g (p, va_arg (v,int));
4329 va_end (v);
4330 return s;
4333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4334 function prototypes and stuff, but not '\xHH' hex character constants.
4335 These don't provoke an error unfortunately, instead are silently treated
4336 as 'x'. The following induces an error, until -std is added to get
4337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4338 array size at least. It's necessary to write '\x00'==0 to get something
4339 that's true only with -std. */
4340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4343 inside strings and character constants. */
4344 #define FOO(x) 'x'
4345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4347 int test (int i, double x);
4348 struct s1 {int (*f) (int a);};
4349 struct s2 {int (*f) (double a);};
4350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4351 int argc;
4352 char **argv;
4354 main ()
4356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4358 return 0;
4360 _ACEOF
4361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4364 CC="$ac_save_CC $ac_arg"
4365 if ac_fn_c_try_compile "$LINENO"; then :
4366 ac_cv_prog_cc_c89=$ac_arg
4368 rm -f core conftest.err conftest.$ac_objext
4369 test "x$ac_cv_prog_cc_c89" != "xno" && break
4370 done
4371 rm -f conftest.$ac_ext
4372 CC=$ac_save_CC
4375 # AC_CACHE_VAL
4376 case "x$ac_cv_prog_cc_c89" in
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4379 $as_echo "none needed" >&6; } ;;
4380 xno)
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4382 $as_echo "unsupported" >&6; } ;;
4384 CC="$CC $ac_cv_prog_cc_c89"
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4387 esac
4388 if test "x$ac_cv_prog_cc_c89" != xno; then :
4392 ac_ext=c
4393 ac_cpp='$CPP $CPPFLAGS'
4394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398 ac_ext=cpp
4399 ac_cpp='$CXXCPP $CPPFLAGS'
4400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4403 if test -z "$CXX"; then
4404 if test -n "$CCC"; then
4405 CXX=$CCC
4406 else
4407 if test -n "$ac_tool_prefix"; then
4408 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CXX+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 if test -n "$CXX"; then
4418 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4419 else
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4423 IFS=$as_save_IFS
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 break 2
4431 done
4432 done
4433 IFS=$as_save_IFS
4437 CXX=$ac_cv_prog_CXX
4438 if test -n "$CXX"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4440 $as_echo "$CXX" >&6; }
4441 else
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4447 test -n "$CXX" && break
4448 done
4450 if test -z "$CXX"; then
4451 ac_ct_CXX=$CXX
4452 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy $ac_prog; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4459 $as_echo_n "(cached) " >&6
4460 else
4461 if test -n "$ac_ct_CXX"; then
4462 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4463 else
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH
4467 IFS=$as_save_IFS
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_CXX="$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 break 2
4475 done
4476 done
4477 IFS=$as_save_IFS
4481 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4482 if test -n "$ac_ct_CXX"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4484 $as_echo "$ac_ct_CXX" >&6; }
4485 else
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$ac_ct_CXX" && break
4492 done
4494 if test "x$ac_ct_CXX" = x; then
4495 CXX="g++"
4496 else
4497 case $cross_compiling:$ac_tool_warned in
4498 yes:)
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned=yes ;;
4502 esac
4503 CXX=$ac_ct_CXX
4509 # Provide some information about the compiler.
4510 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4511 set X $ac_compile
4512 ac_compiler=$2
4513 for ac_option in --version -v -V -qversion; do
4514 { { ac_try="$ac_compiler $ac_option >&5"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4522 ac_status=$?
4523 if test -s conftest.err; then
4524 sed '10a\
4525 ... rest of stderr output deleted ...
4526 10q' conftest.err >conftest.er1
4527 cat conftest.er1 >&5
4529 rm -f conftest.er1 conftest.err
4530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }
4532 done
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4535 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4536 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4545 #ifndef __GNUC__
4546 choke me
4547 #endif
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_compiler_gnu=yes
4555 else
4556 ac_compiler_gnu=no
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4563 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4564 if test $ac_compiler_gnu = yes; then
4565 GXX=yes
4566 else
4567 GXX=
4569 ac_test_CXXFLAGS=${CXXFLAGS+set}
4570 ac_save_CXXFLAGS=$CXXFLAGS
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4572 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4573 if ${ac_cv_prog_cxx_g+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4577 ac_cxx_werror_flag=yes
4578 ac_cv_prog_cxx_g=no
4579 CXXFLAGS="-g"
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4584 main ()
4588 return 0;
4590 _ACEOF
4591 if ac_fn_cxx_try_compile "$LINENO"; then :
4592 ac_cv_prog_cxx_g=yes
4593 else
4594 CXXFLAGS=""
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_cxx_try_compile "$LINENO"; then :
4608 else
4609 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4610 CXXFLAGS="-g"
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 main ()
4619 return 0;
4621 _ACEOF
4622 if ac_fn_cxx_try_compile "$LINENO"; then :
4623 ac_cv_prog_cxx_g=yes
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4633 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4634 if test "$ac_test_CXXFLAGS" = set; then
4635 CXXFLAGS=$ac_save_CXXFLAGS
4636 elif test $ac_cv_prog_cxx_g = yes; then
4637 if test "$GXX" = yes; then
4638 CXXFLAGS="-g -O2"
4639 else
4640 CXXFLAGS="-g"
4642 else
4643 if test "$GXX" = yes; then
4644 CXXFLAGS="-O2"
4645 else
4646 CXXFLAGS=
4649 ac_ext=c
4650 ac_cpp='$CPP $CPPFLAGS'
4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_CPPBIN+:} false; then :
4661 $as_echo_n "(cached) " >&6
4662 else
4663 if test -n "$CPPBIN"; then
4664 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4669 IFS=$as_save_IFS
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 CPPBIN=$ac_cv_prog_CPPBIN
4684 if test -n "$CPPBIN"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4686 $as_echo "$CPPBIN" >&6; }
4687 else
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_CPPBIN"; then
4695 ac_ct_CPPBIN=$CPPBIN
4696 # Extract the first word of "cpp", so it can be a program name with args.
4697 set dummy cpp; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 if test -n "$ac_ct_CPPBIN"; then
4704 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4705 else
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH
4709 IFS=$as_save_IFS
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CPPBIN="cpp"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 break 2
4717 done
4718 done
4719 IFS=$as_save_IFS
4723 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4724 if test -n "$ac_ct_CPPBIN"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4726 $as_echo "$ac_ct_CPPBIN" >&6; }
4727 else
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_CPPBIN" = x; then
4733 CPPBIN="cpp"
4734 else
4735 case $cross_compiling:$ac_tool_warned in
4736 yes:)
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4740 esac
4741 CPPBIN=$ac_ct_CPPBIN
4743 else
4744 CPPBIN="$ac_cv_prog_CPPBIN"
4748 cat >>confdefs.h <<_ACEOF
4749 #define EXEEXT "$ac_exeext"
4750 _ACEOF
4752 if test -n "$ac_tool_prefix"; then
4753 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4754 set dummy ${ac_tool_prefix}ld; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_LD+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 if test -n "$LD"; then
4761 ac_cv_prog_LD="$LD" # Let the user override the test.
4762 else
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 test -z "$as_dir" && as_dir=.
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_LD="${ac_tool_prefix}ld"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 break 2
4774 done
4775 done
4776 IFS=$as_save_IFS
4780 LD=$ac_cv_prog_LD
4781 if test -n "$LD"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4783 $as_echo "$LD" >&6; }
4784 else
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4791 if test -z "$ac_cv_prog_LD"; then
4792 ac_ct_LD=$LD
4793 # Extract the first word of "ld", so it can be a program name with args.
4794 set dummy ld; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4798 $as_echo_n "(cached) " >&6
4799 else
4800 if test -n "$ac_ct_LD"; then
4801 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4802 else
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_ac_ct_LD="ld"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 break 2
4814 done
4815 done
4816 IFS=$as_save_IFS
4820 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4821 if test -n "$ac_ct_LD"; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4823 $as_echo "$ac_ct_LD" >&6; }
4824 else
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4829 if test "x$ac_ct_LD" = x; then
4830 LD=""
4831 else
4832 case $cross_compiling:$ac_tool_warned in
4833 yes:)
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4836 ac_tool_warned=yes ;;
4837 esac
4838 LD=$ac_ct_LD
4840 else
4841 LD="$ac_cv_prog_LD"
4845 case $host in
4846 *-darwin*)
4847 if test "x$enable_win64" = "xyes"
4848 then
4849 CC="$CC -m64"
4850 CXX="$CXX -m64"
4851 host_cpu="x86_64"
4852 notice_platform="64-bit "
4853 TARGETFLAGS="-m64"
4855 else
4856 CC="$CC -m32"
4857 CXX="$CXX -m32"
4858 host_cpu="i386"
4859 notice_platform="32-bit "
4860 TARGETFLAGS="-m32"
4862 enable_win16=${enable_win16:-yes}
4864 with_fontconfig=${with_fontconfig:-no}
4866 x86_64*)
4867 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4868 then
4869 CC="$CC -m32"
4870 CXX="$CXX -m32"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4872 $as_echo_n "checking whether $CC works... " >&6; }
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4878 main ()
4882 return 0;
4884 _ACEOF
4885 if ac_fn_c_try_link "$LINENO"; then :
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4893 rm -f core conftest.err conftest.$ac_objext \
4894 conftest$ac_exeext conftest.$ac_ext
4895 host_cpu="i386"
4896 notice_platform="32-bit "
4897 TARGETFLAGS="-m32"
4899 enable_win16=${enable_win16:-yes}
4900 else
4901 if test "x${GCC}" = "xyes"
4902 then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4904 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4907 #include <stdarg.h>
4909 main ()
4911 void func(__builtin_ms_va_list *args);
4913 return 0;
4915 _ACEOF
4916 if ac_fn_c_try_compile "$LINENO"; then :
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4918 $as_echo "yes" >&6; }
4919 else
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4922 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 TARGETFLAGS="-m64"
4930 arm*)
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4932 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4935 int ac_test(int i) { return i; }
4937 main ()
4939 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4941 return 0;
4943 _ACEOF
4944 if ac_fn_c_try_link "$LINENO"; then :
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4946 $as_echo "yes" >&6; }
4947 else
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4950 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4952 rm -f core conftest.err conftest.$ac_objext \
4953 conftest$ac_exeext conftest.$ac_ext
4954 CFLAGS="$CFLAGS -marm"
4955 TARGETFLAGS="-marm"
4958 *-mingw32*|*-cygwin*)
4959 enable_win16=${enable_win16:-no}
4960 CFLAGS="$CFLAGS -D_WIN32"
4962 i[3456789]86*)
4963 enable_win16=${enable_win16:-yes}
4965 esac
4967 enable_win16=${enable_win16:-no}
4968 enable_win64=${enable_win64:-no}
4970 enable_winetest=${enable_winetest:-$enable_tests}
4972 if test -n "$with_wine64"
4973 then
4974 if test "x$enable_win64" = "xyes"
4975 then
4976 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4977 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4979 enable_fonts=${enable_fonts:-no}
4980 enable_server=${enable_server:-no}
4981 elif test "x$enable_win64" = "xyes"
4982 then
4983 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4987 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4988 if ${wine_cv_toolsdir+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 wine_cv_toolsdir="$with_wine_tools"
4992 if test -z "$with_wine_tools"; then
4993 if test "$cross_compiling" = "yes"; then
4994 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4995 elif test -n "$with_wine64"; then
4996 wine_cv_toolsdir="$with_wine64"
4999 if test -z "$wine_cv_toolsdir"; then
5000 wine_makedep=tools/makedep
5001 wine_cv_toolsdir="\$(top_builddir)"
5002 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5003 wine_makedep=$wine_cv_toolsdir/tools/makedep
5004 case "$wine_cv_toolsdir" in
5005 /*) ;;
5006 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5007 esac
5008 enable_tools=${enable_tools:-no}
5009 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5010 else
5011 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5015 $as_echo "$wine_cv_toolsdir" >&6; }
5016 TOOLSDIR=$wine_cv_toolsdir
5018 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5019 then
5020 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5024 for ac_prog in flex
5026 # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy $ac_prog; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if ${ac_cv_prog_FLEX+:} false; then :
5031 $as_echo_n "(cached) " >&6
5032 else
5033 if test -n "$FLEX"; then
5034 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5035 else
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 for as_dir in $PATH
5039 IFS=$as_save_IFS
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_FLEX="$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5053 FLEX=$ac_cv_prog_FLEX
5054 if test -n "$FLEX"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5056 $as_echo "$FLEX" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$FLEX" && break
5064 done
5065 test -n "$FLEX" || FLEX="none"
5067 if test "$FLEX" = "none"
5068 then
5069 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5072 $as_echo_n "checking whether flex is recent enough... " >&6; }
5073 cat >conftest.l <<EOF
5074 %top{
5075 #include "prediluvian.h"
5079 if $FLEX -t conftest.l >/dev/null 2>&5
5080 then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5082 $as_echo "yes" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5089 for ac_prog in bison
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy $ac_prog; ac_word=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if ${ac_cv_prog_BISON+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 if test -n "$BISON"; then
5099 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5100 else
5101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5102 for as_dir in $PATH
5104 IFS=$as_save_IFS
5105 test -z "$as_dir" && as_dir=.
5106 for ac_exec_ext in '' $ac_executable_extensions; do
5107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5108 ac_cv_prog_BISON="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 break 2
5112 done
5113 done
5114 IFS=$as_save_IFS
5118 BISON=$ac_cv_prog_BISON
5119 if test -n "$BISON"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5121 $as_echo "$BISON" >&6; }
5122 else
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$BISON" && break
5129 done
5130 test -n "$BISON" || BISON="none"
5132 if test "$BISON" = "none"
5133 then
5134 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5137 if test -n "$ac_tool_prefix"; then
5138 for ac_prog in ar gar
5140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_AR+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 if test -n "$AR"; then
5148 ac_cv_prog_AR="$AR" # Let the user override the test.
5149 else
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5153 IFS=$as_save_IFS
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 break 2
5161 done
5162 done
5163 IFS=$as_save_IFS
5167 AR=$ac_cv_prog_AR
5168 if test -n "$AR"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5170 $as_echo "$AR" >&6; }
5171 else
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5177 test -n "$AR" && break
5178 done
5180 if test -z "$AR"; then
5181 ac_ct_AR=$AR
5182 for ac_prog in ar gar
5184 # Extract the first word of "$ac_prog", so it can be a program name with args.
5185 set dummy $ac_prog; ac_word=$2
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5187 $as_echo_n "checking for $ac_word... " >&6; }
5188 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 if test -n "$ac_ct_AR"; then
5192 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5193 else
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5195 for as_dir in $PATH
5197 IFS=$as_save_IFS
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5201 ac_cv_prog_ac_ct_AR="$ac_prog"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 break 2
5205 done
5206 done
5207 IFS=$as_save_IFS
5211 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5212 if test -n "$ac_ct_AR"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5214 $as_echo "$ac_ct_AR" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5217 $as_echo "no" >&6; }
5221 test -n "$ac_ct_AR" && break
5222 done
5224 if test "x$ac_ct_AR" = x; then
5225 AR="ar"
5226 else
5227 case $cross_compiling:$ac_tool_warned in
5228 yes:)
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5232 esac
5233 AR=$ac_ct_AR
5237 if test -n "$ac_tool_prefix"; then
5238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5239 set dummy ${ac_tool_prefix}strip; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_STRIP+:} false; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$STRIP"; then
5246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 STRIP=$ac_cv_prog_STRIP
5266 if test -n "$STRIP"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5268 $as_echo "$STRIP" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5276 if test -z "$ac_cv_prog_STRIP"; then
5277 ac_ct_STRIP=$STRIP
5278 # Extract the first word of "strip", so it can be a program name with args.
5279 set dummy strip; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5283 $as_echo_n "(cached) " >&6
5284 else
5285 if test -n "$ac_ct_STRIP"; then
5286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_ac_ct_STRIP="strip"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5306 if test -n "$ac_ct_STRIP"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5308 $as_echo "$ac_ct_STRIP" >&6; }
5309 else
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5314 if test "x$ac_ct_STRIP" = x; then
5315 STRIP="strip"
5316 else
5317 case $cross_compiling:$ac_tool_warned in
5318 yes:)
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5321 ac_tool_warned=yes ;;
5322 esac
5323 STRIP=$ac_ct_STRIP
5325 else
5326 STRIP="$ac_cv_prog_STRIP"
5329 ARFLAGS=rc
5331 if test -n "$ac_tool_prefix"; then
5332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_prog_RANLIB+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 if test -n "$RANLIB"; then
5340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5341 else
5342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5343 for as_dir in $PATH
5345 IFS=$as_save_IFS
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5349 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 break 2
5353 done
5354 done
5355 IFS=$as_save_IFS
5359 RANLIB=$ac_cv_prog_RANLIB
5360 if test -n "$RANLIB"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5362 $as_echo "$RANLIB" >&6; }
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$ac_cv_prog_RANLIB"; then
5371 ac_ct_RANLIB=$RANLIB
5372 # Extract the first word of "ranlib", so it can be a program name with args.
5373 set dummy ranlib; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$ac_ct_RANLIB"; then
5380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_RANLIB="ranlib"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5400 if test -n "$ac_ct_RANLIB"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5402 $as_echo "$ac_ct_RANLIB" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5408 if test "x$ac_ct_RANLIB" = x; then
5409 RANLIB=":"
5410 else
5411 case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5415 ac_tool_warned=yes ;;
5416 esac
5417 RANLIB=$ac_ct_RANLIB
5419 else
5420 RANLIB="$ac_cv_prog_RANLIB"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5424 $as_echo_n "checking whether ln -s works... " >&6; }
5425 LN_S=$as_ln_s
5426 if test "$LN_S" = "ln -s"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5428 $as_echo "yes" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5431 $as_echo "no, using $LN_S" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5435 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5436 if ${ac_cv_path_GREP+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 if test -z "$GREP"; then
5440 ac_path_GREP_found=false
5441 # Loop through the user's path and test for each of PROGNAME-LIST
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_prog in grep ggrep; do
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5450 as_fn_executable_p "$ac_path_GREP" || continue
5451 # Check for GNU ac_path_GREP and select it if it is found.
5452 # Check for GNU $ac_path_GREP
5453 case `"$ac_path_GREP" --version 2>&1` in
5454 *GNU*)
5455 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5457 ac_count=0
5458 $as_echo_n 0123456789 >"conftest.in"
5459 while :
5461 cat "conftest.in" "conftest.in" >"conftest.tmp"
5462 mv "conftest.tmp" "conftest.in"
5463 cp "conftest.in" "conftest.nl"
5464 $as_echo 'GREP' >> "conftest.nl"
5465 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5467 as_fn_arith $ac_count + 1 && ac_count=$as_val
5468 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5469 # Best one so far, save it but keep looking for a better one
5470 ac_cv_path_GREP="$ac_path_GREP"
5471 ac_path_GREP_max=$ac_count
5473 # 10*(2^10) chars as input seems more than enough
5474 test $ac_count -gt 10 && break
5475 done
5476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5477 esac
5479 $ac_path_GREP_found && break 3
5480 done
5481 done
5482 done
5483 IFS=$as_save_IFS
5484 if test -z "$ac_cv_path_GREP"; then
5485 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5487 else
5488 ac_cv_path_GREP=$GREP
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5493 $as_echo "$ac_cv_path_GREP" >&6; }
5494 GREP="$ac_cv_path_GREP"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5498 $as_echo_n "checking for egrep... " >&6; }
5499 if ${ac_cv_path_EGREP+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5503 then ac_cv_path_EGREP="$GREP -E"
5504 else
5505 if test -z "$EGREP"; then
5506 ac_path_EGREP_found=false
5507 # Loop through the user's path and test for each of PROGNAME-LIST
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_prog in egrep; do
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5516 as_fn_executable_p "$ac_path_EGREP" || continue
5517 # Check for GNU ac_path_EGREP and select it if it is found.
5518 # Check for GNU $ac_path_EGREP
5519 case `"$ac_path_EGREP" --version 2>&1` in
5520 *GNU*)
5521 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5523 ac_count=0
5524 $as_echo_n 0123456789 >"conftest.in"
5525 while :
5527 cat "conftest.in" "conftest.in" >"conftest.tmp"
5528 mv "conftest.tmp" "conftest.in"
5529 cp "conftest.in" "conftest.nl"
5530 $as_echo 'EGREP' >> "conftest.nl"
5531 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533 as_fn_arith $ac_count + 1 && ac_count=$as_val
5534 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5535 # Best one so far, save it but keep looking for a better one
5536 ac_cv_path_EGREP="$ac_path_EGREP"
5537 ac_path_EGREP_max=$ac_count
5539 # 10*(2^10) chars as input seems more than enough
5540 test $ac_count -gt 10 && break
5541 done
5542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5543 esac
5545 $ac_path_EGREP_found && break 3
5546 done
5547 done
5548 done
5549 IFS=$as_save_IFS
5550 if test -z "$ac_cv_path_EGREP"; then
5551 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5553 else
5554 ac_cv_path_EGREP=$EGREP
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5560 $as_echo "$ac_cv_path_EGREP" >&6; }
5561 EGREP="$ac_cv_path_EGREP"
5564 # Extract the first word of "ldconfig", so it can be a program name with args.
5565 set dummy ldconfig; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_path_LDCONFIG+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 case $LDCONFIG in
5572 [\\/]* | ?:[\\/]*)
5573 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in /sbin /usr/sbin $PATH
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 break 2
5587 done
5588 done
5589 IFS=$as_save_IFS
5591 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5593 esac
5595 LDCONFIG=$ac_cv_path_LDCONFIG
5596 if test -n "$LDCONFIG"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5598 $as_echo "$LDCONFIG" >&6; }
5599 else
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5605 for ac_prog in msgfmt
5607 # Extract the first word of "$ac_prog", so it can be a program name with args.
5608 set dummy $ac_prog; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_MSGFMT+:} false; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if test -n "$MSGFMT"; then
5615 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_MSGFMT="$ac_prog"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 MSGFMT=$ac_cv_prog_MSGFMT
5635 if test -n "$MSGFMT"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5637 $as_echo "$MSGFMT" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5644 test -n "$MSGFMT" && break
5645 done
5646 test -n "$MSGFMT" || MSGFMT="false"
5648 if ${ac_tool_prefix+:} false; then :
5649 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5650 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -n "$PKG_CONFIG"; then
5657 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5658 else
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 for as_dir in $PATH
5662 IFS=$as_save_IFS
5663 test -z "$as_dir" && as_dir=.
5664 for ac_exec_ext in '' $ac_executable_extensions; do
5665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 break 2
5670 done
5671 done
5672 IFS=$as_save_IFS
5676 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5677 if test -n "$PKG_CONFIG"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5679 $as_echo "$PKG_CONFIG" >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5687 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5688 if test "x$cross_compiling" = xyes; then :
5690 else
5691 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5692 # Extract the first word of "pkg-config", so it can be a program name with args.
5693 set dummy pkg-config; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 if test -n "$PKG_CONFIG"; then
5700 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5701 else
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 for as_dir in $PATH
5705 IFS=$as_save_IFS
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_PKG_CONFIG="pkg-config"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 break 2
5713 done
5714 done
5715 IFS=$as_save_IFS
5719 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5720 if test -n "$PKG_CONFIG"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5722 $as_echo "$PKG_CONFIG" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5730 else
5731 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5734 if test "x$enable_maintainer_mode" != "xyes"
5735 then
5736 FONTFORGE=""
5737 RSVG=""
5738 CONVERT=""
5739 ICOTOOL=""
5740 else
5741 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5742 for ac_prog in fontforge
5744 # Extract the first word of "$ac_prog", so it can be a program name with args.
5745 set dummy $ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if ${ac_cv_prog_FONTFORGE+:} false; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$FONTFORGE"; then
5752 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5761 ac_cv_prog_FONTFORGE="$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 FONTFORGE=$ac_cv_prog_FONTFORGE
5772 if test -n "$FONTFORGE"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5774 $as_echo "$FONTFORGE" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$FONTFORGE" && break
5782 done
5783 test -n "$FONTFORGE" || FONTFORGE="false"
5785 for ac_prog in rsvg-convert rsvg
5787 # Extract the first word of "$ac_prog", so it can be a program name with args.
5788 set dummy $ac_prog; ac_word=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_prog_RSVG+:} false; then :
5792 $as_echo_n "(cached) " >&6
5793 else
5794 if test -n "$RSVG"; then
5795 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5796 else
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798 for as_dir in $PATH
5800 IFS=$as_save_IFS
5801 test -z "$as_dir" && as_dir=.
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_RSVG="$ac_prog"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 break 2
5808 done
5809 done
5810 IFS=$as_save_IFS
5814 RSVG=$ac_cv_prog_RSVG
5815 if test -n "$RSVG"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5817 $as_echo "$RSVG" >&6; }
5818 else
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5824 test -n "$RSVG" && break
5825 done
5826 test -n "$RSVG" || RSVG="false"
5828 for ac_prog in convert
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831 set dummy $ac_prog; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_prog_CONVERT+:} false; then :
5835 $as_echo_n "(cached) " >&6
5836 else
5837 if test -n "$CONVERT"; then
5838 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5839 else
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 for as_dir in $PATH
5843 IFS=$as_save_IFS
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_CONVERT="$ac_prog"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 break 2
5851 done
5852 done
5853 IFS=$as_save_IFS
5857 CONVERT=$ac_cv_prog_CONVERT
5858 if test -n "$CONVERT"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5860 $as_echo "$CONVERT" >&6; }
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5867 test -n "$CONVERT" && break
5868 done
5869 test -n "$CONVERT" || CONVERT="false"
5871 for ac_prog in icotool
5873 # Extract the first word of "$ac_prog", so it can be a program name with args.
5874 set dummy $ac_prog; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_ICOTOOL+:} false; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 if test -n "$ICOTOOL"; then
5881 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_ICOTOOL="$ac_prog"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5900 ICOTOOL=$ac_cv_prog_ICOTOOL
5901 if test -n "$ICOTOOL"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5903 $as_echo "$ICOTOOL" >&6; }
5904 else
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5910 test -n "$ICOTOOL" && break
5911 done
5912 test -n "$ICOTOOL" || ICOTOOL="false"
5914 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5915 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5917 if test "$CONVERT" = false
5918 then
5919 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5922 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5923 convert_version=`convert --version | head -n1`
5924 if test "x$convert_version" != "x"
5925 then
5926 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5927 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5928 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5929 then
5930 CONVERT=false
5933 if test "$CONVERT" = false
5934 then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5936 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5937 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5940 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5944 if test "$ICOTOOL" = false
5945 then
5946 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5947 else
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5949 $as_echo_n "checking for recent enough icotool... " >&6; }
5950 icotool_version=`icotool --version | head -n1`
5951 if test "x$icotool_version" != "x"
5952 then
5953 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5954 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5955 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5956 then
5957 ICOTOOL=false
5958 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5961 if test "$ICOTOOL" = false
5962 then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5964 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5965 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5968 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5972 with_gettext=yes
5973 with_gettextpo=yes
5974 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5977 test "x$with_gettext" != xno || MSGFMT=false
5978 if test "$MSGFMT" != "false"
5979 then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5981 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5982 cat >conftest.po <<EOF
5983 # comment
5984 msgctxt "ctxt"
5985 msgid "id"
5986 msgstr "str"
5988 if $MSGFMT -o /dev/null conftest.po 2>&5
5989 then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5991 $as_echo "yes" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5995 MSGFMT=false
5998 if test "$MSGFMT" = false; then :
5999 case "x$with_gettext" in
6000 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6001 xno) ;;
6002 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6003 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6004 esac
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6009 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6010 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6011 $as_echo_n "(cached) " >&6
6012 else
6013 ac_check_lib_save_LIBS=$LIBS
6014 LIBS="-li386 $LIBS"
6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6016 /* end confdefs.h. */
6018 /* Override any GCC internal prototype to avoid an error.
6019 Use char because int might match the return type of a GCC
6020 builtin and then its argument prototype would still apply. */
6021 #ifdef __cplusplus
6022 extern "C"
6023 #endif
6024 char i386_set_ldt ();
6026 main ()
6028 return i386_set_ldt ();
6030 return 0;
6032 _ACEOF
6033 if ac_fn_c_try_link "$LINENO"; then :
6034 ac_cv_lib_i386_i386_set_ldt=yes
6035 else
6036 ac_cv_lib_i386_i386_set_ldt=no
6038 rm -f core conftest.err conftest.$ac_objext \
6039 conftest$ac_exeext conftest.$ac_ext
6040 LIBS=$ac_check_lib_save_LIBS
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6043 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6044 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6045 cat >>confdefs.h <<_ACEOF
6046 #define HAVE_LIBI386 1
6047 _ACEOF
6049 LIBS="-li386 $LIBS"
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6054 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6055 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6056 $as_echo_n "(cached) " >&6
6057 else
6058 ac_check_lib_save_LIBS=$LIBS
6059 LIBS="-lossaudio $LIBS"
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6063 /* Override any GCC internal prototype to avoid an error.
6064 Use char because int might match the return type of a GCC
6065 builtin and then its argument prototype would still apply. */
6066 #ifdef __cplusplus
6067 extern "C"
6068 #endif
6069 char _oss_ioctl ();
6071 main ()
6073 return _oss_ioctl ();
6075 return 0;
6077 _ACEOF
6078 if ac_fn_c_try_link "$LINENO"; then :
6079 ac_cv_lib_ossaudio__oss_ioctl=yes
6080 else
6081 ac_cv_lib_ossaudio__oss_ioctl=no
6083 rm -f core conftest.err conftest.$ac_objext \
6084 conftest$ac_exeext conftest.$ac_ext
6085 LIBS=$ac_check_lib_save_LIBS
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6088 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6089 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6090 cat >>confdefs.h <<_ACEOF
6091 #define HAVE_LIBOSSAUDIO 1
6092 _ACEOF
6094 LIBS="-lossaudio $LIBS"
6099 OPENGL_LIBS=""
6103 # Check whether --enable-largefile was given.
6104 if test "${enable_largefile+set}" = set; then :
6105 enableval=$enable_largefile;
6108 if test "$enable_largefile" != no; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6111 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6112 if ${ac_cv_sys_largefile_CC+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 ac_cv_sys_largefile_CC=no
6116 if test "$GCC" != yes; then
6117 ac_save_CC=$CC
6118 while :; do
6119 # IRIX 6.2 and later do not support large files by default,
6120 # so use the C compiler's -n32 option if that helps.
6121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 /* end confdefs.h. */
6123 #include <sys/types.h>
6124 /* Check that off_t can represent 2**63 - 1 correctly.
6125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6126 since some C++ compilers masquerading as C compilers
6127 incorrectly reject 9223372036854775807. */
6128 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6130 && LARGE_OFF_T % 2147483647 == 1)
6131 ? 1 : -1];
6133 main ()
6137 return 0;
6139 _ACEOF
6140 if ac_fn_c_try_compile "$LINENO"; then :
6141 break
6143 rm -f core conftest.err conftest.$ac_objext
6144 CC="$CC -n32"
6145 if ac_fn_c_try_compile "$LINENO"; then :
6146 ac_cv_sys_largefile_CC=' -n32'; break
6148 rm -f core conftest.err conftest.$ac_objext
6149 break
6150 done
6151 CC=$ac_save_CC
6152 rm -f conftest.$ac_ext
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6156 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6157 if test "$ac_cv_sys_largefile_CC" != no; then
6158 CC=$CC$ac_cv_sys_largefile_CC
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6162 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6163 if ${ac_cv_sys_file_offset_bits+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 while :; do
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6169 #include <sys/types.h>
6170 /* Check that off_t can represent 2**63 - 1 correctly.
6171 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6172 since some C++ compilers masquerading as C compilers
6173 incorrectly reject 9223372036854775807. */
6174 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6175 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6176 && LARGE_OFF_T % 2147483647 == 1)
6177 ? 1 : -1];
6179 main ()
6183 return 0;
6185 _ACEOF
6186 if ac_fn_c_try_compile "$LINENO"; then :
6187 ac_cv_sys_file_offset_bits=no; break
6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #define _FILE_OFFSET_BITS 64
6193 #include <sys/types.h>
6194 /* Check that off_t can represent 2**63 - 1 correctly.
6195 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6196 since some C++ compilers masquerading as C compilers
6197 incorrectly reject 9223372036854775807. */
6198 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6200 && LARGE_OFF_T % 2147483647 == 1)
6201 ? 1 : -1];
6203 main ()
6207 return 0;
6209 _ACEOF
6210 if ac_fn_c_try_compile "$LINENO"; then :
6211 ac_cv_sys_file_offset_bits=64; break
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 ac_cv_sys_file_offset_bits=unknown
6215 break
6216 done
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6219 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6220 case $ac_cv_sys_file_offset_bits in #(
6221 no | unknown) ;;
6223 cat >>confdefs.h <<_ACEOF
6224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6225 _ACEOF
6227 esac
6228 rm -rf conftest*
6229 if test $ac_cv_sys_file_offset_bits = unknown; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6231 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6232 if ${ac_cv_sys_large_files+:} false; then :
6233 $as_echo_n "(cached) " >&6
6234 else
6235 while :; do
6236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <sys/types.h>
6239 /* Check that off_t can represent 2**63 - 1 correctly.
6240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6241 since some C++ compilers masquerading as C compilers
6242 incorrectly reject 9223372036854775807. */
6243 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6245 && LARGE_OFF_T % 2147483647 == 1)
6246 ? 1 : -1];
6248 main ()
6252 return 0;
6254 _ACEOF
6255 if ac_fn_c_try_compile "$LINENO"; then :
6256 ac_cv_sys_large_files=no; break
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6261 #define _LARGE_FILES 1
6262 #include <sys/types.h>
6263 /* Check that off_t can represent 2**63 - 1 correctly.
6264 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6265 since some C++ compilers masquerading as C compilers
6266 incorrectly reject 9223372036854775807. */
6267 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6268 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6269 && LARGE_OFF_T % 2147483647 == 1)
6270 ? 1 : -1];
6272 main ()
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_compile "$LINENO"; then :
6280 ac_cv_sys_large_files=1; break
6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 ac_cv_sys_large_files=unknown
6284 break
6285 done
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6288 $as_echo "$ac_cv_sys_large_files" >&6; }
6289 case $ac_cv_sys_large_files in #(
6290 no | unknown) ;;
6292 cat >>confdefs.h <<_ACEOF
6293 #define _LARGE_FILES $ac_cv_sys_large_files
6294 _ACEOF
6296 esac
6297 rm -rf conftest*
6304 ac_ext=c
6305 ac_cpp='$CPP $CPPFLAGS'
6306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6310 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6311 # On Suns, sometimes $CPP names a directory.
6312 if test -n "$CPP" && test -d "$CPP"; then
6313 CPP=
6315 if test -z "$CPP"; then
6316 if ${ac_cv_prog_CPP+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 # Double quotes because CPP needs to be expanded
6320 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6322 ac_preproc_ok=false
6323 for ac_c_preproc_warn_flag in '' yes
6325 # Use a header file that comes with gcc, so configuring glibc
6326 # with a fresh cross-compiler works.
6327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6328 # <limits.h> exists even on freestanding compilers.
6329 # On the NeXT, cc -E runs the code through the compiler's parser,
6330 # not just through cpp. "Syntax error" is here to catch this case.
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #ifdef __STDC__
6334 # include <limits.h>
6335 #else
6336 # include <assert.h>
6337 #endif
6338 Syntax error
6339 _ACEOF
6340 if ac_fn_c_try_cpp "$LINENO"; then :
6342 else
6343 # Broken: fails on valid input.
6344 continue
6346 rm -f conftest.err conftest.i conftest.$ac_ext
6348 # OK, works on sane cases. Now check whether nonexistent headers
6349 # can be detected and how.
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <ac_nonexistent.h>
6353 _ACEOF
6354 if ac_fn_c_try_cpp "$LINENO"; then :
6355 # Broken: success on invalid input.
6356 continue
6357 else
6358 # Passes both tests.
6359 ac_preproc_ok=:
6360 break
6362 rm -f conftest.err conftest.i conftest.$ac_ext
6364 done
6365 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6366 rm -f conftest.i conftest.err conftest.$ac_ext
6367 if $ac_preproc_ok; then :
6368 break
6371 done
6372 ac_cv_prog_CPP=$CPP
6375 CPP=$ac_cv_prog_CPP
6376 else
6377 ac_cv_prog_CPP=$CPP
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6380 $as_echo "$CPP" >&6; }
6381 ac_preproc_ok=false
6382 for ac_c_preproc_warn_flag in '' yes
6384 # Use a header file that comes with gcc, so configuring glibc
6385 # with a fresh cross-compiler works.
6386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6387 # <limits.h> exists even on freestanding compilers.
6388 # On the NeXT, cc -E runs the code through the compiler's parser,
6389 # not just through cpp. "Syntax error" is here to catch this case.
6390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391 /* end confdefs.h. */
6392 #ifdef __STDC__
6393 # include <limits.h>
6394 #else
6395 # include <assert.h>
6396 #endif
6397 Syntax error
6398 _ACEOF
6399 if ac_fn_c_try_cpp "$LINENO"; then :
6401 else
6402 # Broken: fails on valid input.
6403 continue
6405 rm -f conftest.err conftest.i conftest.$ac_ext
6407 # OK, works on sane cases. Now check whether nonexistent headers
6408 # can be detected and how.
6409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #include <ac_nonexistent.h>
6412 _ACEOF
6413 if ac_fn_c_try_cpp "$LINENO"; then :
6414 # Broken: success on invalid input.
6415 continue
6416 else
6417 # Passes both tests.
6418 ac_preproc_ok=:
6419 break
6421 rm -f conftest.err conftest.i conftest.$ac_ext
6423 done
6424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6425 rm -f conftest.i conftest.err conftest.$ac_ext
6426 if $ac_preproc_ok; then :
6428 else
6429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6431 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details" "$LINENO" 5; }
6435 ac_ext=c
6436 ac_cpp='$CPP $CPPFLAGS'
6437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6443 $as_echo_n "checking for ANSI C header files... " >&6; }
6444 if ${ac_cv_header_stdc+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #include <stdlib.h>
6450 #include <stdarg.h>
6451 #include <string.h>
6452 #include <float.h>
6455 main ()
6459 return 0;
6461 _ACEOF
6462 if ac_fn_c_try_compile "$LINENO"; then :
6463 ac_cv_header_stdc=yes
6464 else
6465 ac_cv_header_stdc=no
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6469 if test $ac_cv_header_stdc = yes; then
6470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <string.h>
6475 _ACEOF
6476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6477 $EGREP "memchr" >/dev/null 2>&1; then :
6479 else
6480 ac_cv_header_stdc=no
6482 rm -f conftest*
6486 if test $ac_cv_header_stdc = yes; then
6487 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #include <stdlib.h>
6492 _ACEOF
6493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6494 $EGREP "free" >/dev/null 2>&1; then :
6496 else
6497 ac_cv_header_stdc=no
6499 rm -f conftest*
6503 if test $ac_cv_header_stdc = yes; then
6504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6505 if test "$cross_compiling" = yes; then :
6507 else
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <ctype.h>
6511 #include <stdlib.h>
6512 #if ((' ' & 0x0FF) == 0x020)
6513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6515 #else
6516 # define ISLOWER(c) \
6517 (('a' <= (c) && (c) <= 'i') \
6518 || ('j' <= (c) && (c) <= 'r') \
6519 || ('s' <= (c) && (c) <= 'z'))
6520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6521 #endif
6523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6525 main ()
6527 int i;
6528 for (i = 0; i < 256; i++)
6529 if (XOR (islower (i), ISLOWER (i))
6530 || toupper (i) != TOUPPER (i))
6531 return 2;
6532 return 0;
6534 _ACEOF
6535 if ac_fn_c_try_run "$LINENO"; then :
6537 else
6538 ac_cv_header_stdc=no
6540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6541 conftest.$ac_objext conftest.beam conftest.$ac_ext
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6547 $as_echo "$ac_cv_header_stdc" >&6; }
6548 if test $ac_cv_header_stdc = yes; then
6550 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6555 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6556 inttypes.h stdint.h unistd.h
6557 do :
6558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6561 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6568 done
6571 for ac_header in \
6572 AL/al.h \
6573 ApplicationServices/ApplicationServices.h \
6574 AudioToolbox/AudioConverter.h \
6575 AudioUnit/AudioUnit.h \
6576 AudioUnit/AudioComponent.h \
6577 CL/cl.h \
6578 Carbon/Carbon.h \
6579 CoreAudio/CoreAudio.h \
6580 CoreServices/CoreServices.h \
6581 DiskArbitration/DiskArbitration.h \
6582 IOKit/IOKitLib.h \
6583 IOKit/hid/IOHIDLib.h \
6584 OpenAL/al.h \
6585 OpenCL/opencl.h \
6586 QuickTime/ImageCompression.h \
6587 Security/Security.h \
6588 alias.h \
6589 alsa/asoundlib.h \
6590 arpa/inet.h \
6591 arpa/nameser.h \
6592 asm/types.h \
6593 asm/user.h \
6594 curses.h \
6595 direct.h \
6596 dirent.h \
6597 dlfcn.h \
6598 elf.h \
6599 float.h \
6600 fnmatch.h \
6601 getopt.h \
6602 gettext-po.h \
6603 grp.h \
6604 gsm.h \
6605 gsm/gsm.h \
6606 ieeefp.h \
6607 inet/mib2.h \
6608 io.h \
6609 kstat.h \
6610 lber.h \
6611 ldap.h \
6612 libproc.h \
6613 link.h \
6614 linux/cdrom.h \
6615 linux/compiler.h \
6616 linux/filter.h \
6617 linux/hdreg.h \
6618 linux/input.h \
6619 linux/ioctl.h \
6620 linux/joystick.h \
6621 linux/major.h \
6622 linux/param.h \
6623 linux/serial.h \
6624 linux/types.h \
6625 linux/ucdrom.h \
6626 lwp.h \
6627 mach-o/nlist.h \
6628 mach-o/loader.h \
6629 mach/mach.h \
6630 mach/machine.h \
6631 machine/cpu.h \
6632 machine/limits.h \
6633 machine/sysarch.h \
6634 mntent.h \
6635 ncurses.h \
6636 netdb.h \
6637 netinet/in.h \
6638 netinet/in_systm.h \
6639 netinet/tcp.h \
6640 netinet/tcp_fsm.h \
6641 pcap/pcap.h \
6642 poll.h \
6643 port.h \
6644 process.h \
6645 pthread.h \
6646 pwd.h \
6647 sched.h \
6648 scsi/scsi.h \
6649 scsi/scsi_ioctl.h \
6650 scsi/sg.h \
6651 stdbool.h \
6652 stdint.h \
6653 stropts.h \
6654 sys/asoundlib.h \
6655 sys/attr.h \
6656 sys/cdio.h \
6657 sys/elf32.h \
6658 sys/epoll.h \
6659 sys/event.h \
6660 sys/exec_elf.h \
6661 sys/filio.h \
6662 sys/inotify.h \
6663 sys/ioctl.h \
6664 sys/ipc.h \
6665 sys/limits.h \
6666 sys/link.h \
6667 sys/mman.h \
6668 sys/modem.h \
6669 sys/msg.h \
6670 sys/mtio.h \
6671 sys/param.h \
6672 sys/poll.h \
6673 sys/prctl.h \
6674 sys/protosw.h \
6675 sys/ptrace.h \
6676 sys/queue.h \
6677 sys/resource.h \
6678 sys/scsiio.h \
6679 sys/shm.h \
6680 sys/signal.h \
6681 sys/socket.h \
6682 sys/socketvar.h \
6683 sys/sockio.h \
6684 sys/statvfs.h \
6685 sys/strtio.h \
6686 sys/syscall.h \
6687 sys/tihdr.h \
6688 sys/time.h \
6689 sys/timeout.h \
6690 sys/times.h \
6691 sys/uio.h \
6692 sys/user.h \
6693 sys/utsname.h \
6694 sys/vm86.h \
6695 sys/wait.h \
6696 syscall.h \
6697 termios.h \
6698 unistd.h \
6699 utime.h \
6700 valgrind/memcheck.h \
6701 valgrind/valgrind.h \
6702 zlib.h
6704 do :
6705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6706 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6707 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6708 cat >>confdefs.h <<_ACEOF
6709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 _ACEOF
6714 done
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6717 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6718 if ${ac_cv_header_stat_broken+:} false; then :
6719 $as_echo_n "(cached) " >&6
6720 else
6721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6723 #include <sys/types.h>
6724 #include <sys/stat.h>
6726 #if defined S_ISBLK && defined S_IFDIR
6727 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6728 #endif
6730 #if defined S_ISBLK && defined S_IFCHR
6731 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6732 #endif
6734 #if defined S_ISLNK && defined S_IFREG
6735 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6736 #endif
6738 #if defined S_ISSOCK && defined S_IFREG
6739 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6740 #endif
6742 _ACEOF
6743 if ac_fn_c_try_compile "$LINENO"; then :
6744 ac_cv_header_stat_broken=no
6745 else
6746 ac_cv_header_stat_broken=yes
6748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6751 $as_echo "$ac_cv_header_stat_broken" >&6; }
6752 if test $ac_cv_header_stat_broken = yes; then
6754 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6760 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6761 do :
6762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6763 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_SYS_PARAM_H
6765 # include <sys/param.h>
6766 #endif
6768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6769 cat >>confdefs.h <<_ACEOF
6770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6771 _ACEOF
6775 done
6778 for ac_header in \
6779 netinet/ip.h \
6780 net/if.h \
6781 net/if_arp.h \
6782 net/if_dl.h \
6783 net/if_types.h \
6784 net/route.h \
6785 netinet/if_ether.h \
6786 netinet/if_inarp.h \
6787 netinet/in_pcb.h \
6788 netinet/ip_icmp.h \
6789 netinet/ip_var.h \
6790 netinet/udp.h \
6791 netipx/ipx.h \
6792 sys/un.h \
6794 do :
6795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6796 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6797 #ifdef HAVE_SYS_SOCKET_H
6798 # include <sys/socket.h>
6799 #endif
6800 #ifdef HAVE_SYS_SOCKETVAR_H
6801 # include <sys/socketvar.h>
6802 #endif
6803 #ifdef HAVE_NET_ROUTE_H
6804 # include <net/route.h>
6805 #endif
6806 #ifdef HAVE_NETINET_IN_H
6807 # include <netinet/in.h>
6808 #endif
6809 #ifdef HAVE_NETINET_IN_SYSTM_H
6810 # include <netinet/in_systm.h>
6811 #endif
6812 #ifdef HAVE_NET_IF_H
6813 # include <net/if.h>
6814 #endif
6815 #ifdef HAVE_NETINET_IP_H
6816 # include <netinet/ip.h>
6817 #endif
6819 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6820 cat >>confdefs.h <<_ACEOF
6821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6822 _ACEOF
6826 done
6829 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6830 do :
6831 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6832 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6833 #ifdef HAVE_ALIAS_H
6834 # include <alias.h>
6835 #endif
6836 #ifdef HAVE_SYS_SOCKET_H
6837 # include <sys/socket.h>
6838 #endif
6839 #ifdef HAVE_SYS_SOCKETVAR_H
6840 # include <sys/socketvar.h>
6841 #endif
6842 #ifdef HAVE_SYS_TIMEOUT_H
6843 # include <sys/timeout.h>
6844 #endif
6845 #ifdef HAVE_NETINET_IN_H
6846 # include <netinet/in.h>
6847 #endif
6848 #ifdef HAVE_NETINET_IN_SYSTM_H
6849 # include <netinet/in_systm.h>
6850 #endif
6851 #ifdef HAVE_NETINET_IP_H
6852 # include <netinet/ip.h>
6853 #endif
6854 #ifdef HAVE_NETINET_IP_VAR_H
6855 # include <netinet/ip_var.h>
6856 #endif
6857 #ifdef HAVE_NETINET_IP_ICMP_H
6858 # include <netinet/ip_icmp.h>
6859 #endif
6860 #ifdef HAVE_NETINET_UDP_H
6861 # include <netinet/udp.h>
6862 #endif
6863 #ifdef HAVE_NETINET_TCP_H
6864 # include <netinet/tcp.h>
6865 #endif
6866 #ifdef HAVE_NETINET_TCP_TIMER_H
6867 #include <netinet/tcp_timer.h>
6868 #endif
6870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 _ACEOF
6877 done
6880 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6881 do :
6882 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6883 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 # include <asm/types.h>
6886 #endif
6887 #ifdef HAVE_SYS_SOCKET_H
6888 # include <sys/socket.h>
6889 #endif
6890 #ifdef HAVE_LINUX_TYPES_H
6891 # include <linux/types.h>
6892 #endif
6894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 _ACEOF
6901 done
6904 for ac_header in mach-o/dyld_images.h
6905 do :
6906 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6907 # include <stdbool.h>
6908 #endif
6909 #ifdef HAVE_STDINT_H
6910 # include <stdint.h>
6911 #endif
6913 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6914 cat >>confdefs.h <<_ACEOF
6915 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6916 _ACEOF
6920 done
6923 for ac_header in resolv.h
6924 do :
6925 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6926 #ifdef HAVE_SYS_SOCKET_H
6927 # include <sys/socket.h>
6928 #endif
6929 #ifdef HAVE_NETINET_IN_H
6930 # include <netinet/in.h>
6931 #endif
6932 #ifdef HAVE_ARPA_NAMESER_H
6933 # include <arpa/nameser.h>
6934 #endif
6936 if test "x$ac_cv_header_resolv_h" = xyes; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_RESOLV_H 1
6939 _ACEOF
6943 done
6946 for ac_header in ifaddrs.h
6947 do :
6948 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6950 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6951 cat >>confdefs.h <<_ACEOF
6952 #define HAVE_IFADDRS_H 1
6953 _ACEOF
6957 done
6960 for ac_header in sys/ucontext.h
6961 do :
6962 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6964 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6965 cat >>confdefs.h <<_ACEOF
6966 #define HAVE_SYS_UCONTEXT_H 1
6967 _ACEOF
6971 done
6974 for ac_header in sys/thr.h
6975 do :
6976 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6977 #ifdef HAVE_SYS_UCONTEXT_H
6978 #include <sys/ucontext.h>
6979 #endif
6981 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6982 cat >>confdefs.h <<_ACEOF
6983 #define HAVE_SYS_THR_H 1
6984 _ACEOF
6988 done
6991 for ac_header in pthread_np.h
6992 do :
6993 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6994 #include <pthread.h>
6995 #endif
6997 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6998 cat >>confdefs.h <<_ACEOF
6999 #define HAVE_PTHREAD_NP_H 1
7000 _ACEOF
7004 done
7007 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7008 do :
7009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7011 #include <sys/time.h>
7012 #endif
7013 #include <sys/types.h>
7014 #ifdef HAVE_ASM_TYPES_H
7015 #include <asm/types.h>
7016 #endif
7018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7021 _ACEOF
7025 done
7028 for ac_header in libprocstat.h
7029 do :
7030 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7031 #include <sys/param.h>
7032 #endif
7033 #ifdef HAVE_SYS_QUEUE_H
7034 #include <sys/queue.h>
7035 #endif
7036 #ifdef HAVE_SYS_SOCKET_H
7037 #include <sys/socket.h>
7038 #endif
7040 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7041 cat >>confdefs.h <<_ACEOF
7042 #define HAVE_LIBPROCSTAT_H 1
7043 _ACEOF
7047 done
7051 dlldir="\${libdir}/wine"
7053 DLLPREFIX=""
7055 DLLFLAGS="-D_REENTRANT"
7057 LDRPATH_INSTALL=""
7059 LDRPATH_LOCAL=""
7061 LIBEXT="so"
7062 DLLEXT=".so"
7063 IMPLIBEXT="def"
7064 STATIC_IMPLIBEXT="def.a"
7065 # Extract the first word of "ldd", so it can be a program name with args.
7066 set dummy ldd; ac_word=$2
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 $as_echo_n "checking for $ac_word... " >&6; }
7069 if ${ac_cv_path_LDD+:} false; then :
7070 $as_echo_n "(cached) " >&6
7071 else
7072 case $LDD in
7073 [\\/]* | ?:[\\/]*)
7074 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 as_dummy="/sbin:/usr/sbin:$PATH"
7079 for as_dir in $as_dummy
7081 IFS=$as_save_IFS
7082 test -z "$as_dir" && as_dir=.
7083 for ac_exec_ext in '' $ac_executable_extensions; do
7084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7085 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087 break 2
7089 done
7090 done
7091 IFS=$as_save_IFS
7093 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7095 esac
7097 LDD=$ac_cv_path_LDD
7098 if test -n "$LDD"; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7100 $as_echo "$LDD" >&6; }
7101 else
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103 $as_echo "no" >&6; }
7107 if test -n "$ac_tool_prefix"; then
7108 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7109 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 $as_echo_n "checking for $ac_word... " >&6; }
7112 if ${ac_cv_prog_READELF+:} false; then :
7113 $as_echo_n "(cached) " >&6
7114 else
7115 if test -n "$READELF"; then
7116 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7117 else
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 for as_dir in $PATH
7121 IFS=$as_save_IFS
7122 test -z "$as_dir" && as_dir=.
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127 break 2
7129 done
7130 done
7131 IFS=$as_save_IFS
7135 READELF=$ac_cv_prog_READELF
7136 if test -n "$READELF"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7138 $as_echo "$READELF" >&6; }
7139 else
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7146 if test -z "$ac_cv_prog_READELF"; then
7147 ac_ct_READELF=$READELF
7148 # Extract the first word of "readelf", so it can be a program name with args.
7149 set dummy readelf; ac_word=$2
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7153 $as_echo_n "(cached) " >&6
7154 else
7155 if test -n "$ac_ct_READELF"; then
7156 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7157 else
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 for as_dir in $PATH
7161 IFS=$as_save_IFS
7162 test -z "$as_dir" && as_dir=.
7163 for ac_exec_ext in '' $ac_executable_extensions; do
7164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165 ac_cv_prog_ac_ct_READELF="readelf"
7166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 break 2
7169 done
7170 done
7171 IFS=$as_save_IFS
7175 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7176 if test -n "$ac_ct_READELF"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7178 $as_echo "$ac_ct_READELF" >&6; }
7179 else
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7184 if test "x$ac_ct_READELF" = x; then
7185 READELF="true"
7186 else
7187 case $cross_compiling:$ac_tool_warned in
7188 yes:)
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned=yes ;;
7192 esac
7193 READELF=$ac_ct_READELF
7195 else
7196 READELF="$ac_cv_prog_READELF"
7199 wine_rules_file=conf$$rules.make
7200 rm -f $wine_rules_file
7201 ALL_POT_FILES=""
7202 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7203 ALL_TEST_RESOURCES=""
7206 wine_fn_append_file ()
7208 as_fn_append $1 " \\$as_nl $2"
7211 wine_fn_ignore_file ()
7213 case "$1" in
7214 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7215 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7216 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7217 esac
7220 wine_fn_append_rule ()
7222 $as_echo "$1" >>$wine_rules_file
7225 wine_fn_has_flag ()
7227 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7230 wine_fn_depend_rules ()
7232 wine_fn_append_rule \
7233 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7234 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7235 depend: $ac_dir/depend
7236 .PHONY: $ac_dir/depend
7237 $ac_dir/depend: \$(MAKEDEP) dummy
7238 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7241 wine_fn_pot_rules ()
7243 test "x$with_gettextpo" = xyes || return
7245 if wine_fn_has_flag mc
7246 then
7247 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7248 wine_fn_append_rule \
7249 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7250 @cd $ac_dir && \$(MAKE) msg.pot
7251 $ac_dir/msg.pot: tools/wmc include"
7253 if wine_fn_has_flag po
7254 then
7255 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7256 wine_fn_append_rule \
7257 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7258 @cd $ac_dir && \$(MAKE) rsrc.pot
7259 $ac_dir/rsrc.pot: tools/wrc include"
7263 wine_fn_all_rules ()
7265 wine_fn_depend_rules
7266 wine_fn_append_rule \
7267 "all: $ac_dir
7268 .PHONY: $ac_dir
7269 $ac_dir: $ac_dir/Makefile dummy
7270 @cd $ac_dir && \$(MAKE)"
7273 wine_fn_install_rules ()
7275 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install $ac_dir/uninstall
7279 $ac_dir/install:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install
7281 $ac_dir/uninstall:: $ac_dir/Makefile
7282 @cd $ac_dir && \$(MAKE) uninstall
7283 install:: $ac_dir/install
7284 __uninstall__: $ac_dir/uninstall"
7286 if wine_fn_has_flag install-lib
7287 then
7288 wine_fn_append_rule \
7289 ".PHONY: $ac_dir/install-lib
7290 $ac_dir/install-lib:: $ac_dir
7291 @cd $ac_dir && \$(MAKE) install-lib
7292 install-lib:: $ac_dir/install-lib"
7295 if wine_fn_has_flag install-dev
7296 then
7297 wine_fn_append_rule \
7298 ".PHONY: $ac_dir/install-dev
7299 $ac_dir/install-dev:: $ac_dir
7300 @cd $ac_dir && \$(MAKE) install-dev
7301 install-dev:: $ac_dir/install-dev"
7305 wine_fn_clean_rules ()
7307 ac_clean=$@
7308 ac_extraclean="$ac_dir/Makefile"
7309 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7310 case $ac_dir in
7311 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7312 esac
7314 if wine_fn_has_flag clean
7315 then
7316 wine_fn_append_rule \
7317 "__clean__: $ac_dir/clean
7318 .PHONY: $ac_dir/clean
7319 $ac_dir/clean: $ac_dir/Makefile
7320 @cd $ac_dir && \$(MAKE) clean
7321 \$(RM) $ac_extraclean"
7322 else
7323 wine_fn_append_rule \
7324 "__clean__: $ac_dir/clean
7325 .PHONY: $ac_dir/clean
7326 $ac_dir/clean: dummy
7327 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7331 wine_fn_disabled_rules ()
7333 ac_clean=$@
7334 ac_extraclean="$ac_dir/Makefile"
7335 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7337 wine_fn_append_rule \
7338 "__clean__: $ac_dir/clean
7339 .PHONY: $ac_dir/clean
7340 $ac_dir/clean: dummy
7341 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7344 wine_fn_config_makefile ()
7346 ac_dir=$1
7347 ac_enable=$2
7348 ac_flags=$3
7350 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7351 wine_fn_disabled_rules; return
7353 wine_fn_all_rules
7354 wine_fn_install_rules
7355 wine_fn_clean_rules
7358 wine_fn_config_lib ()
7360 ac_name=$1
7361 ac_flags=$2
7362 ac_dir=dlls/$ac_name
7363 ac_deps="include"
7365 if test "x$enable_tools" = xno; then :
7367 else
7368 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7370 wine_fn_all_rules
7371 wine_fn_clean_rules
7373 wine_fn_append_rule \
7374 ".PHONY: $ac_dir/install $ac_dir/uninstall
7375 $ac_dir/install:: $ac_dir
7376 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7377 $ac_dir/uninstall::
7378 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7379 install install-dev:: $ac_dir/install
7380 __uninstall__: $ac_dir/uninstall
7381 __builddeps__: $ac_dir
7382 $ac_dir: $ac_deps"
7385 wine_fn_config_dll ()
7387 ac_name=$1
7388 ac_dir=dlls/$ac_name
7389 ac_enable=$2
7390 ac_flags=$3
7391 ac_implib=${4:-$ac_name}
7392 ac_file=$ac_dir/lib$ac_implib
7393 ac_dll=$ac_name
7394 ac_deps="include"
7395 ac_implibflags=""
7397 if test "x$enable_tools" = xno; then :
7399 else
7400 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7402 case $ac_name in
7403 *16) ac_implibflags=" -m16" ;;
7404 *.*) ;;
7405 *) ac_dll=$ac_dll.dll ;;
7406 esac
7408 ac_clean=
7409 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7410 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7411 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7412 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7414 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7415 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7416 then
7417 wine_fn_depend_rules
7418 wine_fn_clean_rules $ac_clean
7419 else
7420 wine_fn_disabled_rules $ac_clean
7421 return
7423 else
7424 wine_fn_all_rules
7425 wine_fn_clean_rules $ac_clean
7426 wine_fn_append_rule \
7427 "$ac_dir: __builddeps__
7428 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7429 @cd $ac_dir && \$(MAKE) \$@
7430 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7431 install install-lib:: $ac_dir/install-lib
7432 __uninstall__: $ac_dir/uninstall"
7433 if test -n "$DLLEXT"
7434 then
7435 wine_fn_append_rule \
7436 "$ac_dir/install-lib:: $ac_dir
7437 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7438 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7439 $ac_dir/uninstall::
7440 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7441 else
7442 wine_fn_append_rule \
7443 "$ac_dir/install-lib:: $ac_dir
7444 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7445 $ac_dir/uninstall::
7446 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7449 wine_fn_pot_rules
7452 if wine_fn_has_flag staticimplib
7453 then
7454 wine_fn_append_rule \
7455 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7456 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7457 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7458 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7459 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7460 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7461 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7462 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7463 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7466 install install-dev:: $ac_dir/install-dev
7467 __uninstall__: $ac_dir/uninstall"
7469 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7470 then
7471 wine_fn_append_rule \
7472 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7473 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7474 $ac_dir/uninstall::
7475 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7478 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7479 then
7480 wine_fn_append_rule \
7481 "__builddeps__: $ac_file.cross.a
7482 $ac_file.cross.a: $ac_dir/Makefile dummy
7483 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7486 elif wine_fn_has_flag implib
7487 then
7488 wine_fn_append_rule \
7489 "__builddeps__: $ac_file.$IMPLIBEXT
7490 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7491 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7492 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7494 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7495 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7496 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7497 $ac_dir/uninstall::
7498 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7499 install install-dev:: $ac_dir/install-dev
7500 __uninstall__: $ac_dir/uninstall"
7501 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7502 then
7503 wine_fn_append_rule \
7504 "__builddeps__: $ac_file.cross.a
7505 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7506 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7509 if test "$ac_name" != "$ac_implib"
7510 then
7511 wine_fn_append_rule \
7512 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7513 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7514 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7515 clean::
7516 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7517 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7518 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7519 then
7520 wine_fn_append_rule \
7521 "__builddeps__: dlls/lib$ac_implib.cross.a
7522 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7523 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7524 clean::
7525 \$(RM) dlls/lib$ac_implib.cross.a"
7526 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7532 wine_fn_config_program ()
7534 ac_name=$1
7535 ac_dir=programs/$ac_name
7536 ac_enable=$2
7537 ac_flags=$3
7538 ac_program=$ac_name
7540 case $ac_name in
7541 *.*) ;;
7542 *) ac_program=$ac_program.exe ;;
7543 esac
7545 ac_clean=
7546 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7547 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7548 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7549 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7551 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7552 wine_fn_disabled_rules $ac_clean; return
7555 wine_fn_all_rules
7556 wine_fn_clean_rules $ac_clean
7557 wine_fn_append_rule "$ac_dir: __builddeps__"
7558 wine_fn_pot_rules
7560 wine_fn_has_flag install || return
7561 wine_fn_append_rule \
7562 ".PHONY: $ac_dir/install $ac_dir/uninstall
7563 install install-lib:: $ac_dir/install
7564 __uninstall__: $ac_dir/uninstall"
7566 if test -n "$DLLEXT"
7567 then
7568 wine_fn_append_rule \
7569 "$ac_dir/install:: $ac_dir
7570 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7571 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7572 $ac_dir/uninstall::
7573 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7575 if test -z "$with_wine64" && wine_fn_has_flag installbin
7576 then
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: __tooldeps__
7579 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7580 $ac_dir/uninstall::
7581 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7583 else
7584 wine_fn_append_rule \
7585 "$ac_dir/install:: $ac_dir
7586 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7587 $ac_dir/uninstall::
7588 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7591 if test -z "$with_wine64" && wine_fn_has_flag manpage
7592 then
7593 wine_fn_append_rule \
7594 "$ac_dir/install:: $ac_dir
7595 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7596 $ac_dir/uninstall::
7597 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7601 wine_fn_config_test ()
7603 ac_dir=$1
7604 ac_name=$2
7605 ac_flags=$3
7607 ac_clean=
7608 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7609 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7611 if test "x$enable_tests" = xno; then :
7612 wine_fn_disabled_rules $ac_clean; return
7615 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7616 wine_fn_all_rules
7617 wine_fn_clean_rules $ac_clean
7619 wine_fn_append_rule \
7620 "$ac_dir: programs/winetest/Makefile __builddeps__
7621 programs/winetest: $ac_dir
7622 check test: $ac_dir/test
7623 .PHONY: $ac_dir/test
7624 $ac_dir/test: dummy
7625 @cd $ac_dir && \$(MAKE) test
7626 testclean::
7627 \$(RM) $ac_dir/*.ok"
7629 if test -n "$CROSSTARGET"
7630 then
7631 wine_fn_append_rule \
7632 "crosstest: $ac_dir/crosstest
7633 .PHONY: $ac_dir/crosstest
7634 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7635 @cd $ac_dir && \$(MAKE) crosstest"
7639 wine_fn_config_tool ()
7641 ac_dir=$1
7642 ac_flags=$2
7643 if test "x$enable_tools" = xno; then :
7644 return
7647 wine_fn_all_rules
7648 wine_fn_install_rules
7649 wine_fn_clean_rules
7651 wine_fn_append_rule "__tooldeps__: $ac_dir"
7652 wine_fn_append_rule "$ac_dir: libs/port"
7653 case $ac_dir in
7654 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7655 esac
7658 wine_fn_config_symlink ()
7660 ac_linkdir=
7661 if test "x$1" = "x-d"
7662 then
7663 ac_linkdir=$2
7664 shift; shift
7666 ac_links=$@
7667 wine_fn_append_rule \
7668 "$ac_links:
7669 @./config.status \$@
7670 distclean::
7671 \$(RM) $ac_links"
7672 for f in $ac_links; do wine_fn_ignore_file $f; done
7673 test -n "$ac_linkdir" || return
7674 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7677 wine_binary="wine"
7678 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7679 loader_programs="$wine_binary wine-installed"
7680 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7682 LOADER_RULES="
7683 all: wine.inf
7685 install install-lib:: wine-installed
7686 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7688 uninstall::
7689 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7693 case $host_os in
7694 cygwin*|mingw32*)
7695 if test -n "$ac_tool_prefix"; then
7696 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7697 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 $as_echo_n "checking for $ac_word... " >&6; }
7700 if ${ac_cv_prog_DLLTOOL+:} false; then :
7701 $as_echo_n "(cached) " >&6
7702 else
7703 if test -n "$DLLTOOL"; then
7704 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7705 else
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7707 for as_dir in $PATH
7709 IFS=$as_save_IFS
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7715 break 2
7717 done
7718 done
7719 IFS=$as_save_IFS
7723 DLLTOOL=$ac_cv_prog_DLLTOOL
7724 if test -n "$DLLTOOL"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7726 $as_echo "$DLLTOOL" >&6; }
7727 else
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7729 $as_echo "no" >&6; }
7734 if test -z "$ac_cv_prog_DLLTOOL"; then
7735 ac_ct_DLLTOOL=$DLLTOOL
7736 # Extract the first word of "dlltool", so it can be a program name with args.
7737 set dummy dlltool; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7741 $as_echo_n "(cached) " >&6
7742 else
7743 if test -n "$ac_ct_DLLTOOL"; then
7744 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7745 else
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747 for as_dir in $PATH
7749 IFS=$as_save_IFS
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7753 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 break 2
7757 done
7758 done
7759 IFS=$as_save_IFS
7763 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7764 if test -n "$ac_ct_DLLTOOL"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7766 $as_echo "$ac_ct_DLLTOOL" >&6; }
7767 else
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7772 if test "x$ac_ct_DLLTOOL" = x; then
7773 DLLTOOL="false"
7774 else
7775 case $cross_compiling:$ac_tool_warned in
7776 yes:)
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7779 ac_tool_warned=yes ;;
7780 esac
7781 DLLTOOL=$ac_ct_DLLTOOL
7783 else
7784 DLLTOOL="$ac_cv_prog_DLLTOOL"
7787 LIBEXT="dll"
7788 DLLEXT=""
7789 IMPLIBEXT="a"
7790 STATIC_IMPLIBEXT="a"
7791 enable_iphlpapi=${enable_iphlpapi:-no}
7792 enable_kernel32=${enable_kernel32:-no}
7793 enable_msvcrt=${enable_msvcrt:-no}
7794 enable_ntdll=${enable_ntdll:-no}
7795 enable_ws2_32=${enable_ws2_32:-no}
7796 enable_loader=${enable_loader:-no}
7797 enable_server=${enable_server:-no}
7798 with_x=${with_x:-no}
7799 with_pthread=${with_pthread:-no}
7801 crtlibs=""
7802 case $host_os in
7803 mingw32*)
7804 crtlibs="-lmsvcrt"
7805 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7807 esac
7809 libwine_targets="libwine.dll libwine.a"
7810 LIBWINE_RULES="
7811 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7813 all: libwine.dll libwine.a
7815 libwine.a: \$(srcdir)/wine.def
7816 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7818 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7819 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7821 install install-lib:: libwine.dll
7822 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7824 install install-dev:: libwine.a
7825 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7827 uninstall::
7828 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7833 darwin*|macosx*)
7834 LIBEXT="dylib"
7835 DLLFLAGS="$DLLFLAGS -fPIC"
7836 LIBWINE_LDFLAGS="-multiply_defined suppress"
7837 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7838 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7839 COREFOUNDATION_LIBS="-framework CoreFoundation"
7841 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7843 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7845 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7847 CORESERVICES_LIBS="-framework CoreServices"
7849 APPKIT_LIBS="-framework AppKit"
7851 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7853 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7854 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 ac_wine_try_cflags_saved=$CFLAGS
7858 CFLAGS="$CFLAGS -Wl,-no_pie"
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 int main(int argc, char **argv) { return 0; }
7862 _ACEOF
7863 if ac_fn_c_try_link "$LINENO"; then :
7864 ac_cv_cflags__Wl__no_pie=yes
7865 else
7866 ac_cv_cflags__Wl__no_pie=no
7868 rm -f core conftest.err conftest.$ac_objext \
7869 conftest$ac_exeext conftest.$ac_ext
7870 CFLAGS=$ac_wine_try_cflags_saved
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7873 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7874 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7875 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7877 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7878 then
7879 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7882 if test "$ac_cv_header_Security_Security_h" = "yes"
7883 then
7884 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7886 ac_save_LIBS="$LIBS"
7887 LIBS="$LIBS $SECURITY_LIBS"
7888 for ac_func in SSLCopyPeerCertificates
7889 do :
7890 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7891 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7892 cat >>confdefs.h <<_ACEOF
7893 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7894 _ACEOF
7897 done
7899 LIBS="$ac_save_LIBS"
7900 with_gnutls=${with_gnutls:-no}
7902 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7903 then
7904 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7905 then
7906 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7908 else
7909 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7912 ac_save_LIBS="$LIBS"
7913 LIBS="$LIBS $COREAUDIO_LIBS"
7914 for ac_func in AUGraphAddNode
7915 do :
7916 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7917 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7918 cat >>confdefs.h <<_ACEOF
7919 #define HAVE_AUGRAPHADDNODE 1
7920 _ACEOF
7923 done
7925 LIBS="$ac_save_LIBS"
7927 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7928 then
7929 OPENAL_LIBS="-framework OpenAL"
7932 cat >>confdefs.h <<_ACEOF
7933 #define HAVE_OPENAL 1
7934 _ACEOF
7936 ac_cv_lib_openal=yes
7938 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7939 then
7940 OPENCL_LIBS="-framework OpenCL"
7942 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7944 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7945 then
7946 ac_save_LIBS="$LIBS"
7947 LIBS="$LIBS $IOKIT_LIBS"
7948 for ac_func in IOHIDManagerCreate
7949 do :
7950 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7951 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7952 cat >>confdefs.h <<_ACEOF
7953 #define HAVE_IOHIDMANAGERCREATE 1
7954 _ACEOF
7957 done
7959 LIBS="$ac_save_LIBS"
7961 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7962 then
7963 ac_save_LIBS="$LIBS"
7964 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7966 $as_echo_n "checking for the QuickTime framework... " >&6; }
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7969 #include <QuickTime/ImageCompression.h>
7971 main ()
7973 CodecManagerVersion(NULL);
7975 return 0;
7977 _ACEOF
7978 if ac_fn_c_try_link "$LINENO"; then :
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7980 $as_echo "yes" >&6; }
7981 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7983 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7984 else
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7987 ac_cv_header_QuickTime_ImageCompression_h=no
7989 rm -f core conftest.err conftest.$ac_objext \
7990 conftest$ac_exeext conftest.$ac_ext
7991 LIBS="$ac_save_LIBS"
7993 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7994 then
7995 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7997 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7998 then
7999 CARBON_LIBS="-framework Carbon"
8003 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8004 then
8005 ac_save_LIBS="$LIBS"
8006 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8007 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8008 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8009 enable_winemac_drv=${enable_winemac_drv:-yes}
8012 LIBS="$ac_save_LIBS"
8015 if test "x$enable_win16" = "xyes"
8016 then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8018 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8019 if test "$cross_compiling" = yes; then :
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8021 $as_echo "cross-compiling, assuming yes" >&6; }
8022 else
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8025 asm(".text\n"
8026 "bad:\tnop;nop\n"
8027 "good:\tnop;nop\n\t"
8028 ".globl _testfunc\n"
8029 "_testfunc:\tcallw good");
8030 extern void testfunc();
8032 main ()
8034 unsigned short *p = (unsigned short *)testfunc;
8035 return p[0] != 0xe866 || p[1] != 0xfffa
8037 return 0;
8039 _ACEOF
8040 if ac_fn_c_try_run "$LINENO"; then :
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8042 $as_echo "yes" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8046 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
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8054 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8055 LIBWINE_RULES="
8056 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8058 all: libwine.dylib
8060 libwine.$libwine_version.dylib: \$(OBJS)
8061 \$(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 \$@
8063 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8064 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8066 libwine.dylib: libwine.$libwine_soversion.dylib
8067 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8069 install install-lib:: libwine.$libwine_version.dylib
8070 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8071 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8073 install install-dev::
8074 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8076 uninstall::
8077 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8081 as_fn_append LOADER_RULES "
8082 $wine_binary: main.o wine_info.plist
8083 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8085 wine-installed: main.o wine_info.plist
8086 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8090 linux-android*)
8091 DLLFLAGS="$DLLFLAGS -fPIC"
8092 DLLPREFIX="lib"
8093 LDEXECFLAGS=""
8094 dlldir="\${libdir}"
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8096 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8097 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8098 $as_echo_n "(cached) " >&6
8099 else
8100 ac_wine_try_cflags_saved=$CFLAGS
8101 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 int main(int argc, char **argv) { return 0; }
8105 _ACEOF
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8108 else
8109 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8111 rm -f core conftest.err conftest.$ac_objext \
8112 conftest$ac_exeext conftest.$ac_ext
8113 CFLAGS=$ac_wine_try_cflags_saved
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8116 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8117 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8118 LDEXECFLAGS="-Wl,--export-dynamic"
8120 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8122 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8123 if eval \${$as_ac_var+:} false; then :
8124 $as_echo_n "(cached) " >&6
8125 else
8126 ac_wine_try_cflags_saved=$CFLAGS
8127 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8130 int main(int argc, char **argv) { return 0; }
8131 _ACEOF
8132 if ac_fn_c_try_link "$LINENO"; then :
8133 eval "$as_ac_var=yes"
8134 else
8135 eval "$as_ac_var=no"
8137 rm -f core conftest.err conftest.$ac_objext \
8138 conftest$ac_exeext conftest.$ac_ext
8139 CFLAGS=$ac_wine_try_cflags_saved
8141 eval ac_res=\$$as_ac_var
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8143 $as_echo "$ac_res" >&6; }
8144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8145 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8146 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8147 else
8148 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8150 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8151 if eval \${$as_ac_var+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 ac_wine_try_cflags_saved=$CFLAGS
8155 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8158 int main(int argc, char **argv) { return 0; }
8159 _ACEOF
8160 if ac_fn_c_try_link "$LINENO"; then :
8161 eval "$as_ac_var=yes"
8162 else
8163 eval "$as_ac_var=no"
8165 rm -f core conftest.err conftest.$ac_objext \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 eval ac_res=\$$as_ac_var
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8171 $as_echo "$ac_res" >&6; }
8172 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8173 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8174 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8179 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8180 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 ac_cv_cflags__Wl___enable_new_dtags=yes
8191 else
8192 ac_cv_cflags__Wl___enable_new_dtags=no
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8199 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8200 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8201 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8204 case $host_cpu in
8205 *i[3456789]86* | x86_64)
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8207 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8208 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8209 $as_echo_n "(cached) " >&6
8210 else
8211 ac_wine_try_cflags_saved=$CFLAGS
8212 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 int main(int argc, char **argv) { return 0; }
8216 _ACEOF
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8219 else
8220 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8224 CFLAGS=$ac_wine_try_cflags_saved
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8227 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8228 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8229 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8232 esac
8234 libwine_targets="libwine.so"
8235 LIBWINE_RULES="
8236 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8238 all: libwine.so
8240 libwine.so: \$(OBJS)
8241 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8243 install install-lib:: libwine.so
8244 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8246 uninstall::
8247 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8251 as_fn_append LOADER_RULES "
8252 $wine_binary: main.o
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8255 wine-installed: main.o
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8261 DLLFLAGS="$DLLFLAGS -fPIC"
8262 LDEXECFLAGS=""
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8264 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8265 if ${ac_cv_c_dll_gnuelf+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 void myfunc() {}
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 ac_cv_c_dll_gnuelf="yes"
8276 else
8277 ac_cv_c_dll_gnuelf="no"
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8284 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8285 if test "$ac_cv_c_dll_gnuelf" = "yes"
8286 then
8287 LDSHARED="\$(CC) -shared"
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8290 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8301 else
8302 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8309 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8310 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8311 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8314 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8315 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 ac_wine_try_cflags_saved=$CFLAGS
8319 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8326 else
8327 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 CFLAGS=$ac_wine_try_cflags_saved
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8334 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8335 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8336 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8340 echo '{ global: *; };' >conftest.map
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8342 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8343 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8354 else
8355 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8362 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8363 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8364 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8366 rm -f conftest.map
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8370 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 ac_wine_try_cflags_saved=$CFLAGS
8374 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8381 else
8382 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 CFLAGS=$ac_wine_try_cflags_saved
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8389 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8390 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8391 LDEXECFLAGS="-Wl,--export-dynamic"
8394 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8396 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8397 if eval \${$as_ac_var+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 eval "$as_ac_var=yes"
8408 else
8409 eval "$as_ac_var=no"
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 eval ac_res=\$$as_ac_var
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8417 $as_echo "$ac_res" >&6; }
8418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8419 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8420 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8421 else
8422 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8424 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8425 if eval \${$as_ac_var+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 int main(int argc, char **argv) { return 0; }
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 eval "$as_ac_var=yes"
8436 else
8437 eval "$as_ac_var=no"
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 eval ac_res=\$$as_ac_var
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8445 $as_echo "$ac_res" >&6; }
8446 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8447 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8448 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8453 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8454 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_cflags__Wl___enable_new_dtags=yes
8465 else
8466 ac_cv_cflags__Wl___enable_new_dtags=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8473 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8474 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8475 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8478 case $host_cpu in
8479 *i[3456789]86* | x86_64)
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8481 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8482 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8483 $as_echo_n "(cached) " >&6
8484 else
8485 ac_wine_try_cflags_saved=$CFLAGS
8486 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 int main(int argc, char **argv) { return 0; }
8490 _ACEOF
8491 if ac_fn_c_try_link "$LINENO"; then :
8492 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8493 else
8494 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8496 rm -f core conftest.err conftest.$ac_objext \
8497 conftest$ac_exeext conftest.$ac_ext
8498 CFLAGS=$ac_wine_try_cflags_saved
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8501 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8502 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8503 case $host_os in
8504 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8505 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8506 esac
8509 # Extract the first word of "prelink", so it can be a program name with args.
8510 set dummy prelink; ac_word=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8512 $as_echo_n "checking for $ac_word... " >&6; }
8513 if ${ac_cv_path_PRELINK+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 case $PRELINK in
8517 [\\/]* | ?:[\\/]*)
8518 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8522 for as_dir in /sbin /usr/sbin $PATH
8524 IFS=$as_save_IFS
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8528 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8530 break 2
8532 done
8533 done
8534 IFS=$as_save_IFS
8536 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8538 esac
8540 PRELINK=$ac_cv_path_PRELINK
8541 if test -n "$PRELINK"; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8543 $as_echo "$PRELINK" >&6; }
8544 else
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8546 $as_echo "no" >&6; }
8550 if test "x$PRELINK" = xfalse
8551 then
8552 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8555 esac
8557 else
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8559 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8560 if ${ac_cv_c_dll_unixware+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8567 void myfunc() {}
8568 _ACEOF
8569 if ac_fn_c_try_link "$LINENO"; then :
8570 ac_cv_c_dll_unixware="yes"
8571 else
8572 ac_cv_c_dll_unixware="no"
8574 rm -f core conftest.err conftest.$ac_objext \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8579 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8580 if test "$ac_cv_c_dll_unixware" = "yes"
8581 then
8582 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8585 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8586 LIBWINE_RULES="
8587 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8589 all: libwine.so
8591 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8592 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8594 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8595 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8597 libwine.so: libwine.so.$libwine_soversion
8598 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8600 install install-lib:: libwine.so.$libwine_version
8601 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8602 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8604 install install-dev::
8605 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8607 uninstall::
8608 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8612 as_fn_append LOADER_RULES "
8613 $wine_binary: main.o
8614 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8616 wine-installed: main.o
8617 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8620 esac
8622 as_fn_append LIBWINE_RULES "
8623 EXTRA_TARGETS = $libwine_targets
8626 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8627 enable_winemac_drv=${enable_winemac_drv:-no}
8629 CROSSTARGET=""
8631 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8632 then
8633 case "$host_cpu" in
8634 i[3456789]86*)
8635 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
8636 mingw32-gcc" ;;
8637 x86_64)
8638 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 " ;;
8640 ac_prefix_list="" ;;
8641 esac
8642 for ac_prog in $ac_prefix_list
8644 # Extract the first word of "$ac_prog", so it can be a program name with args.
8645 set dummy $ac_prog; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_CROSSCC+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 if test -n "$CROSSCC"; then
8652 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8653 else
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 for as_dir in $PATH
8657 IFS=$as_save_IFS
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_CROSSCC="$ac_prog"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8663 break 2
8665 done
8666 done
8667 IFS=$as_save_IFS
8671 CROSSCC=$ac_cv_prog_CROSSCC
8672 if test -n "$CROSSCC"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8674 $as_echo "$CROSSCC" >&6; }
8675 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8681 test -n "$CROSSCC" && break
8682 done
8683 test -n "$CROSSCC" || CROSSCC="false"
8685 if test "$CROSSCC" != "false"
8686 then
8687 ac_save_CC="$CC"
8688 CC="$CROSSCC"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8690 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8695 main ()
8699 return 0;
8701 _ACEOF
8702 if ac_fn_c_try_compile "$LINENO"; then :
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8704 $as_echo "yes" >&6; }
8705 set x $CROSSCC
8706 shift
8707 while test $# -ge 1
8709 case "$1" in
8710 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8711 esac
8712 shift
8713 done
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8716 $as_echo "no" >&6; }
8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8719 CC="$ac_save_CC"
8724 if test "$ac_cv_header_pthread_h" = "yes"
8725 then
8726 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8727 if test "x$ac_cv_func_pthread_create" = xyes; then :
8729 else
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8731 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8732 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_check_lib_save_LIBS=$LIBS
8736 LIBS="-lpthread $LIBS"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8740 /* Override any GCC internal prototype to avoid an error.
8741 Use char because int might match the return type of a GCC
8742 builtin and then its argument prototype would still apply. */
8743 #ifdef __cplusplus
8744 extern "C"
8745 #endif
8746 char pthread_create ();
8748 main ()
8750 return pthread_create ();
8752 return 0;
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_lib_pthread_pthread_create=yes
8757 else
8758 ac_cv_lib_pthread_pthread_create=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 LIBS=$ac_check_lib_save_LIBS
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8765 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8766 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8767 PTHREAD_LIBS="-lpthread"
8774 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8775 case "x$with_pthread" in
8776 xno) ;;
8777 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8778 Wine cannot support threads without libpthread.
8779 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8780 esac
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8785 $as_echo_n "checking for X... " >&6; }
8788 # Check whether --with-x was given.
8789 if test "${with_x+set}" = set; then :
8790 withval=$with_x;
8793 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8794 if test "x$with_x" = xno; then
8795 # The user explicitly disabled X.
8796 have_x=disabled
8797 else
8798 case $x_includes,$x_libraries in #(
8799 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8800 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 # One or both of the vars are not set, and there is no cached value.
8804 ac_x_includes=no ac_x_libraries=no
8805 rm -f -r conftest.dir
8806 if mkdir conftest.dir; then
8807 cd conftest.dir
8808 cat >Imakefile <<'_ACEOF'
8809 incroot:
8810 @echo incroot='${INCROOT}'
8811 usrlibdir:
8812 @echo usrlibdir='${USRLIBDIR}'
8813 libdir:
8814 @echo libdir='${LIBDIR}'
8815 _ACEOF
8816 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8818 for ac_var in incroot usrlibdir libdir; do
8819 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8820 done
8821 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8822 for ac_extension in a so sl dylib la dll; do
8823 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8824 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8825 ac_im_usrlibdir=$ac_im_libdir; break
8827 done
8828 # Screen out bogus values from the imake configuration. They are
8829 # bogus both because they are the default anyway, and because
8830 # using them would break gcc on systems where it needs fixed includes.
8831 case $ac_im_incroot in
8832 /usr/include) ac_x_includes= ;;
8833 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8834 esac
8835 case $ac_im_usrlibdir in
8836 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8837 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8838 esac
8840 cd ..
8841 rm -f -r conftest.dir
8844 # Standard set of common directories for X headers.
8845 # Check X11 before X11Rn because it is often a symlink to the current release.
8846 ac_x_header_dirs='
8847 /usr/X11/include
8848 /usr/X11R7/include
8849 /usr/X11R6/include
8850 /usr/X11R5/include
8851 /usr/X11R4/include
8853 /usr/include/X11
8854 /usr/include/X11R7
8855 /usr/include/X11R6
8856 /usr/include/X11R5
8857 /usr/include/X11R4
8859 /usr/local/X11/include
8860 /usr/local/X11R7/include
8861 /usr/local/X11R6/include
8862 /usr/local/X11R5/include
8863 /usr/local/X11R4/include
8865 /usr/local/include/X11
8866 /usr/local/include/X11R7
8867 /usr/local/include/X11R6
8868 /usr/local/include/X11R5
8869 /usr/local/include/X11R4
8871 /usr/X386/include
8872 /usr/x386/include
8873 /usr/XFree86/include/X11
8875 /usr/include
8876 /usr/local/include
8877 /usr/unsupported/include
8878 /usr/athena/include
8879 /usr/local/x11r5/include
8880 /usr/lpp/Xamples/include
8882 /usr/openwin/include
8883 /usr/openwin/share/include'
8885 if test "$ac_x_includes" = no; then
8886 # Guess where to find include files, by looking for Xlib.h.
8887 # First, try using that file with no special directory specified.
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8890 #include <X11/Xlib.h>
8891 _ACEOF
8892 if ac_fn_c_try_cpp "$LINENO"; then :
8893 # We can compile using X headers with no special include directory.
8894 ac_x_includes=
8895 else
8896 for ac_dir in $ac_x_header_dirs; do
8897 if test -r "$ac_dir/X11/Xlib.h"; then
8898 ac_x_includes=$ac_dir
8899 break
8901 done
8903 rm -f conftest.err conftest.i conftest.$ac_ext
8904 fi # $ac_x_includes = no
8906 if test "$ac_x_libraries" = no; then
8907 # Check for the libraries.
8908 # See if we find them without any special options.
8909 # Don't add to $LIBS permanently.
8910 ac_save_LIBS=$LIBS
8911 LIBS="-lX11 $LIBS"
8912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8914 #include <X11/Xlib.h>
8916 main ()
8918 XrmInitialize ()
8920 return 0;
8922 _ACEOF
8923 if ac_fn_c_try_link "$LINENO"; then :
8924 LIBS=$ac_save_LIBS
8925 # We can link X programs with no special library path.
8926 ac_x_libraries=
8927 else
8928 LIBS=$ac_save_LIBS
8929 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8931 # Don't even attempt the hair of trying to link an X program!
8932 for ac_extension in a so sl dylib la dll; do
8933 if test -r "$ac_dir/libX11.$ac_extension"; then
8934 ac_x_libraries=$ac_dir
8935 break 2
8937 done
8938 done
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 fi # $ac_x_libraries = no
8944 case $ac_x_includes,$ac_x_libraries in #(
8945 no,* | *,no | *\'*)
8946 # Didn't find X, or a directory has "'" in its name.
8947 ac_cv_have_x="have_x=no";; #(
8949 # Record where we found X for the cache.
8950 ac_cv_have_x="have_x=yes\
8951 ac_x_includes='$ac_x_includes'\
8952 ac_x_libraries='$ac_x_libraries'"
8953 esac
8955 ;; #(
8956 *) have_x=yes;;
8957 esac
8958 eval "$ac_cv_have_x"
8959 fi # $with_x != no
8961 if test "$have_x" != yes; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8963 $as_echo "$have_x" >&6; }
8964 no_x=yes
8965 else
8966 # If each of the values was on the command line, it overrides each guess.
8967 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8968 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8969 # Update the cache value to reflect the command line values.
8970 ac_cv_have_x="have_x=yes\
8971 ac_x_includes='$x_includes'\
8972 ac_x_libraries='$x_libraries'"
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8974 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8977 if test "$no_x" = yes; then
8978 # Not all programs may use this symbol, but it does not hurt to define it.
8980 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8982 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8983 else
8984 if test -n "$x_includes"; then
8985 X_CFLAGS="$X_CFLAGS -I$x_includes"
8988 # It would also be nice to do this for all -L options, not just this one.
8989 if test -n "$x_libraries"; then
8990 X_LIBS="$X_LIBS -L$x_libraries"
8991 # For Solaris; some versions of Sun CC require a space after -R and
8992 # others require no space. Words are not sufficient . . . .
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8994 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8995 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8996 ac_xsave_c_werror_flag=$ac_c_werror_flag
8997 ac_c_werror_flag=yes
8998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8999 /* end confdefs.h. */
9002 main ()
9006 return 0;
9008 _ACEOF
9009 if ac_fn_c_try_link "$LINENO"; then :
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9012 X_LIBS="$X_LIBS -R$x_libraries"
9013 else
9014 LIBS="$ac_xsave_LIBS -R $x_libraries"
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9019 main ()
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_link "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 X_LIBS="$X_LIBS -R $x_libraries"
9030 else
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9032 $as_echo "neither works" >&6; }
9034 rm -f core conftest.err conftest.$ac_objext \
9035 conftest$ac_exeext conftest.$ac_ext
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 ac_c_werror_flag=$ac_xsave_c_werror_flag
9040 LIBS=$ac_xsave_LIBS
9043 # Check for system-dependent libraries X programs must link with.
9044 # Do this before checking for the system-independent R6 libraries
9045 # (-lICE), since we may need -lsocket or whatever for X linking.
9047 if test "$ISC" = yes; then
9048 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9049 else
9050 # Martyn Johnson says this is needed for Ultrix, if the X
9051 # libraries were built with DECnet support. And Karl Berry says
9052 # the Alpha needs dnet_stub (dnet does not exist).
9053 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9057 /* Override any GCC internal prototype to avoid an error.
9058 Use char because int might match the return type of a GCC
9059 builtin and then its argument prototype would still apply. */
9060 #ifdef __cplusplus
9061 extern "C"
9062 #endif
9063 char XOpenDisplay ();
9065 main ()
9067 return XOpenDisplay ();
9069 return 0;
9071 _ACEOF
9072 if ac_fn_c_try_link "$LINENO"; then :
9074 else
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9076 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9077 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_check_lib_save_LIBS=$LIBS
9081 LIBS="-ldnet $LIBS"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9085 /* Override any GCC internal prototype to avoid an error.
9086 Use char because int might match the return type of a GCC
9087 builtin and then its argument prototype would still apply. */
9088 #ifdef __cplusplus
9089 extern "C"
9090 #endif
9091 char dnet_ntoa ();
9093 main ()
9095 return dnet_ntoa ();
9097 return 0;
9099 _ACEOF
9100 if ac_fn_c_try_link "$LINENO"; then :
9101 ac_cv_lib_dnet_dnet_ntoa=yes
9102 else
9103 ac_cv_lib_dnet_dnet_ntoa=no
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 LIBS=$ac_check_lib_save_LIBS
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9110 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9111 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9112 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9115 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9117 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9118 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9119 $as_echo_n "(cached) " >&6
9120 else
9121 ac_check_lib_save_LIBS=$LIBS
9122 LIBS="-ldnet_stub $LIBS"
9123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9129 #ifdef __cplusplus
9130 extern "C"
9131 #endif
9132 char dnet_ntoa ();
9134 main ()
9136 return dnet_ntoa ();
9138 return 0;
9140 _ACEOF
9141 if ac_fn_c_try_link "$LINENO"; then :
9142 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9143 else
9144 ac_cv_lib_dnet_stub_dnet_ntoa=no
9146 rm -f core conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9148 LIBS=$ac_check_lib_save_LIBS
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9151 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9152 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9153 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS="$ac_xsave_LIBS"
9162 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9163 # to get the SysV transport functions.
9164 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9165 # needs -lnsl.
9166 # The nsl library prevents programs from opening the X display
9167 # on Irix 5.2, according to T.E. Dickey.
9168 # The functions gethostbyname, getservbyname, and inet_addr are
9169 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9170 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9171 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9175 if test $ac_cv_func_gethostbyname = no; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9177 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9178 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 ac_check_lib_save_LIBS=$LIBS
9182 LIBS="-lnsl $LIBS"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9186 /* Override any GCC internal prototype to avoid an error.
9187 Use char because int might match the return type of a GCC
9188 builtin and then its argument prototype would still apply. */
9189 #ifdef __cplusplus
9190 extern "C"
9191 #endif
9192 char gethostbyname ();
9194 main ()
9196 return gethostbyname ();
9198 return 0;
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9202 ac_cv_lib_nsl_gethostbyname=yes
9203 else
9204 ac_cv_lib_nsl_gethostbyname=no
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_lib_save_LIBS
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9211 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9212 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9213 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9216 if test $ac_cv_lib_nsl_gethostbyname = no; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9218 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9219 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 ac_check_lib_save_LIBS=$LIBS
9223 LIBS="-lbsd $LIBS"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 char gethostbyname ();
9235 main ()
9237 return gethostbyname ();
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 ac_cv_lib_bsd_gethostbyname=yes
9244 else
9245 ac_cv_lib_bsd_gethostbyname=no
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 LIBS=$ac_check_lib_save_LIBS
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9252 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9253 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9260 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9261 # socket/setsockopt and other routines are undefined under SCO ODT
9262 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9263 # on later versions), says Simon Leinen: it contains gethostby*
9264 # variants that don't use the name server (or something). -lsocket
9265 # must be given before -lnsl if both are needed. We assume that
9266 # if connect needs -lnsl, so does gethostbyname.
9267 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9268 if test "x$ac_cv_func_connect" = xyes; then :
9272 if test $ac_cv_func_connect = no; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9274 $as_echo_n "checking for connect in -lsocket... " >&6; }
9275 if ${ac_cv_lib_socket_connect+:} false; then :
9276 $as_echo_n "(cached) " >&6
9277 else
9278 ac_check_lib_save_LIBS=$LIBS
9279 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9286 #ifdef __cplusplus
9287 extern "C"
9288 #endif
9289 char connect ();
9291 main ()
9293 return connect ();
9295 return 0;
9297 _ACEOF
9298 if ac_fn_c_try_link "$LINENO"; then :
9299 ac_cv_lib_socket_connect=yes
9300 else
9301 ac_cv_lib_socket_connect=no
9303 rm -f core conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 LIBS=$ac_check_lib_save_LIBS
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9308 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9309 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9310 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9315 # Guillermo Gomez says -lposix is necessary on A/UX.
9316 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9317 if test "x$ac_cv_func_remove" = xyes; then :
9321 if test $ac_cv_func_remove = no; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9323 $as_echo_n "checking for remove in -lposix... " >&6; }
9324 if ${ac_cv_lib_posix_remove+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-lposix $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char remove ();
9340 main ()
9342 return remove ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 ac_cv_lib_posix_remove=yes
9349 else
9350 ac_cv_lib_posix_remove=no
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9357 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9358 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9359 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9364 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9365 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9366 if test "x$ac_cv_func_shmat" = xyes; then :
9370 if test $ac_cv_func_shmat = no; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9372 $as_echo_n "checking for shmat in -lipc... " >&6; }
9373 if ${ac_cv_lib_ipc_shmat+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_check_lib_save_LIBS=$LIBS
9377 LIBS="-lipc $LIBS"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9381 /* Override any GCC internal prototype to avoid an error.
9382 Use char because int might match the return type of a GCC
9383 builtin and then its argument prototype would still apply. */
9384 #ifdef __cplusplus
9385 extern "C"
9386 #endif
9387 char shmat ();
9389 main ()
9391 return shmat ();
9393 return 0;
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_lib_ipc_shmat=yes
9398 else
9399 ac_cv_lib_ipc_shmat=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 LIBS=$ac_check_lib_save_LIBS
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9406 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9407 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9414 # Check for libraries that X11R6 Xt/Xaw programs need.
9415 ac_save_LDFLAGS=$LDFLAGS
9416 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9417 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9418 # check for ICE first), but we must link in the order -lSM -lICE or
9419 # we get undefined symbols. So assume we have SM if we have ICE.
9420 # These have to be linked with before -lX11, unlike the other
9421 # libraries we check for below, so use a different variable.
9422 # John Interrante, Karl Berry
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9424 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9425 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_check_lib_save_LIBS=$LIBS
9429 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char IceConnectionNumber ();
9441 main ()
9443 return IceConnectionNumber ();
9445 return 0;
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 ac_cv_lib_ICE_IceConnectionNumber=yes
9450 else
9451 ac_cv_lib_ICE_IceConnectionNumber=no
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9458 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9459 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9460 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9463 LDFLAGS=$ac_save_LDFLAGS
9468 if test "$have_x" = "yes"
9469 then
9470 ac_save_CPPFLAGS="$CPPFLAGS"
9471 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9474 $as_echo_n "checking for -lX11... " >&6; }
9475 if ${ac_cv_lib_soname_X11+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_check_soname_save_LIBS=$LIBS
9479 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9486 #ifdef __cplusplus
9487 extern "C"
9488 #endif
9489 char XCreateWindow ();
9491 main ()
9493 return XCreateWindow ();
9495 return 0;
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 case "$LIBEXT" in
9500 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9501 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'` ;;
9502 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9503 if ${ac_cv_lib_soname_X11:+false} :; then :
9504 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9505 fi ;;
9506 esac
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_soname_save_LIBS
9512 if ${ac_cv_lib_soname_X11:+false} :; then :
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9514 $as_echo "not found" >&6; }
9516 else
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9518 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9520 cat >>confdefs.h <<_ACEOF
9521 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9522 _ACEOF
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9527 $as_echo_n "checking for -lXext... " >&6; }
9528 if ${ac_cv_lib_soname_Xext+:} false; then :
9529 $as_echo_n "(cached) " >&6
9530 else
9531 ac_check_soname_save_LIBS=$LIBS
9532 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9539 #ifdef __cplusplus
9540 extern "C"
9541 #endif
9542 char XextCreateExtension ();
9544 main ()
9546 return XextCreateExtension ();
9548 return 0;
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 case "$LIBEXT" in
9553 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9556 if ${ac_cv_lib_soname_Xext:+false} :; then :
9557 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9558 fi ;;
9559 esac
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_soname_save_LIBS
9565 if ${ac_cv_lib_soname_Xext:+false} :; then :
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9567 $as_echo "not found" >&6; }
9569 else
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9571 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9573 cat >>confdefs.h <<_ACEOF
9574 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9575 _ACEOF
9577 X_LIBS="$X_LIBS -lXext"
9579 X_LIBS="$X_LIBS -lX11"
9581 for ac_header in X11/Xlib.h \
9582 X11/XKBlib.h \
9583 X11/Xutil.h \
9584 X11/Xcursor/Xcursor.h \
9585 X11/extensions/shape.h \
9586 X11/extensions/XInput.h \
9587 X11/extensions/XInput2.h \
9588 X11/extensions/XShm.h \
9589 X11/extensions/Xcomposite.h \
9590 X11/extensions/Xinerama.h \
9591 X11/extensions/Xrandr.h \
9592 X11/extensions/Xrender.h \
9593 X11/extensions/xf86vmode.h \
9594 X11/extensions/xf86vmproto.h
9595 do :
9596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9598 # include <X11/Xlib.h>
9599 #endif
9600 #ifdef HAVE_X11_XUTIL_H
9601 # include <X11/Xutil.h>
9602 #endif
9604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9605 cat >>confdefs.h <<_ACEOF
9606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9607 _ACEOF
9611 done
9614 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9615 then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9617 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9618 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9619 $as_echo_n "(cached) " >&6
9620 else
9621 ac_check_lib_save_LIBS=$LIBS
9622 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9626 /* Override any GCC internal prototype to avoid an error.
9627 Use char because int might match the return type of a GCC
9628 builtin and then its argument prototype would still apply. */
9629 #ifdef __cplusplus
9630 extern "C"
9631 #endif
9632 char XkbQueryExtension ();
9634 main ()
9636 return XkbQueryExtension ();
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642 ac_cv_lib_X11_XkbQueryExtension=yes
9643 else
9644 ac_cv_lib_X11_XkbQueryExtension=no
9646 rm -f core conftest.err conftest.$ac_objext \
9647 conftest$ac_exeext conftest.$ac_ext
9648 LIBS=$ac_check_lib_save_LIBS
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9651 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9652 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9654 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9660 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9661 then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9663 $as_echo_n "checking for -lXcursor... " >&6; }
9664 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 ac_check_soname_save_LIBS=$LIBS
9668 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char XcursorImageLoadCursor ();
9680 main ()
9682 return XcursorImageLoadCursor ();
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9688 case "$LIBEXT" in
9689 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9690 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'` ;;
9691 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9692 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9693 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9694 fi ;;
9695 esac
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 LIBS=$ac_check_soname_save_LIBS
9701 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9703 $as_echo "not found" >&6; }
9705 else
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9707 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9709 cat >>confdefs.h <<_ACEOF
9710 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9711 _ACEOF
9716 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9717 case "x$with_xcursor" in
9718 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9719 xno) ;;
9720 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9721 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9722 esac
9725 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9726 then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9728 $as_echo_n "checking for -lXi... " >&6; }
9729 if ${ac_cv_lib_soname_Xi+:} false; then :
9730 $as_echo_n "(cached) " >&6
9731 else
9732 ac_check_soname_save_LIBS=$LIBS
9733 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9740 #ifdef __cplusplus
9741 extern "C"
9742 #endif
9743 char XOpenDevice ();
9745 main ()
9747 return XOpenDevice ();
9749 return 0;
9751 _ACEOF
9752 if ac_fn_c_try_link "$LINENO"; then :
9753 case "$LIBEXT" in
9754 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9755 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'` ;;
9756 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9757 if ${ac_cv_lib_soname_Xi:+false} :; then :
9758 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9759 fi ;;
9760 esac
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 LIBS=$ac_check_soname_save_LIBS
9766 if ${ac_cv_lib_soname_Xi:+false} :; then :
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9768 $as_echo "not found" >&6; }
9770 else
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9772 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9774 cat >>confdefs.h <<_ACEOF
9775 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9776 _ACEOF
9781 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9782 case "x$with_xinput" in
9783 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9784 xno) ;;
9785 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9786 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9787 esac
9790 if test "x$ac_cv_lib_soname_Xi" != x
9791 then
9792 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9793 case "x$with_xinput2" in
9794 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9795 xno) ;;
9796 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9797 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9798 esac
9802 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9803 then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9805 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9806 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_check_lib_save_LIBS=$LIBS
9810 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9817 #ifdef __cplusplus
9818 extern "C"
9819 #endif
9820 char XShmQueryExtension ();
9822 main ()
9824 return XShmQueryExtension ();
9826 return 0;
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_lib_Xext_XShmQueryExtension=yes
9831 else
9832 ac_cv_lib_Xext_XShmQueryExtension=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LIBS=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9839 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9840 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9842 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9847 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9848 case "x$with_xshm" in
9849 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9850 xno) ;;
9851 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9852 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9853 esac
9856 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9857 then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9859 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9860 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_lib_save_LIBS=$LIBS
9864 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char XShapeQueryExtension ();
9876 main ()
9878 return XShapeQueryExtension ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_lib_Xext_XShapeQueryExtension=yes
9885 else
9886 ac_cv_lib_Xext_XShapeQueryExtension=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_lib_save_LIBS
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9893 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9894 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9896 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9901 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9902 case "x$with_xshape" in
9903 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9904 xno) ;;
9905 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9906 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9907 esac
9910 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9911 then
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9913 $as_echo_n "checking for -lXxf86vm... " >&6; }
9914 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_check_soname_save_LIBS=$LIBS
9918 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9925 #ifdef __cplusplus
9926 extern "C"
9927 #endif
9928 char XF86VidModeQueryExtension ();
9930 main ()
9932 return XF86VidModeQueryExtension ();
9934 return 0;
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 case "$LIBEXT" in
9939 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9940 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'` ;;
9941 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9942 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9943 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9944 fi ;;
9945 esac
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 LIBS=$ac_check_soname_save_LIBS
9951 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9953 $as_echo "not found" >&6; }
9955 else
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9957 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9959 cat >>confdefs.h <<_ACEOF
9960 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9961 _ACEOF
9966 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9967 case "x$with_xxf86vm" in
9968 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9969 xno) ;;
9970 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9971 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9972 esac
9975 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9976 then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9978 $as_echo_n "checking for -lXrender... " >&6; }
9979 if ${ac_cv_lib_soname_Xrender+:} false; then :
9980 $as_echo_n "(cached) " >&6
9981 else
9982 ac_check_soname_save_LIBS=$LIBS
9983 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
9990 #ifdef __cplusplus
9991 extern "C"
9992 #endif
9993 char XRenderQueryExtension ();
9995 main ()
9997 return XRenderQueryExtension ();
9999 return 0;
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 case "$LIBEXT" in
10004 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10005 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'` ;;
10006 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10007 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10008 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10009 fi ;;
10010 esac
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 $as_echo "not found" >&6; }
10020 else
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10022 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10024 cat >>confdefs.h <<_ACEOF
10025 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10026 _ACEOF
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10029 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10030 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10031 $as_echo_n "(cached) " >&6
10032 else
10033 ac_check_lib_save_LIBS=$LIBS
10034 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10041 #ifdef __cplusplus
10042 extern "C"
10043 #endif
10044 char XRenderSetPictureTransform ();
10046 main ()
10048 return XRenderSetPictureTransform ();
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10055 else
10056 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10063 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10064 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10066 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10071 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10072 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10073 $as_echo_n "(cached) " >&6
10074 else
10075 ac_check_lib_save_LIBS=$LIBS
10076 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 char XRenderCreateLinearGradient ();
10088 main ()
10090 return XRenderCreateLinearGradient ();
10092 return 0;
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10097 else
10098 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LIBS=$ac_check_lib_save_LIBS
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10105 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10106 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10108 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10115 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10116 case "x$with_xrender" in
10117 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10118 xno) ;;
10119 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10120 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10121 esac
10124 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10125 then
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 #include <X11/Xlib.h>
10129 #include <X11/extensions/Xrandr.h>
10131 main ()
10133 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10135 return 0;
10137 _ACEOF
10138 if ac_fn_c_try_compile "$LINENO"; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10140 $as_echo_n "checking for -lXrandr... " >&6; }
10141 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XRRQueryExtension ();
10157 main ()
10159 return XRRQueryExtension ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10170 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10188 _ACEOF
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10192 #include <X11/Xlib.h>
10193 #include <X11/extensions/Xrandr.h>
10195 main ()
10197 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10199 return 0;
10201 _ACEOF
10202 if ac_fn_c_try_compile "$LINENO"; then :
10204 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10212 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10213 case "x$with_xrandr" in
10214 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10215 xno) ;;
10216 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10217 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10218 esac
10221 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10222 then
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 #include <X11/Xlib.h>
10226 #include <X11/extensions/Xinerama.h>
10228 main ()
10230 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_compile "$LINENO"; then :
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10237 $as_echo_n "checking for -lXinerama... " >&6; }
10238 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_soname_save_LIBS=$LIBS
10242 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XineramaQueryScreens ();
10254 main ()
10256 return XineramaQueryScreens ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 case "$LIBEXT" in
10263 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10264 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'` ;;
10265 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10266 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10267 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10268 fi ;;
10269 esac
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_soname_save_LIBS
10275 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10277 $as_echo "not found" >&6; }
10279 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10281 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10283 cat >>confdefs.h <<_ACEOF
10284 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10285 _ACEOF
10290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10292 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10293 case "x$with_xinerama" in
10294 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10295 xno) ;;
10296 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10297 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10298 esac
10301 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10302 then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10304 $as_echo_n "checking for -lXcomposite... " >&6; }
10305 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_soname_save_LIBS=$LIBS
10309 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char XCompositeRedirectWindow ();
10321 main ()
10323 return XCompositeRedirectWindow ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 case "$LIBEXT" in
10330 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10331 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'` ;;
10332 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10333 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10334 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10335 fi ;;
10336 esac
10338 rm -f core conftest.err conftest.$ac_objext \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_soname_save_LIBS
10342 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10344 $as_echo "not found" >&6; }
10346 else
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10348 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10350 cat >>confdefs.h <<_ACEOF
10351 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10352 _ACEOF
10357 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10358 case "x$with_xcomposite" in
10359 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10360 xno) ;;
10361 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10362 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10363 esac
10366 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10367 #include <X11/Xlib.h>
10368 #endif
10370 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10372 cat >>confdefs.h <<_ACEOF
10373 #define HAVE_XICCALLBACK_CALLBACK 1
10374 _ACEOF
10378 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10379 #include <X11/Xlib.h>
10380 #endif
10382 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10384 cat >>confdefs.h <<_ACEOF
10385 #define HAVE_XEVENT_XCOOKIE 1
10386 _ACEOF
10393 opengl_msg=""
10394 if test "x$with_opengl" != "xno"
10395 then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10397 $as_echo_n "checking for -lGL... " >&6; }
10398 if ${ac_cv_lib_soname_GL+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_check_soname_save_LIBS=$LIBS
10402 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 /* end confdefs.h. */
10406 /* Override any GCC internal prototype to avoid an error.
10407 Use char because int might match the return type of a GCC
10408 builtin and then its argument prototype would still apply. */
10409 #ifdef __cplusplus
10410 extern "C"
10411 #endif
10412 char glXCreateContext ();
10414 main ()
10416 return glXCreateContext ();
10418 return 0;
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 case "$LIBEXT" in
10423 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10424 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'` ;;
10425 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10426 if ${ac_cv_lib_soname_GL:+false} :; then :
10427 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10428 fi ;;
10429 esac
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 LIBS=$ac_check_soname_save_LIBS
10435 if ${ac_cv_lib_soname_GL:+false} :; then :
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10437 $as_echo "not found" >&6; }
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10439 $as_echo_n "checking for -lGL... " >&6; }
10440 if ${ac_cv_lib_soname_GL+:} false; then :
10441 $as_echo_n "(cached) " >&6
10442 else
10443 ac_check_soname_save_LIBS=$LIBS
10444 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"
10445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char glXCreateContext ();
10456 main ()
10458 return glXCreateContext ();
10460 return 0;
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464 case "$LIBEXT" in
10465 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10466 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'` ;;
10467 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10468 if ${ac_cv_lib_soname_GL:+false} :; then :
10469 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10470 fi ;;
10471 esac
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_soname_save_LIBS
10477 if ${ac_cv_lib_soname_GL:+false} :; then :
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10479 $as_echo "not found" >&6; }
10480 if test -f /usr/X11R6/lib/libGL.a
10481 then
10482 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10483 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10484 else
10485 opengl_msg="No OpenGL library found on this system."
10487 else
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10489 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10491 cat >>confdefs.h <<_ACEOF
10492 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10493 _ACEOF
10495 OPENGL_LIBS="-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"
10497 else
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10499 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10501 cat >>confdefs.h <<_ACEOF
10502 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10503 _ACEOF
10505 OPENGL_LIBS="-lGL"
10507 if test "x$with_glu" != "xno"
10508 then
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10510 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10511 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10512 $as_echo_n "(cached) " >&6
10513 else
10514 ac_check_lib_save_LIBS=$LIBS
10515 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10522 #ifdef __cplusplus
10523 extern "C"
10524 #endif
10525 char gluLookAt ();
10527 main ()
10529 return gluLookAt ();
10531 return 0;
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_lib_GLU_gluLookAt=yes
10536 else
10537 ac_cv_lib_GLU_gluLookAt=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 LIBS=$ac_check_lib_save_LIBS
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10544 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10545 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10549 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10550 case "x$with_glu" in
10551 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10552 xno) ;;
10553 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10554 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10555 esac
10559 if test "x$with_osmesa" != "xno"
10560 then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10562 $as_echo_n "checking for -lOSMesa... " >&6; }
10563 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10564 $as_echo_n "(cached) " >&6
10565 else
10566 ac_check_soname_save_LIBS=$LIBS
10567 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10574 #ifdef __cplusplus
10575 extern "C"
10576 #endif
10577 char glAccum ();
10579 main ()
10581 return glAccum ();
10583 return 0;
10585 _ACEOF
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 case "$LIBEXT" in
10588 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10589 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'` ;;
10590 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10591 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10592 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10593 fi ;;
10594 esac
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 LIBS=$ac_check_soname_save_LIBS
10600 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10602 $as_echo "not found" >&6; }
10604 else
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10606 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10608 cat >>confdefs.h <<_ACEOF
10609 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10610 _ACEOF
10614 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10615 case "x$with_osmesa" in
10616 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10617 xno) ;;
10618 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10619 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10620 esac
10624 if test -n "$opengl_msg"; then :
10625 case "x$with_opengl" in
10626 x) as_fn_append wine_warnings "|$opengl_msg
10627 OpenGL and Direct3D won't be supported." ;;
10628 xno) ;;
10629 *) as_fn_error $? "$opengl_msg
10630 OpenGL and Direct3D won't be supported.
10631 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10632 esac
10635 CPPFLAGS="$ac_save_CPPFLAGS"
10636 else
10637 X_CFLAGS=""
10638 X_LIBS=""
10639 enable_winex11_drv=${enable_winex11_drv:-no}
10641 if test "x$X_LIBS" = "x"; then :
10642 case "x$with_x" in
10643 xno) ;;
10644 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10645 without X support, which probably isn't what you want. You will need
10646 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10647 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10648 esac
10651 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10653 if test "$ac_cv_header_CL_cl_h" = "yes"
10654 then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10656 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10657 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10658 $as_echo_n "(cached) " >&6
10659 else
10660 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-lOpenCL $LIBS"
10662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char clGetPlatformInfo ();
10673 main ()
10675 return clGetPlatformInfo ();
10677 return 0;
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10682 else
10683 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 LIBS=$ac_check_lib_save_LIBS
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10690 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10692 OPENCL_LIBS="-lOpenCL"
10697 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10698 case "x$with_opencl" in
10699 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10700 xno) ;;
10701 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10702 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10703 esac
10705 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10707 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10708 then
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10710 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10711 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10712 $as_echo_n "(cached) " >&6
10713 else
10714 ac_check_lib_save_LIBS=$LIBS
10715 LIBS="-lpcap $LIBS"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10719 /* Override any GCC internal prototype to avoid an error.
10720 Use char because int might match the return type of a GCC
10721 builtin and then its argument prototype would still apply. */
10722 #ifdef __cplusplus
10723 extern "C"
10724 #endif
10725 char pcap_create ();
10727 main ()
10729 return pcap_create ();
10731 return 0;
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"; then :
10735 ac_cv_lib_pcap_pcap_create=yes
10736 else
10737 ac_cv_lib_pcap_pcap_create=no
10739 rm -f core conftest.err conftest.$ac_objext \
10740 conftest$ac_exeext conftest.$ac_ext
10741 LIBS=$ac_check_lib_save_LIBS
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10744 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10745 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10746 LIBPCAP="-lpcap"
10751 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10752 case "x$with_pcap" in
10753 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10754 xno) ;;
10755 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10756 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10757 esac
10759 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10762 if test "x$with_xml" != "xno"
10763 then
10764 if ${XML2_CFLAGS:+false} :; then :
10765 if ${PKG_CONFIG+:} false; then :
10766 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10769 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10770 if ${XML2_LIBS:+false} :; then :
10771 if ${PKG_CONFIG+:} false; then :
10772 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10775 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10776 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10777 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10778 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10779 ac_save_CPPFLAGS=$CPPFLAGS
10780 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10781 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10782 do :
10783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10784 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10786 cat >>confdefs.h <<_ACEOF
10787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10788 _ACEOF
10792 done
10794 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"
10795 then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10797 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10798 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 ac_check_lib_save_LIBS=$LIBS
10802 LIBS="-lxml2 $XML2_LIBS $LIBS"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char xmlParseMemory ();
10814 main ()
10816 return xmlParseMemory ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 ac_cv_lib_xml2_xmlParseMemory=yes
10823 else
10824 ac_cv_lib_xml2_xmlParseMemory=no
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_lib_save_LIBS
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10831 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10832 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10834 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10836 else
10837 XML2_LIBS=""
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10841 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10842 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 ac_check_lib_save_LIBS=$LIBS
10846 LIBS="-lxml2 $XML2_LIBS $LIBS"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10853 #ifdef __cplusplus
10854 extern "C"
10855 #endif
10856 char xmlReadMemory ();
10858 main ()
10860 return xmlReadMemory ();
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10866 ac_cv_lib_xml2_xmlReadMemory=yes
10867 else
10868 ac_cv_lib_xml2_xmlReadMemory=no
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10872 LIBS=$ac_check_lib_save_LIBS
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10875 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10876 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10878 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10883 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10884 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886 else
10887 ac_check_lib_save_LIBS=$LIBS
10888 LIBS="-lxml2 $XML2_LIBS $LIBS"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895 #ifdef __cplusplus
10896 extern "C"
10897 #endif
10898 char xmlNewDocPI ();
10900 main ()
10902 return xmlNewDocPI ();
10904 return 0;
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"; then :
10908 ac_cv_lib_xml2_xmlNewDocPI=yes
10909 else
10910 ac_cv_lib_xml2_xmlNewDocPI=no
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10917 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10918 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10920 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10925 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10926 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10927 $as_echo_n "(cached) " >&6
10928 else
10929 ac_check_lib_save_LIBS=$LIBS
10930 LIBS="-lxml2 $XML2_LIBS $LIBS"
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10937 #ifdef __cplusplus
10938 extern "C"
10939 #endif
10940 char xmlSchemaSetParserStructuredErrors ();
10942 main ()
10944 return xmlSchemaSetParserStructuredErrors ();
10946 return 0;
10948 _ACEOF
10949 if ac_fn_c_try_link "$LINENO"; then :
10950 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10951 else
10952 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10959 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10960 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10962 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10967 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10968 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lxml2 $XML2_LIBS $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char xmlSchemaSetValidStructuredErrors ();
10984 main ()
10986 return xmlSchemaSetValidStructuredErrors ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10993 else
10994 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11001 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11002 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11004 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11009 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char xmlFirstElementChild ();
11026 main ()
11028 return xmlFirstElementChild ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_xml2_xmlFirstElementChild=yes
11035 else
11036 ac_cv_lib_xml2_xmlFirstElementChild=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11046 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11050 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11052 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11054 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11058 else
11059 XML2_CFLAGS=""
11060 XML2_LIBS=""
11062 CPPFLAGS=$ac_save_CPPFLAGS
11063 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11064 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11067 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11068 case "x$with_xml" in
11069 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11070 xno) ;;
11071 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11072 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11073 esac
11076 if test "x$with_xslt" != "xno"
11077 then
11078 if ${XSLT_CFLAGS:+false} :; then :
11079 if ${PKG_CONFIG+:} false; then :
11080 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11083 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11084 if ${XSLT_LIBS:+false} :; then :
11085 if ${PKG_CONFIG+:} false; then :
11086 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11089 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11090 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11091 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11092 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11093 ac_save_CPPFLAGS=$CPPFLAGS
11094 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11095 for ac_header in libxslt/pattern.h libxslt/transform.h
11096 do :
11097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11098 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11099 # include <libxslt/pattern.h>
11100 #endif
11102 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11103 cat >>confdefs.h <<_ACEOF
11104 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11105 _ACEOF
11109 done
11111 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11112 then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11114 $as_echo_n "checking for -lxslt... " >&6; }
11115 if ${ac_cv_lib_soname_xslt+:} false; then :
11116 $as_echo_n "(cached) " >&6
11117 else
11118 ac_check_soname_save_LIBS=$LIBS
11119 LIBS="-lxslt $XSLT_LIBS $LIBS"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11123 /* Override any GCC internal prototype to avoid an error.
11124 Use char because int might match the return type of a GCC
11125 builtin and then its argument prototype would still apply. */
11126 #ifdef __cplusplus
11127 extern "C"
11128 #endif
11129 char xsltCompilePattern ();
11131 main ()
11133 return xsltCompilePattern ();
11135 return 0;
11137 _ACEOF
11138 if ac_fn_c_try_link "$LINENO"; then :
11139 case "$LIBEXT" in
11140 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11141 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'` ;;
11142 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11143 if ${ac_cv_lib_soname_xslt:+false} :; then :
11144 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11145 fi ;;
11146 esac
11148 rm -f core conftest.err conftest.$ac_objext \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_soname_save_LIBS
11152 if ${ac_cv_lib_soname_xslt:+false} :; then :
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11154 $as_echo "not found" >&6; }
11156 else
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11158 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11160 cat >>confdefs.h <<_ACEOF
11161 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11162 _ACEOF
11166 else
11167 XSLT_CFLAGS=""
11169 CPPFLAGS=$ac_save_CPPFLAGS
11170 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11171 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11174 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11175 case "x$with_xslt" in
11176 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11177 xno) ;;
11178 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11179 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11180 esac
11183 if test "x$with_dbus" != "xno"
11184 then
11185 if ${DBUS_CFLAGS:+false} :; then :
11186 if ${PKG_CONFIG+:} false; then :
11187 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11191 if ${DBUS_LIBS:+false} :; then :
11192 if ${PKG_CONFIG+:} false; then :
11193 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11198 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11199 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11200 ac_save_CPPFLAGS=$CPPFLAGS
11201 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11202 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11203 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11205 $as_echo_n "checking for -ldbus-1... " >&6; }
11206 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_soname_save_LIBS=$LIBS
11210 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char dbus_connection_close ();
11222 main ()
11224 return dbus_connection_close ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 case "$LIBEXT" in
11231 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11232 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'` ;;
11233 *) 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'`
11234 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11235 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11236 fi ;;
11237 esac
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_soname_save_LIBS
11243 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11245 $as_echo "not found" >&6; }
11246 DBUS_CFLAGS=""
11247 else
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11249 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11251 cat >>confdefs.h <<_ACEOF
11252 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11253 _ACEOF
11257 else
11258 DBUS_CFLAGS=""
11262 CPPFLAGS=$ac_save_CPPFLAGS
11263 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11264 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11267 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11268 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11269 case "x$with_dbus" in
11270 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11271 xno) ;;
11272 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11273 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11274 esac
11277 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11278 then
11279 if ${HAL_CFLAGS:+false} :; then :
11280 if ${PKG_CONFIG+:} false; then :
11281 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11285 if ${HAL_LIBS:+false} :; then :
11286 if ${PKG_CONFIG+:} false; then :
11287 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11291 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11292 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11293 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11294 ac_save_CPPFLAGS=$CPPFLAGS
11295 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11296 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11297 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11299 $as_echo_n "checking for -lhal... " >&6; }
11300 if ${ac_cv_lib_soname_hal+:} false; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_soname_save_LIBS=$LIBS
11304 LIBS="-lhal $HAL_LIBS $LIBS"
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char libhal_ctx_new ();
11316 main ()
11318 return libhal_ctx_new ();
11320 return 0;
11322 _ACEOF
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 case "$LIBEXT" in
11325 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11326 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'` ;;
11327 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11328 if ${ac_cv_lib_soname_hal:+false} :; then :
11329 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11330 fi ;;
11331 esac
11333 rm -f core conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 LIBS=$ac_check_soname_save_LIBS
11337 if ${ac_cv_lib_soname_hal:+false} :; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11339 $as_echo "not found" >&6; }
11340 HAL_CFLAGS=""
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11343 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11345 cat >>confdefs.h <<_ACEOF
11346 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11347 _ACEOF
11351 else
11352 HAL_CFLAGS=""
11356 CPPFLAGS=$ac_save_CPPFLAGS
11357 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11358 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11360 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11361 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11362 case "x$with_hal" in
11363 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11364 xno) ;;
11365 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11366 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11367 esac
11371 if test "x$with_gnutls" != "xno"
11372 then
11373 if ${GNUTLS_CFLAGS:+false} :; then :
11374 if ${PKG_CONFIG+:} false; then :
11375 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11379 if ${GNUTLS_LIBS:+false} :; then :
11380 if ${PKG_CONFIG+:} false; then :
11381 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11386 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11387 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11388 ac_save_CPPFLAGS=$CPPFLAGS
11389 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11390 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11391 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 #include <gnutls/gnutls.h>
11395 #include <gnutls/crypto.h>
11397 main ()
11399 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_compile "$LINENO"; then :
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11406 $as_echo_n "checking for -lgnutls... " >&6; }
11407 if ${ac_cv_lib_soname_gnutls+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_soname_save_LIBS=$LIBS
11411 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char gnutls_global_init ();
11423 main ()
11425 return gnutls_global_init ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 case "$LIBEXT" in
11432 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11433 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'` ;;
11434 *) 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'`
11435 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11436 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'`
11437 fi ;;
11438 esac
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_soname_save_LIBS
11444 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11446 $as_echo "not found" >&6; }
11447 GNUTLS_CFLAGS=""
11448 else
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11450 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11452 cat >>confdefs.h <<_ACEOF
11453 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11454 _ACEOF
11459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11460 else
11461 GNUTLS_CFLAGS=""
11465 CPPFLAGS=$ac_save_CPPFLAGS
11466 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11467 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11470 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11471 case "x$with_gnutls" in
11472 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11473 xno) ;;
11474 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11475 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11476 esac
11479 CURSES_LIBS=""
11480 if test "$ac_cv_header_ncurses_h" = "yes"
11481 then
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11483 $as_echo_n "checking for -lncurses... " >&6; }
11484 if ${ac_cv_lib_soname_ncurses+:} false; then :
11485 $as_echo_n "(cached) " >&6
11486 else
11487 ac_check_soname_save_LIBS=$LIBS
11488 LIBS="-lncurses $LIBS"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char waddch ();
11500 main ()
11502 return waddch ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 case "$LIBEXT" in
11509 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11510 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'` ;;
11511 *) 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'`
11512 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11513 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11514 fi ;;
11515 esac
11517 rm -f core conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_soname_save_LIBS
11521 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11523 $as_echo "not found" >&6; }
11525 else
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11527 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11529 cat >>confdefs.h <<_ACEOF
11530 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11531 _ACEOF
11533 CURSES_LIBS="-lncurses"
11535 elif test "$ac_cv_header_curses_h" = "yes"
11536 then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11538 $as_echo_n "checking for -lcurses... " >&6; }
11539 if ${ac_cv_lib_soname_curses+:} false; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 ac_check_soname_save_LIBS=$LIBS
11543 LIBS="-lcurses $LIBS"
11544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11545 /* end confdefs.h. */
11547 /* Override any GCC internal prototype to avoid an error.
11548 Use char because int might match the return type of a GCC
11549 builtin and then its argument prototype would still apply. */
11550 #ifdef __cplusplus
11551 extern "C"
11552 #endif
11553 char waddch ();
11555 main ()
11557 return waddch ();
11559 return 0;
11561 _ACEOF
11562 if ac_fn_c_try_link "$LINENO"; then :
11563 case "$LIBEXT" in
11564 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11565 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'` ;;
11566 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11567 if ${ac_cv_lib_soname_curses:+false} :; then :
11568 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11569 fi ;;
11570 esac
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_curses:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11582 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11584 cat >>confdefs.h <<_ACEOF
11585 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11586 _ACEOF
11588 CURSES_LIBS="-lcurses"
11591 ac_save_LIBS="$LIBS"
11592 LIBS="$LIBS $CURSES_LIBS"
11593 for ac_func in mousemask
11594 do :
11595 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11596 if test "x$ac_cv_func_mousemask" = xyes; then :
11597 cat >>confdefs.h <<_ACEOF
11598 #define HAVE_MOUSEMASK 1
11599 _ACEOF
11602 done
11604 LIBS="$ac_save_LIBS"
11605 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11606 case "x$with_curses" in
11607 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11608 xno) ;;
11609 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11610 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11611 esac
11614 if test "x$with_sane" != "xno"
11615 then
11616 if ${SANE_CFLAGS:+false} :; then :
11617 if ${PKG_CONFIG+:} false; then :
11618 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11621 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11622 if ${SANE_LIBS:+false} :; then :
11623 if ${PKG_CONFIG+:} false; then :
11624 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11627 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11631 ac_save_CPPFLAGS=$CPPFLAGS
11632 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11633 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11634 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11636 $as_echo_n "checking for -lsane... " >&6; }
11637 if ${ac_cv_lib_soname_sane+:} false; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 ac_check_soname_save_LIBS=$LIBS
11641 LIBS="-lsane $SANE_LIBS $LIBS"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11648 #ifdef __cplusplus
11649 extern "C"
11650 #endif
11651 char sane_init ();
11653 main ()
11655 return sane_init ();
11657 return 0;
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 case "$LIBEXT" in
11662 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11663 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'` ;;
11664 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11665 if ${ac_cv_lib_soname_sane:+false} :; then :
11666 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11667 fi ;;
11668 esac
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_soname_save_LIBS
11674 if ${ac_cv_lib_soname_sane:+false} :; then :
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11676 $as_echo "not found" >&6; }
11677 SANE_CFLAGS=""
11678 else
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11680 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11682 cat >>confdefs.h <<_ACEOF
11683 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11684 _ACEOF
11688 else
11689 SANE_CFLAGS=""
11693 CPPFLAGS=$ac_save_CPPFLAGS
11694 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11695 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11698 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11699 case "x$with_sane" in
11700 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11701 xno) ;;
11702 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11703 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11704 esac
11707 if test "x$with_v4l" != "xno"
11708 then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11710 $as_echo_n "checking for -lv4l1... " >&6; }
11711 if ${ac_cv_lib_soname_v4l1+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_soname_save_LIBS=$LIBS
11715 LIBS="-lv4l1 $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char v4l1_open ();
11727 main ()
11729 return v4l1_open ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 case "$LIBEXT" in
11736 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11737 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'` ;;
11738 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11739 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11740 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 fi ;;
11742 esac
11744 rm -f core conftest.err conftest.$ac_objext \
11745 conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_soname_save_LIBS
11748 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11750 $as_echo "not found" >&6; }
11752 else
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11754 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11756 cat >>confdefs.h <<_ACEOF
11757 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11758 _ACEOF
11763 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11764 case "x$with_v4l" in
11765 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11766 xno) ;;
11767 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11768 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11769 esac
11772 if test "x$with_gphoto" != "xno"
11773 then
11774 if ${GPHOTO2_CFLAGS:+false} :; then :
11775 if ${PKG_CONFIG+:} false; then :
11776 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11779 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11780 if ${GPHOTO2_LIBS:+false} :; then :
11781 if ${PKG_CONFIG+:} false; then :
11782 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11785 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11786 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11787 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11788 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11789 ac_save_CPPFLAGS=$CPPFLAGS
11790 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11791 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11792 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11794 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11795 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char gp_camera_new ();
11811 main ()
11813 return gp_camera_new ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 ac_cv_lib_gphoto2_gp_camera_new=yes
11820 else
11821 ac_cv_lib_gphoto2_gp_camera_new=no
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11828 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11829 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11831 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11833 else
11834 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11837 else
11838 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11842 CPPFLAGS=$ac_save_CPPFLAGS
11843 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11844 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11846 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11847 if ${PKG_CONFIG+:} false; then :
11848 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11851 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11852 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11853 if ${PKG_CONFIG+:} false; then :
11854 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11857 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11858 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11859 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11860 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11861 ac_save_CPPFLAGS=$CPPFLAGS
11862 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11863 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11864 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11866 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11867 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_lib_save_LIBS=$LIBS
11871 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char gp_port_info_list_new ();
11883 main ()
11885 return gp_port_info_list_new ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11892 else
11893 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11900 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11901 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11903 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11905 else
11906 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11909 else
11910 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11914 CPPFLAGS=$ac_save_CPPFLAGS
11915 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11916 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11919 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11920 case "x$with_gphoto" in
11921 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11924 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11925 esac
11927 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11928 case "x$with_gphoto" in
11929 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11930 xno) ;;
11931 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11932 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_resolv_h" = "yes"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11940 $as_echo_n "checking for resolver library... " >&6; }
11941 if ${ac_cv_have_resolv+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_save_LIBS="$LIBS"
11945 for lib in '' -lresolv
11947 LIBS="$lib $ac_save_LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef HAVE_NETINET_IN_H
11951 #include <netinet/in.h>
11952 #endif
11953 #include <resolv.h>
11955 main ()
11957 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 ac_cv_have_resolv=${lib:-"none required"}
11964 else
11965 ac_cv_have_resolv="not found"
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11969 test "x$ac_cv_have_resolv" = "xnot found" || break
11970 done
11971 LIBS="$ac_save_LIBS"
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11974 $as_echo "$ac_cv_have_resolv" >&6; }
11976 case "$ac_cv_have_resolv" in
11977 "not found") ;;
11978 "none required")
11980 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11983 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11985 RESOLV_LIBS=$ac_cv_have_resolv
11987 esac
11990 if test "x$with_cms" != "xno"
11991 then
11992 if ${LCMS2_CFLAGS:+false} :; then :
11993 if ${PKG_CONFIG+:} false; then :
11994 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11998 if ${LCMS2_LIBS:+false} :; then :
11999 if ${PKG_CONFIG+:} false; then :
12000 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12004 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12005 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12006 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12007 ac_save_CPPFLAGS=$CPPFLAGS
12008 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12009 for ac_header in lcms2.h
12010 do :
12011 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12012 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12013 cat >>confdefs.h <<_ACEOF
12014 #define HAVE_LCMS2_H 1
12015 _ACEOF
12019 done
12021 if test "$ac_cv_header_lcms2_h" = "yes"
12022 then
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12024 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12025 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12036 #ifdef __cplusplus
12037 extern "C"
12038 #endif
12039 char cmsOpenProfileFromFile ();
12041 main ()
12043 return cmsOpenProfileFromFile ();
12045 return 0;
12047 _ACEOF
12048 if ac_fn_c_try_link "$LINENO"; then :
12049 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12050 else
12051 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12058 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12059 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12061 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12063 else
12064 LCMS2_LIBS=""
12067 else
12068 LCMS2_CFLAGS=""
12069 LCMS2_LIBS=""
12071 CPPFLAGS=$ac_save_CPPFLAGS
12072 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12073 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12076 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12077 case "x$with_cms" in
12078 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12079 xno) ;;
12080 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12081 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12082 esac
12085 if test "x$with_freetype" != "xno"
12086 then
12087 if ${FREETYPE_CFLAGS:+false} :; then :
12088 if ${PKG_CONFIG+:} false; then :
12089 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12092 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12093 if ${FREETYPE_LIBS:+false} :; then :
12094 if ${PKG_CONFIG+:} false; then :
12095 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12098 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12099 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12100 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12101 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12102 ac_save_CPPFLAGS=$CPPFLAGS
12103 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12104 for ac_header in ft2build.h
12105 do :
12106 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12107 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12108 cat >>confdefs.h <<_ACEOF
12109 #define HAVE_FT2BUILD_H 1
12110 _ACEOF
12114 done
12116 if test "$ac_cv_header_ft2build_h" = "yes"
12117 then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12119 $as_echo_n "checking for -lfreetype... " >&6; }
12120 if ${ac_cv_lib_soname_freetype+:} false; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 ac_check_soname_save_LIBS=$LIBS
12124 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 char FT_Init_FreeType ();
12136 main ()
12138 return FT_Init_FreeType ();
12140 return 0;
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 case "$LIBEXT" in
12145 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12146 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'` ;;
12147 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12148 if ${ac_cv_lib_soname_freetype:+false} :; then :
12149 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12150 fi ;;
12151 esac
12153 rm -f core conftest.err conftest.$ac_objext \
12154 conftest$ac_exeext conftest.$ac_ext
12155 LIBS=$ac_check_soname_save_LIBS
12157 if ${ac_cv_lib_soname_freetype:+false} :; then :
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12159 $as_echo "not found" >&6; }
12160 FREETYPE_LIBS=""
12161 else
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12163 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12165 cat >>confdefs.h <<_ACEOF
12166 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12167 _ACEOF
12170 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12172 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12173 #include FT_MODULE_H
12175 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12177 cat >>confdefs.h <<_ACEOF
12178 #define HAVE_FT_TRUETYPEENGINETYPE 1
12179 _ACEOF
12185 else
12186 FREETYPE_CFLAGS=""
12187 FREETYPE_LIBS=""
12189 CPPFLAGS=$ac_save_CPPFLAGS
12190 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12191 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12194 if test "x$ac_cv_lib_soname_freetype" = x; then :
12195 case "x$with_freetype" in
12196 xno) ;;
12197 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12198 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12199 esac
12201 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12204 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12205 if ${ac_cv_c_ppdev+:} false; then :
12206 $as_echo_n "(cached) " >&6
12207 else
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 #ifdef HAVE_SYS_IOCTL_H
12211 # include <sys/ioctl.h>
12212 #endif
12213 #include <linux/ppdev.h>
12215 main ()
12217 ioctl (1,PPCLAIM,0)
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_compile "$LINENO"; then :
12223 ac_cv_c_ppdev="yes"
12224 else
12225 ac_cv_c_ppdev="no"
12227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12230 $as_echo "$ac_cv_c_ppdev" >&6; }
12231 if test "$ac_cv_c_ppdev" = "yes"
12232 then
12234 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12238 ac_wine_check_funcs_save_LIBS="$LIBS"
12239 LIBS="$LIBS $PTHREAD_LIBS"
12240 for ac_func in \
12241 pthread_attr_get_np \
12242 pthread_getattr_np \
12243 pthread_getthreadid_np \
12244 pthread_get_stackaddr_np \
12245 pthread_get_stacksize_np
12246 do :
12247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12249 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12250 cat >>confdefs.h <<_ACEOF
12251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12252 _ACEOF
12255 done
12257 LIBS="$ac_wine_check_funcs_save_LIBS"
12259 if test "$ac_cv_header_zlib_h" = "yes"
12260 then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12262 $as_echo_n "checking for inflate in -lz... " >&6; }
12263 if ${ac_cv_lib_z_inflate+:} false; then :
12264 $as_echo_n "(cached) " >&6
12265 else
12266 ac_check_lib_save_LIBS=$LIBS
12267 LIBS="-lz $LIBS"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char inflate ();
12279 main ()
12281 return inflate ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 ac_cv_lib_z_inflate=yes
12288 else
12289 ac_cv_lib_z_inflate=no
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12296 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12297 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12299 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12301 Z_LIBS="-lz"
12306 if test "x$Z_LIBS" = "x"; then :
12307 case "x$with_zlib" in
12308 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12309 xno) ;;
12310 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12311 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12312 esac
12315 if test "x$enable_tools" != xno
12316 then
12317 if test "$ac_cv_header_gettext_po_h" = "yes"
12318 then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12320 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12321 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_lib_save_LIBS=$LIBS
12325 LIBS="-lgettextpo $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char po_message_msgctxt ();
12337 main ()
12339 return po_message_msgctxt ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12346 else
12347 ac_cv_lib_gettextpo_po_message_msgctxt=no
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12354 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12355 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12357 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12359 GETTEXTPO_LIBS="-lgettextpo"
12364 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12365 case "x$with_gettextpo" in
12366 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12367 xno) ;;
12368 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12369 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12370 esac
12374 if test "x$with_gstreamer" != "xno"
12375 then
12376 if ${GSTREAMER_CFLAGS:+false} :; then :
12377 if ${PKG_CONFIG+:} false; then :
12378 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12382 if ${GSTREAMER_LIBS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12389 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12391 ac_save_CPPFLAGS=$CPPFLAGS
12392 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12393 ac_gst_incl=""
12394 for i in $GSTREAMER_CFLAGS
12396 case "$i" in
12397 -I*) ac_gst_incl="$ac_gst_incl $i";;
12398 esac
12399 done
12400 GSTREAMER_CFLAGS=$ac_gst_incl
12401 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12402 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12404 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12405 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12407 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12410 #include <gst/app/gstappsink.h>
12412 main ()
12414 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12421 $as_echo "yes" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12423 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12424 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12425 $as_echo_n "(cached) " >&6
12426 else
12427 ac_check_lib_save_LIBS=$LIBS
12428 LIBS="-lgstreamer-0.10 $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12435 #ifdef __cplusplus
12436 extern "C"
12437 #endif
12438 char gst_pad_get_caps_reffed ();
12440 main ()
12442 return gst_pad_get_caps_reffed ();
12444 return 0;
12446 _ACEOF
12447 if ac_fn_c_try_link "$LINENO"; then :
12448 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12449 else
12450 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12452 rm -f core conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_lib_save_LIBS
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12457 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12458 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12460 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12461 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12462 $as_echo_n "(cached) " >&6
12463 else
12464 ac_check_lib_save_LIBS=$LIBS
12465 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12472 #ifdef __cplusplus
12473 extern "C"
12474 #endif
12475 char gst_app_buffer_new ();
12477 main ()
12479 return gst_app_buffer_new ();
12481 return 0;
12483 _ACEOF
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12486 else
12487 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12491 LIBS=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12494 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12495 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12501 else
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12503 $as_echo "no" >&6; }
12505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12509 else
12510 GSTREAMER_CFLAGS=""
12514 CPPFLAGS=$ac_save_CPPFLAGS
12515 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12516 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12519 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12520 case "x$with_gstreamer" in
12521 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12522 xno) ;;
12523 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12524 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12525 esac
12527 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12529 ALSA_LIBS=""
12531 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12532 then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12534 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12535 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12536 $as_echo_n "(cached) " >&6
12537 else
12538 ac_check_lib_save_LIBS=$LIBS
12539 LIBS="-lasound $LIBS"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12546 #ifdef __cplusplus
12547 extern "C"
12548 #endif
12549 char snd_pcm_hw_params_get_access_mask ();
12551 main ()
12553 return snd_pcm_hw_params_get_access_mask ();
12555 return 0;
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"; then :
12559 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12560 else
12561 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12568 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12569 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12572 #ifdef HAVE_ALSA_ASOUNDLIB_H
12573 #include <alsa/asoundlib.h>
12574 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12575 #include <sys/asoundlib.h>
12576 #endif
12578 main ()
12580 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_compile "$LINENO"; then :
12586 ALSA_LIBS="-lasound"
12588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12593 if test "x$with_oss" != xno
12594 then
12595 ac_save_CPPFLAGS="$CPPFLAGS"
12596 if test -f /etc/oss.conf
12597 then
12598 . /etc/oss.conf
12600 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12601 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12602 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12604 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12606 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12608 cat >>confdefs.h <<_ACEOF
12609 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12610 _ACEOF
12612 OSS4_CFLAGS="$ac_oss_incl"
12619 CPPFLAGS="$ac_save_CPPFLAGS"
12620 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12621 then
12622 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12626 if test "x$with_capi" != "xno"
12627 then
12628 if ${CAPI20_CFLAGS:+false} :; then :
12629 if ${PKG_CONFIG+:} false; then :
12630 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12634 if ${CAPI20_LIBS:+false} :; then :
12635 if ${PKG_CONFIG+:} false; then :
12636 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12641 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12642 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12643 ac_save_CPPFLAGS=$CPPFLAGS
12644 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12645 for ac_header in capi20.h linux/capi.h
12646 do :
12647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12650 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12651 cat >>confdefs.h <<_ACEOF
12652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12653 _ACEOF
12657 done
12659 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12660 then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12662 $as_echo_n "checking for -lcapi20... " >&6; }
12663 if ${ac_cv_lib_soname_capi20+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_check_soname_save_LIBS=$LIBS
12667 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12674 #ifdef __cplusplus
12675 extern "C"
12676 #endif
12677 char capi20_register ();
12679 main ()
12681 return capi20_register ();
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 case "$LIBEXT" in
12688 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12689 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'` ;;
12690 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12691 if ${ac_cv_lib_soname_capi20:+false} :; then :
12692 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12693 fi ;;
12694 esac
12696 rm -f core conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12698 LIBS=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_capi20:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12704 else
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12706 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12708 cat >>confdefs.h <<_ACEOF
12709 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12710 _ACEOF
12715 CPPFLAGS=$ac_save_CPPFLAGS
12716 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12717 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12720 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12721 case "x$with_capi" in
12722 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12723 xno) ;;
12724 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12725 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12726 esac
12729 CUPS_CFLAGS=""
12731 if test "x$with_cups" != "xno"
12732 then
12733 ac_save_CPPFLAGS="$CPPFLAGS"
12734 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12735 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12736 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12737 for ac_header in cups/cups.h
12738 do :
12739 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12740 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12741 cat >>confdefs.h <<_ACEOF
12742 #define HAVE_CUPS_CUPS_H 1
12743 _ACEOF
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12745 $as_echo_n "checking for -lcups... " >&6; }
12746 if ${ac_cv_lib_soname_cups+:} false; then :
12747 $as_echo_n "(cached) " >&6
12748 else
12749 ac_check_soname_save_LIBS=$LIBS
12750 LIBS="-lcups $ac_cups_libs $LIBS"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 /* Override any GCC internal prototype to avoid an error.
12755 Use char because int might match the return type of a GCC
12756 builtin and then its argument prototype would still apply. */
12757 #ifdef __cplusplus
12758 extern "C"
12759 #endif
12760 char cupsGetDefault ();
12762 main ()
12764 return cupsGetDefault ();
12766 return 0;
12768 _ACEOF
12769 if ac_fn_c_try_link "$LINENO"; then :
12770 case "$LIBEXT" in
12771 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12774 if ${ac_cv_lib_soname_cups:+false} :; then :
12775 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12776 fi ;;
12777 esac
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_soname_save_LIBS
12783 if ${ac_cv_lib_soname_cups:+false} :; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12785 $as_echo "not found" >&6; }
12787 else
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12789 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12791 cat >>confdefs.h <<_ACEOF
12792 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12793 _ACEOF
12795 CUPS_CFLAGS="$ac_cups_cflags"
12799 done
12801 CPPFLAGS="$ac_save_CPPFLAGS"
12803 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12804 case "x$with_cups" in
12805 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12806 xno) ;;
12807 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12808 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12809 esac
12812 if test "x$with_fontconfig" != "xno"
12813 then
12814 if ${FONTCONFIG_CFLAGS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12819 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12820 if ${FONTCONFIG_LIBS:+false} :; then :
12821 if ${PKG_CONFIG+:} false; then :
12822 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12825 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12827 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12828 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12829 ac_save_CPPFLAGS=$CPPFLAGS
12830 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12831 for ac_header in fontconfig/fontconfig.h
12832 do :
12833 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12834 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12835 cat >>confdefs.h <<_ACEOF
12836 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12837 _ACEOF
12841 done
12843 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12844 then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12846 $as_echo_n "checking for -lfontconfig... " >&6; }
12847 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_soname_save_LIBS=$LIBS
12851 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char FcInit ();
12863 main ()
12865 return FcInit ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 case "$LIBEXT" in
12872 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12873 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'` ;;
12874 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12875 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12876 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12877 fi ;;
12878 esac
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_soname_save_LIBS
12884 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12886 $as_echo "not found" >&6; }
12887 FONTCONFIG_CFLAGS=""
12888 else
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12890 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12892 cat >>confdefs.h <<_ACEOF
12893 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12894 _ACEOF
12898 else
12899 FONTCONFIG_CFLAGS=""
12901 CPPFLAGS=$ac_save_CPPFLAGS
12902 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12903 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12906 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12907 case "x$with_fontconfig" in
12908 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12909 xno) ;;
12910 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12911 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12912 esac
12915 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12916 then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12918 $as_echo_n "checking for -lgsm... " >&6; }
12919 if ${ac_cv_lib_soname_gsm+:} false; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 ac_check_soname_save_LIBS=$LIBS
12923 LIBS="-lgsm $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 #ifdef __cplusplus
12931 extern "C"
12932 #endif
12933 char gsm_create ();
12935 main ()
12937 return gsm_create ();
12939 return 0;
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 case "$LIBEXT" in
12944 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12945 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'` ;;
12946 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12947 if ${ac_cv_lib_soname_gsm:+false} :; then :
12948 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12949 fi ;;
12950 esac
12952 rm -f core conftest.err conftest.$ac_objext \
12953 conftest$ac_exeext conftest.$ac_ext
12954 LIBS=$ac_check_soname_save_LIBS
12956 if ${ac_cv_lib_soname_gsm:+false} :; then :
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12958 $as_echo "not found" >&6; }
12960 else
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12962 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12964 cat >>confdefs.h <<_ACEOF
12965 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12966 _ACEOF
12971 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12972 case "x$with_gsm" in
12973 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12974 xno) ;;
12975 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12976 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12977 esac
12980 if test "x$with_jpeg" != "xno"
12981 then
12982 if ${JPEG_CFLAGS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12988 if ${JPEG_LIBS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12995 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12996 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12997 ac_save_CPPFLAGS=$CPPFLAGS
12998 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12999 for ac_header in jpeglib.h
13000 do :
13001 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13002 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_JPEGLIB_H 1
13005 _ACEOF
13009 done
13011 if test "$ac_cv_header_jpeglib_h" = "yes"
13012 then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13014 $as_echo_n "checking for -ljpeg... " >&6; }
13015 if ${ac_cv_lib_soname_jpeg+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_soname_save_LIBS=$LIBS
13019 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char jpeg_start_decompress ();
13031 main ()
13033 return jpeg_start_decompress ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 case "$LIBEXT" in
13040 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13041 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'` ;;
13042 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13043 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13044 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13045 fi ;;
13046 esac
13048 rm -f core conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_soname_save_LIBS
13052 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13054 $as_echo "not found" >&6; }
13055 JPEG_CFLAGS=""
13056 else
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13058 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13060 cat >>confdefs.h <<_ACEOF
13061 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13062 _ACEOF
13066 else
13067 JPEG_CFLAGS=""
13069 CPPFLAGS=$ac_save_CPPFLAGS
13070 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13071 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13074 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13075 case "x$with_jpeg" in
13076 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13077 xno) ;;
13078 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13079 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13080 esac
13083 if test "x$with_png" != "xno"
13084 then
13085 if ${PNG_CFLAGS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13090 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13091 if ${PNG_LIBS:+false} :; then :
13092 if ${PKG_CONFIG+:} false; then :
13093 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13096 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13098 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13099 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13100 ac_save_CPPFLAGS=$CPPFLAGS
13101 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13102 for ac_header in png.h
13103 do :
13104 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13105 if test "x$ac_cv_header_png_h" = xyes; then :
13106 cat >>confdefs.h <<_ACEOF
13107 #define HAVE_PNG_H 1
13108 _ACEOF
13112 done
13114 if test "$ac_cv_header_png_h" = "yes"
13115 then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13117 $as_echo_n "checking for -lpng... " >&6; }
13118 if ${ac_cv_lib_soname_png+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_soname_save_LIBS=$LIBS
13122 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char png_create_read_struct ();
13134 main ()
13136 return png_create_read_struct ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 case "$LIBEXT" in
13143 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13144 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'` ;;
13145 *) 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'`
13146 if ${ac_cv_lib_soname_png:+false} :; then :
13147 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13148 fi ;;
13149 esac
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_soname_save_LIBS
13155 if ${ac_cv_lib_soname_png:+false} :; then :
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13157 $as_echo "not found" >&6; }
13158 PNG_CFLAGS=""
13159 else
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13161 $as_echo "$ac_cv_lib_soname_png" >&6; }
13163 cat >>confdefs.h <<_ACEOF
13164 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13165 _ACEOF
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13169 #include <png.h>
13171 main ()
13173 typeof(png_set_expand_gray_1_2_4_to_8) *p
13175 return 0;
13177 _ACEOF
13178 if ac_fn_c_try_compile "$LINENO"; then :
13180 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13185 else
13186 PNG_CFLAGS=""
13188 CPPFLAGS=$ac_save_CPPFLAGS
13189 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13190 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13193 if test "x$ac_cv_lib_soname_png" = "x"; then :
13194 case "x$with_png" in
13195 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13196 xno) ;;
13197 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13198 This is an error since --with-png was requested." "$LINENO" 5 ;;
13199 esac
13202 if test "x$with_tiff" != "xno"
13203 then
13204 if ${TIFF_CFLAGS:+false} :; then :
13205 if ${PKG_CONFIG+:} false; then :
13206 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13210 if ${TIFF_LIBS:+false} :; then :
13211 if ${PKG_CONFIG+:} false; then :
13212 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13217 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13218 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13219 ac_save_CPPFLAGS=$CPPFLAGS
13220 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13221 for ac_header in tiffio.h
13222 do :
13223 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13224 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13225 cat >>confdefs.h <<_ACEOF
13226 #define HAVE_TIFFIO_H 1
13227 _ACEOF
13231 done
13233 if test "$ac_cv_header_tiffio_h" = "yes"
13234 then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13236 $as_echo_n "checking for -ltiff... " >&6; }
13237 if ${ac_cv_lib_soname_tiff+:} false; then :
13238 $as_echo_n "(cached) " >&6
13239 else
13240 ac_check_soname_save_LIBS=$LIBS
13241 LIBS="-ltiff $TIFF_LIBS $LIBS"
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13248 #ifdef __cplusplus
13249 extern "C"
13250 #endif
13251 char TIFFClientOpen ();
13253 main ()
13255 return TIFFClientOpen ();
13257 return 0;
13259 _ACEOF
13260 if ac_fn_c_try_link "$LINENO"; then :
13261 case "$LIBEXT" in
13262 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13263 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'` ;;
13264 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13265 if ${ac_cv_lib_soname_tiff:+false} :; then :
13266 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13267 fi ;;
13268 esac
13270 rm -f core conftest.err conftest.$ac_objext \
13271 conftest$ac_exeext conftest.$ac_ext
13272 LIBS=$ac_check_soname_save_LIBS
13274 if ${ac_cv_lib_soname_tiff:+false} :; then :
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13276 $as_echo "not found" >&6; }
13278 else
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13280 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13282 cat >>confdefs.h <<_ACEOF
13283 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13284 _ACEOF
13289 CPPFLAGS=$ac_save_CPPFLAGS
13290 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13291 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13294 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13295 case "x$with_tiff" in
13296 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13297 xno) ;;
13298 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13299 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13300 esac
13303 if test "x$with_mpg123" != "xno"
13304 then
13305 if ${MPG123_CFLAGS:+false} :; then :
13306 if ${PKG_CONFIG+:} false; then :
13307 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13311 if ${MPG123_LIBS:+false} :; then :
13312 if ${PKG_CONFIG+:} false; then :
13313 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13317 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13318 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13319 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13320 ac_save_CPPFLAGS=$CPPFLAGS
13321 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13322 for ac_header in mpg123.h
13323 do :
13324 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13325 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13326 cat >>confdefs.h <<_ACEOF
13327 #define HAVE_MPG123_H 1
13328 _ACEOF
13332 done
13334 if test "$ac_cv_header_mpg123_h" = "yes"
13335 then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13337 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13338 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13339 $as_echo_n "(cached) " >&6
13340 else
13341 ac_check_lib_save_LIBS=$LIBS
13342 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char mpg123_feed ();
13354 main ()
13356 return mpg123_feed ();
13358 return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 ac_cv_lib_mpg123_mpg123_feed=yes
13363 else
13364 ac_cv_lib_mpg123_mpg123_feed=no
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13371 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13372 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13374 else
13375 MPG123_LIBS=""
13378 else
13379 MPG123_CFLAGS=""
13380 MPG123_LIBS=""
13382 CPPFLAGS=$ac_save_CPPFLAGS
13383 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13384 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13387 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13388 case "x$with_mpg123" in
13389 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13390 xno) ;;
13391 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13392 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13393 esac
13395 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}
13397 if test "$ac_cv_header_AL_al_h" = "yes"
13398 then
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13400 $as_echo_n "checking for -lopenal... " >&6; }
13401 if ${ac_cv_lib_soname_openal+:} false; then :
13402 $as_echo_n "(cached) " >&6
13403 else
13404 ac_check_soname_save_LIBS=$LIBS
13405 LIBS="-lopenal $LIBS"
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13409 /* Override any GCC internal prototype to avoid an error.
13410 Use char because int might match the return type of a GCC
13411 builtin and then its argument prototype would still apply. */
13412 #ifdef __cplusplus
13413 extern "C"
13414 #endif
13415 char alGetSource3i ();
13417 main ()
13419 return alGetSource3i ();
13421 return 0;
13423 _ACEOF
13424 if ac_fn_c_try_link "$LINENO"; then :
13425 case "$LIBEXT" in
13426 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13427 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'` ;;
13428 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13429 if ${ac_cv_lib_soname_openal:+false} :; then :
13430 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13431 fi ;;
13432 esac
13434 rm -f core conftest.err conftest.$ac_objext \
13435 conftest$ac_exeext conftest.$ac_ext
13436 LIBS=$ac_check_soname_save_LIBS
13438 if ${ac_cv_lib_soname_openal:+false} :; then :
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13440 $as_echo "not found" >&6; }
13442 else
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13444 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13446 cat >>confdefs.h <<_ACEOF
13447 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13448 _ACEOF
13450 OPENAL_LIBS="-lopenal"
13452 ac_cv_lib_openal=yes
13454 cat >>confdefs.h <<_ACEOF
13455 #define HAVE_OPENAL 1
13456 _ACEOF
13460 if test "x$ac_cv_lib_openal" != xyes; then :
13461 case "x$with_openal" in
13462 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13465 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13466 esac
13468 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13470 if test "$ac_cv_header_kstat_h" = "yes"
13471 then
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13473 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13474 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13475 $as_echo_n "(cached) " >&6
13476 else
13477 ac_check_lib_save_LIBS=$LIBS
13478 LIBS="-lkstat $LIBS"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13482 /* Override any GCC internal prototype to avoid an error.
13483 Use char because int might match the return type of a GCC
13484 builtin and then its argument prototype would still apply. */
13485 #ifdef __cplusplus
13486 extern "C"
13487 #endif
13488 char kstat_open ();
13490 main ()
13492 return kstat_open ();
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"; then :
13498 ac_cv_lib_kstat_kstat_open=yes
13499 else
13500 ac_cv_lib_kstat_kstat_open=no
13502 rm -f core conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13504 LIBS=$ac_check_lib_save_LIBS
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13507 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13508 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13510 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13512 KSTAT_LIBS="-lkstat"
13518 if test "$ac_cv_header_libprocstat_h" = "yes"
13519 then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13521 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13522 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_check_lib_save_LIBS=$LIBS
13526 LIBS="-lprocstat $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char procstat_open_sysctl ();
13538 main ()
13540 return procstat_open_sysctl ();
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 ac_cv_lib_procstat_procstat_open_sysctl=yes
13547 else
13548 ac_cv_lib_procstat_procstat_open_sysctl=no
13550 rm -f core conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_lib_save_LIBS
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13555 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13556 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13558 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13560 PROCSTAT_LIBS="-lprocstat"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13567 $as_echo_n "checking for -lodbc... " >&6; }
13568 if ${ac_cv_lib_soname_odbc+:} false; then :
13569 $as_echo_n "(cached) " >&6
13570 else
13571 ac_check_soname_save_LIBS=$LIBS
13572 LIBS="-lodbc $LIBS"
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13576 /* Override any GCC internal prototype to avoid an error.
13577 Use char because int might match the return type of a GCC
13578 builtin and then its argument prototype would still apply. */
13579 #ifdef __cplusplus
13580 extern "C"
13581 #endif
13582 char SQLConnect ();
13584 main ()
13586 return SQLConnect ();
13588 return 0;
13590 _ACEOF
13591 if ac_fn_c_try_link "$LINENO"; then :
13592 case "$LIBEXT" in
13593 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13594 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'` ;;
13595 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13596 if ${ac_cv_lib_soname_odbc:+false} :; then :
13597 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13598 fi ;;
13599 esac
13601 rm -f core conftest.err conftest.$ac_objext \
13602 conftest$ac_exeext conftest.$ac_ext
13603 LIBS=$ac_check_soname_save_LIBS
13605 if ${ac_cv_lib_soname_odbc:+false} :; then :
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13607 $as_echo "not found" >&6; }
13608 cat >>confdefs.h <<_ACEOF
13609 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13610 _ACEOF
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13614 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13618 _ACEOF
13623 if test "x$with_netapi" != "xno"
13624 then
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13626 $as_echo_n "checking for -lnetapi... " >&6; }
13627 if ${ac_cv_lib_soname_netapi+:} false; then :
13628 $as_echo_n "(cached) " >&6
13629 else
13630 ac_check_soname_save_LIBS=$LIBS
13631 LIBS="-lnetapi $LIBS"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13638 #ifdef __cplusplus
13639 extern "C"
13640 #endif
13641 char libnetapi_init ();
13643 main ()
13645 return libnetapi_init ();
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 case "$LIBEXT" in
13652 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13655 if ${ac_cv_lib_soname_netapi:+false} :; then :
13656 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13657 fi ;;
13658 esac
13660 rm -f core conftest.err conftest.$ac_objext \
13661 conftest$ac_exeext conftest.$ac_ext
13662 LIBS=$ac_check_soname_save_LIBS
13664 if ${ac_cv_lib_soname_netapi:+false} :; then :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13666 $as_echo "not found" >&6; }
13667 cat >>confdefs.h <<_ACEOF
13668 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13669 _ACEOF
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13673 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13677 _ACEOF
13683 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13684 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13685 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13686 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13688 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13689 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13690 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13691 then
13692 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13696 EXTRACFLAGS=""
13698 if test "x${GCC}" = "xyes"
13699 then
13700 EXTRACFLAGS="-Wall -pipe"
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13703 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13704 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 if test "$cross_compiling" = yes; then :
13708 ac_cv_c_gcc_strength_bug="yes"
13709 else
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13712 int L[4] = {0,1,2,3};
13714 main ()
13716 static int Array[3];
13717 unsigned int B = 3;
13718 int i;
13719 for(i=0; i<B; i++) Array[i] = i - 3;
13720 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13721 L[i] = 4;
13722 return (Array[1] != -2 || L[2] != 3)
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_run "$LINENO"; then :
13728 ac_cv_c_gcc_strength_bug="no"
13729 else
13730 ac_cv_c_gcc_strength_bug="yes"
13732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13733 conftest.$ac_objext conftest.beam conftest.$ac_ext
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13738 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13739 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13740 then
13741 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13745 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13746 if ${ac_cv_cflags__fno_builtin+:} false; then :
13747 $as_echo_n "(cached) " >&6
13748 else
13749 ac_wine_try_cflags_saved=$CFLAGS
13750 CFLAGS="$CFLAGS -fno-builtin"
13751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13752 /* end confdefs.h. */
13753 int main(int argc, char **argv) { return 0; }
13754 _ACEOF
13755 if ac_fn_c_try_link "$LINENO"; then :
13756 ac_cv_cflags__fno_builtin=yes
13757 else
13758 ac_cv_cflags__fno_builtin=no
13760 rm -f core conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 CFLAGS=$ac_wine_try_cflags_saved
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13765 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13766 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13767 BUILTINFLAG="-fno-builtin"
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13771 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13772 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_wine_try_cflags_saved=$CFLAGS
13776 CFLAGS="$CFLAGS -fno-strict-aliasing"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 int main(int argc, char **argv) { return 0; }
13780 _ACEOF
13781 if ac_fn_c_try_link "$LINENO"; then :
13782 ac_cv_cflags__fno_strict_aliasing=yes
13783 else
13784 ac_cv_cflags__fno_strict_aliasing=no
13786 rm -f core conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13788 CFLAGS=$ac_wine_try_cflags_saved
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13791 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13792 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13793 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13795 saved_CFLAGS=$CFLAGS
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13797 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13798 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13799 $as_echo_n "(cached) " >&6
13800 else
13801 ac_wine_try_cflags_saved=$CFLAGS
13802 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 int main(int argc, char **argv) { return 0; }
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 ac_cv_cflags__Werror_unknown_warning_option=yes
13809 else
13810 ac_cv_cflags__Werror_unknown_warning_option=no
13812 rm -f core conftest.err conftest.$ac_objext \
13813 conftest$ac_exeext conftest.$ac_ext
13814 CFLAGS=$ac_wine_try_cflags_saved
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13817 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13818 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13819 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13822 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13823 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 ac_wine_try_cflags_saved=$CFLAGS
13827 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13830 int main(int argc, char **argv) { return 0; }
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"; then :
13833 ac_cv_cflags__Wdeclaration_after_statement=yes
13834 else
13835 ac_cv_cflags__Wdeclaration_after_statement=no
13837 rm -f core conftest.err conftest.$ac_objext \
13838 conftest$ac_exeext conftest.$ac_ext
13839 CFLAGS=$ac_wine_try_cflags_saved
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13842 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13843 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13844 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13847 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13848 if ${ac_cv_cflags__Wempty_body+:} false; then :
13849 $as_echo_n "(cached) " >&6
13850 else
13851 ac_wine_try_cflags_saved=$CFLAGS
13852 CFLAGS="$CFLAGS -Wempty-body"
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 int main(int argc, char **argv) { return 0; }
13856 _ACEOF
13857 if ac_fn_c_try_link "$LINENO"; then :
13858 ac_cv_cflags__Wempty_body=yes
13859 else
13860 ac_cv_cflags__Wempty_body=no
13862 rm -f core conftest.err conftest.$ac_objext \
13863 conftest$ac_exeext conftest.$ac_ext
13864 CFLAGS=$ac_wine_try_cflags_saved
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13867 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13868 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13869 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13872 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13873 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 ac_wine_try_cflags_saved=$CFLAGS
13877 CFLAGS="$CFLAGS -Wignored-qualifiers"
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 int main(int argc, char **argv) { return 0; }
13881 _ACEOF
13882 if ac_fn_c_try_link "$LINENO"; then :
13883 ac_cv_cflags__Wignored_qualifiers=yes
13884 else
13885 ac_cv_cflags__Wignored_qualifiers=no
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 CFLAGS=$ac_wine_try_cflags_saved
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13892 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13893 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13894 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13897 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13898 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_wine_try_cflags_saved=$CFLAGS
13902 CFLAGS="$CFLAGS -Wstrict-prototypes"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int main(int argc, char **argv) { return 0; }
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"; then :
13908 ac_cv_cflags__Wstrict_prototypes=yes
13909 else
13910 ac_cv_cflags__Wstrict_prototypes=no
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 CFLAGS=$ac_wine_try_cflags_saved
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13917 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13918 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13919 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13922 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13923 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 ac_wine_try_cflags_saved=$CFLAGS
13927 CFLAGS="$CFLAGS -Wtype-limits"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13930 int main(int argc, char **argv) { return 0; }
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 ac_cv_cflags__Wtype_limits=yes
13934 else
13935 ac_cv_cflags__Wtype_limits=no
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 CFLAGS=$ac_wine_try_cflags_saved
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13942 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13943 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13944 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13947 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13948 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_wine_try_cflags_saved=$CFLAGS
13952 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 int main(int argc, char **argv) { return 0; }
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"; then :
13958 ac_cv_cflags__Wunused_but_set_parameter=yes
13959 else
13960 ac_cv_cflags__Wunused_but_set_parameter=no
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 CFLAGS=$ac_wine_try_cflags_saved
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13967 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13968 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13969 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13972 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13973 if ${ac_cv_cflags__Wvla+:} false; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 ac_wine_try_cflags_saved=$CFLAGS
13977 CFLAGS="$CFLAGS -Wvla"
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13980 int main(int argc, char **argv) { return 0; }
13981 _ACEOF
13982 if ac_fn_c_try_link "$LINENO"; then :
13983 ac_cv_cflags__Wvla=yes
13984 else
13985 ac_cv_cflags__Wvla=no
13987 rm -f core conftest.err conftest.$ac_objext \
13988 conftest$ac_exeext conftest.$ac_ext
13989 CFLAGS=$ac_wine_try_cflags_saved
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13992 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13993 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13994 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13997 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13998 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 ac_wine_try_cflags_saved=$CFLAGS
14002 CFLAGS="$CFLAGS -Wwrite-strings"
14003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 int main(int argc, char **argv) { return 0; }
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_cflags__Wwrite_strings=yes
14009 else
14010 ac_cv_cflags__Wwrite_strings=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 CFLAGS=$ac_wine_try_cflags_saved
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14017 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14018 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14019 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14023 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14024 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_wine_try_cflags_saved=$CFLAGS
14028 CFLAGS="$CFLAGS -Wpointer-arith"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 int main(int argc, char **argv) { return 0; }
14032 _ACEOF
14033 if ac_fn_c_try_link "$LINENO"; then :
14034 ac_cv_cflags__Wpointer_arith=yes
14035 else
14036 ac_cv_cflags__Wpointer_arith=no
14038 rm -f core conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 CFLAGS=$ac_wine_try_cflags_saved
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14043 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14044 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14045 saved_string_h_CFLAGS=$CFLAGS
14046 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14048 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14049 if ${ac_cv_c_string_h_warnings+:} false; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 #include <string.h>
14056 main ()
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_compile "$LINENO"; then :
14064 ac_cv_c_string_h_warnings=no
14065 else
14066 ac_cv_c_string_h_warnings=yes
14068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14071 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14072 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14073 CFLAGS=$saved_string_h_CFLAGS
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14077 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14078 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_wine_try_cflags_saved=$CFLAGS
14082 CFLAGS="$CFLAGS -Wlogical-op"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 int main(int argc, char **argv) { return 0; }
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 ac_cv_cflags__Wlogical_op=yes
14089 else
14090 ac_cv_cflags__Wlogical_op=no
14092 rm -f core conftest.err conftest.$ac_objext \
14093 conftest$ac_exeext conftest.$ac_ext
14094 CFLAGS=$ac_wine_try_cflags_saved
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14097 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14098 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14099 saved_string_h_CFLAGS=$CFLAGS
14100 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14102 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14103 if ${ac_cv_c_logicalop_noisy+:} false; then :
14104 $as_echo_n "(cached) " >&6
14105 else
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 #include <string.h>
14109 char*f(const char *h,char n) {return strchr(h,n);}
14111 main ()
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_compile "$LINENO"; then :
14119 ac_cv_c_logicalop_noisy=no
14120 else
14121 ac_cv_c_logicalop_noisy=yes
14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14126 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14127 CFLAGS=$saved_string_h_CFLAGS
14128 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14131 CFLAGS=$saved_CFLAGS
14133 for ac_flag in $CFLAGS; do
14134 case $ac_flag in
14135 -g) case $host_os in
14136 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14137 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14138 if ${ac_cv_cflags__gstabsp+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_wine_try_cflags_saved=$CFLAGS
14142 CFLAGS="$CFLAGS -gstabs+"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 int main(int argc, char **argv) { return 0; }
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 ac_cv_cflags__gstabsp=yes
14149 else
14150 ac_cv_cflags__gstabsp=no
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 CFLAGS=$ac_wine_try_cflags_saved
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14157 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14158 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14159 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14160 fi ;;
14161 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14162 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14163 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_wine_try_cflags_saved=$CFLAGS
14167 CFLAGS="$CFLAGS -gdwarf-2"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int main(int argc, char **argv) { return 0; }
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 ac_cv_cflags__gdwarf_2=yes
14174 else
14175 ac_cv_cflags__gdwarf_2=no
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 CFLAGS=$ac_wine_try_cflags_saved
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14182 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14183 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14184 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14187 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14188 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_wine_try_cflags_saved=$CFLAGS
14192 CFLAGS="$CFLAGS -gstrict-dwarf"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int main(int argc, char **argv) { return 0; }
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_cflags__gstrict_dwarf=yes
14199 else
14200 ac_cv_cflags__gstrict_dwarf=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 CFLAGS=$ac_wine_try_cflags_saved
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14207 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14208 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14209 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14210 fi ;;
14211 esac ;;
14212 esac
14213 done
14215 case $host_cpu in
14216 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14217 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14218 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14219 $as_echo_n "(cached) " >&6
14220 else
14221 ac_wine_try_cflags_saved=$CFLAGS
14222 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14225 int main(int argc, char **argv) { return 0; }
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 ac_cv_cflags__fno_omit_frame_pointer=yes
14229 else
14230 ac_cv_cflags__fno_omit_frame_pointer=no
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 CFLAGS=$ac_wine_try_cflags_saved
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14237 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14238 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14239 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14240 fi ;;
14241 esac
14243 case $host in
14244 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14245 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14246 if ${ac_cv_cflags__Wno_format+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 ac_wine_try_cflags_saved=$CFLAGS
14250 CFLAGS="$CFLAGS -Wno-format"
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14253 int main(int argc, char **argv) { return 0; }
14254 _ACEOF
14255 if ac_fn_c_try_link "$LINENO"; then :
14256 ac_cv_cflags__Wno_format=yes
14257 else
14258 ac_cv_cflags__Wno_format=no
14260 rm -f core conftest.err conftest.$ac_objext \
14261 conftest$ac_exeext conftest.$ac_ext
14262 CFLAGS=$ac_wine_try_cflags_saved
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14265 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14266 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14267 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14268 fi ;;
14269 esac
14271 if test "x$enable_maintainer_mode" = "xyes"
14272 then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14274 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14275 if ${ac_cv_cflags__Werror+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -Werror"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__Werror=yes
14286 else
14287 ac_cv_cflags__Werror=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14294 $as_echo "$ac_cv_cflags__Werror" >&6; }
14295 if test "x$ac_cv_cflags__Werror" = xyes; then :
14296 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14300 saved_CFLAGS="$CFLAGS"
14301 CFLAGS="$CFLAGS -Werror"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14303 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14304 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14311 main ()
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_compile "$LINENO"; then :
14319 ac_cv_have_ms_hook_prologue="yes"
14320 else
14321 ac_cv_have_ms_hook_prologue="no"
14323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14326 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14327 CFLAGS="$saved_CFLAGS"
14328 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14329 then
14331 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14333 else
14334 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14341 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14342 if ${ac_cv_c_fortify_enabled+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346 /* end confdefs.h. */
14347 #include <string.h>
14349 main ()
14351 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14352 #error Fortify enabled
14353 #endif
14355 return 0;
14357 _ACEOF
14358 if ac_fn_c_try_compile "$LINENO"; then :
14359 ac_cv_c_fortify_enabled=no
14360 else
14361 ac_cv_c_fortify_enabled=yes
14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14366 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14367 if test "$ac_cv_c_fortify_enabled" = yes
14368 then
14369 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14374 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14375 if ${ac_cv_c_extern_prefix+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14380 extern int ac_test;
14382 main ()
14384 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_c_extern_prefix="yes"
14391 else
14392 ac_cv_c_extern_prefix="no"
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14398 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14400 case $host_cpu in
14401 *i[3456789]86*)
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14403 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14404 if ${ac_cv_c_stdcall_suffix+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 #ifndef _MSC_VER
14410 #define __stdcall __attribute__((__stdcall__))
14411 #endif
14412 int __stdcall ac_test(int i) { return i; }
14414 main ()
14416 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14418 return 0;
14420 _ACEOF
14421 if ac_fn_c_try_link "$LINENO"; then :
14422 ac_cv_c_stdcall_suffix="yes"
14423 else
14424 ac_cv_c_stdcall_suffix="no"
14426 rm -f core conftest.err conftest.$ac_objext \
14427 conftest$ac_exeext conftest.$ac_ext
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14430 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14431 *) ac_cv_c_stdcall_suffix="no" ;;
14432 esac
14435 if test "$ac_cv_c_extern_prefix" = "yes"
14436 then
14437 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14439 asm_name_prefix="_"
14440 else
14441 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14443 asm_name_prefix=""
14447 if test "$ac_cv_c_stdcall_suffix" = "yes"
14448 then
14449 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14451 else
14452 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14458 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14459 if ${ac_cv_asm_func_def+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14466 main ()
14468 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14470 return 0;
14472 _ACEOF
14473 if ac_fn_c_try_link "$LINENO"; then :
14474 ac_cv_asm_func_def=".def"
14475 else
14476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14477 /* end confdefs.h. */
14480 main ()
14482 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_asm_func_def=".type @function"
14489 else
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14494 main ()
14496 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14498 return 0;
14500 _ACEOF
14501 if ac_fn_c_try_link "$LINENO"; then :
14502 ac_cv_asm_func_def=".type 2"
14503 else
14504 ac_cv_asm_func_def="unknown"
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14516 $as_echo "$ac_cv_asm_func_def" >&6; }
14519 case "$ac_cv_asm_func_def" in
14520 ".def")
14521 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14523 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14524 ".type @function")
14525 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14527 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14528 ".type 2")
14529 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14531 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14533 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14535 asm_func_header="" ;;
14536 esac
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14539 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14540 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14545 asm(".text\n\t.long 0");
14547 main ()
14551 return 0;
14553 _ACEOF
14554 if ac_fn_c_try_compile "$LINENO"; then :
14555 ac_cv_c_asm_outside_funcs="yes"
14556 else
14557 ac_cv_c_asm_outside_funcs="no"
14559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14562 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14565 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14566 if ${ac_cv_c_dot_previous+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14573 main ()
14575 asm(".text\nac_test:\t.long 0\n\t.previous");
14577 return 0;
14579 _ACEOF
14580 if ac_fn_c_try_link "$LINENO"; then :
14581 ac_cv_c_dot_previous="yes"
14582 else
14583 ac_cv_c_dot_previous="no"
14585 rm -f core conftest.err conftest.$ac_objext \
14586 conftest$ac_exeext conftest.$ac_ext
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14589 $as_echo "$ac_cv_c_dot_previous" >&6; }
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14592 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14593 if ${ac_cv_c_cfi_support+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14600 main ()
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_compile "$LINENO"; then :
14608 ac_cv_c_cfi_support="yes"
14609 else
14610 ac_cv_c_cfi_support="no"
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14615 $as_echo "$ac_cv_c_cfi_support" >&6; }
14617 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14618 asm_func_trailer=""
14619 if test "$ac_cv_c_dot_previous" = "yes"
14620 then
14621 asm_func_trailer="\\n\\t.previous"
14623 if test "$ac_cv_c_cfi_support" = "yes"
14624 then
14625 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14626 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14628 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14630 UNWINDFLAGS=-fasynchronous-unwind-tables
14632 else
14633 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14637 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14640 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14641 then
14642 cat >>confdefs.h <<_ACEOF
14643 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14644 _ACEOF
14646 else
14647 cat >>confdefs.h <<_ACEOF
14648 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14649 _ACEOF
14653 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14656 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14660 case $build_os in
14661 cygwin*|mingw32*) TOOLSEXT=".exe"
14663 esac
14665 case $host_os in
14666 linux*)
14667 case $host_cpu in
14668 *i[3456789]86*|x86_64*)
14669 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14670 loader_programs="$loader_programs $wine_binary-preloader"
14671 as_fn_append LOADER_RULES "
14672 $wine_binary-preloader: preloader.o
14673 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14675 install install-lib:: $wine_binary-preloader
14676 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14678 uninstall::
14679 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14681 preloader_EXTRADEFS = $BUILTINFLAG
14682 " ;;
14683 esac
14685 esac
14686 as_fn_append LOADER_RULES "
14687 PROGRAMS = $loader_programs
14691 ac_save_CFLAGS="$CFLAGS"
14692 CFLAGS="$CFLAGS $BUILTINFLAG"
14693 for ac_func in \
14694 __res_get_state \
14695 __res_getservers \
14696 _finite \
14697 _isnan \
14698 _pclose \
14699 _popen \
14700 _snprintf \
14701 _spawnvp \
14702 _strdup \
14703 _stricmp \
14704 _strnicmp \
14705 _strtoi64 \
14706 _strtoui64 \
14707 _vsnprintf \
14708 asctime_r \
14709 chsize \
14710 dlopen \
14711 epoll_create \
14712 ffs \
14713 finitef \
14714 fnmatch \
14715 fork \
14716 fpclass \
14717 fstatfs \
14718 fstatvfs \
14719 ftruncate \
14720 futimens \
14721 futimes \
14722 futimesat \
14723 getattrlist \
14724 getdirentries \
14725 getopt_long_only \
14726 getpwuid \
14727 gettimeofday \
14728 getuid \
14729 if_nameindex \
14730 isnanf \
14731 kqueue \
14732 lstat \
14733 memmove \
14734 mmap \
14735 pclose \
14736 pipe2 \
14737 poll \
14738 popen \
14739 port_create \
14740 prctl \
14741 pread \
14742 proc_pidinfo \
14743 pwrite \
14744 readdir \
14745 readlink \
14746 sched_yield \
14747 select \
14748 setproctitle \
14749 setrlimit \
14750 settimeofday \
14751 sigaltstack \
14752 sigprocmask \
14753 snprintf \
14754 statfs \
14755 statvfs \
14756 strcasecmp \
14757 strdup \
14758 strerror \
14759 strncasecmp \
14760 strtold \
14761 strtoll \
14762 strtoull \
14763 symlink \
14764 tcdrain \
14765 thr_kill2 \
14766 timegm \
14767 usleep \
14768 vsnprintf
14770 do :
14771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14773 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14774 cat >>confdefs.h <<_ACEOF
14775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14776 _ACEOF
14779 done
14781 CFLAGS="$ac_save_CFLAGS"
14783 if test "$ac_cv_func_dlopen" = no
14784 then
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14786 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14787 if ${ac_cv_lib_dl_dlopen+:} false; then :
14788 $as_echo_n "(cached) " >&6
14789 else
14790 ac_check_lib_save_LIBS=$LIBS
14791 LIBS="-ldl $LIBS"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 #ifdef __cplusplus
14799 extern "C"
14800 #endif
14801 char dlopen ();
14803 main ()
14805 return dlopen ();
14807 return 0;
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_lib_dl_dlopen=yes
14812 else
14813 ac_cv_lib_dl_dlopen=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 LIBS=$ac_check_lib_save_LIBS
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14820 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14821 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14822 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14823 DL_LIBS="-ldl"
14828 ac_wine_check_funcs_save_LIBS="$LIBS"
14829 LIBS="$LIBS $DL_LIBS"
14830 for ac_func in dladdr
14831 do :
14832 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14833 if test "x$ac_cv_func_dladdr" = xyes; then :
14834 cat >>confdefs.h <<_ACEOF
14835 #define HAVE_DLADDR 1
14836 _ACEOF
14839 done
14841 LIBS="$ac_wine_check_funcs_save_LIBS"
14843 if test "$ac_cv_func_poll" = no
14844 then
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14846 $as_echo_n "checking for poll in -lpoll... " >&6; }
14847 if ${ac_cv_lib_poll_poll+:} false; then :
14848 $as_echo_n "(cached) " >&6
14849 else
14850 ac_check_lib_save_LIBS=$LIBS
14851 LIBS="-lpoll $LIBS"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 #ifdef __cplusplus
14859 extern "C"
14860 #endif
14861 char poll ();
14863 main ()
14865 return poll ();
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_lib_poll_poll=yes
14872 else
14873 ac_cv_lib_poll_poll=no
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14880 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14881 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14882 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14883 POLL_LIBS="-lpoll"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14890 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14891 if ${ac_cv_search_gethostbyname+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 ac_func_search_save_LIBS=$LIBS
14895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14898 /* Override any GCC internal prototype to avoid an error.
14899 Use char because int might match the return type of a GCC
14900 builtin and then its argument prototype would still apply. */
14901 #ifdef __cplusplus
14902 extern "C"
14903 #endif
14904 char gethostbyname ();
14906 main ()
14908 return gethostbyname ();
14910 return 0;
14912 _ACEOF
14913 for ac_lib in '' nsl; do
14914 if test -z "$ac_lib"; then
14915 ac_res="none required"
14916 else
14917 ac_res=-l$ac_lib
14918 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14920 if ac_fn_c_try_link "$LINENO"; then :
14921 ac_cv_search_gethostbyname=$ac_res
14923 rm -f core conftest.err conftest.$ac_objext \
14924 conftest$ac_exeext
14925 if ${ac_cv_search_gethostbyname+:} false; then :
14926 break
14928 done
14929 if ${ac_cv_search_gethostbyname+:} false; then :
14931 else
14932 ac_cv_search_gethostbyname=no
14934 rm conftest.$ac_ext
14935 LIBS=$ac_func_search_save_LIBS
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14938 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14939 ac_res=$ac_cv_search_gethostbyname
14940 if test "$ac_res" != no; then :
14941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14947 $as_echo_n "checking for library containing connect... " >&6; }
14948 if ${ac_cv_search_connect+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 ac_func_search_save_LIBS=$LIBS
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14958 #ifdef __cplusplus
14959 extern "C"
14960 #endif
14961 char connect ();
14963 main ()
14965 return connect ();
14967 return 0;
14969 _ACEOF
14970 for ac_lib in '' socket; do
14971 if test -z "$ac_lib"; then
14972 ac_res="none required"
14973 else
14974 ac_res=-l$ac_lib
14975 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 ac_cv_search_connect=$ac_res
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext
14982 if ${ac_cv_search_connect+:} false; then :
14983 break
14985 done
14986 if ${ac_cv_search_connect+:} false; then :
14988 else
14989 ac_cv_search_connect=no
14991 rm conftest.$ac_ext
14992 LIBS=$ac_func_search_save_LIBS
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14995 $as_echo "$ac_cv_search_connect" >&6; }
14996 ac_res=$ac_cv_search_connect
14997 if test "$ac_res" != no; then :
14998 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15004 $as_echo_n "checking for library containing inet_aton... " >&6; }
15005 if ${ac_cv_search_inet_aton+:} false; then :
15006 $as_echo_n "(cached) " >&6
15007 else
15008 ac_func_search_save_LIBS=$LIBS
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15012 /* Override any GCC internal prototype to avoid an error.
15013 Use char because int might match the return type of a GCC
15014 builtin and then its argument prototype would still apply. */
15015 #ifdef __cplusplus
15016 extern "C"
15017 #endif
15018 char inet_aton ();
15020 main ()
15022 return inet_aton ();
15024 return 0;
15026 _ACEOF
15027 for ac_lib in '' resolv; do
15028 if test -z "$ac_lib"; then
15029 ac_res="none required"
15030 else
15031 ac_res=-l$ac_lib
15032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_search_inet_aton=$ac_res
15037 rm -f core conftest.err conftest.$ac_objext \
15038 conftest$ac_exeext
15039 if ${ac_cv_search_inet_aton+:} false; then :
15040 break
15042 done
15043 if ${ac_cv_search_inet_aton+:} false; then :
15045 else
15046 ac_cv_search_inet_aton=no
15048 rm conftest.$ac_ext
15049 LIBS=$ac_func_search_save_LIBS
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15052 $as_echo "$ac_cv_search_inet_aton" >&6; }
15053 ac_res=$ac_cv_search_inet_aton
15054 if test "$ac_res" != no; then :
15055 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15060 for ac_func in \
15061 getaddrinfo \
15062 getnameinfo \
15063 getnetbyname \
15064 getprotobyname \
15065 getprotobynumber \
15066 getservbyport \
15067 inet_addr \
15068 inet_network \
15069 inet_ntop \
15070 inet_pton \
15071 sendmsg \
15072 socketpair \
15074 do :
15075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15078 cat >>confdefs.h <<_ACEOF
15079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15080 _ACEOF
15083 done
15086 ac_save_LIBS=$LIBS
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15088 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15089 if ${ac_cv_search_clock_gettime+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 ac_func_search_save_LIBS=$LIBS
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 /* Override any GCC internal prototype to avoid an error.
15097 Use char because int might match the return type of a GCC
15098 builtin and then its argument prototype would still apply. */
15099 #ifdef __cplusplus
15100 extern "C"
15101 #endif
15102 char clock_gettime ();
15104 main ()
15106 return clock_gettime ();
15108 return 0;
15110 _ACEOF
15111 for ac_lib in '' rt; do
15112 if test -z "$ac_lib"; then
15113 ac_res="none required"
15114 else
15115 ac_res=-l$ac_lib
15116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15118 if ac_fn_c_try_link "$LINENO"; then :
15119 ac_cv_search_clock_gettime=$ac_res
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext
15123 if ${ac_cv_search_clock_gettime+:} false; then :
15124 break
15126 done
15127 if ${ac_cv_search_clock_gettime+:} false; then :
15129 else
15130 ac_cv_search_clock_gettime=no
15132 rm conftest.$ac_ext
15133 LIBS=$ac_func_search_save_LIBS
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15136 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15137 ac_res=$ac_cv_search_clock_gettime
15138 if test "$ac_res" != no; then :
15139 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15141 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15143 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15147 LIBS=$ac_save_LIBS
15149 LDAP_LIBS=""
15151 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15152 then
15153 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15155 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15157 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15158 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_check_lib_save_LIBS=$LIBS
15162 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 #ifdef __cplusplus
15170 extern "C"
15171 #endif
15172 char ldap_initialize ();
15174 main ()
15176 return ldap_initialize ();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 ac_cv_lib_ldap_r_ldap_initialize=yes
15183 else
15184 ac_cv_lib_ldap_r_ldap_initialize=no
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15188 LIBS=$ac_check_lib_save_LIBS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15191 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15192 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15194 $as_echo_n "checking for ber_init in -llber... " >&6; }
15195 if ${ac_cv_lib_lber_ber_init+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_check_lib_save_LIBS=$LIBS
15199 LIBS="-llber $PTHREAD_LIBS $LIBS"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15203 /* Override any GCC internal prototype to avoid an error.
15204 Use char because int might match the return type of a GCC
15205 builtin and then its argument prototype would still apply. */
15206 #ifdef __cplusplus
15207 extern "C"
15208 #endif
15209 char ber_init ();
15211 main ()
15213 return ber_init ();
15215 return 0;
15217 _ACEOF
15218 if ac_fn_c_try_link "$LINENO"; then :
15219 ac_cv_lib_lber_ber_init=yes
15220 else
15221 ac_cv_lib_lber_ber_init=no
15223 rm -f core conftest.err conftest.$ac_objext \
15224 conftest$ac_exeext conftest.$ac_ext
15225 LIBS=$ac_check_lib_save_LIBS
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15228 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15229 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15231 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15233 LDAP_LIBS="-lldap_r -llber"
15240 ac_wine_check_funcs_save_LIBS="$LIBS"
15241 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15242 for ac_func in \
15243 ldap_count_references \
15244 ldap_first_reference \
15245 ldap_next_reference \
15246 ldap_parse_reference \
15247 ldap_parse_sort_control \
15248 ldap_parse_sortresponse_control \
15249 ldap_parse_vlv_control \
15250 ldap_parse_vlvresponse_control
15251 do :
15252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15257 _ACEOF
15260 done
15262 LIBS="$ac_wine_check_funcs_save_LIBS"
15264 if test "x$LDAP_LIBS" = "x"; then :
15265 case "x$with_ldap" in
15266 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15267 xno) ;;
15268 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15269 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15270 esac
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15274 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15275 if ${wine_cv_one_arg_mkdir+:} false; then :
15276 $as_echo_n "(cached) " >&6
15277 else
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15280 #include <sys/stat.h>
15282 main ()
15284 mkdir("foo");
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_compile "$LINENO"; then :
15290 wine_cv_one_arg_mkdir=yes
15291 else
15292 wine_cv_one_arg_mkdir=no
15294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15297 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15298 if test "$wine_cv_one_arg_mkdir" = "yes"
15299 then
15301 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15306 $as_echo_n "checking for sched_setaffinity... " >&6; }
15307 if ${wine_cv_have_sched_setaffinity+:} false; then :
15308 $as_echo_n "(cached) " >&6
15309 else
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15312 #define _GNU_SOURCE
15313 #include <sched.h>
15315 main ()
15317 sched_setaffinity(0, 0, 0);
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 wine_cv_have_sched_setaffinity=yes
15324 else
15325 wine_cv_have_sched_setaffinity=no
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15331 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15332 if test "$wine_cv_have_sched_setaffinity" = "yes"
15333 then
15335 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15340 $as_echo_n "checking for fallocate... " >&6; }
15341 if ${wine_cv_have_fallocate+:} false; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 #define _GNU_SOURCE
15347 #include <fcntl.h>
15349 main ()
15351 fallocate(-1, 0, 0, 0);
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_link "$LINENO"; then :
15357 wine_cv_have_fallocate=yes
15358 else
15359 wine_cv_have_fallocate=no
15361 rm -f core conftest.err conftest.$ac_objext \
15362 conftest$ac_exeext conftest.$ac_ext
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15365 $as_echo "$wine_cv_have_fallocate" >&6; }
15366 if test "$wine_cv_have_fallocate" = "yes"
15367 then
15369 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15375 $as_echo_n "checking for inline... " >&6; }
15376 if ${ac_cv_c_inline+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 ac_cv_c_inline=no
15380 for ac_kw in inline __inline__ __inline; do
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 #ifndef __cplusplus
15384 typedef int foo_t;
15385 static $ac_kw foo_t static_foo () {return 0; }
15386 $ac_kw foo_t foo () {return 0; }
15387 #endif
15389 _ACEOF
15390 if ac_fn_c_try_compile "$LINENO"; then :
15391 ac_cv_c_inline=$ac_kw
15393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15394 test "$ac_cv_c_inline" != no && break
15395 done
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15399 $as_echo "$ac_cv_c_inline" >&6; }
15401 case $ac_cv_c_inline in
15402 inline | yes) ;;
15404 case $ac_cv_c_inline in
15405 no) ac_val=;;
15406 *) ac_val=$ac_cv_c_inline;;
15407 esac
15408 cat >>confdefs.h <<_ACEOF
15409 #ifndef __cplusplus
15410 #define inline $ac_val
15411 #endif
15412 _ACEOF
15414 esac
15416 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15417 if test "x$ac_cv_type_mode_t" = xyes; then :
15419 cat >>confdefs.h <<_ACEOF
15420 #define HAVE_MODE_T 1
15421 _ACEOF
15425 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15426 if test "x$ac_cv_type_off_t" = xyes; then :
15428 cat >>confdefs.h <<_ACEOF
15429 #define HAVE_OFF_T 1
15430 _ACEOF
15434 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15435 if test "x$ac_cv_type_pid_t" = xyes; then :
15437 cat >>confdefs.h <<_ACEOF
15438 #define HAVE_PID_T 1
15439 _ACEOF
15443 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15444 if test "x$ac_cv_type_size_t" = xyes; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define HAVE_SIZE_T 1
15448 _ACEOF
15452 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15453 if test "x$ac_cv_type_ssize_t" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_SSIZE_T 1
15457 _ACEOF
15461 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15462 if test "x$ac_cv_type_long_long" = xyes; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define HAVE_LONG_LONG 1
15466 _ACEOF
15470 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15471 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_FSBLKCNT_T 1
15475 _ACEOF
15479 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15480 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15482 cat >>confdefs.h <<_ACEOF
15483 #define HAVE_FSFILCNT_T 1
15484 _ACEOF
15489 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15490 #include <signal.h>
15492 if test "x$ac_cv_type_sigset_t" = xyes; then :
15494 cat >>confdefs.h <<_ACEOF
15495 #define HAVE_SIGSET_T 1
15496 _ACEOF
15501 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15503 if test "x$ac_cv_type_request_sense" = xyes; then :
15505 cat >>confdefs.h <<_ACEOF
15506 #define HAVE_REQUEST_SENSE 1
15507 _ACEOF
15513 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15514 #ifdef HAVE_SYS_SOCKET_H
15515 #include <sys/socket.h>
15516 #endif
15517 #ifdef HAVE_SYS_SOCKETVAR_H
15518 #include <sys/socketvar.h>
15519 #endif
15520 #ifdef HAVE_NET_ROUTE_H
15521 #include <net/route.h>
15522 #endif
15523 #ifdef HAVE_NETINET_IN_H
15524 #include <netinet/in.h>
15525 #endif
15526 #ifdef HAVE_NETINET_IN_SYSTM_H
15527 #include <netinet/in_systm.h>
15528 #endif
15529 #ifdef HAVE_NETINET_IP_H
15530 #include <netinet/ip.h>
15531 #endif
15532 #ifdef HAVE_NETINET_IN_PCB_H
15533 #include <netinet/in_pcb.h>
15534 #endif
15536 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15538 cat >>confdefs.h <<_ACEOF
15539 #define HAVE_STRUCT_XINPGEN 1
15540 _ACEOF
15546 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15547 #include <link.h>
15548 #endif
15549 #ifdef HAVE_SYS_LINK_H
15550 #include <sys/link.h>
15551 #endif
15553 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15555 cat >>confdefs.h <<_ACEOF
15556 #define HAVE_STRUCT_R_DEBUG 1
15557 _ACEOF
15561 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15562 #include <link.h>
15563 #endif
15564 #ifdef HAVE_SYS_LINK_H
15565 #include <sys/link.h>
15566 #endif
15568 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_STRUCT_LINK_MAP 1
15572 _ACEOF
15578 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15579 #include <linux/input.h>
15580 #endif
15582 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15584 cat >>confdefs.h <<_ACEOF
15585 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15586 _ACEOF
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15593 $as_echo_n "checking for sigaddset... " >&6; }
15594 if ${wine_cv_have_sigaddset+:} false; then :
15595 $as_echo_n "(cached) " >&6
15596 else
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599 #include <signal.h>
15601 main ()
15603 sigset_t set; sigaddset(&set,SIGTERM);
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 wine_cv_have_sigaddset=yes
15610 else
15611 wine_cv_have_sigaddset=no
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15617 $as_echo "$wine_cv_have_sigaddset" >&6; }
15618 if test "$wine_cv_have_sigaddset" = "yes"
15619 then
15621 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15627 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15628 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15629 $as_echo_n "(cached) " >&6
15630 else
15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15633 #include <netdb.h>
15635 main ()
15638 char *name=0;
15639 struct hostent he;
15640 struct hostent *result;
15641 char *buf=0;
15642 int bufsize=0;
15643 int errnr;
15644 char *addr=0;
15645 int addrlen=0;
15646 int addrtype=0;
15647 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15648 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15651 return 0;
15653 _ACEOF
15654 if ac_fn_c_try_link "$LINENO"; then :
15655 wine_cv_linux_gethostbyname_r_6=yes
15656 else
15657 wine_cv_linux_gethostbyname_r_6=no
15660 rm -f core conftest.err conftest.$ac_objext \
15661 conftest$ac_exeext conftest.$ac_ext
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15665 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15666 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15667 then
15669 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15673 if test "$ac_cv_header_linux_joystick_h" = "yes"
15674 then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15676 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15677 if ${wine_cv_linux_joystick_22_api+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 #include <sys/ioctl.h>
15684 #include <sys/types.h>
15685 #include <linux/joystick.h>
15687 struct js_event blub;
15688 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15689 #error "no 2.2 header"
15690 #endif
15693 main ()
15695 /*empty*/
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_compile "$LINENO"; then :
15701 wine_cv_linux_joystick_22_api=yes
15702 else
15703 wine_cv_linux_joystick_22_api=no
15705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15709 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15710 if test "$wine_cv_linux_joystick_22_api" = "yes"
15711 then
15713 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15719 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15720 #ifdef HAVE_SYS_PARAM_H
15721 # include <sys/param.h>
15722 #endif
15723 #ifdef HAVE_SYS_MOUNT_H
15724 # include <sys/mount.h>
15725 #endif
15726 #ifdef HAVE_SYS_VFS_H
15727 # include <sys/vfs.h>
15728 #endif
15729 #ifdef HAVE_SYS_STATFS_H
15730 # include <sys/statfs.h>
15731 #endif
15733 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15735 cat >>confdefs.h <<_ACEOF
15736 #define HAVE_STRUCT_STATFS_F_BFREE 1
15737 _ACEOF
15741 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15742 #ifdef HAVE_SYS_PARAM_H
15743 # include <sys/param.h>
15744 #endif
15745 #ifdef HAVE_SYS_MOUNT_H
15746 # include <sys/mount.h>
15747 #endif
15748 #ifdef HAVE_SYS_VFS_H
15749 # include <sys/vfs.h>
15750 #endif
15751 #ifdef HAVE_SYS_STATFS_H
15752 # include <sys/statfs.h>
15753 #endif
15755 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_PARAM_H
15765 # include <sys/param.h>
15766 #endif
15767 #ifdef HAVE_SYS_MOUNT_H
15768 # include <sys/mount.h>
15769 #endif
15770 #ifdef HAVE_SYS_VFS_H
15771 # include <sys/vfs.h>
15772 #endif
15773 #ifdef HAVE_SYS_STATFS_H
15774 # include <sys/statfs.h>
15775 #endif
15777 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15781 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15786 #ifdef HAVE_SYS_PARAM_H
15787 # include <sys/param.h>
15788 #endif
15789 #ifdef HAVE_SYS_MOUNT_H
15790 # include <sys/mount.h>
15791 #endif
15792 #ifdef HAVE_SYS_VFS_H
15793 # include <sys/vfs.h>
15794 #endif
15795 #ifdef HAVE_SYS_STATFS_H
15796 # include <sys/statfs.h>
15797 #endif
15799 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_STRUCT_STATFS_F_FFREE 1
15803 _ACEOF
15807 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15808 #ifdef HAVE_SYS_PARAM_H
15809 # include <sys/param.h>
15810 #endif
15811 #ifdef HAVE_SYS_MOUNT_H
15812 # include <sys/mount.h>
15813 #endif
15814 #ifdef HAVE_SYS_VFS_H
15815 # include <sys/vfs.h>
15816 #endif
15817 #ifdef HAVE_SYS_STATFS_H
15818 # include <sys/statfs.h>
15819 #endif
15821 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15825 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_PARAM_H
15831 # include <sys/param.h>
15832 #endif
15833 #ifdef HAVE_SYS_MOUNT_H
15834 # include <sys/mount.h>
15835 #endif
15836 #ifdef HAVE_SYS_VFS_H
15837 # include <sys/vfs.h>
15838 #endif
15839 #ifdef HAVE_SYS_STATFS_H
15840 # include <sys/statfs.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15847 _ACEOF
15853 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15854 #include <sys/statvfs.h>
15855 #endif
15857 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15859 cat >>confdefs.h <<_ACEOF
15860 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15861 _ACEOF
15867 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15868 #include <dirent.h>
15869 #endif
15871 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15875 _ACEOF
15881 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15882 #ifdef HAVE_SYS_SOCKET_H
15883 # include <sys/socket.h>
15884 #endif
15885 #ifdef HAVE_SYS_UN_H
15886 # include <sys/un.h>
15887 #endif
15889 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15891 cat >>confdefs.h <<_ACEOF
15892 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15893 _ACEOF
15897 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15898 #ifdef HAVE_SYS_SOCKET_H
15899 # include <sys/socket.h>
15900 #endif
15901 #ifdef HAVE_SYS_UN_H
15902 # include <sys/un.h>
15903 #endif
15905 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15909 _ACEOF
15913 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15914 #ifdef HAVE_SYS_SOCKET_H
15915 # include <sys/socket.h>
15916 #endif
15917 #ifdef HAVE_SYS_UN_H
15918 # include <sys/un.h>
15919 #endif
15921 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15925 _ACEOF
15931 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15932 #ifdef HAVE_SCSI_SG_H
15933 #include <scsi/sg.h>
15934 #endif
15936 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_SCSIREQ_T_CMD 1
15940 _ACEOF
15944 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>
15945 #ifdef HAVE_SCSI_SG_H
15946 #include <scsi/sg.h>
15947 #endif
15949 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15953 _ACEOF
15959 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15961 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_SIGINFO_T_SI_FD 1
15965 _ACEOF
15971 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15972 #ifdef HAVE_SYS_MTIO_H
15973 #include <sys/mtio.h>
15974 #endif
15976 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15980 _ACEOF
15984 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15985 #ifdef HAVE_SYS_MTIO_H
15986 #include <sys/mtio.h>
15987 #endif
15989 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15993 _ACEOF
15997 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15998 #ifdef HAVE_SYS_MTIO_H
15999 #include <sys/mtio.h>
16000 #endif
16002 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16006 _ACEOF
16012 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16013 #include <getopt.h>
16014 #endif
16016 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16018 cat >>confdefs.h <<_ACEOF
16019 #define HAVE_STRUCT_OPTION_NAME 1
16020 _ACEOF
16026 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16027 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16031 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16036 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_STAT_ST_MTIM 1
16040 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16045 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16049 _ACEOF
16053 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16054 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_STRUCT_STAT_ST_CTIM 1
16058 _ACEOF
16062 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16063 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16067 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16072 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_STAT_ST_ATIM 1
16076 _ACEOF
16080 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16081 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16090 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16094 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16099 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16103 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16108 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16112 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16117 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16119 cat >>confdefs.h <<_ACEOF
16120 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16121 _ACEOF
16125 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16126 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16130 _ACEOF
16136 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
16137 #include <sys/types.h>
16138 #endif
16139 #ifdef HAVE_NETINET_IN_H
16140 #include <netinet/in.h>
16141 #endif
16143 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16147 _ACEOF
16153 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16154 #include <resolv.h>
16155 #endif
16157 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_STRUCT___RES_STATE 1
16161 _ACEOF
16167 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
16168 #include <resolv.h>
16169 #endif
16171 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16175 _ACEOF
16181 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16182 #include <sys/types.h>
16183 #endif
16184 #ifdef HAVE_NETINET_IN_H
16185 # include <netinet/in.h>
16186 #endif
16187 #ifdef HAVE_ARPA_NAMESER_H
16188 # include <arpa/nameser.h>
16189 #endif
16191 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_NS_MSG__MSG_PTR 1
16195 _ACEOF
16201 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16202 #include <sys/types.h>
16203 #endif
16204 #ifdef HAVE_NETINET_IP_H
16205 #include <netinet/ip.h>
16206 #endif
16207 #ifdef HAVE_NETINET_IP_ICMP_H
16208 #include <netinet/ip_icmp.h>
16209 #endif
16210 #ifdef HAVE_NETINET_ICMP_VAR_H
16211 #include <netinet/icmp_var.h>
16212 #endif
16214 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16218 _ACEOF
16224 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16225 #include <sys/types.h>
16226 #endif
16227 #ifdef HAVE_ALIAS_H
16228 #include <alias.h>
16229 #endif
16230 #ifdef HAVE_SYS_SOCKET_H
16231 #include <sys/socket.h>
16232 #endif
16233 #ifdef HAVE_SYS_SOCKETVAR_H
16234 #include <sys/socketvar.h>
16235 #endif
16236 #ifdef HAVE_SYS_TIMEOUT_H
16237 #include <sys/timeout.h>
16238 #endif
16239 #ifdef HAVE_NETINET_IN_H
16240 #include <netinet/in.h>
16241 #endif
16242 #ifdef HAVE_NETINET_IN_SYSTM_H
16243 #include <netinet/in_systm.h>
16244 #endif
16245 #ifdef HAVE_NETINET_IP_H
16246 #include <netinet/ip.h>
16247 #endif
16248 #ifdef HAVE_NETINET_IP_VAR_H
16249 #include <netinet/ip_var.h>
16250 #endif
16251 #ifdef HAVE_NETINET_IP_ICMP_H
16252 #include <netinet/ip_icmp.h>
16253 #endif
16254 #ifdef HAVE_NETINET_ICMP_VAR_H
16255 #include <netinet/icmp_var.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16262 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16269 #include <sys/types.h>
16270 #endif
16271 #ifdef HAVE_SYS_SOCKETVAR_H
16272 #include <sys/socketvar.h>
16273 #endif
16274 #ifdef HAVE_NETINET_IN_H
16275 #include <netinet/in.h>
16276 #endif
16277 #ifdef HAVE_NETINET_IP_VAR_H
16278 #include <netinet/ip_var.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16285 _ACEOF
16291 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
16292 #include <netinet/ip_var.h>
16293 #endif
16295 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16299 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16306 #include <sys/types.h>
16307 #endif
16308 #ifdef HAVE_SYS_SOCKETVAR_H
16309 #include <sys/socketvar.h>
16310 #endif
16311 #ifdef HAVE_NETINET_IN_H
16312 #include <netinet/in.h>
16313 #endif
16314 #ifdef HAVE_NETINET_TCP_H
16315 #include <netinet/tcp.h>
16316 #endif
16317 #ifdef HAVE_NETINET_TCP_VAR_H
16318 #include <netinet/tcp_var.h>
16319 #endif
16321 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16325 _ACEOF
16331 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
16332 #include <netinet/tcp_var.h>
16333 #endif
16335 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16339 _ACEOF
16345 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16346 #include <sys/types.h>
16347 #endif
16348 #ifdef HAVE_NETINET_IN_H
16349 #include <netinet/in.h>
16350 #endif
16351 #ifdef HAVE_NETINET_IP_VAR_H
16352 #include <netinet/ip_var.h>
16353 #endif
16354 #ifdef HAVE_NETINET_UDP_H
16355 #include <netinet/udp.h>
16356 #endif
16357 #ifdef HAVE_NETINET_UDP_VAR_H
16358 #include <netinet/udp_var.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16365 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16372 #include <sys/types.h>
16373 #endif
16374 #ifdef HAVE_NET_IF_H
16375 # include <net/if.h>
16376 #endif
16378 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16382 _ACEOF
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16389 $as_echo_n "checking for timezone variable... " >&6; }
16390 if ${ac_cv_have_timezone+:} false; then :
16391 $as_echo_n "(cached) " >&6
16392 else
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16395 #include <time.h>
16397 main ()
16399 timezone = 1
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_have_timezone="yes"
16406 else
16407 ac_cv_have_timezone="no"
16409 rm -f core conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16413 $as_echo "$ac_cv_have_timezone" >&6; }
16414 if test "$ac_cv_have_timezone" = "yes"
16415 then
16417 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16421 $as_echo_n "checking for daylight variable... " >&6; }
16422 if ${ac_cv_have_daylight+:} false; then :
16423 $as_echo_n "(cached) " >&6
16424 else
16425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16427 #include <time.h>
16429 main ()
16431 daylight = 1
16433 return 0;
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 ac_cv_have_daylight="yes"
16438 else
16439 ac_cv_have_daylight="no"
16441 rm -f core conftest.err conftest.$ac_objext \
16442 conftest$ac_exeext conftest.$ac_ext
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16445 $as_echo "$ac_cv_have_daylight" >&6; }
16446 if test "$ac_cv_have_daylight" = "yes"
16447 then
16449 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16453 ac_save_LIBS="$LIBS"
16454 LIBS="$LIBS -lm"
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16456 $as_echo_n "checking for isfinite... " >&6; }
16457 if ${ac_cv_have_isfinite+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #define _GNU_SOURCE
16463 #include <math.h>
16465 main ()
16467 float f = 0.0; return isfinite(f)
16469 return 0;
16471 _ACEOF
16472 if ac_fn_c_try_link "$LINENO"; then :
16473 ac_cv_have_isfinite="yes"
16474 else
16475 ac_cv_have_isfinite="no"
16477 rm -f core conftest.err conftest.$ac_objext \
16478 conftest$ac_exeext conftest.$ac_ext
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16481 $as_echo "$ac_cv_have_isfinite" >&6; }
16482 if test "$ac_cv_have_isfinite" = "yes"
16483 then
16485 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16490 $as_echo_n "checking for isinf... " >&6; }
16491 if ${ac_cv_have_isinf+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16495 /* end confdefs.h. */
16496 #include <math.h>
16498 main ()
16500 float f = 0.0; return isinf(f)
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 ac_cv_have_isinf="yes"
16507 else
16508 ac_cv_have_isinf="no"
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16514 $as_echo "$ac_cv_have_isinf" >&6; }
16515 if test "$ac_cv_have_isinf" = "yes"
16516 then
16518 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16523 $as_echo_n "checking for isnan... " >&6; }
16524 if ${ac_cv_have_isnan+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <math.h>
16531 main ()
16533 float f = 0.0; return isnan(f)
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 ac_cv_have_isnan="yes"
16540 else
16541 ac_cv_have_isnan="no"
16543 rm -f core conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16547 $as_echo "$ac_cv_have_isnan" >&6; }
16548 if test "$ac_cv_have_isnan" = "yes"
16549 then
16551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16555 for ac_func in \
16556 cbrt \
16557 cbrtf \
16558 exp2 \
16559 exp2f \
16560 llrint \
16561 llrintf \
16562 llround \
16563 llroundf \
16564 log2 \
16565 log2f \
16566 lrint \
16567 lrintf \
16568 lround \
16569 lroundf \
16570 rint \
16571 rintf \
16572 round \
16573 roundf \
16574 trunc \
16575 truncf
16577 do :
16578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16581 cat >>confdefs.h <<_ACEOF
16582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16583 _ACEOF
16586 done
16588 LIBS="$ac_save_LIBS"
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16591 $as_echo_n "checking for __builtin_clz... " >&6; }
16592 if ${ac_cv_have___builtin_clz+:} false; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16599 main ()
16601 return __builtin_clz(1)
16603 return 0;
16605 _ACEOF
16606 if ac_fn_c_try_link "$LINENO"; then :
16607 ac_cv_have___builtin_clz="yes"
16608 else
16609 ac_cv_have___builtin_clz="no"
16611 rm -f core conftest.err conftest.$ac_objext \
16612 conftest$ac_exeext conftest.$ac_ext
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16615 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16616 if test "$ac_cv_have___builtin_clz" = "yes"
16617 then
16619 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16624 case $host_cpu in
16625 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16626 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16627 if ${ac_cv_cpp_def___i386__+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #ifndef __i386__
16634 #endif
16635 _ACEOF
16636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16637 $EGREP "yes" >/dev/null 2>&1; then :
16638 ac_cv_cpp_def___i386__=yes
16639 else
16640 ac_cv_cpp_def___i386__=no
16642 rm -f conftest*
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16646 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16647 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16648 CFLAGS="$CFLAGS -D__i386__"
16649 LINTFLAGS="$LINTFLAGS -D__i386__"
16650 fi ;;
16651 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16652 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16653 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16654 $as_echo_n "(cached) " >&6
16655 else
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 #ifndef __x86_64__
16660 #endif
16661 _ACEOF
16662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16663 $EGREP "yes" >/dev/null 2>&1; then :
16664 ac_cv_cpp_def___x86_64__=yes
16665 else
16666 ac_cv_cpp_def___x86_64__=no
16668 rm -f conftest*
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16672 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16673 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16674 CFLAGS="$CFLAGS -D__x86_64__"
16675 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16676 fi ;;
16677 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16678 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16679 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16680 $as_echo_n "(cached) " >&6
16681 else
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 #ifndef __sparc64__
16686 #endif
16687 _ACEOF
16688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16689 $EGREP "yes" >/dev/null 2>&1; then :
16690 ac_cv_cpp_def___sparc64__=yes
16691 else
16692 ac_cv_cpp_def___sparc64__=no
16694 rm -f conftest*
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16698 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16699 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16700 CFLAGS="$CFLAGS -D__sparc64__"
16701 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16702 fi ;;
16703 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16704 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16705 if ${ac_cv_cpp_def___sparc__+:} false; then :
16706 $as_echo_n "(cached) " >&6
16707 else
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16710 #ifndef __sparc__
16712 #endif
16713 _ACEOF
16714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16715 $EGREP "yes" >/dev/null 2>&1; then :
16716 ac_cv_cpp_def___sparc__=yes
16717 else
16718 ac_cv_cpp_def___sparc__=no
16720 rm -f conftest*
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16724 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16725 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16726 CFLAGS="$CFLAGS -D__sparc__"
16727 LINTFLAGS="$LINTFLAGS -D__sparc__"
16728 fi ;;
16729 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16730 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16731 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #ifndef __powerpc64__
16738 #endif
16739 _ACEOF
16740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16741 $EGREP "yes" >/dev/null 2>&1; then :
16742 ac_cv_cpp_def___powerpc64__=yes
16743 else
16744 ac_cv_cpp_def___powerpc64__=no
16746 rm -f conftest*
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16750 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16751 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16752 CFLAGS="$CFLAGS -D__powerpc64__"
16753 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16754 fi ;;
16755 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16756 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16757 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #ifndef __powerpc__
16764 #endif
16765 _ACEOF
16766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16767 $EGREP "yes" >/dev/null 2>&1; then :
16768 ac_cv_cpp_def___powerpc__=yes
16769 else
16770 ac_cv_cpp_def___powerpc__=no
16772 rm -f conftest*
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16776 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16777 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16778 CFLAGS="$CFLAGS -D__powerpc__"
16779 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16780 fi ;;
16781 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16782 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16783 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16788 #ifndef __aarch64__
16790 #endif
16791 _ACEOF
16792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16793 $EGREP "yes" >/dev/null 2>&1; then :
16794 ac_cv_cpp_def___aarch64__=yes
16795 else
16796 ac_cv_cpp_def___aarch64__=no
16798 rm -f conftest*
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16802 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16803 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16804 CFLAGS="$CFLAGS -D__aarch64__"
16805 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16806 fi ;;
16807 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16808 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16809 if ${ac_cv_cpp_def___arm__+:} false; then :
16810 $as_echo_n "(cached) " >&6
16811 else
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16814 #ifndef __arm__
16816 #endif
16817 _ACEOF
16818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16819 $EGREP "yes" >/dev/null 2>&1; then :
16820 ac_cv_cpp_def___arm__=yes
16821 else
16822 ac_cv_cpp_def___arm__=no
16824 rm -f conftest*
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16828 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16829 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16830 CFLAGS="$CFLAGS -D__arm__"
16831 LINTFLAGS="$LINTFLAGS -D__arm__"
16832 fi ;;
16833 esac
16835 case $host_vendor in
16836 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16837 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16838 if ${ac_cv_cpp_def___sun__+:} false; then :
16839 $as_echo_n "(cached) " >&6
16840 else
16841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16843 #ifndef __sun__
16845 #endif
16846 _ACEOF
16847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16848 $EGREP "yes" >/dev/null 2>&1; then :
16849 ac_cv_cpp_def___sun__=yes
16850 else
16851 ac_cv_cpp_def___sun__=no
16853 rm -f conftest*
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16857 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16858 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16859 CFLAGS="$CFLAGS -D__sun__"
16860 LINTFLAGS="$LINTFLAGS -D__sun__"
16861 fi ;;
16862 esac
16868 ac_config_commands="$ac_config_commands include/stamp-h"
16870 $as_echo_n "creating Makefile rules..." >&6
16872 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16873 SOCKET_LIBS = $SOCKET_LIBS
16874 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16875 IOKIT_LIBS = $IOKIT_LIBS
16876 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16877 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16878 CORESERVICES_LIBS = $CORESERVICES_LIBS
16879 APPKIT_LIBS = $APPKIT_LIBS
16880 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16881 SECURITY_LIBS = $SECURITY_LIBS
16882 COREAUDIO_LIBS = $COREAUDIO_LIBS
16883 OPENAL_LIBS = $OPENAL_LIBS
16884 OPENCL_LIBS = $OPENCL_LIBS
16885 QUICKTIME_LIBS = $QUICKTIME_LIBS
16886 CARBON_LIBS = $CARBON_LIBS
16887 PTHREAD_LIBS = $PTHREAD_LIBS
16888 X_CFLAGS = $X_CFLAGS
16889 X_PRE_LIBS = $X_PRE_LIBS
16890 X_LIBS = $X_LIBS
16891 X_EXTRA_LIBS = $X_EXTRA_LIBS
16892 XML2_CFLAGS = $XML2_CFLAGS
16893 XML2_LIBS = $XML2_LIBS
16894 XSLT_CFLAGS = $XSLT_CFLAGS
16895 XSLT_LIBS = $XSLT_LIBS
16896 DBUS_CFLAGS = $DBUS_CFLAGS
16897 DBUS_LIBS = $DBUS_LIBS
16898 HAL_CFLAGS = $HAL_CFLAGS
16899 HAL_LIBS = $HAL_LIBS
16900 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16901 GNUTLS_LIBS = $GNUTLS_LIBS
16902 SANE_CFLAGS = $SANE_CFLAGS
16903 SANE_LIBS = $SANE_LIBS
16904 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16905 GPHOTO2_LIBS = $GPHOTO2_LIBS
16906 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16907 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16908 RESOLV_LIBS = $RESOLV_LIBS
16909 LCMS2_CFLAGS = $LCMS2_CFLAGS
16910 LCMS2_LIBS = $LCMS2_LIBS
16911 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16912 FREETYPE_LIBS = $FREETYPE_LIBS
16913 Z_LIBS = $Z_LIBS
16914 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16915 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16916 GSTREAMER_LIBS = $GSTREAMER_LIBS
16917 ALSA_LIBS = $ALSA_LIBS
16918 OSS4_CFLAGS = $OSS4_CFLAGS
16919 CAPI20_CFLAGS = $CAPI20_CFLAGS
16920 CAPI20_LIBS = $CAPI20_LIBS
16921 CUPS_CFLAGS = $CUPS_CFLAGS
16922 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16923 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16924 JPEG_CFLAGS = $JPEG_CFLAGS
16925 JPEG_LIBS = $JPEG_LIBS
16926 PNG_CFLAGS = $PNG_CFLAGS
16927 PNG_LIBS = $PNG_LIBS
16928 TIFF_CFLAGS = $TIFF_CFLAGS
16929 TIFF_LIBS = $TIFF_LIBS
16930 MPG123_CFLAGS = $MPG123_CFLAGS
16931 MPG123_LIBS = $MPG123_LIBS
16932 KSTAT_LIBS = $KSTAT_LIBS
16933 PROCSTAT_LIBS = $PROCSTAT_LIBS
16934 DL_LIBS = $DL_LIBS
16935 POLL_LIBS = $POLL_LIBS
16936 RT_LIBS = $RT_LIBS
16937 LDAP_LIBS = $LDAP_LIBS
16942 wine_fn_append_rule "
16943 # Rules automatically generated by configure
16945 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16947 .INIT: Makefile
16948 .MAKEFILEDEPS:
16949 all: Makefile
16950 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16951 @./config.status Make.tmp Makefile"
16953 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16954 .gitignore: config.status
16955 @./config.status .gitignore"
16957 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16958 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16960 if test "x$enable_fonts" != xno; then
16961 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16962 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16963 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16964 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16965 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16967 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16968 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16969 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16970 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16971 ac_config_links="$ac_config_links wine:tools/winewrapper"
16972 wine_fn_config_symlink wine
16973 if test "x$enable_win64" != xno; then
16974 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16975 wine_fn_config_symlink wine64
16978 wine_fn_config_dll acledit enable_acledit
16979 wine_fn_config_dll aclui enable_aclui implib
16980 wine_fn_config_dll activeds enable_activeds implib
16981 wine_fn_config_dll actxprxy enable_actxprxy clean
16982 wine_fn_config_lib adsiid
16983 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16984 wine_fn_config_test dlls/advapi32/tests advapi32_test
16985 wine_fn_config_dll advpack enable_advpack implib
16986 wine_fn_config_test dlls/advpack/tests advpack_test
16987 wine_fn_config_dll amstream enable_amstream clean
16988 wine_fn_config_test dlls/amstream/tests amstream_test
16989 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16990 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16992 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16993 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16996 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17000 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17001 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17010 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17013 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17018 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17025 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17027 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17033 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17045 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17046 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17047 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17048 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17049 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17050 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17051 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17052 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17053 wine_fn_config_dll apphelp enable_apphelp
17054 wine_fn_config_test dlls/apphelp/tests apphelp_test
17055 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17056 wine_fn_config_dll atl enable_atl clean,implib
17057 wine_fn_config_test dlls/atl/tests atl_test
17058 wine_fn_config_dll atl100 enable_atl100 clean,implib
17059 wine_fn_config_test dlls/atl100/tests atl100_test
17060 wine_fn_config_dll atl110 enable_atl110 clean
17061 wine_fn_config_dll atl80 enable_atl80 clean,implib
17062 wine_fn_config_test dlls/atl80/tests atl80_test
17063 wine_fn_config_dll atl90 enable_atl90 clean
17064 wine_fn_config_dll authz enable_authz
17065 wine_fn_config_dll avicap32 enable_avicap32 implib
17066 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17067 wine_fn_config_test dlls/avifil32/tests avifil32_test
17068 wine_fn_config_dll avifile.dll16 enable_win16
17069 wine_fn_config_dll avrt enable_avrt implib
17070 wine_fn_config_dll bcrypt enable_bcrypt
17071 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17072 wine_fn_config_dll browseui enable_browseui clean,po
17073 wine_fn_config_test dlls/browseui/tests browseui_test
17074 wine_fn_config_dll cabinet enable_cabinet implib
17075 wine_fn_config_test dlls/cabinet/tests cabinet_test
17076 wine_fn_config_dll capi2032 enable_capi2032 implib
17077 wine_fn_config_dll cards enable_cards implib
17078 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17079 wine_fn_config_dll clusapi enable_clusapi implib
17080 wine_fn_config_dll combase enable_combase
17081 wine_fn_config_test dlls/combase/tests combase_test
17082 wine_fn_config_dll comcat enable_comcat
17083 wine_fn_config_test dlls/comcat/tests comcat_test
17084 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17085 wine_fn_config_test dlls/comctl32/tests comctl32_test
17086 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17087 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17088 wine_fn_config_dll comm.drv16 enable_win16
17089 wine_fn_config_dll commdlg.dll16 enable_win16
17090 wine_fn_config_dll compobj.dll16 enable_win16
17091 wine_fn_config_dll compstui enable_compstui implib
17092 wine_fn_config_dll comsvcs enable_comsvcs implib
17093 wine_fn_config_dll connect enable_connect
17094 wine_fn_config_dll credui enable_credui implib,po
17095 wine_fn_config_test dlls/credui/tests credui_test
17096 wine_fn_config_dll crtdll enable_crtdll implib
17097 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17098 wine_fn_config_test dlls/crypt32/tests crypt32_test
17099 wine_fn_config_dll cryptdlg enable_cryptdlg po
17100 wine_fn_config_dll cryptdll enable_cryptdll implib
17101 wine_fn_config_dll cryptext enable_cryptext
17102 wine_fn_config_dll cryptnet enable_cryptnet implib
17103 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17104 wine_fn_config_dll cryptui enable_cryptui implib,po
17105 wine_fn_config_test dlls/cryptui/tests cryptui_test
17106 wine_fn_config_dll ctapi32 enable_ctapi32
17107 wine_fn_config_dll ctl3d.dll16 enable_win16
17108 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17109 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17110 wine_fn_config_dll d2d1 enable_d2d1 implib
17111 wine_fn_config_test dlls/d2d1/tests d2d1_test
17112 wine_fn_config_dll d3d10 enable_d3d10 implib
17113 wine_fn_config_test dlls/d3d10/tests d3d10_test
17114 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17115 wine_fn_config_dll d3d10core enable_d3d10core implib
17116 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17117 wine_fn_config_dll d3d11 enable_d3d11
17118 wine_fn_config_dll d3d8 enable_d3d8 implib
17119 wine_fn_config_test dlls/d3d8/tests d3d8_test
17120 wine_fn_config_dll d3d9 enable_d3d9 implib
17121 wine_fn_config_test dlls/d3d9/tests d3d9_test
17122 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17123 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17124 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17125 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17126 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17127 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17128 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17129 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17130 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17131 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17132 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17133 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17134 wine_fn_config_dll d3dim enable_d3dim implib
17135 wine_fn_config_dll d3drm enable_d3drm implib
17136 wine_fn_config_test dlls/d3drm/tests d3drm_test
17137 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17138 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17139 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17140 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17141 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17142 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17143 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17144 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17145 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17146 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17147 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17148 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17149 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17150 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17151 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17152 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17153 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17154 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17155 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17156 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17157 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17158 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17159 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17160 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17161 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17162 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17163 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17164 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17165 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17166 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17167 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17168 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17169 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17170 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17171 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17172 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17173 wine_fn_config_dll dbgeng enable_dbgeng implib
17174 wine_fn_config_dll dbghelp enable_dbghelp implib
17175 wine_fn_config_dll dciman32 enable_dciman32 implib
17176 wine_fn_config_dll ddeml.dll16 enable_win16
17177 wine_fn_config_dll ddraw enable_ddraw clean,implib
17178 wine_fn_config_test dlls/ddraw/tests ddraw_test
17179 wine_fn_config_dll ddrawex enable_ddrawex clean
17180 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17181 wine_fn_config_dll devenum enable_devenum clean,po
17182 wine_fn_config_test dlls/devenum/tests devenum_test
17183 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17184 wine_fn_config_dll difxapi enable_difxapi
17185 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17186 wine_fn_config_test dlls/dinput/tests dinput_test
17187 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17188 wine_fn_config_test dlls/dinput8/tests dinput8_test
17189 wine_fn_config_dll dispdib.dll16 enable_win16
17190 wine_fn_config_dll dispex enable_dispex clean
17191 wine_fn_config_test dlls/dispex/tests dispex_test
17192 wine_fn_config_dll display.drv16 enable_win16
17193 wine_fn_config_dll dmband enable_dmband clean
17194 wine_fn_config_test dlls/dmband/tests dmband_test
17195 wine_fn_config_dll dmcompos enable_dmcompos clean
17196 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17197 wine_fn_config_dll dmime enable_dmime clean
17198 wine_fn_config_test dlls/dmime/tests dmime_test
17199 wine_fn_config_dll dmloader enable_dmloader clean
17200 wine_fn_config_test dlls/dmloader/tests dmloader_test
17201 wine_fn_config_dll dmscript enable_dmscript clean
17202 wine_fn_config_test dlls/dmscript/tests dmscript_test
17203 wine_fn_config_dll dmstyle enable_dmstyle clean
17204 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17205 wine_fn_config_dll dmsynth enable_dmsynth clean
17206 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17207 wine_fn_config_dll dmusic enable_dmusic clean
17208 wine_fn_config_test dlls/dmusic/tests dmusic_test
17209 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17210 wine_fn_config_dll dnsapi enable_dnsapi implib
17211 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17212 wine_fn_config_dll dplay enable_dplay implib
17213 wine_fn_config_dll dplayx enable_dplayx clean,implib
17214 wine_fn_config_test dlls/dplayx/tests dplayx_test
17215 wine_fn_config_dll dpnaddr enable_dpnaddr
17216 wine_fn_config_dll dpnet enable_dpnet clean,implib
17217 wine_fn_config_test dlls/dpnet/tests dpnet_test
17218 wine_fn_config_dll dpnhpast enable_dpnhpast
17219 wine_fn_config_dll dpnlobby enable_dpnlobby
17220 wine_fn_config_dll dpvoice enable_dpvoice clean
17221 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17222 wine_fn_config_dll dpwsockx enable_dpwsockx
17223 wine_fn_config_dll drmclien enable_drmclien
17224 wine_fn_config_dll dsound enable_dsound clean,implib
17225 wine_fn_config_test dlls/dsound/tests dsound_test
17226 wine_fn_config_dll dssenh enable_dssenh
17227 wine_fn_config_test dlls/dssenh/tests dssenh_test
17228 wine_fn_config_dll dswave enable_dswave clean
17229 wine_fn_config_test dlls/dswave/tests dswave_test
17230 wine_fn_config_dll dwmapi enable_dwmapi implib
17231 wine_fn_config_dll dwrite enable_dwrite implib
17232 wine_fn_config_test dlls/dwrite/tests dwrite_test
17233 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17234 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17235 wine_fn_config_lib dxerr8
17236 wine_fn_config_lib dxerr9
17237 wine_fn_config_dll dxgi enable_dxgi implib
17238 wine_fn_config_test dlls/dxgi/tests dxgi_test
17239 wine_fn_config_lib dxguid
17240 wine_fn_config_dll dxva2 enable_dxva2
17241 wine_fn_config_dll evr enable_evr
17242 wine_fn_config_dll explorerframe enable_explorerframe clean
17243 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17244 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17245 wine_fn_config_dll faultrep enable_faultrep implib
17246 wine_fn_config_test dlls/faultrep/tests faultrep_test
17247 wine_fn_config_dll fltlib enable_fltlib
17248 wine_fn_config_dll fntcache enable_fntcache
17249 wine_fn_config_dll fontsub enable_fontsub
17250 wine_fn_config_dll fusion enable_fusion
17251 wine_fn_config_test dlls/fusion/tests fusion_test
17252 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17253 wine_fn_config_dll gameux enable_gameux clean
17254 wine_fn_config_test dlls/gameux/tests gameux_test
17255 wine_fn_config_dll gdi.exe16 enable_win16
17256 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17257 wine_fn_config_test dlls/gdi32/tests gdi32_test
17258 wine_fn_config_dll gdiplus enable_gdiplus implib
17259 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17260 wine_fn_config_dll glu32 enable_glu32 implib
17261 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17262 wine_fn_config_dll gpkcsp enable_gpkcsp
17263 wine_fn_config_dll hal enable_hal
17264 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17265 wine_fn_config_dll hid enable_hid implib
17266 wine_fn_config_dll hlink enable_hlink clean,implib
17267 wine_fn_config_test dlls/hlink/tests hlink_test
17268 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17269 wine_fn_config_dll httpapi enable_httpapi
17270 wine_fn_config_dll iccvid enable_iccvid po
17271 wine_fn_config_dll icmp enable_icmp
17272 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17273 wine_fn_config_test dlls/ieframe/tests ieframe_test
17274 wine_fn_config_dll ifsmgr.vxd enable_win16
17275 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17276 wine_fn_config_dll imagehlp enable_imagehlp implib
17277 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17278 wine_fn_config_dll imm.dll16 enable_win16
17279 wine_fn_config_dll imm32 enable_imm32 implib
17280 wine_fn_config_test dlls/imm32/tests imm32_test
17281 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17282 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17283 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17284 wine_fn_config_dll inetmib1 enable_inetmib1
17285 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17286 wine_fn_config_dll infosoft enable_infosoft clean
17287 wine_fn_config_test dlls/infosoft/tests infosoft_test
17288 wine_fn_config_dll initpki enable_initpki
17289 wine_fn_config_dll inkobj enable_inkobj
17290 wine_fn_config_dll inseng enable_inseng clean
17291 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17292 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17293 wine_fn_config_dll itircl enable_itircl
17294 wine_fn_config_dll itss enable_itss clean
17295 wine_fn_config_test dlls/itss/tests itss_test
17296 wine_fn_config_dll joy.cpl enable_joy_cpl po
17297 wine_fn_config_dll jscript enable_jscript clean,po
17298 wine_fn_config_test dlls/jscript/tests jscript_test
17299 wine_fn_config_dll jsproxy enable_jsproxy implib
17300 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17301 wine_fn_config_test dlls/kernel32/tests kernel32_test
17302 wine_fn_config_dll keyboard.drv16 enable_win16
17303 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17304 wine_fn_config_dll ksuser enable_ksuser
17305 wine_fn_config_dll ktmw32 enable_ktmw32
17306 wine_fn_config_dll loadperf enable_loadperf implib
17307 wine_fn_config_dll localspl enable_localspl po
17308 wine_fn_config_test dlls/localspl/tests localspl_test
17309 wine_fn_config_dll localui enable_localui po
17310 wine_fn_config_test dlls/localui/tests localui_test
17311 wine_fn_config_dll lz32 enable_lz32 implib
17312 wine_fn_config_test dlls/lz32/tests lz32_test
17313 wine_fn_config_dll lzexpand.dll16 enable_win16
17314 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17315 wine_fn_config_test dlls/mapi32/tests mapi32_test
17316 wine_fn_config_dll mapistub enable_mapistub
17317 wine_fn_config_dll mciavi32 enable_mciavi32
17318 wine_fn_config_dll mcicda enable_mcicda
17319 wine_fn_config_dll mciqtz32 enable_mciqtz32
17320 wine_fn_config_dll mciseq enable_mciseq
17321 wine_fn_config_dll mciwave enable_mciwave
17322 wine_fn_config_dll mf enable_mf
17323 wine_fn_config_dll mfplat enable_mfplat
17324 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17325 wine_fn_config_dll mgmtapi enable_mgmtapi
17326 wine_fn_config_dll midimap enable_midimap
17327 wine_fn_config_dll mlang enable_mlang clean,implib
17328 wine_fn_config_test dlls/mlang/tests mlang_test
17329 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17330 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17331 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17332 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17333 wine_fn_config_dll mmdevldr.vxd enable_win16
17334 wine_fn_config_dll mmsystem.dll16 enable_win16
17335 wine_fn_config_dll monodebg.vxd enable_win16
17336 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17337 wine_fn_config_dll mouse.drv16 enable_win16
17338 wine_fn_config_dll mpr enable_mpr implib,po
17339 wine_fn_config_test dlls/mpr/tests mpr_test
17340 wine_fn_config_dll mprapi enable_mprapi implib
17341 wine_fn_config_dll msacm.dll16 enable_win16
17342 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17343 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17344 wine_fn_config_test dlls/msacm32/tests msacm32_test
17345 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17346 wine_fn_config_dll msasn1 enable_msasn1 implib
17347 wine_fn_config_dll mscat32 enable_mscat32
17348 wine_fn_config_dll mscms enable_mscms implib
17349 wine_fn_config_test dlls/mscms/tests mscms_test
17350 wine_fn_config_dll mscoree enable_mscoree clean
17351 wine_fn_config_test dlls/mscoree/tests mscoree_test
17352 wine_fn_config_dll msctf enable_msctf clean
17353 wine_fn_config_test dlls/msctf/tests msctf_test
17354 wine_fn_config_dll msdaps enable_msdaps clean
17355 wine_fn_config_dll msdmo enable_msdmo implib
17356 wine_fn_config_test dlls/msdmo/tests msdmo_test
17357 wine_fn_config_dll msftedit enable_msftedit
17358 wine_fn_config_dll msg711.acm enable_msg711_acm
17359 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17360 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17361 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17362 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17363 wine_fn_config_dll msi enable_msi clean,implib,po
17364 wine_fn_config_test dlls/msi/tests msi_test
17365 wine_fn_config_dll msident enable_msident clean
17366 wine_fn_config_dll msimg32 enable_msimg32 implib
17367 wine_fn_config_dll msimsg enable_msimsg
17368 wine_fn_config_dll msimtf enable_msimtf clean
17369 wine_fn_config_dll msisip enable_msisip
17370 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17371 wine_fn_config_dll msls31 enable_msls31
17372 wine_fn_config_dll msnet32 enable_msnet32
17373 wine_fn_config_dll mspatcha enable_mspatcha
17374 wine_fn_config_dll msrle32 enable_msrle32 po
17375 wine_fn_config_test dlls/msrle32/tests msrle32_test
17376 wine_fn_config_dll mssign32 enable_mssign32
17377 wine_fn_config_dll mssip32 enable_mssip32
17378 wine_fn_config_dll mstask enable_mstask clean
17379 wine_fn_config_test dlls/mstask/tests mstask_test
17380 wine_fn_config_dll msvcirt enable_msvcirt
17381 wine_fn_config_dll msvcm80 enable_msvcm80
17382 wine_fn_config_dll msvcm90 enable_msvcm90
17383 wine_fn_config_dll msvcp100 enable_msvcp100
17384 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17385 wine_fn_config_dll msvcp110 enable_msvcp110
17386 wine_fn_config_dll msvcp120 enable_msvcp120
17387 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17388 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17389 wine_fn_config_dll msvcp60 enable_msvcp60
17390 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17391 wine_fn_config_dll msvcp70 enable_msvcp70
17392 wine_fn_config_dll msvcp71 enable_msvcp71
17393 wine_fn_config_dll msvcp80 enable_msvcp80
17394 wine_fn_config_dll msvcp90 enable_msvcp90
17395 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17396 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17397 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17398 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17399 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17400 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17401 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17402 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17403 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17404 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17405 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17406 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17407 wine_fn_config_dll msvcrt enable_msvcrt implib
17408 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17409 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17410 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17411 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17412 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17413 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17414 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17415 wine_fn_config_dll msvidc32 enable_msvidc32 po
17416 wine_fn_config_dll msvideo.dll16 enable_win16
17417 wine_fn_config_dll mswsock enable_mswsock implib
17418 wine_fn_config_dll msxml enable_msxml clean
17419 wine_fn_config_dll msxml2 enable_msxml2 clean
17420 wine_fn_config_dll msxml3 enable_msxml3 clean
17421 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17422 wine_fn_config_dll msxml4 enable_msxml4 clean
17423 wine_fn_config_dll msxml6 enable_msxml6 clean
17424 wine_fn_config_dll nddeapi enable_nddeapi implib
17425 wine_fn_config_dll ndis.sys enable_ndis_sys
17426 wine_fn_config_dll netapi32 enable_netapi32 implib
17427 wine_fn_config_test dlls/netapi32/tests netapi32_test
17428 wine_fn_config_dll netcfgx enable_netcfgx clean
17429 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17430 wine_fn_config_dll netprofm enable_netprofm clean
17431 wine_fn_config_test dlls/netprofm/tests netprofm_test
17432 wine_fn_config_dll newdev enable_newdev implib
17433 wine_fn_config_dll normaliz enable_normaliz implib
17434 wine_fn_config_dll npmshtml enable_npmshtml
17435 wine_fn_config_dll npptools enable_npptools
17436 wine_fn_config_dll ntdll enable_ntdll implib
17437 wine_fn_config_test dlls/ntdll/tests ntdll_test
17438 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17439 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17440 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17441 wine_fn_config_dll ntprint enable_ntprint
17442 wine_fn_config_test dlls/ntprint/tests ntprint_test
17443 wine_fn_config_dll objsel enable_objsel clean
17444 wine_fn_config_dll odbc32 enable_odbc32 implib
17445 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17446 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17447 wine_fn_config_dll odbccu32 enable_odbccu32
17448 wine_fn_config_dll ole2.dll16 enable_win16
17449 wine_fn_config_dll ole2conv.dll16 enable_win16
17450 wine_fn_config_dll ole2disp.dll16 enable_win16
17451 wine_fn_config_dll ole2nls.dll16 enable_win16
17452 wine_fn_config_dll ole2prox.dll16 enable_win16
17453 wine_fn_config_dll ole2thk.dll16 enable_win16
17454 wine_fn_config_dll ole32 enable_ole32 clean,implib
17455 wine_fn_config_test dlls/ole32/tests ole32_test
17456 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17457 wine_fn_config_test dlls/oleacc/tests oleacc_test
17458 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17459 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17460 wine_fn_config_dll olecli.dll16 enable_win16
17461 wine_fn_config_dll olecli32 enable_olecli32 implib
17462 wine_fn_config_dll oledb32 enable_oledb32 clean
17463 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17464 wine_fn_config_dll oledlg enable_oledlg implib,po
17465 wine_fn_config_dll olepro32 enable_olepro32 implib
17466 wine_fn_config_dll olesvr.dll16 enable_win16
17467 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17468 wine_fn_config_dll olethk32 enable_olethk32
17469 wine_fn_config_dll openal32 enable_openal32
17470 wine_fn_config_dll opencl enable_opencl
17471 wine_fn_config_dll opengl32 enable_opengl32 implib
17472 wine_fn_config_test dlls/opengl32/tests opengl32_test
17473 wine_fn_config_dll packager enable_packager clean
17474 wine_fn_config_test dlls/packager/tests packager_test
17475 wine_fn_config_dll pdh enable_pdh implib
17476 wine_fn_config_test dlls/pdh/tests pdh_test
17477 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17478 wine_fn_config_dll pidgen enable_pidgen
17479 wine_fn_config_dll powrprof enable_powrprof implib
17480 wine_fn_config_dll printui enable_printui
17481 wine_fn_config_dll prntvpt enable_prntvpt
17482 wine_fn_config_dll propsys enable_propsys clean,implib
17483 wine_fn_config_test dlls/propsys/tests propsys_test
17484 wine_fn_config_dll psapi enable_psapi implib
17485 wine_fn_config_test dlls/psapi/tests psapi_test
17486 wine_fn_config_dll pstorec enable_pstorec clean
17487 wine_fn_config_dll qcap enable_qcap
17488 wine_fn_config_test dlls/qcap/tests qcap_test
17489 wine_fn_config_dll qedit enable_qedit clean
17490 wine_fn_config_test dlls/qedit/tests qedit_test
17491 wine_fn_config_dll qmgr enable_qmgr clean
17492 wine_fn_config_test dlls/qmgr/tests qmgr_test
17493 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17494 wine_fn_config_dll quartz enable_quartz clean,implib
17495 wine_fn_config_test dlls/quartz/tests quartz_test clean
17496 wine_fn_config_dll query enable_query
17497 wine_fn_config_dll rasapi16.dll16 enable_win16
17498 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17499 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17500 wine_fn_config_dll rasdlg enable_rasdlg implib
17501 wine_fn_config_dll regapi enable_regapi
17502 wine_fn_config_dll resutils enable_resutils implib
17503 wine_fn_config_dll riched20 enable_riched20 implib
17504 wine_fn_config_test dlls/riched20/tests riched20_test
17505 wine_fn_config_dll riched32 enable_riched32
17506 wine_fn_config_test dlls/riched32/tests riched32_test
17507 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17508 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17509 wine_fn_config_dll rsabase enable_rsabase
17510 wine_fn_config_dll rsaenh enable_rsaenh implib
17511 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17512 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17513 wine_fn_config_dll rtutils enable_rtutils implib
17514 wine_fn_config_dll samlib enable_samlib
17515 wine_fn_config_dll sane.ds enable_sane_ds po
17516 wine_fn_config_dll scarddlg enable_scarddlg
17517 wine_fn_config_dll sccbase enable_sccbase
17518 wine_fn_config_dll schannel enable_schannel
17519 wine_fn_config_test dlls/schannel/tests schannel_test
17520 wine_fn_config_dll schedsvc enable_schedsvc clean
17521 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17522 wine_fn_config_dll scrrun enable_scrrun clean
17523 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17524 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17525 wine_fn_config_dll secur32 enable_secur32 implib
17526 wine_fn_config_test dlls/secur32/tests secur32_test
17527 wine_fn_config_dll security enable_security
17528 wine_fn_config_dll sensapi enable_sensapi implib
17529 wine_fn_config_dll serialui enable_serialui implib,po
17530 wine_fn_config_test dlls/serialui/tests serialui_test
17531 wine_fn_config_dll setupapi enable_setupapi implib,po
17532 wine_fn_config_test dlls/setupapi/tests setupapi_test
17533 wine_fn_config_dll setupx.dll16 enable_win16
17534 wine_fn_config_dll sfc enable_sfc implib
17535 wine_fn_config_dll sfc_os enable_sfc_os implib
17536 wine_fn_config_dll shdoclc enable_shdoclc po
17537 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17538 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17539 wine_fn_config_dll shell.dll16 enable_win16
17540 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17541 wine_fn_config_test dlls/shell32/tests shell32_test
17542 wine_fn_config_dll shfolder enable_shfolder implib
17543 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17544 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17545 wine_fn_config_dll slbcsp enable_slbcsp
17546 wine_fn_config_dll slc enable_slc implib
17547 wine_fn_config_test dlls/slc/tests slc_test
17548 wine_fn_config_dll snmpapi enable_snmpapi implib
17549 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17550 wine_fn_config_dll softpub enable_softpub
17551 wine_fn_config_dll sound.drv16 enable_win16
17552 wine_fn_config_dll spoolss enable_spoolss implib
17553 wine_fn_config_test dlls/spoolss/tests spoolss_test
17554 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17555 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17556 wine_fn_config_dll sti enable_sti clean,implib
17557 wine_fn_config_test dlls/sti/tests sti_test
17558 wine_fn_config_dll storage.dll16 enable_win16
17559 wine_fn_config_dll stress.dll16 enable_win16
17560 wine_fn_config_lib strmbase
17561 wine_fn_config_lib strmiids
17562 wine_fn_config_dll svrapi enable_svrapi
17563 wine_fn_config_dll sxs enable_sxs implib
17564 wine_fn_config_test dlls/sxs/tests sxs_test
17565 wine_fn_config_dll system.drv16 enable_win16
17566 wine_fn_config_dll t2embed enable_t2embed
17567 wine_fn_config_dll tapi32 enable_tapi32 implib
17568 wine_fn_config_dll taskschd enable_taskschd clean
17569 wine_fn_config_test dlls/taskschd/tests taskschd_test
17570 wine_fn_config_dll toolhelp.dll16 enable_win16
17571 wine_fn_config_dll traffic enable_traffic
17572 wine_fn_config_dll twain.dll16 enable_win16
17573 wine_fn_config_dll twain_32 enable_twain_32
17574 wine_fn_config_test dlls/twain_32/tests twain_32_test
17575 wine_fn_config_dll typelib.dll16 enable_win16
17576 wine_fn_config_dll unicows enable_unicows implib
17577 wine_fn_config_dll updspapi enable_updspapi
17578 wine_fn_config_dll url enable_url implib
17579 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17580 wine_fn_config_test dlls/urlmon/tests urlmon_test
17581 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17582 wine_fn_config_dll user.exe16 enable_win16
17583 wine_fn_config_dll user32 enable_user32 clean,implib,po
17584 wine_fn_config_test dlls/user32/tests user32_test
17585 wine_fn_config_dll userenv enable_userenv implib
17586 wine_fn_config_test dlls/userenv/tests userenv_test
17587 wine_fn_config_dll usp10 enable_usp10 implib
17588 wine_fn_config_test dlls/usp10/tests usp10_test
17589 wine_fn_config_lib uuid
17590 wine_fn_config_dll uxtheme enable_uxtheme implib
17591 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17592 wine_fn_config_dll vbscript enable_vbscript clean
17593 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17594 wine_fn_config_dll vcomp enable_vcomp
17595 wine_fn_config_dll vcomp100 enable_vcomp100
17596 wine_fn_config_dll vcomp90 enable_vcomp90
17597 wine_fn_config_dll vdhcp.vxd enable_win16
17598 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17599 wine_fn_config_dll ver.dll16 enable_win16
17600 wine_fn_config_dll version enable_version implib
17601 wine_fn_config_test dlls/version/tests version_test
17602 wine_fn_config_dll vmm.vxd enable_win16
17603 wine_fn_config_dll vnbt.vxd enable_win16
17604 wine_fn_config_dll vnetbios.vxd enable_win16
17605 wine_fn_config_dll vssapi enable_vssapi
17606 wine_fn_config_dll vtdapi.vxd enable_win16
17607 wine_fn_config_dll vwin32.vxd enable_win16
17608 wine_fn_config_dll w32skrnl enable_win16
17609 wine_fn_config_dll w32sys.dll16 enable_win16
17610 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17611 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17612 wine_fn_config_dll wbemprox enable_wbemprox clean
17613 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17614 wine_fn_config_dll webservices enable_webservices implib
17615 wine_fn_config_dll wer enable_wer implib
17616 wine_fn_config_test dlls/wer/tests wer_test
17617 wine_fn_config_dll wevtapi enable_wevtapi
17618 wine_fn_config_dll wiaservc enable_wiaservc clean
17619 wine_fn_config_dll win32s16.dll16 enable_win16
17620 wine_fn_config_dll win87em.dll16 enable_win16
17621 wine_fn_config_dll winaspi.dll16 enable_win16
17622 wine_fn_config_dll windebug.dll16 enable_win16
17623 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17624 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17625 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17626 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17627 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17628 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17629 wine_fn_config_lib winecrt0
17630 wine_fn_config_dll wined3d enable_wined3d implib
17631 wine_fn_config_dll winegstreamer enable_winegstreamer
17632 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17633 wine_fn_config_dll winemac.drv enable_winemac_drv
17634 wine_fn_config_dll winemapi enable_winemapi
17635 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17636 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17637 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17638 wine_fn_config_dll wineps16.drv16 enable_win16
17639 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17640 wine_fn_config_dll winex11.drv enable_winex11_drv
17641 wine_fn_config_dll wing.dll16 enable_win16
17642 wine_fn_config_dll wing32 enable_wing32
17643 wine_fn_config_dll winhttp enable_winhttp clean,implib
17644 wine_fn_config_test dlls/winhttp/tests winhttp_test
17645 wine_fn_config_dll wininet enable_wininet implib,po
17646 wine_fn_config_test dlls/wininet/tests wininet_test
17647 wine_fn_config_dll winmm enable_winmm implib,po
17648 wine_fn_config_test dlls/winmm/tests winmm_test
17649 wine_fn_config_dll winnls.dll16 enable_win16
17650 wine_fn_config_dll winnls32 enable_winnls32 implib
17651 wine_fn_config_dll winscard enable_winscard implib
17652 wine_fn_config_dll winsock.dll16 enable_win16
17653 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17654 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17655 wine_fn_config_dll winsta enable_winsta
17656 wine_fn_config_dll wintab.dll16 enable_win16
17657 wine_fn_config_dll wintab32 enable_wintab32 implib
17658 wine_fn_config_test dlls/wintab32/tests wintab32_test
17659 wine_fn_config_dll wintrust enable_wintrust implib
17660 wine_fn_config_test dlls/wintrust/tests wintrust_test
17661 wine_fn_config_dll wlanapi enable_wlanapi
17662 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17663 wine_fn_config_test dlls/wldap32/tests wldap32_test
17664 wine_fn_config_dll wmi enable_wmi
17665 wine_fn_config_dll wmiutils enable_wmiutils clean
17666 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17667 wine_fn_config_dll wmp enable_wmp clean
17668 wine_fn_config_test dlls/wmp/tests wmp_test
17669 wine_fn_config_dll wmvcore enable_wmvcore
17670 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17671 wine_fn_config_dll wow32 enable_win16 implib
17672 wine_fn_config_dll wpcap enable_wpcap
17673 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17674 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17675 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17676 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17677 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17678 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17679 wine_fn_config_dll wsock32 enable_wsock32 implib
17680 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17681 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17682 wine_fn_config_dll wuapi enable_wuapi clean
17683 wine_fn_config_dll wuaueng enable_wuaueng
17684 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17685 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17686 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17687 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17688 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17689 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17690 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17691 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17692 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17693 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17694 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17695 wine_fn_config_dll xinput1_1 enable_xinput1_1
17696 wine_fn_config_dll xinput1_2 enable_xinput1_2
17697 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17698 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17699 wine_fn_config_dll xinput1_4 enable_xinput1_4
17700 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17701 wine_fn_config_dll xmllite enable_xmllite implib
17702 wine_fn_config_test dlls/xmllite/tests xmllite_test
17703 wine_fn_config_dll xolehlp enable_xolehlp
17704 wine_fn_config_dll xpsprint enable_xpsprint
17705 wine_fn_config_dll xpssvcs enable_xpssvcs
17706 wine_fn_config_makefile documentation enable_documentation clean
17707 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17708 wine_fn_config_makefile include enable_include clean,install-dev
17709 wine_fn_config_makefile libs/port enable_libs_port
17710 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17711 wine_fn_config_makefile libs/wpp enable_libs_wpp
17712 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17713 wine_fn_config_program arp enable_arp install
17714 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17715 wine_fn_config_program attrib enable_attrib install,po
17716 wine_fn_config_program cabarc enable_cabarc install
17717 wine_fn_config_program cacls enable_cacls install
17718 wine_fn_config_program clock enable_clock install,po
17719 wine_fn_config_program cmd enable_cmd install,po
17720 wine_fn_config_test programs/cmd/tests cmd.exe_test
17721 wine_fn_config_program conhost enable_conhost install
17722 wine_fn_config_program control enable_control install
17723 wine_fn_config_program cscript enable_cscript clean,install
17724 wine_fn_config_program dpnsvr enable_dpnsvr install
17725 wine_fn_config_program dxdiag enable_dxdiag install,po
17726 wine_fn_config_program eject enable_eject install
17727 wine_fn_config_program expand enable_expand install
17728 wine_fn_config_program explorer enable_explorer install,po
17729 wine_fn_config_program extrac32 enable_extrac32 install
17730 wine_fn_config_program findstr enable_findstr install
17731 wine_fn_config_program hh enable_hh install
17732 wine_fn_config_program hostname enable_hostname install,po
17733 wine_fn_config_program icinfo enable_icinfo install
17734 wine_fn_config_program iexplore enable_iexplore install
17735 wine_fn_config_program ipconfig enable_ipconfig install,po
17736 wine_fn_config_program lodctr enable_lodctr install
17737 wine_fn_config_program mofcomp enable_mofcomp install
17738 wine_fn_config_program mshta enable_mshta install
17739 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17740 wine_fn_config_program net enable_net install,po
17741 wine_fn_config_program netsh enable_netsh install
17742 wine_fn_config_program netstat enable_netstat install,po
17743 wine_fn_config_program ngen enable_ngen install
17744 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17745 wine_fn_config_program oleview enable_oleview install,po
17746 wine_fn_config_program ping enable_ping install
17747 wine_fn_config_program plugplay enable_plugplay install
17748 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17749 wine_fn_config_program progman enable_progman install,po
17750 wine_fn_config_program reg enable_reg install,po
17751 wine_fn_config_test programs/reg/tests reg.exe_test
17752 wine_fn_config_program regasm enable_regasm install
17753 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17754 wine_fn_config_test programs/regedit/tests regedit.exe_test
17755 wine_fn_config_program regsvcs enable_regsvcs install
17756 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17757 wine_fn_config_program rpcss enable_rpcss clean,install
17758 wine_fn_config_program rundll.exe16 enable_win16 install
17759 wine_fn_config_program rundll32 enable_rundll32 install
17760 wine_fn_config_program sc enable_sc install
17761 wine_fn_config_program schtasks enable_schtasks install
17762 wine_fn_config_program sdbinst enable_sdbinst install
17763 wine_fn_config_program secedit enable_secedit install
17764 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17765 wine_fn_config_program services enable_services clean,install
17766 wine_fn_config_test programs/services/tests services.exe_test
17767 wine_fn_config_program spoolsv enable_spoolsv install
17768 wine_fn_config_program start enable_start install,po
17769 wine_fn_config_program svchost enable_svchost install
17770 wine_fn_config_program systeminfo enable_systeminfo install
17771 wine_fn_config_program taskkill enable_taskkill install,po
17772 wine_fn_config_program tasklist enable_tasklist install
17773 wine_fn_config_program taskmgr enable_taskmgr install,po
17774 wine_fn_config_program termsv enable_termsv install
17775 wine_fn_config_program uninstaller enable_uninstaller install,po
17776 wine_fn_config_program unlodctr enable_unlodctr install
17777 wine_fn_config_program view enable_view install,po
17778 wine_fn_config_program wevtutil enable_wevtutil install
17779 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17780 wine_fn_config_program winebrowser enable_winebrowser install
17781 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17782 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17783 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17784 wine_fn_config_program winedevice enable_winedevice install
17785 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17786 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17787 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17788 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17789 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17790 wine_fn_config_program winetest enable_winetest clean
17791 wine_fn_config_program winevdm enable_win16 install
17792 wine_fn_config_program winhelp.exe16 enable_win16 install
17793 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17794 wine_fn_config_program winoldap.mod16 enable_win16 install
17795 wine_fn_config_program winver enable_winver install
17796 wine_fn_config_program wmic enable_wmic install,po
17797 wine_fn_config_program wordpad enable_wordpad install,po
17798 wine_fn_config_program write enable_write install,po
17799 wine_fn_config_program wscript enable_wscript clean,install
17800 wine_fn_config_test programs/wscript/tests wscript.exe_test
17801 wine_fn_config_program wusa enable_wusa install
17802 wine_fn_config_program xcopy enable_xcopy install,po
17803 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17804 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17805 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17806 wine_fn_config_tool tools/sfnt2fon clean
17807 wine_fn_config_tool tools/widl clean,install-dev,manpage
17808 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17809 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17810 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17811 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17812 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17814 LINGUAS="\
17815 ar \
17816 bg \
17817 ca \
17818 cs \
17819 da \
17820 de \
17821 el \
17822 en \
17823 en_US \
17824 eo \
17825 es \
17826 fa \
17827 fi \
17828 fr \
17829 he \
17830 hi \
17831 hr \
17832 hu \
17833 it \
17834 ja \
17835 ko \
17836 lt \
17837 ml \
17838 nb_NO \
17839 nl \
17840 or \
17841 pa \
17842 pl \
17843 pt_BR \
17844 pt_PT \
17845 rm \
17846 ro \
17847 ru \
17848 sk \
17849 sl \
17850 sr_RS@cyrillic \
17851 sr_RS@latin \
17852 sv \
17853 te \
17854 th \
17855 tr \
17856 uk \
17857 wa \
17858 zh_CN \
17859 zh_TW"
17864 wine_fn_ignore_file ".gitignore"
17865 wine_fn_ignore_file "Makefile"
17866 wine_fn_ignore_file "TAGS"
17867 wine_fn_ignore_file "tags"
17868 wine_fn_ignore_file "autom4te.cache"
17869 wine_fn_ignore_file "config.cache"
17870 wine_fn_ignore_file "config.log"
17871 wine_fn_ignore_file "config.status"
17872 wine_fn_ignore_file "configure.lineno"
17873 wine_fn_ignore_file "include/config.h"
17874 wine_fn_ignore_file "include/stamp-h"
17875 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17877 if test "x$enable_tools" != xno
17878 then
17879 wine_fn_ignore_file "tools/makedep$ac_exeext"
17880 ac_config_commands="$ac_config_commands tools/makedep"
17884 ac_config_commands="$ac_config_commands Makefile"
17887 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17891 if test "x$enable_maintainer_mode" = xyes
17892 then
17893 wine_fn_append_rule "configure: configure.ac aclocal.m4
17894 autoconf --warnings=all
17895 include/config.h.in: include/stamp-h.in
17896 include/stamp-h.in: configure.ac aclocal.m4
17897 autoheader --warnings=all
17898 @echo timestamp > \$@"
17901 if test "x$with_gettextpo" = xyes
17902 then
17903 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17904 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17905 \$(LINGUAS:%=po/%.po): po/wine.pot
17906 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17907 po/wine.pot: \$(ALL_POT_FILES)
17908 msgcat -o \$@ \$(ALL_POT_FILES)"
17911 if test "$MSGFMT" != false
17912 then
17913 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17914 clean::
17915 \$(RM) \$(LINGUAS:%=po/%.mo)"
17917 posrc="po"
17918 test "$srcdir" = . || posrc="$srcdir/po"
17919 for i in $LINGUAS
17921 wine_fn_ignore_file "po/$i.mo"
17922 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17923 \$(MSGFMT) -o \$@ $posrc/$i.po"
17924 done
17925 else
17926 LINGUAS=
17929 if test "x$enable_tools" != xno
17930 then
17931 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17932 @./config.status tools/makedep
17933 Makefile: tools/makedep$ac_exeext
17934 distclean:: clean
17935 \$(RM) tools/makedep$ac_exeext"
17936 else
17937 wine_fn_append_rule "\$(MAKEDEP):
17938 @echo \"You need to run make in $TOOLSDIR first\" && false"
17941 if test -n "$with_wine64"
17942 then
17943 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17944 fonts server tools:
17945 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17946 $with_wine64/loader/wine:
17947 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17948 $with_wine64/loader/wine-preloader:
17949 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17950 clean::
17951 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17952 else
17953 as_fn_append LOADER_RULES "
17954 install install-lib:: wine.inf install-man-pages
17955 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17956 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17958 uninstall::
17959 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17963 if test "$srcdir" = .
17964 then
17965 ac_config_commands="$ac_config_commands .gitignore"
17969 $as_echo " done" >&6
17970 cat >confcache <<\_ACEOF
17971 # This file is a shell script that caches the results of configure
17972 # tests run on this system so they can be shared between configure
17973 # scripts and configure runs, see configure's option --config-cache.
17974 # It is not useful on other systems. If it contains results you don't
17975 # want to keep, you may remove or edit it.
17977 # config.status only pays attention to the cache file if you give it
17978 # the --recheck option to rerun configure.
17980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17982 # following values.
17984 _ACEOF
17986 # The following way of writing the cache mishandles newlines in values,
17987 # but we know of no workaround that is simple, portable, and efficient.
17988 # So, we kill variables containing newlines.
17989 # Ultrix sh set writes to stderr and can't be redirected directly,
17990 # and sets the high bit in the cache file unless we assign to the vars.
17992 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17993 eval ac_val=\$$ac_var
17994 case $ac_val in #(
17995 *${as_nl}*)
17996 case $ac_var in #(
17997 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17999 esac
18000 case $ac_var in #(
18001 _ | IFS | as_nl) ;; #(
18002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18003 *) { eval $ac_var=; unset $ac_var;} ;;
18004 esac ;;
18005 esac
18006 done
18008 (set) 2>&1 |
18009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18010 *${as_nl}ac_space=\ *)
18011 # `set' does not quote correctly, so add quotes: double-quote
18012 # substitution turns \\\\ into \\, and sed turns \\ into \.
18013 sed -n \
18014 "s/'/'\\\\''/g;
18015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18016 ;; #(
18018 # `set' quotes correctly as required by POSIX, so do not add quotes.
18019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18021 esac |
18022 sort
18024 sed '
18025 /^ac_cv_env_/b end
18026 t clear
18027 :clear
18028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18029 t end
18030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18031 :end' >>confcache
18032 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18033 if test -w "$cache_file"; then
18034 if test "x$cache_file" != "x/dev/null"; then
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18036 $as_echo "$as_me: updating cache $cache_file" >&6;}
18037 if test ! -f "$cache_file" || test -h "$cache_file"; then
18038 cat confcache >"$cache_file"
18039 else
18040 case $cache_file in #(
18041 */* | ?:*)
18042 mv -f confcache "$cache_file"$$ &&
18043 mv -f "$cache_file"$$ "$cache_file" ;; #(
18045 mv -f confcache "$cache_file" ;;
18046 esac
18049 else
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18054 rm -f confcache
18056 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18057 # Let make expand exec_prefix.
18058 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18060 DEFS=-DHAVE_CONFIG_H
18062 ac_libobjs=
18063 ac_ltlibobjs=
18065 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18066 # 1. Remove the extension, and $U if already installed.
18067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18068 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18070 # will be set to the directory where LIBOBJS objects are built.
18071 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18072 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18073 done
18074 LIBOBJS=$ac_libobjs
18076 LTLIBOBJS=$ac_ltlibobjs
18080 : "${CONFIG_STATUS=./config.status}"
18081 ac_write_fail=0
18082 ac_clean_files_save=$ac_clean_files
18083 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18085 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18086 as_write_fail=0
18087 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18088 #! $SHELL
18089 # Generated by $as_me.
18090 # Run this file to recreate the current configuration.
18091 # Compiler output produced by configure, useful for debugging
18092 # configure, is in config.log if it exists.
18094 debug=false
18095 ac_cs_recheck=false
18096 ac_cs_silent=false
18098 SHELL=\${CONFIG_SHELL-$SHELL}
18099 export SHELL
18100 _ASEOF
18101 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18102 ## -------------------- ##
18103 ## M4sh Initialization. ##
18104 ## -------------------- ##
18106 # Be more Bourne compatible
18107 DUALCASE=1; export DUALCASE # for MKS sh
18108 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18109 emulate sh
18110 NULLCMD=:
18111 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18112 # is contrary to our usage. Disable this feature.
18113 alias -g '${1+"$@"}'='"$@"'
18114 setopt NO_GLOB_SUBST
18115 else
18116 case `(set -o) 2>/dev/null` in #(
18117 *posix*) :
18118 set -o posix ;; #(
18119 *) :
18121 esac
18125 as_nl='
18127 export as_nl
18128 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18129 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18131 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18132 # Prefer a ksh shell builtin over an external printf program on Solaris,
18133 # but without wasting forks for bash or zsh.
18134 if test -z "$BASH_VERSION$ZSH_VERSION" \
18135 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18136 as_echo='print -r --'
18137 as_echo_n='print -rn --'
18138 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18139 as_echo='printf %s\n'
18140 as_echo_n='printf %s'
18141 else
18142 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18143 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18144 as_echo_n='/usr/ucb/echo -n'
18145 else
18146 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18147 as_echo_n_body='eval
18148 arg=$1;
18149 case $arg in #(
18150 *"$as_nl"*)
18151 expr "X$arg" : "X\\(.*\\)$as_nl";
18152 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18153 esac;
18154 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18156 export as_echo_n_body
18157 as_echo_n='sh -c $as_echo_n_body as_echo'
18159 export as_echo_body
18160 as_echo='sh -c $as_echo_body as_echo'
18163 # The user is always right.
18164 if test "${PATH_SEPARATOR+set}" != set; then
18165 PATH_SEPARATOR=:
18166 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18167 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18168 PATH_SEPARATOR=';'
18173 # IFS
18174 # We need space, tab and new line, in precisely that order. Quoting is
18175 # there to prevent editors from complaining about space-tab.
18176 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18177 # splitting by setting IFS to empty value.)
18178 IFS=" "" $as_nl"
18180 # Find who we are. Look in the path if we contain no directory separator.
18181 as_myself=
18182 case $0 in #((
18183 *[\\/]* ) as_myself=$0 ;;
18184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18185 for as_dir in $PATH
18187 IFS=$as_save_IFS
18188 test -z "$as_dir" && as_dir=.
18189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18190 done
18191 IFS=$as_save_IFS
18194 esac
18195 # We did not find ourselves, most probably we were run as `sh COMMAND'
18196 # in which case we are not to be found in the path.
18197 if test "x$as_myself" = x; then
18198 as_myself=$0
18200 if test ! -f "$as_myself"; then
18201 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18202 exit 1
18205 # Unset variables that we do not need and which cause bugs (e.g. in
18206 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18207 # suppresses any "Segmentation fault" message there. '((' could
18208 # trigger a bug in pdksh 5.2.14.
18209 for as_var in BASH_ENV ENV MAIL MAILPATH
18210 do eval test x\${$as_var+set} = xset \
18211 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18212 done
18213 PS1='$ '
18214 PS2='> '
18215 PS4='+ '
18217 # NLS nuisances.
18218 LC_ALL=C
18219 export LC_ALL
18220 LANGUAGE=C
18221 export LANGUAGE
18223 # CDPATH.
18224 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18227 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18228 # ----------------------------------------
18229 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18230 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18231 # script with STATUS, using 1 if that was 0.
18232 as_fn_error ()
18234 as_status=$1; test $as_status -eq 0 && as_status=1
18235 if test "$4"; then
18236 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18237 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18239 $as_echo "$as_me: error: $2" >&2
18240 as_fn_exit $as_status
18241 } # as_fn_error
18244 # as_fn_set_status STATUS
18245 # -----------------------
18246 # Set $? to STATUS, without forking.
18247 as_fn_set_status ()
18249 return $1
18250 } # as_fn_set_status
18252 # as_fn_exit STATUS
18253 # -----------------
18254 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18255 as_fn_exit ()
18257 set +e
18258 as_fn_set_status $1
18259 exit $1
18260 } # as_fn_exit
18262 # as_fn_unset VAR
18263 # ---------------
18264 # Portably unset VAR.
18265 as_fn_unset ()
18267 { eval $1=; unset $1;}
18269 as_unset=as_fn_unset
18270 # as_fn_append VAR VALUE
18271 # ----------------------
18272 # Append the text in VALUE to the end of the definition contained in VAR. Take
18273 # advantage of any shell optimizations that allow amortized linear growth over
18274 # repeated appends, instead of the typical quadratic growth present in naive
18275 # implementations.
18276 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18277 eval 'as_fn_append ()
18279 eval $1+=\$2
18281 else
18282 as_fn_append ()
18284 eval $1=\$$1\$2
18286 fi # as_fn_append
18288 # as_fn_arith ARG...
18289 # ------------------
18290 # Perform arithmetic evaluation on the ARGs, and store the result in the
18291 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18292 # must be portable across $(()) and expr.
18293 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18294 eval 'as_fn_arith ()
18296 as_val=$(( $* ))
18298 else
18299 as_fn_arith ()
18301 as_val=`expr "$@" || test $? -eq 1`
18303 fi # as_fn_arith
18306 if expr a : '\(a\)' >/dev/null 2>&1 &&
18307 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18308 as_expr=expr
18309 else
18310 as_expr=false
18313 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18314 as_basename=basename
18315 else
18316 as_basename=false
18319 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18320 as_dirname=dirname
18321 else
18322 as_dirname=false
18325 as_me=`$as_basename -- "$0" ||
18326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18327 X"$0" : 'X\(//\)$' \| \
18328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18329 $as_echo X/"$0" |
18330 sed '/^.*\/\([^/][^/]*\)\/*$/{
18331 s//\1/
18334 /^X\/\(\/\/\)$/{
18335 s//\1/
18338 /^X\/\(\/\).*/{
18339 s//\1/
18342 s/.*/./; q'`
18344 # Avoid depending upon Character Ranges.
18345 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18346 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18347 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18348 as_cr_digits='0123456789'
18349 as_cr_alnum=$as_cr_Letters$as_cr_digits
18351 ECHO_C= ECHO_N= ECHO_T=
18352 case `echo -n x` in #(((((
18353 -n*)
18354 case `echo 'xy\c'` in
18355 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18356 xy) ECHO_C='\c';;
18357 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18358 ECHO_T=' ';;
18359 esac;;
18361 ECHO_N='-n';;
18362 esac
18364 rm -f conf$$ conf$$.exe conf$$.file
18365 if test -d conf$$.dir; then
18366 rm -f conf$$.dir/conf$$.file
18367 else
18368 rm -f conf$$.dir
18369 mkdir conf$$.dir 2>/dev/null
18371 if (echo >conf$$.file) 2>/dev/null; then
18372 if ln -s conf$$.file conf$$ 2>/dev/null; then
18373 as_ln_s='ln -s'
18374 # ... but there are two gotchas:
18375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18377 # In both cases, we have to default to `cp -pR'.
18378 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18379 as_ln_s='cp -pR'
18380 elif ln conf$$.file conf$$ 2>/dev/null; then
18381 as_ln_s=ln
18382 else
18383 as_ln_s='cp -pR'
18385 else
18386 as_ln_s='cp -pR'
18388 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18389 rmdir conf$$.dir 2>/dev/null
18392 # as_fn_mkdir_p
18393 # -------------
18394 # Create "$as_dir" as a directory, including parents if necessary.
18395 as_fn_mkdir_p ()
18398 case $as_dir in #(
18399 -*) as_dir=./$as_dir;;
18400 esac
18401 test -d "$as_dir" || eval $as_mkdir_p || {
18402 as_dirs=
18403 while :; do
18404 case $as_dir in #(
18405 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18406 *) as_qdir=$as_dir;;
18407 esac
18408 as_dirs="'$as_qdir' $as_dirs"
18409 as_dir=`$as_dirname -- "$as_dir" ||
18410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18411 X"$as_dir" : 'X\(//\)[^/]' \| \
18412 X"$as_dir" : 'X\(//\)$' \| \
18413 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18414 $as_echo X"$as_dir" |
18415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18416 s//\1/
18419 /^X\(\/\/\)[^/].*/{
18420 s//\1/
18423 /^X\(\/\/\)$/{
18424 s//\1/
18427 /^X\(\/\).*/{
18428 s//\1/
18431 s/.*/./; q'`
18432 test -d "$as_dir" && break
18433 done
18434 test -z "$as_dirs" || eval "mkdir $as_dirs"
18435 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18438 } # as_fn_mkdir_p
18439 if mkdir -p . 2>/dev/null; then
18440 as_mkdir_p='mkdir -p "$as_dir"'
18441 else
18442 test -d ./-p && rmdir ./-p
18443 as_mkdir_p=false
18447 # as_fn_executable_p FILE
18448 # -----------------------
18449 # Test if FILE is an executable regular file.
18450 as_fn_executable_p ()
18452 test -f "$1" && test -x "$1"
18453 } # as_fn_executable_p
18454 as_test_x='test -x'
18455 as_executable_p=as_fn_executable_p
18457 # Sed expression to map a string onto a valid CPP name.
18458 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18460 # Sed expression to map a string onto a valid variable name.
18461 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18464 exec 6>&1
18465 ## ----------------------------------- ##
18466 ## Main body of $CONFIG_STATUS script. ##
18467 ## ----------------------------------- ##
18468 _ASEOF
18469 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18472 # Save the log message, to keep $0 and so on meaningful, and to
18473 # report actual input values of CONFIG_FILES etc. instead of their
18474 # values after options handling.
18475 ac_log="
18476 This file was extended by Wine $as_me 1.7.37, which was
18477 generated by GNU Autoconf 2.69. Invocation command line was
18479 CONFIG_FILES = $CONFIG_FILES
18480 CONFIG_HEADERS = $CONFIG_HEADERS
18481 CONFIG_LINKS = $CONFIG_LINKS
18482 CONFIG_COMMANDS = $CONFIG_COMMANDS
18483 $ $0 $@
18485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18488 _ACEOF
18490 case $ac_config_files in *"
18491 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18492 esac
18494 case $ac_config_headers in *"
18495 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18496 esac
18499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18500 # Files that config.status was made for.
18501 config_files="$ac_config_files"
18502 config_headers="$ac_config_headers"
18503 config_links="$ac_config_links"
18504 config_commands="$ac_config_commands"
18506 _ACEOF
18508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18509 ac_cs_usage="\
18510 \`$as_me' instantiates files and other configuration actions
18511 from templates according to the current configuration. Unless the files
18512 and actions are specified as TAGs, all are instantiated by default.
18514 Usage: $0 [OPTION]... [TAG]...
18516 -h, --help print this help, then exit
18517 -V, --version print version number and configuration settings, then exit
18518 --config print configuration, then exit
18519 -q, --quiet, --silent
18520 do not print progress messages
18521 -d, --debug don't remove temporary files
18522 --recheck update $as_me by reconfiguring in the same conditions
18523 --file=FILE[:TEMPLATE]
18524 instantiate the configuration file FILE
18525 --header=FILE[:TEMPLATE]
18526 instantiate the configuration header FILE
18528 Configuration files:
18529 $config_files
18531 Configuration headers:
18532 $config_headers
18534 Configuration links:
18535 $config_links
18537 Configuration commands:
18538 $config_commands
18540 Report bugs to <wine-devel@winehq.org>.
18541 Wine home page: <http://www.winehq.org>."
18543 _ACEOF
18544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18545 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18546 ac_cs_version="\\
18547 Wine config.status 1.7.37
18548 configured by $0, generated by GNU Autoconf 2.69,
18549 with options \\"\$ac_cs_config\\"
18551 Copyright (C) 2012 Free Software Foundation, Inc.
18552 This config.status script is free software; the Free Software Foundation
18553 gives unlimited permission to copy, distribute and modify it."
18555 ac_pwd='$ac_pwd'
18556 srcdir='$srcdir'
18557 test -n "\$AWK" || AWK=awk
18558 _ACEOF
18560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18561 # The default lists apply if the user does not specify any file.
18562 ac_need_defaults=:
18563 while test $# != 0
18565 case $1 in
18566 --*=?*)
18567 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18568 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18569 ac_shift=:
18571 --*=)
18572 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18573 ac_optarg=
18574 ac_shift=:
18577 ac_option=$1
18578 ac_optarg=$2
18579 ac_shift=shift
18581 esac
18583 case $ac_option in
18584 # Handling of the options.
18585 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18586 ac_cs_recheck=: ;;
18587 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18588 $as_echo "$ac_cs_version"; exit ;;
18589 --config | --confi | --conf | --con | --co | --c )
18590 $as_echo "$ac_cs_config"; exit ;;
18591 --debug | --debu | --deb | --de | --d | -d )
18592 debug=: ;;
18593 --file | --fil | --fi | --f )
18594 $ac_shift
18595 case $ac_optarg in
18596 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18597 '') as_fn_error $? "missing file argument" ;;
18598 esac
18599 as_fn_append CONFIG_FILES " '$ac_optarg'"
18600 ac_need_defaults=false;;
18601 --header | --heade | --head | --hea )
18602 $ac_shift
18603 case $ac_optarg in
18604 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18605 esac
18606 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18607 ac_need_defaults=false;;
18608 --he | --h)
18609 # Conflict between --help and --header
18610 as_fn_error $? "ambiguous option: \`$1'
18611 Try \`$0 --help' for more information.";;
18612 --help | --hel | -h )
18613 $as_echo "$ac_cs_usage"; exit ;;
18614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18615 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18616 ac_cs_silent=: ;;
18618 # This is an error.
18619 -*) as_fn_error $? "unrecognized option: \`$1'
18620 Try \`$0 --help' for more information." ;;
18622 *) as_fn_append ac_config_targets " $1"
18623 ac_need_defaults=false ;;
18625 esac
18626 shift
18627 done
18629 ac_configure_extra_args=
18631 if $ac_cs_silent; then
18632 exec 6>/dev/null
18633 ac_configure_extra_args="$ac_configure_extra_args --silent"
18636 _ACEOF
18637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18638 if \$ac_cs_recheck; then
18639 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18640 shift
18641 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18642 CONFIG_SHELL='$SHELL'
18643 export CONFIG_SHELL
18644 exec "\$@"
18647 _ACEOF
18648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18649 exec 5>>config.log
18651 echo
18652 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18653 ## Running $as_me. ##
18654 _ASBOX
18655 $as_echo "$ac_log"
18656 } >&5
18658 _ACEOF
18659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18661 # INIT-COMMANDS
18663 wine_fn_output_makedep ()
18665 as_dir=tools; as_fn_mkdir_p
18666 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18668 wine_fn_output_makefile ()
18670 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18671 `cat $wine_rules_file`
18672 _WINE_EOF
18673 as_fn_error $? "could not create Makefile" "$LINENO" 5
18675 wine_fn_output_gitignore ()
18677 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18678 $GITIGNORE
18679 _WINE_EOF
18680 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18683 _ACEOF
18685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18687 # Handling of arguments.
18688 for ac_config_target in $ac_config_targets
18690 case $ac_config_target in
18691 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18692 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18693 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18694 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18695 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18696 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18697 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18698 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18699 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18700 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18701 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18702 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18703 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18704 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18706 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18707 esac
18708 done
18711 # If the user did not use the arguments to specify the items to instantiate,
18712 # then the envvar interface is used. Set only those that are not.
18713 # We use the long form for the default assignment because of an extremely
18714 # bizarre bug on SunOS 4.1.3.
18715 if $ac_need_defaults; then
18716 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18717 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18718 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18719 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18722 # Have a temporary directory for convenience. Make it in the build tree
18723 # simply because there is no reason against having it here, and in addition,
18724 # creating and moving files from /tmp can sometimes cause problems.
18725 # Hook for its removal unless debugging.
18726 # Note that there is a small window in which the directory will not be cleaned:
18727 # after its creation but before its name has been assigned to `$tmp'.
18728 $debug ||
18730 tmp= ac_tmp=
18731 trap 'exit_status=$?
18732 : "${ac_tmp:=$tmp}"
18733 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18735 trap 'as_fn_exit 1' 1 2 13 15
18737 # Create a (secure) tmp directory for tmp files.
18740 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18741 test -d "$tmp"
18742 } ||
18744 tmp=./conf$$-$RANDOM
18745 (umask 077 && mkdir "$tmp")
18746 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18747 ac_tmp=$tmp
18749 # Set up the scripts for CONFIG_FILES section.
18750 # No need to generate them if there are no CONFIG_FILES.
18751 # This happens for instance with `./config.status config.h'.
18752 if test -n "$CONFIG_FILES"; then
18755 ac_cr=`echo X | tr X '\015'`
18756 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18757 # But we know of no other shell where ac_cr would be empty at this
18758 # point, so we can use a bashism as a fallback.
18759 if test "x$ac_cr" = x; then
18760 eval ac_cr=\$\'\\r\'
18762 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18763 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18764 ac_cs_awk_cr='\\r'
18765 else
18766 ac_cs_awk_cr=$ac_cr
18769 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18770 _ACEOF
18774 echo "cat >conf$$subs.awk <<_ACEOF" &&
18775 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18776 echo "_ACEOF"
18777 } >conf$$subs.sh ||
18778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18780 ac_delim='%!_!# '
18781 for ac_last_try in false false false false false :; do
18782 . ./conf$$subs.sh ||
18783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18785 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18786 if test $ac_delim_n = $ac_delim_num; then
18787 break
18788 elif $ac_last_try; then
18789 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18790 else
18791 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18793 done
18794 rm -f conf$$subs.sh
18796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18797 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18798 _ACEOF
18799 sed -n '
18801 s/^/S["/; s/!.*/"]=/
18804 s/^[^!]*!//
18805 :repl
18806 t repl
18807 s/'"$ac_delim"'$//
18808 t delim
18811 s/\(.\{148\}\)..*/\1/
18812 t more1
18813 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18816 b repl
18817 :more1
18818 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18821 s/.\{148\}//
18822 t nl
18823 :delim
18825 s/\(.\{148\}\)..*/\1/
18826 t more2
18827 s/["\\]/\\&/g; s/^/"/; s/$/"/
18830 :more2
18831 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18834 s/.\{148\}//
18835 t delim
18836 ' <conf$$subs.awk | sed '
18837 /^[^""]/{
18839 s/\n//
18841 ' >>$CONFIG_STATUS || ac_write_fail=1
18842 rm -f conf$$subs.awk
18843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18844 _ACAWK
18845 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18846 for (key in S) S_is_set[key] = 1
18847 FS = "\a"
18851 line = $ 0
18852 nfields = split(line, field, "@")
18853 substed = 0
18854 len = length(field[1])
18855 for (i = 2; i < nfields; i++) {
18856 key = field[i]
18857 keylen = length(key)
18858 if (S_is_set[key]) {
18859 value = S[key]
18860 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18861 len += length(value) + length(field[++i])
18862 substed = 1
18863 } else
18864 len += 1 + keylen
18867 print line
18870 _ACAWK
18871 _ACEOF
18872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18873 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18874 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18875 else
18877 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18878 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18879 _ACEOF
18881 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18882 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18883 # trailing colons and then remove the whole line if VPATH becomes empty
18884 # (actually we leave an empty line to preserve line numbers).
18885 if test "x$srcdir" = x.; then
18886 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18888 s///
18889 s/^/:/
18890 s/[ ]*$/:/
18891 s/:\$(srcdir):/:/g
18892 s/:\${srcdir}:/:/g
18893 s/:@srcdir@:/:/g
18894 s/^:*//
18895 s/:*$//
18897 s/\(=[ ]*\).*/\1/
18899 s/\n//
18900 s/^[^=]*=[ ]*$//
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18905 fi # test -n "$CONFIG_FILES"
18907 # Set up the scripts for CONFIG_HEADERS section.
18908 # No need to generate them if there are no CONFIG_HEADERS.
18909 # This happens for instance with `./config.status Makefile'.
18910 if test -n "$CONFIG_HEADERS"; then
18911 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18912 BEGIN {
18913 _ACEOF
18915 # Transform confdefs.h into an awk script `defines.awk', embedded as
18916 # here-document in config.status, that substitutes the proper values into
18917 # config.h.in to produce config.h.
18919 # Create a delimiter string that does not exist in confdefs.h, to ease
18920 # handling of long lines.
18921 ac_delim='%!_!# '
18922 for ac_last_try in false false :; do
18923 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18924 if test -z "$ac_tt"; then
18925 break
18926 elif $ac_last_try; then
18927 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18928 else
18929 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18931 done
18933 # For the awk script, D is an array of macro values keyed by name,
18934 # likewise P contains macro parameters if any. Preserve backslash
18935 # newline sequences.
18937 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18938 sed -n '
18939 s/.\{148\}/&'"$ac_delim"'/g
18940 t rset
18941 :rset
18942 s/^[ ]*#[ ]*define[ ][ ]*/ /
18943 t def
18945 :def
18946 s/\\$//
18947 t bsnl
18948 s/["\\]/\\&/g
18949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18950 D["\1"]=" \3"/p
18951 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18953 :bsnl
18954 s/["\\]/\\&/g
18955 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18956 D["\1"]=" \3\\\\\\n"\\/p
18957 t cont
18958 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18959 t cont
18961 :cont
18963 s/.\{148\}/&'"$ac_delim"'/g
18964 t clear
18965 :clear
18966 s/\\$//
18967 t bsnlc
18968 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18970 :bsnlc
18971 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18972 b cont
18973 ' <confdefs.h | sed '
18974 s/'"$ac_delim"'/"\\\
18975 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 for (key in D) D_is_set[key] = 1
18979 FS = "\a"
18981 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18982 line = \$ 0
18983 split(line, arg, " ")
18984 if (arg[1] == "#") {
18985 defundef = arg[2]
18986 mac1 = arg[3]
18987 } else {
18988 defundef = substr(arg[1], 2)
18989 mac1 = arg[2]
18991 split(mac1, mac2, "(") #)
18992 macro = mac2[1]
18993 prefix = substr(line, 1, index(line, defundef) - 1)
18994 if (D_is_set[macro]) {
18995 # Preserve the white space surrounding the "#".
18996 print prefix "define", macro P[macro] D[macro]
18997 next
18998 } else {
18999 # Replace #undef with comments. This is necessary, for example,
19000 # in the case of _POSIX_SOURCE, which is predefined and required
19001 # on some systems where configure will not decide to define it.
19002 if (defundef == "undef") {
19003 print "/*", prefix defundef, macro, "*/"
19004 next
19008 { print }
19009 _ACAWK
19010 _ACEOF
19011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19012 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19013 fi # test -n "$CONFIG_HEADERS"
19016 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19017 shift
19018 for ac_tag
19020 case $ac_tag in
19021 :[FHLC]) ac_mode=$ac_tag; continue;;
19022 esac
19023 case $ac_mode$ac_tag in
19024 :[FHL]*:*);;
19025 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19026 :[FH]-) ac_tag=-:-;;
19027 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19028 esac
19029 ac_save_IFS=$IFS
19030 IFS=:
19031 set x $ac_tag
19032 IFS=$ac_save_IFS
19033 shift
19034 ac_file=$1
19035 shift
19037 case $ac_mode in
19038 :L) ac_source=$1;;
19039 :[FH])
19040 ac_file_inputs=
19041 for ac_f
19043 case $ac_f in
19044 -) ac_f="$ac_tmp/stdin";;
19045 *) # Look for the file first in the build tree, then in the source tree
19046 # (if the path is not absolute). The absolute path cannot be DOS-style,
19047 # because $ac_f cannot contain `:'.
19048 test -f "$ac_f" ||
19049 case $ac_f in
19050 [\\/$]*) false;;
19051 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19052 esac ||
19053 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19054 esac
19055 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19056 as_fn_append ac_file_inputs " '$ac_f'"
19057 done
19059 # Let's still pretend it is `configure' which instantiates (i.e., don't
19060 # use $as_me), people would be surprised to read:
19061 # /* config.h. Generated by config.status. */
19062 configure_input='Generated from '`
19063 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19064 `' by configure.'
19065 if test x"$ac_file" != x-; then
19066 configure_input="$ac_file. $configure_input"
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19068 $as_echo "$as_me: creating $ac_file" >&6;}
19070 # Neutralize special characters interpreted by sed in replacement strings.
19071 case $configure_input in #(
19072 *\&* | *\|* | *\\* )
19073 ac_sed_conf_input=`$as_echo "$configure_input" |
19074 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19075 *) ac_sed_conf_input=$configure_input;;
19076 esac
19078 case $ac_tag in
19079 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19080 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19081 esac
19083 esac
19085 ac_dir=`$as_dirname -- "$ac_file" ||
19086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19087 X"$ac_file" : 'X\(//\)[^/]' \| \
19088 X"$ac_file" : 'X\(//\)$' \| \
19089 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19090 $as_echo X"$ac_file" |
19091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19092 s//\1/
19095 /^X\(\/\/\)[^/].*/{
19096 s//\1/
19099 /^X\(\/\/\)$/{
19100 s//\1/
19103 /^X\(\/\).*/{
19104 s//\1/
19107 s/.*/./; q'`
19108 as_dir="$ac_dir"; as_fn_mkdir_p
19109 ac_builddir=.
19111 case "$ac_dir" in
19112 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19114 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19115 # A ".." for each directory in $ac_dir_suffix.
19116 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19117 case $ac_top_builddir_sub in
19118 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19119 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19120 esac ;;
19121 esac
19122 ac_abs_top_builddir=$ac_pwd
19123 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19124 # for backward compatibility:
19125 ac_top_builddir=$ac_top_build_prefix
19127 case $srcdir in
19128 .) # We are building in place.
19129 ac_srcdir=.
19130 ac_top_srcdir=$ac_top_builddir_sub
19131 ac_abs_top_srcdir=$ac_pwd ;;
19132 [\\/]* | ?:[\\/]* ) # Absolute name.
19133 ac_srcdir=$srcdir$ac_dir_suffix;
19134 ac_top_srcdir=$srcdir
19135 ac_abs_top_srcdir=$srcdir ;;
19136 *) # Relative name.
19137 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19138 ac_top_srcdir=$ac_top_build_prefix$srcdir
19139 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19140 esac
19141 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19144 case $ac_mode in
19147 # CONFIG_FILE
19150 _ACEOF
19152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19153 # If the template does not know about datarootdir, expand it.
19154 # FIXME: This hack should be removed a few years after 2.60.
19155 ac_datarootdir_hack=; ac_datarootdir_seen=
19156 ac_sed_dataroot='
19157 /datarootdir/ {
19161 /@datadir@/p
19162 /@docdir@/p
19163 /@infodir@/p
19164 /@localedir@/p
19165 /@mandir@/p'
19166 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19167 *datarootdir*) ac_datarootdir_seen=yes;;
19168 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19170 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19171 _ACEOF
19172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19173 ac_datarootdir_hack='
19174 s&@datadir@&$datadir&g
19175 s&@docdir@&$docdir&g
19176 s&@infodir@&$infodir&g
19177 s&@localedir@&$localedir&g
19178 s&@mandir@&$mandir&g
19179 s&\\\${datarootdir}&$datarootdir&g' ;;
19180 esac
19181 _ACEOF
19183 # Neutralize VPATH when `$srcdir' = `.'.
19184 # Shell code in configure.ac might set extrasub.
19185 # FIXME: do we really want to maintain this feature?
19186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19187 ac_sed_extra="$ac_vpsub
19188 $extrasub
19189 _ACEOF
19190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19193 s|@configure_input@|$ac_sed_conf_input|;t t
19194 s&@top_builddir@&$ac_top_builddir_sub&;t t
19195 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19196 s&@srcdir@&$ac_srcdir&;t t
19197 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19198 s&@top_srcdir@&$ac_top_srcdir&;t t
19199 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19200 s&@builddir@&$ac_builddir&;t t
19201 s&@abs_builddir@&$ac_abs_builddir&;t t
19202 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19203 $ac_datarootdir_hack
19205 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19206 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19208 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19209 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19210 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19211 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19213 which seems to be undefined. Please make sure it is defined" >&5
19214 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19215 which seems to be undefined. Please make sure it is defined" >&2;}
19217 rm -f "$ac_tmp/stdin"
19218 case $ac_file in
19219 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19220 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19221 esac \
19222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19226 # CONFIG_HEADER
19228 if test x"$ac_file" != x-; then
19230 $as_echo "/* $configure_input */" \
19231 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19232 } >"$ac_tmp/config.h" \
19233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19234 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19236 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19237 else
19238 rm -f "$ac_file"
19239 mv "$ac_tmp/config.h" "$ac_file" \
19240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19242 else
19243 $as_echo "/* $configure_input */" \
19244 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19245 || as_fn_error $? "could not create -" "$LINENO" 5
19250 # CONFIG_LINK
19253 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19255 else
19256 # Prefer the file from the source tree if names are identical.
19257 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19258 ac_source=$srcdir/$ac_source
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19262 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19264 if test ! -r "$ac_source"; then
19265 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19267 rm -f "$ac_file"
19269 # Try a relative symlink, then a hard link, then a copy.
19270 case $ac_source in
19271 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19272 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19273 esac
19274 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19275 ln "$ac_source" "$ac_file" 2>/dev/null ||
19276 cp -p "$ac_source" "$ac_file" ||
19277 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19280 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19281 $as_echo "$as_me: executing $ac_file commands" >&6;}
19283 esac
19286 case $ac_file$ac_mode in
19287 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19288 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19289 "Makefile":C) wine_fn_output_makefile Makefile ;;
19290 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19292 esac
19293 done # for ac_tag
19296 as_fn_exit 0
19297 _ACEOF
19298 ac_clean_files=$ac_clean_files_save
19300 test $ac_write_fail = 0 ||
19301 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19304 # configure is writing to config.log, and then calls config.status.
19305 # config.status does its own redirection, appending to config.log.
19306 # Unfortunately, on DOS this fails, as config.log is still kept open
19307 # by configure, so config.status won't be able to write to it; its
19308 # output is simply discarded. So we exec the FD to /dev/null,
19309 # effectively closing config.log, so it can be properly (re)opened and
19310 # appended to by config.status. When coming back to configure, we
19311 # need to make the FD available again.
19312 if test "$no_create" != yes; then
19313 ac_cs_success=:
19314 ac_config_status_args=
19315 test "$silent" = yes &&
19316 ac_config_status_args="$ac_config_status_args --quiet"
19317 exec 5>/dev/null
19318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19319 exec 5>>config.log
19320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19321 # would make configure fail if this is the last instruction.
19322 $ac_cs_success || as_fn_exit 1
19324 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19326 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19330 if test "$no_create" = "yes"
19331 then
19332 exit 0
19335 ac_save_IFS="$IFS"
19336 if test "x$wine_notices != "x; then
19337 echo >&6
19338 IFS="|"
19339 for msg in $wine_notices; do
19340 IFS="$ac_save_IFS"
19341 if ${msg:+false} :; then :
19343 else
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19345 $as_echo "$as_me: $msg" >&6;}
19347 done
19349 IFS="|"
19350 for msg in $wine_warnings; do
19351 IFS="$ac_save_IFS"
19352 if ${msg:+false} :; then :
19354 else
19355 echo >&2
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19357 $as_echo "$as_me: WARNING: $msg" >&2;}
19359 done
19360 IFS="$ac_save_IFS"
19362 $as_echo "
19363 $as_me: Finished. Do '${ac_make}' to compile Wine.
19364 " >&6