api-ms-win-core-debug-l1-1-0: Add stub dll.
[wine.git] / configure
blobb1b95f2a6991b1a492ebcfd017b3e6e73af1f64e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
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.42'
584 PACKAGE_STRING='Wine 1.7.42'
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_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_2
865 enable_api_ms_win_core_fibers_l1_1_0
866 enable_api_ms_win_core_fibers_l1_1_1
867 enable_api_ms_win_core_file_l1_2_0
868 enable_api_ms_win_core_file_l2_1_0
869 enable_api_ms_win_core_file_l2_1_1
870 enable_api_ms_win_core_handle_l1_1_0
871 enable_api_ms_win_core_heap_l1_2_0
872 enable_api_ms_win_core_heap_obsolete_l1_1_0
873 enable_api_ms_win_core_interlocked_l1_2_0
874 enable_api_ms_win_core_io_l1_1_1
875 enable_api_ms_win_core_kernel32_legacy_l1_1_0
876 enable_api_ms_win_core_libraryloader_l1_1_1
877 enable_api_ms_win_core_localization_l1_2_0
878 enable_api_ms_win_core_localization_l1_2_1
879 enable_api_ms_win_core_localization_obsolete_l1_1_0
880 enable_api_ms_win_core_localregistry_l1_1_0
881 enable_api_ms_win_core_memory_l1_1_1
882 enable_api_ms_win_core_namedpipe_l1_2_0
883 enable_api_ms_win_core_processenvironment_l1_2_0
884 enable_api_ms_win_core_processthreads_l1_1_0
885 enable_api_ms_win_core_processthreads_l1_1_1
886 enable_api_ms_win_core_processthreads_l1_1_2
887 enable_api_ms_win_core_profile_l1_1_0
888 enable_api_ms_win_core_psapi_l1_1_0
889 enable_api_ms_win_core_registry_l1_1_0
890 enable_api_ms_win_core_rtlsupport_l1_2_0
891 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
892 enable_api_ms_win_core_string_l1_1_0
893 enable_api_ms_win_core_synch_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_0
895 enable_api_ms_win_core_sysinfo_l1_2_1
896 enable_api_ms_win_core_threadpool_legacy_l1_1_0
897 enable_api_ms_win_core_timezone_l1_1_0
898 enable_api_ms_win_core_url_l1_1_0
899 enable_api_ms_win_core_util_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_0
901 enable_api_ms_win_core_winrt_error_l1_1_1
902 enable_api_ms_win_core_winrt_l1_1_0
903 enable_api_ms_win_core_winrt_string_l1_1_0
904 enable_api_ms_win_core_xstate_l2_1_0
905 enable_api_ms_win_downlevel_advapi32_l1_1_0
906 enable_api_ms_win_downlevel_advapi32_l2_1_0
907 enable_api_ms_win_downlevel_normaliz_l1_1_0
908 enable_api_ms_win_downlevel_ole32_l1_1_0
909 enable_api_ms_win_downlevel_shell32_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l1_1_0
911 enable_api_ms_win_downlevel_shlwapi_l2_1_0
912 enable_api_ms_win_downlevel_user32_l1_1_0
913 enable_api_ms_win_downlevel_version_l1_1_0
914 enable_api_ms_win_eventing_provider_l1_1_0
915 enable_api_ms_win_ntuser_dc_access_l1_1_0
916 enable_api_ms_win_security_base_l1_1_0
917 enable_api_ms_win_security_base_l1_2_0
918 enable_api_ms_win_security_sddl_l1_1_0
919 enable_api_ms_win_service_core_l1_1_1
920 enable_api_ms_win_service_management_l1_1_0
921 enable_api_ms_win_service_winsvc_l1_2_0
922 enable_apphelp
923 enable_appwiz_cpl
924 enable_atl
925 enable_atl100
926 enable_atl110
927 enable_atl80
928 enable_atl90
929 enable_authz
930 enable_avicap32
931 enable_avifil32
932 enable_avrt
933 enable_bcrypt
934 enable_browseui
935 enable_cabinet
936 enable_capi2032
937 enable_cards
938 enable_cfgmgr32
939 enable_clusapi
940 enable_combase
941 enable_comcat
942 enable_comctl32
943 enable_comdlg32
944 enable_compstui
945 enable_comsvcs
946 enable_connect
947 enable_credui
948 enable_crtdll
949 enable_crypt32
950 enable_cryptdlg
951 enable_cryptdll
952 enable_cryptext
953 enable_cryptnet
954 enable_cryptui
955 enable_ctapi32
956 enable_ctl3d32
957 enable_d2d1
958 enable_d3d10
959 enable_d3d10_1
960 enable_d3d10core
961 enable_d3d11
962 enable_d3d8
963 enable_d3d9
964 enable_d3dcompiler_33
965 enable_d3dcompiler_34
966 enable_d3dcompiler_35
967 enable_d3dcompiler_36
968 enable_d3dcompiler_37
969 enable_d3dcompiler_38
970 enable_d3dcompiler_39
971 enable_d3dcompiler_40
972 enable_d3dcompiler_41
973 enable_d3dcompiler_42
974 enable_d3dcompiler_43
975 enable_d3dim
976 enable_d3drm
977 enable_d3dx10_33
978 enable_d3dx10_34
979 enable_d3dx10_35
980 enable_d3dx10_36
981 enable_d3dx10_37
982 enable_d3dx10_38
983 enable_d3dx10_39
984 enable_d3dx10_40
985 enable_d3dx10_41
986 enable_d3dx10_42
987 enable_d3dx10_43
988 enable_d3dx11_42
989 enable_d3dx11_43
990 enable_d3dx9_24
991 enable_d3dx9_25
992 enable_d3dx9_26
993 enable_d3dx9_27
994 enable_d3dx9_28
995 enable_d3dx9_29
996 enable_d3dx9_30
997 enable_d3dx9_31
998 enable_d3dx9_32
999 enable_d3dx9_33
1000 enable_d3dx9_34
1001 enable_d3dx9_35
1002 enable_d3dx9_36
1003 enable_d3dx9_37
1004 enable_d3dx9_38
1005 enable_d3dx9_39
1006 enable_d3dx9_40
1007 enable_d3dx9_41
1008 enable_d3dx9_42
1009 enable_d3dx9_43
1010 enable_d3dxof
1011 enable_dbgeng
1012 enable_dbghelp
1013 enable_dciman32
1014 enable_ddraw
1015 enable_ddrawex
1016 enable_devenum
1017 enable_dhcpcsvc
1018 enable_difxapi
1019 enable_dinput
1020 enable_dinput8
1021 enable_dispex
1022 enable_dmband
1023 enable_dmcompos
1024 enable_dmime
1025 enable_dmloader
1026 enable_dmscript
1027 enable_dmstyle
1028 enable_dmsynth
1029 enable_dmusic
1030 enable_dmusic32
1031 enable_dnsapi
1032 enable_dplay
1033 enable_dplayx
1034 enable_dpnaddr
1035 enable_dpnet
1036 enable_dpnhpast
1037 enable_dpnlobby
1038 enable_dpvoice
1039 enable_dpwsockx
1040 enable_drmclien
1041 enable_dsound
1042 enable_dssenh
1043 enable_dswave
1044 enable_dwmapi
1045 enable_dwrite
1046 enable_dxdiagn
1047 enable_dxgi
1048 enable_dxva2
1049 enable_evr
1050 enable_explorerframe
1051 enable_ext_ms_win_gdi_devcaps_l1_1_0
1052 enable_faultrep
1053 enable_fltlib
1054 enable_fntcache
1055 enable_fontsub
1056 enable_fusion
1057 enable_fwpuclnt
1058 enable_gameux
1059 enable_gdi32
1060 enable_gdiplus
1061 enable_glu32
1062 enable_gphoto2_ds
1063 enable_gpkcsp
1064 enable_hal
1065 enable_hhctrl_ocx
1066 enable_hid
1067 enable_hlink
1068 enable_hnetcfg
1069 enable_httpapi
1070 enable_iccvid
1071 enable_icmp
1072 enable_ieframe
1073 enable_imaadp32_acm
1074 enable_imagehlp
1075 enable_imm32
1076 enable_inetcomm
1077 enable_inetcpl_cpl
1078 enable_inetmib1
1079 enable_infosoft
1080 enable_initpki
1081 enable_inkobj
1082 enable_inseng
1083 enable_iphlpapi
1084 enable_itircl
1085 enable_itss
1086 enable_joy_cpl
1087 enable_jscript
1088 enable_jsproxy
1089 enable_kernel32
1090 enable_ksuser
1091 enable_ktmw32
1092 enable_loadperf
1093 enable_localspl
1094 enable_localui
1095 enable_lz32
1096 enable_mapi32
1097 enable_mapistub
1098 enable_mciavi32
1099 enable_mcicda
1100 enable_mciqtz32
1101 enable_mciseq
1102 enable_mciwave
1103 enable_mf
1104 enable_mfplat
1105 enable_mfreadwrite
1106 enable_mgmtapi
1107 enable_midimap
1108 enable_mlang
1109 enable_mmcndmgr
1110 enable_mmdevapi
1111 enable_mountmgr_sys
1112 enable_mpr
1113 enable_mprapi
1114 enable_msacm32_drv
1115 enable_msacm32
1116 enable_msadp32_acm
1117 enable_msasn1
1118 enable_mscat32
1119 enable_mscms
1120 enable_mscoree
1121 enable_msctf
1122 enable_msdaps
1123 enable_msdmo
1124 enable_msftedit
1125 enable_msg711_acm
1126 enable_msgsm32_acm
1127 enable_mshtml_tlb
1128 enable_mshtml
1129 enable_msi
1130 enable_msident
1131 enable_msimg32
1132 enable_msimsg
1133 enable_msimtf
1134 enable_msisip
1135 enable_msisys_ocx
1136 enable_msls31
1137 enable_msnet32
1138 enable_mspatcha
1139 enable_msrle32
1140 enable_mssign32
1141 enable_mssip32
1142 enable_mstask
1143 enable_msvcirt
1144 enable_msvcm80
1145 enable_msvcm90
1146 enable_msvcp100
1147 enable_msvcp110
1148 enable_msvcp120
1149 enable_msvcp120_app
1150 enable_msvcp60
1151 enable_msvcp70
1152 enable_msvcp71
1153 enable_msvcp80
1154 enable_msvcp90
1155 enable_msvcr100
1156 enable_msvcr110
1157 enable_msvcr120
1158 enable_msvcr120_app
1159 enable_msvcr70
1160 enable_msvcr71
1161 enable_msvcr80
1162 enable_msvcr90
1163 enable_msvcrt
1164 enable_msvcrt20
1165 enable_msvcrt40
1166 enable_msvcrtd
1167 enable_msvfw32
1168 enable_msvidc32
1169 enable_mswsock
1170 enable_msxml
1171 enable_msxml2
1172 enable_msxml3
1173 enable_msxml4
1174 enable_msxml6
1175 enable_nddeapi
1176 enable_ndis_sys
1177 enable_netapi32
1178 enable_netcfgx
1179 enable_netprofm
1180 enable_newdev
1181 enable_normaliz
1182 enable_npmshtml
1183 enable_npptools
1184 enable_ntdll
1185 enable_ntdsapi
1186 enable_ntoskrnl_exe
1187 enable_ntprint
1188 enable_objsel
1189 enable_odbc32
1190 enable_odbccp32
1191 enable_odbccu32
1192 enable_ole32
1193 enable_oleacc
1194 enable_oleaut32
1195 enable_olecli32
1196 enable_oledb32
1197 enable_oledlg
1198 enable_olepro32
1199 enable_olesvr32
1200 enable_olethk32
1201 enable_openal32
1202 enable_opencl
1203 enable_opengl32
1204 enable_packager
1205 enable_pdh
1206 enable_photometadatahandler
1207 enable_pidgen
1208 enable_powrprof
1209 enable_printui
1210 enable_prntvpt
1211 enable_propsys
1212 enable_psapi
1213 enable_pstorec
1214 enable_qcap
1215 enable_qedit
1216 enable_qmgr
1217 enable_qmgrprxy
1218 enable_quartz
1219 enable_query
1220 enable_rasapi32
1221 enable_rasdlg
1222 enable_regapi
1223 enable_resutils
1224 enable_riched20
1225 enable_riched32
1226 enable_rpcrt4
1227 enable_rsabase
1228 enable_rsaenh
1229 enable_rstrtmgr
1230 enable_rtutils
1231 enable_samlib
1232 enable_sane_ds
1233 enable_scarddlg
1234 enable_sccbase
1235 enable_schannel
1236 enable_schedsvc
1237 enable_scrrun
1238 enable_scsiport_sys
1239 enable_secur32
1240 enable_security
1241 enable_sensapi
1242 enable_serialui
1243 enable_setupapi
1244 enable_sfc
1245 enable_sfc_os
1246 enable_shdoclc
1247 enable_shdocvw
1248 enable_shell32
1249 enable_shfolder
1250 enable_shlwapi
1251 enable_slbcsp
1252 enable_slc
1253 enable_snmpapi
1254 enable_softpub
1255 enable_spoolss
1256 enable_stdole2_tlb
1257 enable_stdole32_tlb
1258 enable_sti
1259 enable_svrapi
1260 enable_sxs
1261 enable_t2embed
1262 enable_tapi32
1263 enable_taskschd
1264 enable_traffic
1265 enable_twain_32
1266 enable_unicows
1267 enable_updspapi
1268 enable_url
1269 enable_urlmon
1270 enable_usbd_sys
1271 enable_user32
1272 enable_userenv
1273 enable_usp10
1274 enable_uxtheme
1275 enable_vbscript
1276 enable_vcomp
1277 enable_vcomp100
1278 enable_vcomp90
1279 enable_vdmdbg
1280 enable_version
1281 enable_vssapi
1282 enable_wbemdisp
1283 enable_wbemprox
1284 enable_webservices
1285 enable_wer
1286 enable_wevtapi
1287 enable_wiaservc
1288 enable_windowscodecs
1289 enable_windowscodecsext
1290 enable_winealsa_drv
1291 enable_winecoreaudio_drv
1292 enable_wined3d
1293 enable_winegstreamer
1294 enable_winejoystick_drv
1295 enable_winemac_drv
1296 enable_winemapi
1297 enable_winemp3_acm
1298 enable_wineoss_drv
1299 enable_wineps_drv
1300 enable_wineqtdecoder
1301 enable_winex11_drv
1302 enable_wing32
1303 enable_winhttp
1304 enable_wininet
1305 enable_winmm
1306 enable_winnls32
1307 enable_winscard
1308 enable_winspool_drv
1309 enable_winsta
1310 enable_wintab32
1311 enable_wintrust
1312 enable_wlanapi
1313 enable_wldap32
1314 enable_wmi
1315 enable_wmiutils
1316 enable_wmp
1317 enable_wmvcore
1318 enable_wnaspi32
1319 enable_wpcap
1320 enable_ws2_32
1321 enable_wshom_ocx
1322 enable_wsnmp32
1323 enable_wsock32
1324 enable_wtsapi32
1325 enable_wuapi
1326 enable_wuaueng
1327 enable_x3daudio1_1
1328 enable_x3daudio1_2
1329 enable_x3daudio1_3
1330 enable_x3daudio1_4
1331 enable_x3daudio1_5
1332 enable_x3daudio1_6
1333 enable_x3daudio1_7
1334 enable_xapofx1_1
1335 enable_xapofx1_3
1336 enable_xapofx1_4
1337 enable_xapofx1_5
1338 enable_xaudio2_7
1339 enable_xinput1_1
1340 enable_xinput1_2
1341 enable_xinput1_3
1342 enable_xinput1_4
1343 enable_xinput9_1_0
1344 enable_xmllite
1345 enable_xolehlp
1346 enable_xpsprint
1347 enable_xpssvcs
1348 enable_documentation
1349 enable_fonts
1350 enable_include
1351 enable_libs_port
1352 enable_libs_wine
1353 enable_libs_wpp
1354 enable_loader
1355 enable_arp
1356 enable_aspnet_regiis
1357 enable_attrib
1358 enable_cabarc
1359 enable_cacls
1360 enable_clock
1361 enable_cmd
1362 enable_conhost
1363 enable_control
1364 enable_cscript
1365 enable_dpnsvr
1366 enable_dxdiag
1367 enable_eject
1368 enable_expand
1369 enable_explorer
1370 enable_extrac32
1371 enable_findstr
1372 enable_hh
1373 enable_hostname
1374 enable_icinfo
1375 enable_iexplore
1376 enable_ipconfig
1377 enable_lodctr
1378 enable_mofcomp
1379 enable_mshta
1380 enable_msiexec
1381 enable_net
1382 enable_netsh
1383 enable_netstat
1384 enable_ngen
1385 enable_notepad
1386 enable_oleview
1387 enable_ping
1388 enable_plugplay
1389 enable_presentationfontcache
1390 enable_progman
1391 enable_reg
1392 enable_regasm
1393 enable_regedit
1394 enable_regsvcs
1395 enable_regsvr32
1396 enable_rpcss
1397 enable_rundll32
1398 enable_sc
1399 enable_schtasks
1400 enable_sdbinst
1401 enable_secedit
1402 enable_servicemodelreg
1403 enable_services
1404 enable_spoolsv
1405 enable_start
1406 enable_svchost
1407 enable_systeminfo
1408 enable_taskkill
1409 enable_tasklist
1410 enable_taskmgr
1411 enable_termsv
1412 enable_uninstaller
1413 enable_unlodctr
1414 enable_view
1415 enable_wevtutil
1416 enable_wineboot
1417 enable_winebrowser
1418 enable_winecfg
1419 enable_wineconsole
1420 enable_winedbg
1421 enable_winedevice
1422 enable_winefile
1423 enable_winemenubuilder
1424 enable_winemine
1425 enable_winemsibuilder
1426 enable_winepath
1427 enable_winetest
1428 enable_winhlp32
1429 enable_winver
1430 enable_wmic
1431 enable_wordpad
1432 enable_write
1433 enable_wscript
1434 enable_wusa
1435 enable_xcopy
1436 enable_server
1437 enable_tools
1439 ac_precious_vars='build_alias
1440 host_alias
1441 target_alias
1443 CFLAGS
1444 LDFLAGS
1445 LIBS
1446 CPPFLAGS
1448 CXXFLAGS
1451 XMKMF
1452 XML2_CFLAGS
1453 XML2_LIBS
1454 XSLT_CFLAGS
1455 XSLT_LIBS
1456 DBUS_CFLAGS
1457 DBUS_LIBS
1458 HAL_CFLAGS
1459 HAL_LIBS
1460 GNUTLS_CFLAGS
1461 GNUTLS_LIBS
1462 SANE_CFLAGS
1463 SANE_LIBS
1464 GPHOTO2_CFLAGS
1465 GPHOTO2_LIBS
1466 GPHOTO2_PORT_CFLAGS
1467 GPHOTO2_PORT_LIBS
1468 LCMS2_CFLAGS
1469 LCMS2_LIBS
1470 FREETYPE_CFLAGS
1471 FREETYPE_LIBS
1472 GSTREAMER_CFLAGS
1473 GSTREAMER_LIBS
1474 CAPI20_CFLAGS
1475 CAPI20_LIBS
1476 FONTCONFIG_CFLAGS
1477 FONTCONFIG_LIBS
1478 JPEG_CFLAGS
1479 JPEG_LIBS
1480 PNG_CFLAGS
1481 PNG_LIBS
1482 TIFF_CFLAGS
1483 TIFF_LIBS
1484 MPG123_CFLAGS
1485 MPG123_LIBS'
1488 # Initialize some variables set by options.
1489 ac_init_help=
1490 ac_init_version=false
1491 ac_unrecognized_opts=
1492 ac_unrecognized_sep=
1493 # The variables have the same names as the options, with
1494 # dashes changed to underlines.
1495 cache_file=/dev/null
1496 exec_prefix=NONE
1497 no_create=
1498 no_recursion=
1499 prefix=NONE
1500 program_prefix=NONE
1501 program_suffix=NONE
1502 program_transform_name=s,x,x,
1503 silent=
1504 site=
1505 srcdir=
1506 verbose=
1507 x_includes=NONE
1508 x_libraries=NONE
1510 # Installation directory options.
1511 # These are left unexpanded so users can "make install exec_prefix=/foo"
1512 # and all the variables that are supposed to be based on exec_prefix
1513 # by default will actually change.
1514 # Use braces instead of parens because sh, perl, etc. also accept them.
1515 # (The list follows the same order as the GNU Coding Standards.)
1516 bindir='${exec_prefix}/bin'
1517 sbindir='${exec_prefix}/sbin'
1518 libexecdir='${exec_prefix}/libexec'
1519 datarootdir='${prefix}/share'
1520 datadir='${datarootdir}'
1521 sysconfdir='${prefix}/etc'
1522 sharedstatedir='${prefix}/com'
1523 localstatedir='${prefix}/var'
1524 includedir='${prefix}/include'
1525 oldincludedir='/usr/include'
1526 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1527 infodir='${datarootdir}/info'
1528 htmldir='${docdir}'
1529 dvidir='${docdir}'
1530 pdfdir='${docdir}'
1531 psdir='${docdir}'
1532 libdir='${exec_prefix}/lib'
1533 localedir='${datarootdir}/locale'
1534 mandir='${datarootdir}/man'
1536 ac_prev=
1537 ac_dashdash=
1538 for ac_option
1540 # If the previous option needs an argument, assign it.
1541 if test -n "$ac_prev"; then
1542 eval $ac_prev=\$ac_option
1543 ac_prev=
1544 continue
1547 case $ac_option in
1548 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1549 *=) ac_optarg= ;;
1550 *) ac_optarg=yes ;;
1551 esac
1553 # Accept the important Cygnus configure options, so we can diagnose typos.
1555 case $ac_dashdash$ac_option in
1557 ac_dashdash=yes ;;
1559 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1560 ac_prev=bindir ;;
1561 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1562 bindir=$ac_optarg ;;
1564 -build | --build | --buil | --bui | --bu)
1565 ac_prev=build_alias ;;
1566 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1567 build_alias=$ac_optarg ;;
1569 -cache-file | --cache-file | --cache-fil | --cache-fi \
1570 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1571 ac_prev=cache_file ;;
1572 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1573 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1574 cache_file=$ac_optarg ;;
1576 --config-cache | -C)
1577 cache_file=config.cache ;;
1579 -datadir | --datadir | --datadi | --datad)
1580 ac_prev=datadir ;;
1581 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1582 datadir=$ac_optarg ;;
1584 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1585 | --dataroo | --dataro | --datar)
1586 ac_prev=datarootdir ;;
1587 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1588 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1589 datarootdir=$ac_optarg ;;
1591 -disable-* | --disable-*)
1592 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1593 # Reject names that are not valid shell variable names.
1594 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1595 as_fn_error $? "invalid feature name: $ac_useropt"
1596 ac_useropt_orig=$ac_useropt
1597 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1598 case $ac_user_opts in
1600 "enable_$ac_useropt"
1601 "*) ;;
1602 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1603 ac_unrecognized_sep=', ';;
1604 esac
1605 eval enable_$ac_useropt=no ;;
1607 -docdir | --docdir | --docdi | --doc | --do)
1608 ac_prev=docdir ;;
1609 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1610 docdir=$ac_optarg ;;
1612 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1613 ac_prev=dvidir ;;
1614 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1615 dvidir=$ac_optarg ;;
1617 -enable-* | --enable-*)
1618 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1619 # Reject names that are not valid shell variable names.
1620 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1621 as_fn_error $? "invalid feature name: $ac_useropt"
1622 ac_useropt_orig=$ac_useropt
1623 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1624 case $ac_user_opts in
1626 "enable_$ac_useropt"
1627 "*) ;;
1628 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1629 ac_unrecognized_sep=', ';;
1630 esac
1631 eval enable_$ac_useropt=\$ac_optarg ;;
1633 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1634 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1635 | --exec | --exe | --ex)
1636 ac_prev=exec_prefix ;;
1637 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1638 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1639 | --exec=* | --exe=* | --ex=*)
1640 exec_prefix=$ac_optarg ;;
1642 -gas | --gas | --ga | --g)
1643 # Obsolete; use --with-gas.
1644 with_gas=yes ;;
1646 -help | --help | --hel | --he | -h)
1647 ac_init_help=long ;;
1648 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1649 ac_init_help=recursive ;;
1650 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1651 ac_init_help=short ;;
1653 -host | --host | --hos | --ho)
1654 ac_prev=host_alias ;;
1655 -host=* | --host=* | --hos=* | --ho=*)
1656 host_alias=$ac_optarg ;;
1658 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1659 ac_prev=htmldir ;;
1660 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1661 | --ht=*)
1662 htmldir=$ac_optarg ;;
1664 -includedir | --includedir | --includedi | --included | --include \
1665 | --includ | --inclu | --incl | --inc)
1666 ac_prev=includedir ;;
1667 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1668 | --includ=* | --inclu=* | --incl=* | --inc=*)
1669 includedir=$ac_optarg ;;
1671 -infodir | --infodir | --infodi | --infod | --info | --inf)
1672 ac_prev=infodir ;;
1673 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1674 infodir=$ac_optarg ;;
1676 -libdir | --libdir | --libdi | --libd)
1677 ac_prev=libdir ;;
1678 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1679 libdir=$ac_optarg ;;
1681 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1682 | --libexe | --libex | --libe)
1683 ac_prev=libexecdir ;;
1684 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1685 | --libexe=* | --libex=* | --libe=*)
1686 libexecdir=$ac_optarg ;;
1688 -localedir | --localedir | --localedi | --localed | --locale)
1689 ac_prev=localedir ;;
1690 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1691 localedir=$ac_optarg ;;
1693 -localstatedir | --localstatedir | --localstatedi | --localstated \
1694 | --localstate | --localstat | --localsta | --localst | --locals)
1695 ac_prev=localstatedir ;;
1696 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1697 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1698 localstatedir=$ac_optarg ;;
1700 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1701 ac_prev=mandir ;;
1702 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1703 mandir=$ac_optarg ;;
1705 -nfp | --nfp | --nf)
1706 # Obsolete; use --without-fp.
1707 with_fp=no ;;
1709 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1710 | --no-cr | --no-c | -n)
1711 no_create=yes ;;
1713 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1714 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1715 no_recursion=yes ;;
1717 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1718 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1719 | --oldin | --oldi | --old | --ol | --o)
1720 ac_prev=oldincludedir ;;
1721 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1722 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1723 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1724 oldincludedir=$ac_optarg ;;
1726 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1727 ac_prev=prefix ;;
1728 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1729 prefix=$ac_optarg ;;
1731 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1732 | --program-pre | --program-pr | --program-p)
1733 ac_prev=program_prefix ;;
1734 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1735 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1736 program_prefix=$ac_optarg ;;
1738 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1739 | --program-suf | --program-su | --program-s)
1740 ac_prev=program_suffix ;;
1741 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1742 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1743 program_suffix=$ac_optarg ;;
1745 -program-transform-name | --program-transform-name \
1746 | --program-transform-nam | --program-transform-na \
1747 | --program-transform-n | --program-transform- \
1748 | --program-transform | --program-transfor \
1749 | --program-transfo | --program-transf \
1750 | --program-trans | --program-tran \
1751 | --progr-tra | --program-tr | --program-t)
1752 ac_prev=program_transform_name ;;
1753 -program-transform-name=* | --program-transform-name=* \
1754 | --program-transform-nam=* | --program-transform-na=* \
1755 | --program-transform-n=* | --program-transform-=* \
1756 | --program-transform=* | --program-transfor=* \
1757 | --program-transfo=* | --program-transf=* \
1758 | --program-trans=* | --program-tran=* \
1759 | --progr-tra=* | --program-tr=* | --program-t=*)
1760 program_transform_name=$ac_optarg ;;
1762 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1763 ac_prev=pdfdir ;;
1764 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1765 pdfdir=$ac_optarg ;;
1767 -psdir | --psdir | --psdi | --psd | --ps)
1768 ac_prev=psdir ;;
1769 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1770 psdir=$ac_optarg ;;
1772 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1773 | -silent | --silent | --silen | --sile | --sil)
1774 silent=yes ;;
1776 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1777 ac_prev=sbindir ;;
1778 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1779 | --sbi=* | --sb=*)
1780 sbindir=$ac_optarg ;;
1782 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1783 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1784 | --sharedst | --shareds | --shared | --share | --shar \
1785 | --sha | --sh)
1786 ac_prev=sharedstatedir ;;
1787 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1788 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1789 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1790 | --sha=* | --sh=*)
1791 sharedstatedir=$ac_optarg ;;
1793 -site | --site | --sit)
1794 ac_prev=site ;;
1795 -site=* | --site=* | --sit=*)
1796 site=$ac_optarg ;;
1798 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1799 ac_prev=srcdir ;;
1800 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1801 srcdir=$ac_optarg ;;
1803 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1804 | --syscon | --sysco | --sysc | --sys | --sy)
1805 ac_prev=sysconfdir ;;
1806 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1807 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1808 sysconfdir=$ac_optarg ;;
1810 -target | --target | --targe | --targ | --tar | --ta | --t)
1811 ac_prev=target_alias ;;
1812 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1813 target_alias=$ac_optarg ;;
1815 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1816 verbose=yes ;;
1818 -version | --version | --versio | --versi | --vers | -V)
1819 ac_init_version=: ;;
1821 -with-* | --with-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid package name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "with_$ac_useropt"
1831 "*) ;;
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1834 esac
1835 eval with_$ac_useropt=\$ac_optarg ;;
1837 -without-* | --without-*)
1838 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1841 as_fn_error $? "invalid package name: $ac_useropt"
1842 ac_useropt_orig=$ac_useropt
1843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1846 "with_$ac_useropt"
1847 "*) ;;
1848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1849 ac_unrecognized_sep=', ';;
1850 esac
1851 eval with_$ac_useropt=no ;;
1853 --x)
1854 # Obsolete; use --with-x.
1855 with_x=yes ;;
1857 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1858 | --x-incl | --x-inc | --x-in | --x-i)
1859 ac_prev=x_includes ;;
1860 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1861 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1862 x_includes=$ac_optarg ;;
1864 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1865 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1866 ac_prev=x_libraries ;;
1867 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1868 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1869 x_libraries=$ac_optarg ;;
1871 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1872 Try \`$0 --help' for more information"
1875 *=*)
1876 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1877 # Reject names that are not valid shell variable names.
1878 case $ac_envvar in #(
1879 '' | [0-9]* | *[!_$as_cr_alnum]* )
1880 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1881 esac
1882 eval $ac_envvar=\$ac_optarg
1883 export $ac_envvar ;;
1886 # FIXME: should be removed in autoconf 3.0.
1887 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1888 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1889 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1890 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1893 esac
1894 done
1896 if test -n "$ac_prev"; then
1897 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1898 as_fn_error $? "missing argument to $ac_option"
1901 if test -n "$ac_unrecognized_opts"; then
1902 case $enable_option_checking in
1903 no) ;;
1904 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1905 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1906 esac
1909 # Check all directory arguments for consistency.
1910 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1911 datadir sysconfdir sharedstatedir localstatedir includedir \
1912 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1913 libdir localedir mandir
1915 eval ac_val=\$$ac_var
1916 # Remove trailing slashes.
1917 case $ac_val in
1918 */ )
1919 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1920 eval $ac_var=\$ac_val;;
1921 esac
1922 # Be sure to have absolute directory names.
1923 case $ac_val in
1924 [\\/$]* | ?:[\\/]* ) continue;;
1925 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1926 esac
1927 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1928 done
1930 # There might be people who depend on the old broken behavior: `$host'
1931 # used to hold the argument of --host etc.
1932 # FIXME: To remove some day.
1933 build=$build_alias
1934 host=$host_alias
1935 target=$target_alias
1937 # FIXME: To remove some day.
1938 if test "x$host_alias" != x; then
1939 if test "x$build_alias" = x; then
1940 cross_compiling=maybe
1941 elif test "x$build_alias" != "x$host_alias"; then
1942 cross_compiling=yes
1946 ac_tool_prefix=
1947 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1949 test "$silent" = yes && exec 6>/dev/null
1952 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1953 ac_ls_di=`ls -di .` &&
1954 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1955 as_fn_error $? "working directory cannot be determined"
1956 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1957 as_fn_error $? "pwd does not report name of working directory"
1960 # Find the source files, if location was not specified.
1961 if test -z "$srcdir"; then
1962 ac_srcdir_defaulted=yes
1963 # Try the directory containing this script, then the parent directory.
1964 ac_confdir=`$as_dirname -- "$as_myself" ||
1965 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1966 X"$as_myself" : 'X\(//\)[^/]' \| \
1967 X"$as_myself" : 'X\(//\)$' \| \
1968 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1969 $as_echo X"$as_myself" |
1970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1971 s//\1/
1974 /^X\(\/\/\)[^/].*/{
1975 s//\1/
1978 /^X\(\/\/\)$/{
1979 s//\1/
1982 /^X\(\/\).*/{
1983 s//\1/
1986 s/.*/./; q'`
1987 srcdir=$ac_confdir
1988 if test ! -r "$srcdir/$ac_unique_file"; then
1989 srcdir=..
1991 else
1992 ac_srcdir_defaulted=no
1994 if test ! -r "$srcdir/$ac_unique_file"; then
1995 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1996 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1998 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1999 ac_abs_confdir=`(
2000 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2001 pwd)`
2002 # When building in place, set srcdir=.
2003 if test "$ac_abs_confdir" = "$ac_pwd"; then
2004 srcdir=.
2006 # Remove unnecessary trailing slashes from srcdir.
2007 # Double slashes in file names in object file debugging info
2008 # mess up M-x gdb in Emacs.
2009 case $srcdir in
2010 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2011 esac
2012 for ac_var in $ac_precious_vars; do
2013 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2014 eval ac_env_${ac_var}_value=\$${ac_var}
2015 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2016 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2017 done
2020 # Report the --help message.
2022 if test "$ac_init_help" = "long"; then
2023 # Omit some internal or obsolete options to make the list less imposing.
2024 # This message is too long to be a string in the A/UX 3.1 sh.
2025 cat <<_ACEOF
2026 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2028 Usage: $0 [OPTION]... [VAR=VALUE]...
2030 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2031 VAR=VALUE. See below for descriptions of some of the useful variables.
2033 Defaults for the options are specified in brackets.
2035 Configuration:
2036 -h, --help display this help and exit
2037 --help=short display options specific to this package
2038 --help=recursive display the short help of all the included packages
2039 -V, --version display version information and exit
2040 -q, --quiet, --silent do not print \`checking ...' messages
2041 --cache-file=FILE cache test results in FILE [disabled]
2042 -C, --config-cache alias for \`--cache-file=config.cache'
2043 -n, --no-create do not create output files
2044 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2046 Installation directories:
2047 --prefix=PREFIX install architecture-independent files in PREFIX
2048 [$ac_default_prefix]
2049 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2050 [PREFIX]
2052 By default, \`make install' will install all the files in
2053 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2054 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2055 for instance \`--prefix=\$HOME'.
2057 For better control, use the options below.
2059 Fine tuning of the installation directories:
2060 --bindir=DIR user executables [EPREFIX/bin]
2061 --sbindir=DIR system admin executables [EPREFIX/sbin]
2062 --libexecdir=DIR program executables [EPREFIX/libexec]
2063 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2064 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2065 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2066 --libdir=DIR object code libraries [EPREFIX/lib]
2067 --includedir=DIR C header files [PREFIX/include]
2068 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2069 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2070 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2071 --infodir=DIR info documentation [DATAROOTDIR/info]
2072 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2073 --mandir=DIR man documentation [DATAROOTDIR/man]
2074 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2075 --htmldir=DIR html documentation [DOCDIR]
2076 --dvidir=DIR dvi documentation [DOCDIR]
2077 --pdfdir=DIR pdf documentation [DOCDIR]
2078 --psdir=DIR ps documentation [DOCDIR]
2079 _ACEOF
2081 cat <<\_ACEOF
2083 X features:
2084 --x-includes=DIR X include files are in DIR
2085 --x-libraries=DIR X library files are in DIR
2087 System types:
2088 --build=BUILD configure for building on BUILD [guessed]
2089 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2090 _ACEOF
2093 if test -n "$ac_init_help"; then
2094 case $ac_init_help in
2095 short | recursive ) echo "Configuration of Wine 1.7.42:";;
2096 esac
2097 cat <<\_ACEOF
2099 Optional Features:
2100 --disable-option-checking ignore unrecognized --enable/--with options
2101 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2102 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2103 --disable-win16 do not include Win16 support
2104 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2105 binaries)
2106 --disable-tests do not build the regression tests
2107 --enable-maintainer-mode
2108 enable maintainer-specific build rules
2109 --disable-largefile omit support for large files
2111 Optional Packages:
2112 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2113 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2114 --without-alsa do not use the Alsa sound support
2115 --without-capi do not use CAPI (ISDN support)
2116 --without-cms do not use CMS (color management support)
2117 --without-coreaudio do not use the CoreAudio sound support
2118 --without-cups do not use CUPS
2119 --without-curses do not use (n)curses
2120 --without-dbus do not use DBus (dynamic device support)
2121 --without-fontconfig do not use fontconfig
2122 --without-freetype do not use the FreeType library
2123 --without-gettext do not use gettext
2124 --with-gettextpo use the GetTextPO library to rebuild po files
2125 --without-gphoto do not use gphoto (Digital Camera support)
2126 --without-glu do not use the GLU library
2127 --without-gnutls do not use GnuTLS (schannel support)
2128 --without-gsm do not use libgsm (GSM 06.10 codec support)
2129 --without-gstreamer do not use GStreamer (codecs support)
2130 --without-hal do not use HAL (dynamic device support)
2131 --without-jpeg do not use JPEG
2132 --without-ldap do not use LDAP
2133 --without-mpg123 do not use the mpg123 library
2134 --without-netapi do not use the Samba NetAPI library
2135 --without-openal do not use OpenAL
2136 --without-opencl do not use OpenCL
2137 --without-opengl do not use OpenGL
2138 --without-osmesa do not use the OSMesa library
2139 --without-oss do not use the OSS sound support
2140 --without-pcap do not use the Packet Capture library
2141 --without-png do not use PNG
2142 --without-pthread do not use the pthread library
2143 --without-sane do not use SANE (scanner support)
2144 --without-tiff do not use TIFF
2145 --without-v4l do not use v4l1 (v4l support)
2146 --without-xcomposite do not use the Xcomposite extension
2147 --without-xcursor do not use the Xcursor extension
2148 --without-xinerama do not use Xinerama (multi-monitor support)
2149 --without-xinput do not use the Xinput extension
2150 --without-xinput2 do not use the Xinput 2 extension
2151 --without-xml do not use XML
2152 --without-xrandr do not use Xrandr (resolution changes)
2153 --without-xrender do not use the Xrender extension
2154 --without-xshape do not use the Xshape extension
2155 --without-xshm do not use XShm (shared memory extension)
2156 --without-xslt do not use XSLT
2157 --without-xxf86vm do not use XFree video mode extension
2158 --without-zlib do not use Zlib (data compression)
2159 --with-wine-tools=DIR use Wine tools from directory DIR
2160 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2161 --with-x use the X Window System
2163 Some influential environment variables:
2164 CC C compiler command
2165 CFLAGS C compiler flags
2166 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2167 nonstandard directory <lib dir>
2168 LIBS libraries to pass to the linker, e.g. -l<library>
2169 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2170 you have headers in a nonstandard directory <include dir>
2171 CXX C++ compiler command
2172 CXXFLAGS C++ compiler flags
2173 CPP C preprocessor
2174 XMKMF Path to xmkmf, Makefile generator for X Window System
2175 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2176 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2177 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2178 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2179 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2180 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2181 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2182 HAL_LIBS Linker flags for hal, overriding pkg-config
2183 GNUTLS_CFLAGS
2184 C compiler flags for gnutls, overriding pkg-config
2185 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2186 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2187 SANE_LIBS Linker flags for libsane, overriding pkg-config
2188 GPHOTO2_CFLAGS
2189 C compiler flags for libgphoto2, overriding pkg-config
2190 GPHOTO2_LIBS
2191 Linker flags for libgphoto2, overriding pkg-config
2192 GPHOTO2_PORT_CFLAGS
2193 C compiler flags for libgphoto2_port, overriding pkg-config
2194 GPHOTO2_PORT_LIBS
2195 Linker flags for libgphoto2_port, overriding pkg-config
2196 LCMS2_CFLAGS
2197 C compiler flags for lcms2, overriding pkg-config
2198 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2199 FREETYPE_CFLAGS
2200 C compiler flags for freetype2, overriding pkg-config
2201 FREETYPE_LIBS
2202 Linker flags for freetype2, overriding pkg-config
2203 GSTREAMER_CFLAGS
2204 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2205 GSTREAMER_LIBS
2206 Linker flags for gstreamer-app-0.10, overriding pkg-config
2207 CAPI20_CFLAGS
2208 C compiler flags for capi20, overriding pkg-config
2209 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2210 FONTCONFIG_CFLAGS
2211 C compiler flags for fontconfig, overriding pkg-config
2212 FONTCONFIG_LIBS
2213 Linker flags for fontconfig, overriding pkg-config
2214 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2215 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2216 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2217 PNG_LIBS Linker flags for libpng, overriding pkg-config
2218 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2219 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2220 MPG123_CFLAGS
2221 C compiler flags for libmpg123, overriding pkg-config
2222 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2224 Use these variables to override the choices made by `configure' or to help
2225 it to find libraries and programs with nonstandard names/locations.
2227 Report bugs to <wine-devel@winehq.org>.
2228 Wine home page: <http://www.winehq.org>.
2229 _ACEOF
2230 ac_status=$?
2233 if test "$ac_init_help" = "recursive"; then
2234 # If there are subdirs, report their specific --help.
2235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2236 test -d "$ac_dir" ||
2237 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2238 continue
2239 ac_builddir=.
2241 case "$ac_dir" in
2242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2244 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2245 # A ".." for each directory in $ac_dir_suffix.
2246 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2247 case $ac_top_builddir_sub in
2248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2250 esac ;;
2251 esac
2252 ac_abs_top_builddir=$ac_pwd
2253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2254 # for backward compatibility:
2255 ac_top_builddir=$ac_top_build_prefix
2257 case $srcdir in
2258 .) # We are building in place.
2259 ac_srcdir=.
2260 ac_top_srcdir=$ac_top_builddir_sub
2261 ac_abs_top_srcdir=$ac_pwd ;;
2262 [\\/]* | ?:[\\/]* ) # Absolute name.
2263 ac_srcdir=$srcdir$ac_dir_suffix;
2264 ac_top_srcdir=$srcdir
2265 ac_abs_top_srcdir=$srcdir ;;
2266 *) # Relative name.
2267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2268 ac_top_srcdir=$ac_top_build_prefix$srcdir
2269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2270 esac
2271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2273 cd "$ac_dir" || { ac_status=$?; continue; }
2274 # Check for guested configure.
2275 if test -f "$ac_srcdir/configure.gnu"; then
2276 echo &&
2277 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2278 elif test -f "$ac_srcdir/configure"; then
2279 echo &&
2280 $SHELL "$ac_srcdir/configure" --help=recursive
2281 else
2282 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2283 fi || ac_status=$?
2284 cd "$ac_pwd" || { ac_status=$?; break; }
2285 done
2288 test -n "$ac_init_help" && exit $ac_status
2289 if $ac_init_version; then
2290 cat <<\_ACEOF
2291 Wine configure 1.7.42
2292 generated by GNU Autoconf 2.69
2294 Copyright (C) 2012 Free Software Foundation, Inc.
2295 This configure script is free software; the Free Software Foundation
2296 gives unlimited permission to copy, distribute and modify it.
2297 _ACEOF
2298 exit
2301 ## ------------------------ ##
2302 ## Autoconf initialization. ##
2303 ## ------------------------ ##
2305 # ac_fn_c_try_compile LINENO
2306 # --------------------------
2307 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2308 ac_fn_c_try_compile ()
2310 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2311 rm -f conftest.$ac_objext
2312 if { { ac_try="$ac_compile"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319 (eval "$ac_compile") 2>conftest.err
2320 ac_status=$?
2321 if test -s conftest.err; then
2322 grep -v '^ *+' conftest.err >conftest.er1
2323 cat conftest.er1 >&5
2324 mv -f conftest.er1 conftest.err
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; } && {
2328 test -z "$ac_c_werror_flag" ||
2329 test ! -s conftest.err
2330 } && test -s conftest.$ac_objext; then :
2331 ac_retval=0
2332 else
2333 $as_echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2336 ac_retval=1
2338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339 as_fn_set_status $ac_retval
2341 } # ac_fn_c_try_compile
2343 # ac_fn_cxx_try_compile LINENO
2344 # ----------------------------
2345 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2346 ac_fn_cxx_try_compile ()
2348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349 rm -f conftest.$ac_objext
2350 if { { ac_try="$ac_compile"
2351 case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354 esac
2355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 $as_echo "$ac_try_echo"; } >&5
2357 (eval "$ac_compile") 2>conftest.err
2358 ac_status=$?
2359 if test -s conftest.err; then
2360 grep -v '^ *+' conftest.err >conftest.er1
2361 cat conftest.er1 >&5
2362 mv -f conftest.er1 conftest.err
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; } && {
2366 test -z "$ac_cxx_werror_flag" ||
2367 test ! -s conftest.err
2368 } && test -s conftest.$ac_objext; then :
2369 ac_retval=0
2370 else
2371 $as_echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2374 ac_retval=1
2376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2377 as_fn_set_status $ac_retval
2379 } # ac_fn_cxx_try_compile
2381 # ac_fn_c_try_link LINENO
2382 # -----------------------
2383 # Try to link conftest.$ac_ext, and return whether this succeeded.
2384 ac_fn_c_try_link ()
2386 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2387 rm -f conftest.$ac_objext conftest$ac_exeext
2388 if { { ac_try="$ac_link"
2389 case "(($ac_try" in
2390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2391 *) ac_try_echo=$ac_try;;
2392 esac
2393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2394 $as_echo "$ac_try_echo"; } >&5
2395 (eval "$ac_link") 2>conftest.err
2396 ac_status=$?
2397 if test -s conftest.err; then
2398 grep -v '^ *+' conftest.err >conftest.er1
2399 cat conftest.er1 >&5
2400 mv -f conftest.er1 conftest.err
2402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2403 test $ac_status = 0; } && {
2404 test -z "$ac_c_werror_flag" ||
2405 test ! -s conftest.err
2406 } && test -s conftest$ac_exeext && {
2407 test "$cross_compiling" = yes ||
2408 test -x conftest$ac_exeext
2409 }; then :
2410 ac_retval=0
2411 else
2412 $as_echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2415 ac_retval=1
2417 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2418 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2419 # interfere with the next link command; also delete a directory that is
2420 # left behind by Apple's compiler. We do this before executing the actions.
2421 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2422 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2423 as_fn_set_status $ac_retval
2425 } # ac_fn_c_try_link
2427 # ac_fn_c_try_cpp LINENO
2428 # ----------------------
2429 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2430 ac_fn_c_try_cpp ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 if { { ac_try="$ac_cpp conftest.$ac_ext"
2434 case "(($ac_try" in
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2437 esac
2438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439 $as_echo "$ac_try_echo"; } >&5
2440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2441 ac_status=$?
2442 if test -s conftest.err; then
2443 grep -v '^ *+' conftest.err >conftest.er1
2444 cat conftest.er1 >&5
2445 mv -f conftest.er1 conftest.err
2447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2448 test $ac_status = 0; } > conftest.i && {
2449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2450 test ! -s conftest.err
2451 }; then :
2452 ac_retval=0
2453 else
2454 $as_echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2457 ac_retval=1
2459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2460 as_fn_set_status $ac_retval
2462 } # ac_fn_c_try_cpp
2464 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2465 # -------------------------------------------------------
2466 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2467 # the include files in INCLUDES and setting the cache variable VAR
2468 # accordingly.
2469 ac_fn_c_check_header_mongrel ()
2471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472 if eval \${$3+:} false; then :
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2474 $as_echo_n "checking for $2... " >&6; }
2475 if eval \${$3+:} false; then :
2476 $as_echo_n "(cached) " >&6
2478 eval ac_res=\$$3
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2480 $as_echo "$ac_res" >&6; }
2481 else
2482 # Is the header compilable?
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2484 $as_echo_n "checking $2 usability... " >&6; }
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2488 #include <$2>
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2491 ac_header_compiler=yes
2492 else
2493 ac_header_compiler=no
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2497 $as_echo "$ac_header_compiler" >&6; }
2499 # Is the header present?
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2501 $as_echo_n "checking $2 presence... " >&6; }
2502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2504 #include <$2>
2505 _ACEOF
2506 if ac_fn_c_try_cpp "$LINENO"; then :
2507 ac_header_preproc=yes
2508 else
2509 ac_header_preproc=no
2511 rm -f conftest.err conftest.i conftest.$ac_ext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2513 $as_echo "$ac_header_preproc" >&6; }
2515 # So? What about this header?
2516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2517 yes:no: )
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2519 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2521 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2523 no:yes:* )
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2525 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2527 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2529 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2531 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2533 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2534 ( $as_echo "## ------------------------------------ ##
2535 ## Report this to wine-devel@winehq.org ##
2536 ## ------------------------------------ ##"
2537 ) | sed "s/^/$as_me: WARNING: /" >&2
2539 esac
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2541 $as_echo_n "checking for $2... " >&6; }
2542 if eval \${$3+:} false; then :
2543 $as_echo_n "(cached) " >&6
2544 else
2545 eval "$3=\$ac_header_compiler"
2547 eval ac_res=\$$3
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2549 $as_echo "$ac_res" >&6; }
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 } # ac_fn_c_check_header_mongrel
2555 # ac_fn_c_try_run LINENO
2556 # ----------------------
2557 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2558 # that executables *can* be run.
2559 ac_fn_c_try_run ()
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 if { { ac_try="$ac_link"
2563 case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_link") 2>&5
2570 ac_status=$?
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2573 { { case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_try") 2>&5
2580 ac_status=$?
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }; }; then :
2583 ac_retval=0
2584 else
2585 $as_echo "$as_me: program exited with status $ac_status" >&5
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 ac_retval=$ac_status
2591 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 as_fn_set_status $ac_retval
2595 } # ac_fn_c_try_run
2597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2598 # -------------------------------------------------------
2599 # Tests whether HEADER exists and can be compiled using the include files in
2600 # INCLUDES, setting the cache variable VAR accordingly.
2601 ac_fn_c_check_header_compile ()
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2612 #include <$2>
2613 _ACEOF
2614 if ac_fn_c_try_compile "$LINENO"; then :
2615 eval "$3=yes"
2616 else
2617 eval "$3=no"
2619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2621 eval ac_res=\$$3
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2623 $as_echo "$ac_res" >&6; }
2624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2626 } # ac_fn_c_check_header_compile
2628 # ac_fn_c_check_func LINENO FUNC VAR
2629 # ----------------------------------
2630 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2631 ac_fn_c_check_func ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h. */
2641 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2643 #define $2 innocuous_$2
2645 /* System header to define __stub macros and hopefully few prototypes,
2646 which can conflict with char $2 (); below.
2647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2648 <limits.h> exists even on freestanding compilers. */
2650 #ifdef __STDC__
2651 # include <limits.h>
2652 #else
2653 # include <assert.h>
2654 #endif
2656 #undef $2
2658 /* Override any GCC internal prototype to avoid an error.
2659 Use char because int might match the return type of a GCC
2660 builtin and then its argument prototype would still apply. */
2661 #ifdef __cplusplus
2662 extern "C"
2663 #endif
2664 char $2 ();
2665 /* The GNU C library defines this for functions which it implements
2666 to always fail with ENOSYS. Some functions are actually named
2667 something starting with __ and the normal name is an alias. */
2668 #if defined __stub_$2 || defined __stub___$2
2669 choke me
2670 #endif
2673 main ()
2675 return $2 ();
2677 return 0;
2679 _ACEOF
2680 if ac_fn_c_try_link "$LINENO"; then :
2681 eval "$3=yes"
2682 else
2683 eval "$3=no"
2685 rm -f core conftest.err conftest.$ac_objext \
2686 conftest$ac_exeext conftest.$ac_ext
2688 eval ac_res=\$$3
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2690 $as_echo "$ac_res" >&6; }
2691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2693 } # ac_fn_c_check_func
2695 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2696 # ----------------------------------------------------
2697 # Tries to find if the field MEMBER exists in type AGGR, after including
2698 # INCLUDES, setting cache variable VAR accordingly.
2699 ac_fn_c_check_member ()
2701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2703 $as_echo_n "checking for $2.$3... " >&6; }
2704 if eval \${$4+:} false; then :
2705 $as_echo_n "(cached) " >&6
2706 else
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2711 main ()
2713 static $2 ac_aggr;
2714 if (ac_aggr.$3)
2715 return 0;
2717 return 0;
2719 _ACEOF
2720 if ac_fn_c_try_compile "$LINENO"; then :
2721 eval "$4=yes"
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2729 static $2 ac_aggr;
2730 if (sizeof ac_aggr.$3)
2731 return 0;
2733 return 0;
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 eval "$4=yes"
2738 else
2739 eval "$4=no"
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 eval ac_res=\$$4
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 } # ac_fn_c_check_member
2752 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2753 # -------------------------------------------
2754 # Tests whether TYPE exists after having included INCLUDES, setting cache
2755 # variable VAR accordingly.
2756 ac_fn_c_check_type ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \${$3+:} false; then :
2762 $as_echo_n "(cached) " >&6
2763 else
2764 eval "$3=no"
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2769 main ()
2771 if (sizeof ($2))
2772 return 0;
2774 return 0;
2776 _ACEOF
2777 if ac_fn_c_try_compile "$LINENO"; then :
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2782 main ()
2784 if (sizeof (($2)))
2785 return 0;
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2792 else
2793 eval "$3=yes"
2795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_type
2805 cat >config.log <<_ACEOF
2806 This file contains any messages produced by compilers while
2807 running configure, to aid debugging if configure makes a mistake.
2809 It was created by Wine $as_me 1.7.42, which was
2810 generated by GNU Autoconf 2.69. Invocation command line was
2812 $ $0 $@
2814 _ACEOF
2815 exec 5>>config.log
2817 cat <<_ASUNAME
2818 ## --------- ##
2819 ## Platform. ##
2820 ## --------- ##
2822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2829 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2831 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2832 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2834 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2835 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2836 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2837 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2839 _ASUNAME
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2844 IFS=$as_save_IFS
2845 test -z "$as_dir" && as_dir=.
2846 $as_echo "PATH: $as_dir"
2847 done
2848 IFS=$as_save_IFS
2850 } >&5
2852 cat >&5 <<_ACEOF
2855 ## ----------- ##
2856 ## Core tests. ##
2857 ## ----------- ##
2859 _ACEOF
2862 # Keep a trace of the command line.
2863 # Strip out --no-create and --no-recursion so they do not pile up.
2864 # Strip out --silent because we don't want to record it for future runs.
2865 # Also quote any args containing shell meta-characters.
2866 # Make two passes to allow for proper duplicate-argument suppression.
2867 ac_configure_args=
2868 ac_configure_args0=
2869 ac_configure_args1=
2870 ac_must_keep_next=false
2871 for ac_pass in 1 2
2873 for ac_arg
2875 case $ac_arg in
2876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2878 | -silent | --silent | --silen | --sile | --sil)
2879 continue ;;
2880 *\'*)
2881 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2882 esac
2883 case $ac_pass in
2884 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2886 as_fn_append ac_configure_args1 " '$ac_arg'"
2887 if test $ac_must_keep_next = true; then
2888 ac_must_keep_next=false # Got value, back to normal.
2889 else
2890 case $ac_arg in
2891 *=* | --config-cache | -C | -disable-* | --disable-* \
2892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2894 | -with-* | --with-* | -without-* | --without-* | --x)
2895 case "$ac_configure_args0 " in
2896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2897 esac
2899 -* ) ac_must_keep_next=true ;;
2900 esac
2902 as_fn_append ac_configure_args " '$ac_arg'"
2904 esac
2905 done
2906 done
2907 { ac_configure_args0=; unset ac_configure_args0;}
2908 { ac_configure_args1=; unset ac_configure_args1;}
2910 # When interrupted or exit'd, cleanup temporary files, and complete
2911 # config.log. We remove comments because anyway the quotes in there
2912 # would cause problems or look ugly.
2913 # WARNING: Use '\'' to represent an apostrophe within the trap.
2914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2915 trap 'exit_status=$?
2916 # Save into config.log some information that might help in debugging.
2918 echo
2920 $as_echo "## ---------------- ##
2921 ## Cache variables. ##
2922 ## ---------------- ##"
2923 echo
2924 # The following way of writing the cache mishandles newlines in values,
2926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2927 eval ac_val=\$$ac_var
2928 case $ac_val in #(
2929 *${as_nl}*)
2930 case $ac_var in #(
2931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2933 esac
2934 case $ac_var in #(
2935 _ | IFS | as_nl) ;; #(
2936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2937 *) { eval $ac_var=; unset $ac_var;} ;;
2938 esac ;;
2939 esac
2940 done
2941 (set) 2>&1 |
2942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2943 *${as_nl}ac_space=\ *)
2944 sed -n \
2945 "s/'\''/'\''\\\\'\'''\''/g;
2946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2947 ;; #(
2949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2951 esac |
2952 sort
2954 echo
2956 $as_echo "## ----------------- ##
2957 ## Output variables. ##
2958 ## ----------------- ##"
2959 echo
2960 for ac_var in $ac_subst_vars
2962 eval ac_val=\$$ac_var
2963 case $ac_val in
2964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2965 esac
2966 $as_echo "$ac_var='\''$ac_val'\''"
2967 done | sort
2968 echo
2970 if test -n "$ac_subst_files"; then
2971 $as_echo "## ------------------- ##
2972 ## File substitutions. ##
2973 ## ------------------- ##"
2974 echo
2975 for ac_var in $ac_subst_files
2977 eval ac_val=\$$ac_var
2978 case $ac_val in
2979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2980 esac
2981 $as_echo "$ac_var='\''$ac_val'\''"
2982 done | sort
2983 echo
2986 if test -s confdefs.h; then
2987 $as_echo "## ----------- ##
2988 ## confdefs.h. ##
2989 ## ----------- ##"
2990 echo
2991 cat confdefs.h
2992 echo
2994 test "$ac_signal" != 0 &&
2995 $as_echo "$as_me: caught signal $ac_signal"
2996 $as_echo "$as_me: exit $exit_status"
2997 } >&5
2998 rm -f core *.core core.conftest.* &&
2999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3000 exit $exit_status
3002 for ac_signal in 1 2 13 15; do
3003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3004 done
3005 ac_signal=0
3007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3008 rm -f -r conftest* confdefs.h
3010 $as_echo "/* confdefs.h */" > confdefs.h
3012 # Predefined preprocessor variables.
3014 cat >>confdefs.h <<_ACEOF
3015 #define PACKAGE_NAME "$PACKAGE_NAME"
3016 _ACEOF
3018 cat >>confdefs.h <<_ACEOF
3019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3020 _ACEOF
3022 cat >>confdefs.h <<_ACEOF
3023 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3024 _ACEOF
3026 cat >>confdefs.h <<_ACEOF
3027 #define PACKAGE_STRING "$PACKAGE_STRING"
3028 _ACEOF
3030 cat >>confdefs.h <<_ACEOF
3031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3032 _ACEOF
3034 cat >>confdefs.h <<_ACEOF
3035 #define PACKAGE_URL "$PACKAGE_URL"
3036 _ACEOF
3039 # Let the site file select an alternate cache file if it wants to.
3040 # Prefer an explicitly selected file to automatically selected ones.
3041 ac_site_file1=NONE
3042 ac_site_file2=NONE
3043 if test -n "$CONFIG_SITE"; then
3044 # We do not want a PATH search for config.site.
3045 case $CONFIG_SITE in #((
3046 -*) ac_site_file1=./$CONFIG_SITE;;
3047 */*) ac_site_file1=$CONFIG_SITE;;
3048 *) ac_site_file1=./$CONFIG_SITE;;
3049 esac
3050 elif test "x$prefix" != xNONE; then
3051 ac_site_file1=$prefix/share/config.site
3052 ac_site_file2=$prefix/etc/config.site
3053 else
3054 ac_site_file1=$ac_default_prefix/share/config.site
3055 ac_site_file2=$ac_default_prefix/etc/config.site
3057 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3059 test "x$ac_site_file" = xNONE && continue
3060 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3063 sed 's/^/| /' "$ac_site_file" >&5
3064 . "$ac_site_file" \
3065 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error $? "failed to load site script $ac_site_file
3068 See \`config.log' for more details" "$LINENO" 5; }
3070 done
3072 if test -r "$cache_file"; then
3073 # Some versions of bash will fail to source /dev/null (special files
3074 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3075 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3077 $as_echo "$as_me: loading cache $cache_file" >&6;}
3078 case $cache_file in
3079 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3080 *) . "./$cache_file";;
3081 esac
3083 else
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3085 $as_echo "$as_me: creating cache $cache_file" >&6;}
3086 >$cache_file
3089 # Check that the precious variables saved in the cache have kept the same
3090 # value.
3091 ac_cache_corrupted=false
3092 for ac_var in $ac_precious_vars; do
3093 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3094 eval ac_new_set=\$ac_env_${ac_var}_set
3095 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3096 eval ac_new_val=\$ac_env_${ac_var}_value
3097 case $ac_old_set,$ac_new_set in
3098 set,)
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3100 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3101 ac_cache_corrupted=: ;;
3102 ,set)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3104 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3105 ac_cache_corrupted=: ;;
3106 ,);;
3108 if test "x$ac_old_val" != "x$ac_new_val"; then
3109 # differences in whitespace do not lead to failure.
3110 ac_old_val_w=`echo x $ac_old_val`
3111 ac_new_val_w=`echo x $ac_new_val`
3112 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3114 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3115 ac_cache_corrupted=:
3116 else
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3118 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3119 eval $ac_var=\$ac_old_val
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3122 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3124 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3125 fi;;
3126 esac
3127 # Pass precious variables to config.status.
3128 if test "$ac_new_set" = set; then
3129 case $ac_new_val in
3130 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3131 *) ac_arg=$ac_var=$ac_new_val ;;
3132 esac
3133 case " $ac_configure_args " in
3134 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3135 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3136 esac
3138 done
3139 if $ac_cache_corrupted; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3143 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3144 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3146 ## -------------------- ##
3147 ## Main body of script. ##
3148 ## -------------------- ##
3150 ac_ext=c
3151 ac_cpp='$CPP $CPPFLAGS'
3152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158 ac_config_headers="$ac_config_headers include/config.h"
3160 ac_aux_dir=
3161 for ac_dir in tools "$srcdir"/tools; do
3162 if test -f "$ac_dir/install-sh"; then
3163 ac_aux_dir=$ac_dir
3164 ac_install_sh="$ac_aux_dir/install-sh -c"
3165 break
3166 elif test -f "$ac_dir/install.sh"; then
3167 ac_aux_dir=$ac_dir
3168 ac_install_sh="$ac_aux_dir/install.sh -c"
3169 break
3170 elif test -f "$ac_dir/shtool"; then
3171 ac_aux_dir=$ac_dir
3172 ac_install_sh="$ac_aux_dir/shtool install -c"
3173 break
3175 done
3176 if test -z "$ac_aux_dir"; then
3177 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3180 # These three variables are undocumented and unsupported,
3181 # and are intended to be withdrawn in a future Autoconf release.
3182 # They can cause serious problems if a builder's source tree is in a directory
3183 # whose full name contains unusual characters.
3184 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3185 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3186 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3190 libwine_version="1.0"
3194 # Check whether --enable-win16 was given.
3195 if test "${enable_win16+set}" = set; then :
3196 enableval=$enable_win16;
3199 # Check whether --enable-win64 was given.
3200 if test "${enable_win64+set}" = set; then :
3201 enableval=$enable_win64;
3204 # Check whether --enable-tests was given.
3205 if test "${enable_tests+set}" = set; then :
3206 enableval=$enable_tests;
3209 # Check whether --enable-maintainer-mode was given.
3210 if test "${enable_maintainer_mode+set}" = set; then :
3211 enableval=$enable_maintainer_mode;
3216 # Check whether --with-alsa was given.
3217 if test "${with_alsa+set}" = set; then :
3218 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3222 # Check whether --with-capi was given.
3223 if test "${with_capi+set}" = set; then :
3224 withval=$with_capi;
3228 # Check whether --with-cms was given.
3229 if test "${with_cms+set}" = set; then :
3230 withval=$with_cms;
3234 # Check whether --with-coreaudio was given.
3235 if test "${with_coreaudio+set}" = set; then :
3236 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3240 # Check whether --with-cups was given.
3241 if test "${with_cups+set}" = set; then :
3242 withval=$with_cups;
3246 # Check whether --with-curses was given.
3247 if test "${with_curses+set}" = set; then :
3248 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3252 # Check whether --with-dbus was given.
3253 if test "${with_dbus+set}" = set; then :
3254 withval=$with_dbus;
3258 # Check whether --with-fontconfig was given.
3259 if test "${with_fontconfig+set}" = set; then :
3260 withval=$with_fontconfig;
3264 # Check whether --with-freetype was given.
3265 if test "${with_freetype+set}" = set; then :
3266 withval=$with_freetype;
3270 # Check whether --with-gettext was given.
3271 if test "${with_gettext+set}" = set; then :
3272 withval=$with_gettext;
3276 # Check whether --with-gettextpo was given.
3277 if test "${with_gettextpo+set}" = set; then :
3278 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3282 # Check whether --with-gphoto was given.
3283 if test "${with_gphoto+set}" = set; then :
3284 withval=$with_gphoto;
3288 # Check whether --with-glu was given.
3289 if test "${with_glu+set}" = set; then :
3290 withval=$with_glu;
3294 # Check whether --with-gnutls was given.
3295 if test "${with_gnutls+set}" = set; then :
3296 withval=$with_gnutls;
3300 # Check whether --with-gsm was given.
3301 if test "${with_gsm+set}" = set; then :
3302 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3306 # Check whether --with-gstreamer was given.
3307 if test "${with_gstreamer+set}" = set; then :
3308 withval=$with_gstreamer;
3312 # Check whether --with-hal was given.
3313 if test "${with_hal+set}" = set; then :
3314 withval=$with_hal;
3318 # Check whether --with-jpeg was given.
3319 if test "${with_jpeg+set}" = set; then :
3320 withval=$with_jpeg;
3324 # Check whether --with-ldap was given.
3325 if test "${with_ldap+set}" = set; then :
3326 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3330 # Check whether --with-mpg123 was given.
3331 if test "${with_mpg123+set}" = set; then :
3332 withval=$with_mpg123;
3336 # Check whether --with-netapi was given.
3337 if test "${with_netapi+set}" = set; then :
3338 withval=$with_netapi;
3342 # Check whether --with-openal was given.
3343 if test "${with_openal+set}" = set; then :
3344 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3348 # Check whether --with-opencl was given.
3349 if test "${with_opencl+set}" = set; then :
3350 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3354 # Check whether --with-opengl was given.
3355 if test "${with_opengl+set}" = set; then :
3356 withval=$with_opengl;
3360 # Check whether --with-osmesa was given.
3361 if test "${with_osmesa+set}" = set; then :
3362 withval=$with_osmesa;
3366 # Check whether --with-oss was given.
3367 if test "${with_oss+set}" = set; then :
3368 withval=$with_oss;
3372 # Check whether --with-pcap was given.
3373 if test "${with_pcap+set}" = set; then :
3374 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3378 # Check whether --with-png was given.
3379 if test "${with_png+set}" = set; then :
3380 withval=$with_png;
3384 # Check whether --with-pthread was given.
3385 if test "${with_pthread+set}" = set; then :
3386 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3390 # Check whether --with-sane was given.
3391 if test "${with_sane+set}" = set; then :
3392 withval=$with_sane;
3396 # Check whether --with-tiff was given.
3397 if test "${with_tiff+set}" = set; then :
3398 withval=$with_tiff;
3402 # Check whether --with-v4l was given.
3403 if test "${with_v4l+set}" = set; then :
3404 withval=$with_v4l;
3408 # Check whether --with-xcomposite was given.
3409 if test "${with_xcomposite+set}" = set; then :
3410 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3414 # Check whether --with-xcursor was given.
3415 if test "${with_xcursor+set}" = set; then :
3416 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3420 # Check whether --with-xinerama was given.
3421 if test "${with_xinerama+set}" = set; then :
3422 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3426 # Check whether --with-xinput was given.
3427 if test "${with_xinput+set}" = set; then :
3428 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3432 # Check whether --with-xinput2 was given.
3433 if test "${with_xinput2+set}" = set; then :
3434 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3438 # Check whether --with-xml was given.
3439 if test "${with_xml+set}" = set; then :
3440 withval=$with_xml;
3444 # Check whether --with-xrandr was given.
3445 if test "${with_xrandr+set}" = set; then :
3446 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3450 # Check whether --with-xrender was given.
3451 if test "${with_xrender+set}" = set; then :
3452 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3456 # Check whether --with-xshape was given.
3457 if test "${with_xshape+set}" = set; then :
3458 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3462 # Check whether --with-xshm was given.
3463 if test "${with_xshm+set}" = set; then :
3464 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3468 # Check whether --with-xslt was given.
3469 if test "${with_xslt+set}" = set; then :
3470 withval=$with_xslt;
3474 # Check whether --with-xxf86vm was given.
3475 if test "${with_xxf86vm+set}" = set; then :
3476 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
3480 # Check whether --with-zlib was given.
3481 if test "${with_zlib+set}" = set; then :
3482 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3487 # Check whether --with-wine-tools was given.
3488 if test "${with_wine_tools+set}" = set; then :
3489 withval=$with_wine_tools;
3493 # Check whether --with-wine64 was given.
3494 if test "${with_wine64+set}" = set; then :
3495 withval=$with_wine64;
3499 # Make sure we can run config.sub.
3500 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3501 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3504 $as_echo_n "checking build system type... " >&6; }
3505 if ${ac_cv_build+:} false; then :
3506 $as_echo_n "(cached) " >&6
3507 else
3508 ac_build_alias=$build_alias
3509 test "x$ac_build_alias" = x &&
3510 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3511 test "x$ac_build_alias" = x &&
3512 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3513 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3514 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3518 $as_echo "$ac_cv_build" >&6; }
3519 case $ac_cv_build in
3520 *-*-*) ;;
3521 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3522 esac
3523 build=$ac_cv_build
3524 ac_save_IFS=$IFS; IFS='-'
3525 set x $ac_cv_build
3526 shift
3527 build_cpu=$1
3528 build_vendor=$2
3529 shift; shift
3530 # Remember, the first character of IFS is used to create $*,
3531 # except with old shells:
3532 build_os=$*
3533 IFS=$ac_save_IFS
3534 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3538 $as_echo_n "checking host system type... " >&6; }
3539 if ${ac_cv_host+:} false; then :
3540 $as_echo_n "(cached) " >&6
3541 else
3542 if test "x$host_alias" = x; then
3543 ac_cv_host=$ac_cv_build
3544 else
3545 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3546 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3551 $as_echo "$ac_cv_host" >&6; }
3552 case $ac_cv_host in
3553 *-*-*) ;;
3554 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3555 esac
3556 host=$ac_cv_host
3557 ac_save_IFS=$IFS; IFS='-'
3558 set x $ac_cv_host
3559 shift
3560 host_cpu=$1
3561 host_vendor=$2
3562 shift; shift
3563 # Remember, the first character of IFS is used to create $*,
3564 # except with old shells:
3565 host_os=$*
3566 IFS=$ac_save_IFS
3567 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3571 case "$srcdir" in
3572 .) ;;
3573 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3574 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3575 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3576 fi ;;
3577 esac
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3581 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3582 set x ${MAKE-make}
3583 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3584 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 cat >conftest.make <<\_ACEOF
3588 SHELL = /bin/sh
3589 all:
3590 @echo '@@@%%%=$(MAKE)=@@@%%%'
3591 _ACEOF
3592 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3593 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3594 *@@@%%%=?*=@@@%%%*)
3595 eval ac_cv_prog_make_${ac_make}_set=yes;;
3597 eval ac_cv_prog_make_${ac_make}_set=no;;
3598 esac
3599 rm -f conftest.make
3601 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3603 $as_echo "yes" >&6; }
3604 SET_MAKE=
3605 else
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3608 SET_MAKE="MAKE=${MAKE-make}"
3611 ac_ext=c
3612 ac_cpp='$CPP $CPPFLAGS'
3613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_CC+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$CC"; then
3625 ac_cv_prog_CC="$CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 CC=$ac_cv_prog_CC
3645 if test -n "$CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3647 $as_echo "$CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3655 if test -z "$ac_cv_prog_CC"; then
3656 ac_ct_CC=$CC
3657 # Extract the first word of "gcc", so it can be a program name with args.
3658 set dummy gcc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$ac_ct_CC"; then
3665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_CC="gcc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3685 if test -n "$ac_ct_CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3687 $as_echo "$ac_ct_CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3693 if test "x$ac_ct_CC" = x; then
3694 CC=""
3695 else
3696 case $cross_compiling:$ac_tool_warned in
3697 yes:)
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3700 ac_tool_warned=yes ;;
3701 esac
3702 CC=$ac_ct_CC
3704 else
3705 CC="$ac_cv_prog_CC"
3708 if test -z "$CC"; then
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3711 set dummy ${ac_tool_prefix}cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 for as_dir in $PATH
3723 IFS=$as_save_IFS
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3727 ac_cv_prog_CC="${ac_tool_prefix}cc"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 break 2
3731 done
3732 done
3733 IFS=$as_save_IFS
3737 CC=$ac_cv_prog_CC
3738 if test -n "$CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3740 $as_echo "$CC" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 # Extract the first word of "cc", so it can be a program name with args.
3751 set dummy cc; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 ac_prog_rejected=no
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3764 IFS=$as_save_IFS
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3769 ac_prog_rejected=yes
3770 continue
3772 ac_cv_prog_CC="cc"
3773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 break 2
3776 done
3777 done
3778 IFS=$as_save_IFS
3780 if test $ac_prog_rejected = yes; then
3781 # We found a bogon in the path, so make sure we never use it.
3782 set dummy $ac_cv_prog_CC
3783 shift
3784 if test $# != 0; then
3785 # We chose a different compiler from the bogus one.
3786 # However, it has the same basename, so the bogon will be chosen
3787 # first if we set CC to just the basename; use the full file name.
3788 shift
3789 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3794 CC=$ac_cv_prog_CC
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3805 if test -z "$CC"; then
3806 if test -n "$ac_tool_prefix"; then
3807 for ac_prog in cl.exe
3809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812 $as_echo_n "checking for $ac_word... " >&6; }
3813 if ${ac_cv_prog_CC+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815 else
3816 if test -n "$CC"; then
3817 ac_cv_prog_CC="$CC" # Let the user override the test.
3818 else
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3822 IFS=$as_save_IFS
3823 test -z "$as_dir" && as_dir=.
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828 break 2
3830 done
3831 done
3832 IFS=$as_save_IFS
3836 CC=$ac_cv_prog_CC
3837 if test -n "$CC"; then
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3839 $as_echo "$CC" >&6; }
3840 else
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 $as_echo "no" >&6; }
3846 test -n "$CC" && break
3847 done
3849 if test -z "$CC"; then
3850 ac_ct_CC=$CC
3851 for ac_prog in cl.exe
3853 # Extract the first word of "$ac_prog", so it can be a program name with args.
3854 set dummy $ac_prog; ac_word=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3858 $as_echo_n "(cached) " >&6
3859 else
3860 if test -n "$ac_ct_CC"; then
3861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3862 else
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3866 IFS=$as_save_IFS
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_ac_ct_CC="$ac_prog"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 break 2
3874 done
3875 done
3876 IFS=$as_save_IFS
3880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3881 if test -n "$ac_ct_CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3883 $as_echo "$ac_ct_CC" >&6; }
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3890 test -n "$ac_ct_CC" && break
3891 done
3893 if test "x$ac_ct_CC" = x; then
3894 CC=""
3895 else
3896 case $cross_compiling:$ac_tool_warned in
3897 yes:)
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3900 ac_tool_warned=yes ;;
3901 esac
3902 CC=$ac_ct_CC
3909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3911 as_fn_error $? "no acceptable C compiler found in \$PATH
3912 See \`config.log' for more details" "$LINENO" 5; }
3914 # Provide some information about the compiler.
3915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3916 set X $ac_compile
3917 ac_compiler=$2
3918 for ac_option in --version -v -V -qversion; do
3919 { { ac_try="$ac_compiler $ac_option >&5"
3920 case "(($ac_try" in
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3927 ac_status=$?
3928 if test -s conftest.err; then
3929 sed '10a\
3930 ... rest of stderr output deleted ...
3931 10q' conftest.err >conftest.er1
3932 cat conftest.er1 >&5
3934 rm -f conftest.er1 conftest.err
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }
3937 done
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3943 main ()
3947 return 0;
3949 _ACEOF
3950 ac_clean_files_save=$ac_clean_files
3951 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3952 # Try to create an executable without -o first, disregard a.out.
3953 # It will help us diagnose broken compilers, and finding out an intuition
3954 # of exeext.
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3956 $as_echo_n "checking whether the C compiler works... " >&6; }
3957 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3959 # The possible output files:
3960 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3962 ac_rmfiles=
3963 for ac_file in $ac_files
3965 case $ac_file in
3966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3967 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3968 esac
3969 done
3970 rm -f $ac_rmfiles
3972 if { { ac_try="$ac_link_default"
3973 case "(($ac_try" in
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3976 esac
3977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_link_default") 2>&5
3980 ac_status=$?
3981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3982 test $ac_status = 0; }; then :
3983 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3984 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3985 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3986 # so that the user can short-circuit this test for compilers unknown to
3987 # Autoconf.
3988 for ac_file in $ac_files ''
3990 test -f "$ac_file" || continue
3991 case $ac_file in
3992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3994 [ab].out )
3995 # We found the default executable, but exeext='' is most
3996 # certainly right.
3997 break;;
3998 *.* )
3999 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4000 then :; else
4001 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4003 # We set ac_cv_exeext here because the later test for it is not
4004 # safe: cross compilers may not add the suffix if given an `-o'
4005 # argument, so we may need to know it at that point already.
4006 # Even if this section looks crufty: it has the advantage of
4007 # actually working.
4008 break;;
4010 break;;
4011 esac
4012 done
4013 test "$ac_cv_exeext" = no && ac_cv_exeext=
4015 else
4016 ac_file=''
4018 if test -z "$ac_file"; then :
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4021 $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error 77 "C compiler cannot create executables
4027 See \`config.log' for more details" "$LINENO" 5; }
4028 else
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4030 $as_echo "yes" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4033 $as_echo_n "checking for C compiler default output file name... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4035 $as_echo "$ac_file" >&6; }
4036 ac_exeext=$ac_cv_exeext
4038 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4039 ac_clean_files=$ac_clean_files_save
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4041 $as_echo_n "checking for suffix of executables... " >&6; }
4042 if { { ac_try="$ac_link"
4043 case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4054 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4055 # work properly (i.e., refer to `conftest.exe'), while it won't with
4056 # `rm'.
4057 for ac_file in conftest.exe conftest conftest.*; do
4058 test -f "$ac_file" || continue
4059 case $ac_file in
4060 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4061 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4062 break;;
4063 * ) break;;
4064 esac
4065 done
4066 else
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4070 See \`config.log' for more details" "$LINENO" 5; }
4072 rm -f conftest conftest$ac_cv_exeext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4074 $as_echo "$ac_cv_exeext" >&6; }
4076 rm -f conftest.$ac_ext
4077 EXEEXT=$ac_cv_exeext
4078 ac_exeext=$EXEEXT
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <stdio.h>
4083 main ()
4085 FILE *f = fopen ("conftest.out", "w");
4086 return ferror (f) || fclose (f) != 0;
4089 return 0;
4091 _ACEOF
4092 ac_clean_files="$ac_clean_files conftest.out"
4093 # Check that the compiler produces executables we can run. If not, either
4094 # the compiler is broken, or we cross compile.
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4096 $as_echo_n "checking whether we are cross compiling... " >&6; }
4097 if test "$cross_compiling" != yes; then
4098 { { ac_try="$ac_link"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }
4109 if { ac_try='./conftest$ac_cv_exeext'
4110 { { case "(($ac_try" in
4111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112 *) ac_try_echo=$ac_try;;
4113 esac
4114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4115 $as_echo "$ac_try_echo"; } >&5
4116 (eval "$ac_try") 2>&5
4117 ac_status=$?
4118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4119 test $ac_status = 0; }; }; then
4120 cross_compiling=no
4121 else
4122 if test "$cross_compiling" = maybe; then
4123 cross_compiling=yes
4124 else
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot run C compiled programs.
4128 If you meant to cross compile, use \`--host'.
4129 See \`config.log' for more details" "$LINENO" 5; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4134 $as_echo "$cross_compiling" >&6; }
4136 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4137 ac_clean_files=$ac_clean_files_save
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4139 $as_echo_n "checking for suffix of object files... " >&6; }
4140 if ${ac_cv_objext+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4147 main ()
4151 return 0;
4153 _ACEOF
4154 rm -f conftest.o conftest.obj
4155 if { { ac_try="$ac_compile"
4156 case "(($ac_try" in
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4159 esac
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162 (eval "$ac_compile") 2>&5
4163 ac_status=$?
4164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4165 test $ac_status = 0; }; then :
4166 for ac_file in conftest.o conftest.obj conftest.*; do
4167 test -f "$ac_file" || continue;
4168 case $ac_file in
4169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4170 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4171 break;;
4172 esac
4173 done
4174 else
4175 $as_echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4180 as_fn_error $? "cannot compute suffix of object files: cannot compile
4181 See \`config.log' for more details" "$LINENO" 5; }
4183 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4186 $as_echo "$ac_cv_objext" >&6; }
4187 OBJEXT=$ac_cv_objext
4188 ac_objext=$OBJEXT
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4190 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4191 if ${ac_cv_c_compiler_gnu+:} false; then :
4192 $as_echo_n "(cached) " >&6
4193 else
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4200 #ifndef __GNUC__
4201 choke me
4202 #endif
4205 return 0;
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_compiler_gnu=yes
4210 else
4211 ac_compiler_gnu=no
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4218 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4219 if test $ac_compiler_gnu = yes; then
4220 GCC=yes
4221 else
4222 GCC=
4224 ac_test_CFLAGS=${CFLAGS+set}
4225 ac_save_CFLAGS=$CFLAGS
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4227 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4228 if ${ac_cv_prog_cc_g+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 ac_save_c_werror_flag=$ac_c_werror_flag
4232 ac_c_werror_flag=yes
4233 ac_cv_prog_cc_g=no
4234 CFLAGS="-g"
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4239 main ()
4243 return 0;
4245 _ACEOF
4246 if ac_fn_c_try_compile "$LINENO"; then :
4247 ac_cv_prog_cc_g=yes
4248 else
4249 CFLAGS=""
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4254 main ()
4258 return 0;
4260 _ACEOF
4261 if ac_fn_c_try_compile "$LINENO"; then :
4263 else
4264 ac_c_werror_flag=$ac_save_c_werror_flag
4265 CFLAGS="-g"
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4270 main ()
4274 return 0;
4276 _ACEOF
4277 if ac_fn_c_try_compile "$LINENO"; then :
4278 ac_cv_prog_cc_g=yes
4280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4288 $as_echo "$ac_cv_prog_cc_g" >&6; }
4289 if test "$ac_test_CFLAGS" = set; then
4290 CFLAGS=$ac_save_CFLAGS
4291 elif test $ac_cv_prog_cc_g = yes; then
4292 if test "$GCC" = yes; then
4293 CFLAGS="-g -O2"
4294 else
4295 CFLAGS="-g"
4297 else
4298 if test "$GCC" = yes; then
4299 CFLAGS="-O2"
4300 else
4301 CFLAGS=
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4305 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4306 if ${ac_cv_prog_cc_c89+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 ac_cv_prog_cc_c89=no
4310 ac_save_CC=$CC
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4313 #include <stdarg.h>
4314 #include <stdio.h>
4315 struct stat;
4316 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4317 struct buf { int x; };
4318 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4319 static char *e (p, i)
4320 char **p;
4321 int i;
4323 return p[i];
4325 static char *f (char * (*g) (char **, int), char **p, ...)
4327 char *s;
4328 va_list v;
4329 va_start (v,p);
4330 s = g (p, va_arg (v,int));
4331 va_end (v);
4332 return s;
4335 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4336 function prototypes and stuff, but not '\xHH' hex character constants.
4337 These don't provoke an error unfortunately, instead are silently treated
4338 as 'x'. The following induces an error, until -std is added to get
4339 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4340 array size at least. It's necessary to write '\x00'==0 to get something
4341 that's true only with -std. */
4342 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4344 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4345 inside strings and character constants. */
4346 #define FOO(x) 'x'
4347 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4349 int test (int i, double x);
4350 struct s1 {int (*f) (int a);};
4351 struct s2 {int (*f) (double a);};
4352 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4353 int argc;
4354 char **argv;
4356 main ()
4358 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4360 return 0;
4362 _ACEOF
4363 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4364 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4366 CC="$ac_save_CC $ac_arg"
4367 if ac_fn_c_try_compile "$LINENO"; then :
4368 ac_cv_prog_cc_c89=$ac_arg
4370 rm -f core conftest.err conftest.$ac_objext
4371 test "x$ac_cv_prog_cc_c89" != "xno" && break
4372 done
4373 rm -f conftest.$ac_ext
4374 CC=$ac_save_CC
4377 # AC_CACHE_VAL
4378 case "x$ac_cv_prog_cc_c89" in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4381 $as_echo "none needed" >&6; } ;;
4382 xno)
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4384 $as_echo "unsupported" >&6; } ;;
4386 CC="$CC $ac_cv_prog_cc_c89"
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4388 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4389 esac
4390 if test "x$ac_cv_prog_cc_c89" != xno; then :
4394 ac_ext=c
4395 ac_cpp='$CPP $CPPFLAGS'
4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 ac_ext=cpp
4401 ac_cpp='$CXXCPP $CPPFLAGS'
4402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4405 if test -z "$CXX"; then
4406 if test -n "$CCC"; then
4407 CXX=$CCC
4408 else
4409 if test -n "$ac_tool_prefix"; then
4410 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CXX+:} false; then :
4417 $as_echo_n "(cached) " >&6
4418 else
4419 if test -n "$CXX"; then
4420 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4421 else
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423 for as_dir in $PATH
4425 IFS=$as_save_IFS
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 break 2
4433 done
4434 done
4435 IFS=$as_save_IFS
4439 CXX=$ac_cv_prog_CXX
4440 if test -n "$CXX"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4442 $as_echo "$CXX" >&6; }
4443 else
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$CXX" && break
4450 done
4452 if test -z "$CXX"; then
4453 ac_ct_CXX=$CXX
4454 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4456 # Extract the first word of "$ac_prog", so it can be a program name with args.
4457 set dummy $ac_prog; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4461 $as_echo_n "(cached) " >&6
4462 else
4463 if test -n "$ac_ct_CXX"; then
4464 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4465 else
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 for as_dir in $PATH
4469 IFS=$as_save_IFS
4470 test -z "$as_dir" && as_dir=.
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_ac_ct_CXX="$ac_prog"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 break 2
4477 done
4478 done
4479 IFS=$as_save_IFS
4483 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4484 if test -n "$ac_ct_CXX"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4486 $as_echo "$ac_ct_CXX" >&6; }
4487 else
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4493 test -n "$ac_ct_CXX" && break
4494 done
4496 if test "x$ac_ct_CXX" = x; then
4497 CXX="g++"
4498 else
4499 case $cross_compiling:$ac_tool_warned in
4500 yes:)
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned=yes ;;
4504 esac
4505 CXX=$ac_ct_CXX
4511 # Provide some information about the compiler.
4512 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4513 set X $ac_compile
4514 ac_compiler=$2
4515 for ac_option in --version -v -V -qversion; do
4516 { { ac_try="$ac_compiler $ac_option >&5"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4522 $as_echo "$ac_try_echo"; } >&5
4523 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4524 ac_status=$?
4525 if test -s conftest.err; then
4526 sed '10a\
4527 ... rest of stderr output deleted ...
4528 10q' conftest.err >conftest.er1
4529 cat conftest.er1 >&5
4531 rm -f conftest.er1 conftest.err
4532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4533 test $ac_status = 0; }
4534 done
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4537 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4538 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4547 #ifndef __GNUC__
4548 choke me
4549 #endif
4552 return 0;
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 ac_compiler_gnu=yes
4557 else
4558 ac_compiler_gnu=no
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4565 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4566 if test $ac_compiler_gnu = yes; then
4567 GXX=yes
4568 else
4569 GXX=
4571 ac_test_CXXFLAGS=${CXXFLAGS+set}
4572 ac_save_CXXFLAGS=$CXXFLAGS
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4574 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4575 if ${ac_cv_prog_cxx_g+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4579 ac_cxx_werror_flag=yes
4580 ac_cv_prog_cxx_g=no
4581 CXXFLAGS="-g"
4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4583 /* end confdefs.h. */
4586 main ()
4590 return 0;
4592 _ACEOF
4593 if ac_fn_cxx_try_compile "$LINENO"; then :
4594 ac_cv_prog_cxx_g=yes
4595 else
4596 CXXFLAGS=""
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_cxx_try_compile "$LINENO"; then :
4610 else
4611 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4612 CXXFLAGS="-g"
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4617 main ()
4621 return 0;
4623 _ACEOF
4624 if ac_fn_cxx_try_compile "$LINENO"; then :
4625 ac_cv_prog_cxx_g=yes
4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4635 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4636 if test "$ac_test_CXXFLAGS" = set; then
4637 CXXFLAGS=$ac_save_CXXFLAGS
4638 elif test $ac_cv_prog_cxx_g = yes; then
4639 if test "$GXX" = yes; then
4640 CXXFLAGS="-g -O2"
4641 else
4642 CXXFLAGS="-g"
4644 else
4645 if test "$GXX" = yes; then
4646 CXXFLAGS="-O2"
4647 else
4648 CXXFLAGS=
4651 ac_ext=c
4652 ac_cpp='$CPP $CPPFLAGS'
4653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4657 if test -n "$ac_tool_prefix"; then
4658 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4659 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_CPPBIN+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$CPPBIN"; then
4666 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 CPPBIN=$ac_cv_prog_CPPBIN
4686 if test -n "$CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4688 $as_echo "$CPPBIN" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4696 if test -z "$ac_cv_prog_CPPBIN"; then
4697 ac_ct_CPPBIN=$CPPBIN
4698 # Extract the first word of "cpp", so it can be a program name with args.
4699 set dummy cpp; ac_word=$2
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 $as_echo_n "checking for $ac_word... " >&6; }
4702 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4703 $as_echo_n "(cached) " >&6
4704 else
4705 if test -n "$ac_ct_CPPBIN"; then
4706 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4707 else
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH
4711 IFS=$as_save_IFS
4712 test -z "$as_dir" && as_dir=.
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_ac_ct_CPPBIN="cpp"
4716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 break 2
4719 done
4720 done
4721 IFS=$as_save_IFS
4725 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4726 if test -n "$ac_ct_CPPBIN"; then
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4728 $as_echo "$ac_ct_CPPBIN" >&6; }
4729 else
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4734 if test "x$ac_ct_CPPBIN" = x; then
4735 CPPBIN="cpp"
4736 else
4737 case $cross_compiling:$ac_tool_warned in
4738 yes:)
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned=yes ;;
4742 esac
4743 CPPBIN=$ac_ct_CPPBIN
4745 else
4746 CPPBIN="$ac_cv_prog_CPPBIN"
4750 cat >>confdefs.h <<_ACEOF
4751 #define EXEEXT "$ac_exeext"
4752 _ACEOF
4754 if test -n "$ac_tool_prefix"; then
4755 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4756 set dummy ${ac_tool_prefix}ld; ac_word=$2
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 $as_echo_n "checking for $ac_word... " >&6; }
4759 if ${ac_cv_prog_LD+:} false; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -n "$LD"; then
4763 ac_cv_prog_LD="$LD" # Let the user override the test.
4764 else
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772 ac_cv_prog_LD="${ac_tool_prefix}ld"
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 break 2
4776 done
4777 done
4778 IFS=$as_save_IFS
4782 LD=$ac_cv_prog_LD
4783 if test -n "$LD"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4785 $as_echo "$LD" >&6; }
4786 else
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4793 if test -z "$ac_cv_prog_LD"; then
4794 ac_ct_LD=$LD
4795 # Extract the first word of "ld", so it can be a program name with args.
4796 set dummy ld; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 if test -n "$ac_ct_LD"; then
4803 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4804 else
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_ac_ct_LD="ld"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 break 2
4816 done
4817 done
4818 IFS=$as_save_IFS
4822 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4823 if test -n "$ac_ct_LD"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4825 $as_echo "$ac_ct_LD" >&6; }
4826 else
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4831 if test "x$ac_ct_LD" = x; then
4832 LD=""
4833 else
4834 case $cross_compiling:$ac_tool_warned in
4835 yes:)
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4838 ac_tool_warned=yes ;;
4839 esac
4840 LD=$ac_ct_LD
4842 else
4843 LD="$ac_cv_prog_LD"
4847 case $host in
4848 *-darwin*)
4849 if test "x$enable_win64" = "xyes"
4850 then
4851 CC="$CC -m64"
4852 CXX="$CXX -m64"
4853 host_cpu="x86_64"
4854 notice_platform="64-bit "
4855 TARGETFLAGS="-m64"
4857 else
4858 CC="$CC -m32"
4859 CXX="$CXX -m32"
4860 host_cpu="i386"
4861 notice_platform="32-bit "
4862 TARGETFLAGS="-m32"
4864 enable_win16=${enable_win16:-yes}
4866 with_fontconfig=${with_fontconfig:-no}
4868 x86_64*|amd64*)
4869 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4870 then
4871 CC="$CC -m32"
4872 CXX="$CXX -m32"
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4874 $as_echo_n "checking whether $CC works... " >&6; }
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 if ac_fn_c_try_link "$LINENO"; then :
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4889 $as_echo "yes" >&6; }
4890 else
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4895 rm -f core conftest.err conftest.$ac_objext \
4896 conftest$ac_exeext conftest.$ac_ext
4897 host_cpu="i386"
4898 notice_platform="32-bit "
4899 TARGETFLAGS="-m32"
4901 enable_win16=${enable_win16:-yes}
4902 else
4903 if test "x${GCC}" = "xyes"
4904 then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4906 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4909 #include <stdarg.h>
4911 main ()
4913 void func(__builtin_ms_va_list *args);
4915 return 0;
4917 _ACEOF
4918 if ac_fn_c_try_compile "$LINENO"; then :
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 host_cpu="x86_64"
4929 TARGETFLAGS="-m64"
4933 arm*)
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4935 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4938 int ac_test(int i) { return i; }
4940 main ()
4942 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4944 return 0;
4946 _ACEOF
4947 if ac_fn_c_try_link "$LINENO"; then :
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4949 $as_echo "yes" >&6; }
4950 else
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4953 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4955 rm -f core conftest.err conftest.$ac_objext \
4956 conftest$ac_exeext conftest.$ac_ext
4957 CFLAGS="$CFLAGS -marm"
4958 TARGETFLAGS="-marm"
4961 *-mingw32*|*-cygwin*)
4962 enable_win16=${enable_win16:-no}
4963 CFLAGS="$CFLAGS -D_WIN32"
4965 i[3456789]86*)
4966 enable_win16=${enable_win16:-yes}
4968 esac
4970 enable_win16=${enable_win16:-no}
4971 enable_win64=${enable_win64:-no}
4973 enable_winetest=${enable_winetest:-$enable_tests}
4975 if test -n "$with_wine64"
4976 then
4977 if test "x$enable_win64" = "xyes"
4978 then
4979 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4980 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4982 enable_fonts=${enable_fonts:-no}
4983 enable_server=${enable_server:-no}
4984 elif test "x$enable_win64" = "xyes"
4985 then
4986 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4990 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4991 if ${wine_cv_toolsdir+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 wine_cv_toolsdir="$with_wine_tools"
4995 if test -z "$with_wine_tools"; then
4996 if test "$cross_compiling" = "yes"; then
4997 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4998 elif test -n "$with_wine64"; then
4999 wine_cv_toolsdir="$with_wine64"
5002 if test -z "$wine_cv_toolsdir"; then
5003 wine_makedep=tools/makedep
5004 wine_cv_toolsdir="\$(top_builddir)"
5005 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5006 wine_makedep=$wine_cv_toolsdir/tools/makedep
5007 case "$wine_cv_toolsdir" in
5008 /*) ;;
5009 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5010 esac
5011 enable_tools=${enable_tools:-no}
5012 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5013 else
5014 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5018 $as_echo "$wine_cv_toolsdir" >&6; }
5019 TOOLSDIR=$wine_cv_toolsdir
5021 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5022 then
5023 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5027 for ac_prog in flex
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if ${ac_cv_prog_FLEX+:} false; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$FLEX"; then
5037 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5046 ac_cv_prog_FLEX="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5050 done
5051 done
5052 IFS=$as_save_IFS
5056 FLEX=$ac_cv_prog_FLEX
5057 if test -n "$FLEX"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5059 $as_echo "$FLEX" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$FLEX" && break
5067 done
5068 test -n "$FLEX" || FLEX="none"
5070 if test "$FLEX" = "none"
5071 then
5072 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5075 $as_echo_n "checking whether flex is recent enough... " >&6; }
5076 cat >conftest.l <<EOF
5077 %top{
5078 #include "prediluvian.h"
5082 if $FLEX -t conftest.l >/dev/null 2>&5
5083 then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5085 $as_echo "yes" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5089 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5092 for ac_prog in bison
5094 # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy $ac_prog; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_BISON+:} false; then :
5099 $as_echo_n "(cached) " >&6
5100 else
5101 if test -n "$BISON"; then
5102 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5107 IFS=$as_save_IFS
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_BISON="$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 break 2
5115 done
5116 done
5117 IFS=$as_save_IFS
5121 BISON=$ac_cv_prog_BISON
5122 if test -n "$BISON"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5124 $as_echo "$BISON" >&6; }
5125 else
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$BISON" && break
5132 done
5133 test -n "$BISON" || BISON="none"
5135 if test "$BISON" = "none"
5136 then
5137 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5140 if test -n "$ac_tool_prefix"; then
5141 for ac_prog in ar gar
5143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_AR+:} false; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$AR"; then
5151 ac_cv_prog_AR="$AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 AR=$ac_cv_prog_AR
5171 if test -n "$AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5173 $as_echo "$AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$AR" && break
5181 done
5183 if test -z "$AR"; then
5184 ac_ct_AR=$AR
5185 for ac_prog in ar gar
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if test -n "$ac_ct_AR"; then
5195 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5196 else
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5200 IFS=$as_save_IFS
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_ac_ct_AR="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 break 2
5208 done
5209 done
5210 IFS=$as_save_IFS
5214 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5215 if test -n "$ac_ct_AR"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5217 $as_echo "$ac_ct_AR" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$ac_ct_AR" && break
5225 done
5227 if test "x$ac_ct_AR" = x; then
5228 AR="ar"
5229 else
5230 case $cross_compiling:$ac_tool_warned in
5231 yes:)
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5234 ac_tool_warned=yes ;;
5235 esac
5236 AR=$ac_ct_AR
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5242 set dummy ${ac_tool_prefix}strip; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_STRIP+:} false; then :
5246 $as_echo_n "(cached) " >&6
5247 else
5248 if test -n "$STRIP"; then
5249 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 STRIP=$ac_cv_prog_STRIP
5269 if test -n "$STRIP"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5271 $as_echo "$STRIP" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$ac_cv_prog_STRIP"; then
5280 ac_ct_STRIP=$STRIP
5281 # Extract the first word of "strip", so it can be a program name with args.
5282 set dummy strip; ac_word=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5286 $as_echo_n "(cached) " >&6
5287 else
5288 if test -n "$ac_ct_STRIP"; then
5289 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_STRIP="strip"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5304 IFS=$as_save_IFS
5308 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5309 if test -n "$ac_ct_STRIP"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5311 $as_echo "$ac_ct_STRIP" >&6; }
5312 else
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5317 if test "x$ac_ct_STRIP" = x; then
5318 STRIP="strip"
5319 else
5320 case $cross_compiling:$ac_tool_warned in
5321 yes:)
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned=yes ;;
5325 esac
5326 STRIP=$ac_ct_STRIP
5328 else
5329 STRIP="$ac_cv_prog_STRIP"
5332 ARFLAGS=rc
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 $as_echo_n "checking for $ac_word... " >&6; }
5339 if ${ac_cv_prog_RANLIB+:} false; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 if test -n "$RANLIB"; then
5343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 RANLIB=$ac_cv_prog_RANLIB
5363 if test -n "$RANLIB"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5365 $as_echo "$RANLIB" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5373 if test -z "$ac_cv_prog_RANLIB"; then
5374 ac_ct_RANLIB=$RANLIB
5375 # Extract the first word of "ranlib", so it can be a program name with args.
5376 set dummy ranlib; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$ac_ct_RANLIB"; then
5383 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_RANLIB="ranlib"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5403 if test -n "$ac_ct_RANLIB"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5405 $as_echo "$ac_ct_RANLIB" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5411 if test "x$ac_ct_RANLIB" = x; then
5412 RANLIB=":"
5413 else
5414 case $cross_compiling:$ac_tool_warned in
5415 yes:)
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned=yes ;;
5419 esac
5420 RANLIB=$ac_ct_RANLIB
5422 else
5423 RANLIB="$ac_cv_prog_RANLIB"
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5427 $as_echo_n "checking whether ln -s works... " >&6; }
5428 LN_S=$as_ln_s
5429 if test "$LN_S" = "ln -s"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5431 $as_echo "yes" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5434 $as_echo "no, using $LN_S" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5438 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5439 if ${ac_cv_path_GREP+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -z "$GREP"; then
5443 ac_path_GREP_found=false
5444 # Loop through the user's path and test for each of PROGNAME-LIST
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_prog in grep ggrep; do
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5453 as_fn_executable_p "$ac_path_GREP" || continue
5454 # Check for GNU ac_path_GREP and select it if it is found.
5455 # Check for GNU $ac_path_GREP
5456 case `"$ac_path_GREP" --version 2>&1` in
5457 *GNU*)
5458 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5460 ac_count=0
5461 $as_echo_n 0123456789 >"conftest.in"
5462 while :
5464 cat "conftest.in" "conftest.in" >"conftest.tmp"
5465 mv "conftest.tmp" "conftest.in"
5466 cp "conftest.in" "conftest.nl"
5467 $as_echo 'GREP' >> "conftest.nl"
5468 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5469 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5470 as_fn_arith $ac_count + 1 && ac_count=$as_val
5471 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5472 # Best one so far, save it but keep looking for a better one
5473 ac_cv_path_GREP="$ac_path_GREP"
5474 ac_path_GREP_max=$ac_count
5476 # 10*(2^10) chars as input seems more than enough
5477 test $ac_count -gt 10 && break
5478 done
5479 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5480 esac
5482 $ac_path_GREP_found && break 3
5483 done
5484 done
5485 done
5486 IFS=$as_save_IFS
5487 if test -z "$ac_cv_path_GREP"; then
5488 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5490 else
5491 ac_cv_path_GREP=$GREP
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5496 $as_echo "$ac_cv_path_GREP" >&6; }
5497 GREP="$ac_cv_path_GREP"
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5501 $as_echo_n "checking for egrep... " >&6; }
5502 if ${ac_cv_path_EGREP+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5506 then ac_cv_path_EGREP="$GREP -E"
5507 else
5508 if test -z "$EGREP"; then
5509 ac_path_EGREP_found=false
5510 # Loop through the user's path and test for each of PROGNAME-LIST
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_prog in egrep; do
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5519 as_fn_executable_p "$ac_path_EGREP" || continue
5520 # Check for GNU ac_path_EGREP and select it if it is found.
5521 # Check for GNU $ac_path_EGREP
5522 case `"$ac_path_EGREP" --version 2>&1` in
5523 *GNU*)
5524 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5526 ac_count=0
5527 $as_echo_n 0123456789 >"conftest.in"
5528 while :
5530 cat "conftest.in" "conftest.in" >"conftest.tmp"
5531 mv "conftest.tmp" "conftest.in"
5532 cp "conftest.in" "conftest.nl"
5533 $as_echo 'EGREP' >> "conftest.nl"
5534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5536 as_fn_arith $ac_count + 1 && ac_count=$as_val
5537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5538 # Best one so far, save it but keep looking for a better one
5539 ac_cv_path_EGREP="$ac_path_EGREP"
5540 ac_path_EGREP_max=$ac_count
5542 # 10*(2^10) chars as input seems more than enough
5543 test $ac_count -gt 10 && break
5544 done
5545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5546 esac
5548 $ac_path_EGREP_found && break 3
5549 done
5550 done
5551 done
5552 IFS=$as_save_IFS
5553 if test -z "$ac_cv_path_EGREP"; then
5554 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5556 else
5557 ac_cv_path_EGREP=$EGREP
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5563 $as_echo "$ac_cv_path_EGREP" >&6; }
5564 EGREP="$ac_cv_path_EGREP"
5567 # Extract the first word of "ldconfig", so it can be a program name with args.
5568 set dummy ldconfig; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_path_LDCONFIG+:} false; then :
5572 $as_echo_n "(cached) " >&6
5573 else
5574 case $LDCONFIG in
5575 [\\/]* | ?:[\\/]*)
5576 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in /sbin /usr/sbin $PATH
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 break 2
5590 done
5591 done
5592 IFS=$as_save_IFS
5594 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5596 esac
5598 LDCONFIG=$ac_cv_path_LDCONFIG
5599 if test -n "$LDCONFIG"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5601 $as_echo "$LDCONFIG" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 for ac_prog in msgfmt
5610 # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy $ac_prog; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_MSGFMT+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$MSGFMT"; then
5618 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_MSGFMT="$ac_prog"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 MSGFMT=$ac_cv_prog_MSGFMT
5638 if test -n "$MSGFMT"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5640 $as_echo "$MSGFMT" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5647 test -n "$MSGFMT" && break
5648 done
5649 test -n "$MSGFMT" || MSGFMT="false"
5651 if ${ac_tool_prefix+:} false; then :
5652 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$PKG_CONFIG"; then
5660 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 break 2
5673 done
5674 done
5675 IFS=$as_save_IFS
5679 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5680 if test -n "$PKG_CONFIG"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5682 $as_echo "$PKG_CONFIG" >&6; }
5683 else
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5690 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5691 if test "x$cross_compiling" = xyes; then :
5693 else
5694 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5695 # Extract the first word of "pkg-config", so it can be a program name with args.
5696 set dummy pkg-config; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5700 $as_echo_n "(cached) " >&6
5701 else
5702 if test -n "$PKG_CONFIG"; then
5703 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5704 else
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 for as_dir in $PATH
5708 IFS=$as_save_IFS
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_PKG_CONFIG="pkg-config"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 break 2
5716 done
5717 done
5718 IFS=$as_save_IFS
5722 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5723 if test -n "$PKG_CONFIG"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5725 $as_echo "$PKG_CONFIG" >&6; }
5726 else
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5733 else
5734 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5737 if test "x$enable_maintainer_mode" != "xyes"
5738 then
5739 FONTFORGE=""
5740 RSVG=""
5741 CONVERT=""
5742 ICOTOOL=""
5743 else
5744 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5745 for ac_prog in fontforge
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_FONTFORGE+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$FONTFORGE"; then
5755 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_FONTFORGE="$ac_prog"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 break 2
5768 done
5769 done
5770 IFS=$as_save_IFS
5774 FONTFORGE=$ac_cv_prog_FONTFORGE
5775 if test -n "$FONTFORGE"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5777 $as_echo "$FONTFORGE" >&6; }
5778 else
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5784 test -n "$FONTFORGE" && break
5785 done
5786 test -n "$FONTFORGE" || FONTFORGE="false"
5788 for ac_prog in rsvg-convert rsvg
5790 # Extract the first word of "$ac_prog", so it can be a program name with args.
5791 set dummy $ac_prog; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if ${ac_cv_prog_RSVG+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 if test -n "$RSVG"; then
5798 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5799 else
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_RSVG="$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 break 2
5811 done
5812 done
5813 IFS=$as_save_IFS
5817 RSVG=$ac_cv_prog_RSVG
5818 if test -n "$RSVG"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5820 $as_echo "$RSVG" >&6; }
5821 else
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5827 test -n "$RSVG" && break
5828 done
5829 test -n "$RSVG" || RSVG="false"
5831 for ac_prog in convert
5833 # Extract the first word of "$ac_prog", so it can be a program name with args.
5834 set dummy $ac_prog; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if ${ac_cv_prog_CONVERT+:} false; then :
5838 $as_echo_n "(cached) " >&6
5839 else
5840 if test -n "$CONVERT"; then
5841 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_CONVERT="$ac_prog"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 CONVERT=$ac_cv_prog_CONVERT
5861 if test -n "$CONVERT"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5863 $as_echo "$CONVERT" >&6; }
5864 else
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5870 test -n "$CONVERT" && break
5871 done
5872 test -n "$CONVERT" || CONVERT="false"
5874 for ac_prog in icotool
5876 # Extract the first word of "$ac_prog", so it can be a program name with args.
5877 set dummy $ac_prog; ac_word=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_ICOTOOL+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 if test -n "$ICOTOOL"; then
5884 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5885 else
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_ICOTOOL="$ac_prog"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 IFS=$as_save_IFS
5903 ICOTOOL=$ac_cv_prog_ICOTOOL
5904 if test -n "$ICOTOOL"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5906 $as_echo "$ICOTOOL" >&6; }
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 test -n "$ICOTOOL" && break
5914 done
5915 test -n "$ICOTOOL" || ICOTOOL="false"
5917 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5918 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5920 if test "$CONVERT" = false
5921 then
5922 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5925 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5926 convert_version=`convert --version | head -n1`
5927 if test "x$convert_version" != "x"
5928 then
5929 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5930 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5931 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5932 then
5933 CONVERT=false
5936 if test "$CONVERT" = false
5937 then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5939 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5940 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5943 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5947 if test "$ICOTOOL" = false
5948 then
5949 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5950 else
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5952 $as_echo_n "checking for recent enough icotool... " >&6; }
5953 icotool_version=`icotool --version | head -n1`
5954 if test "x$icotool_version" != "x"
5955 then
5956 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5957 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5958 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5959 then
5960 ICOTOOL=false
5961 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5964 if test "$ICOTOOL" = false
5965 then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5967 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5968 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5971 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5975 with_gettext=yes
5976 with_gettextpo=yes
5977 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5980 test "x$with_gettext" != xno || MSGFMT=false
5981 if test "$MSGFMT" != "false"
5982 then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5984 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5985 cat >conftest.po <<EOF
5986 # comment
5987 msgctxt "ctxt"
5988 msgid "id"
5989 msgstr "str"
5991 if $MSGFMT -o /dev/null conftest.po 2>&5
5992 then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5994 $as_echo "yes" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
5998 MSGFMT=false
6001 if test "$MSGFMT" = false; then :
6002 case "x$with_gettext" in
6003 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6004 xno) ;;
6005 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6006 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6007 esac
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6012 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6013 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6014 $as_echo_n "(cached) " >&6
6015 else
6016 ac_check_lib_save_LIBS=$LIBS
6017 LIBS="-li386 $LIBS"
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6021 /* Override any GCC internal prototype to avoid an error.
6022 Use char because int might match the return type of a GCC
6023 builtin and then its argument prototype would still apply. */
6024 #ifdef __cplusplus
6025 extern "C"
6026 #endif
6027 char i386_set_ldt ();
6029 main ()
6031 return i386_set_ldt ();
6033 return 0;
6035 _ACEOF
6036 if ac_fn_c_try_link "$LINENO"; then :
6037 ac_cv_lib_i386_i386_set_ldt=yes
6038 else
6039 ac_cv_lib_i386_i386_set_ldt=no
6041 rm -f core conftest.err conftest.$ac_objext \
6042 conftest$ac_exeext conftest.$ac_ext
6043 LIBS=$ac_check_lib_save_LIBS
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6046 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6047 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6048 cat >>confdefs.h <<_ACEOF
6049 #define HAVE_LIBI386 1
6050 _ACEOF
6052 LIBS="-li386 $LIBS"
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6057 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6058 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 ac_check_lib_save_LIBS=$LIBS
6062 LIBS="-lossaudio $LIBS"
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6066 /* Override any GCC internal prototype to avoid an error.
6067 Use char because int might match the return type of a GCC
6068 builtin and then its argument prototype would still apply. */
6069 #ifdef __cplusplus
6070 extern "C"
6071 #endif
6072 char _oss_ioctl ();
6074 main ()
6076 return _oss_ioctl ();
6078 return 0;
6080 _ACEOF
6081 if ac_fn_c_try_link "$LINENO"; then :
6082 ac_cv_lib_ossaudio__oss_ioctl=yes
6083 else
6084 ac_cv_lib_ossaudio__oss_ioctl=no
6086 rm -f core conftest.err conftest.$ac_objext \
6087 conftest$ac_exeext conftest.$ac_ext
6088 LIBS=$ac_check_lib_save_LIBS
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6091 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6092 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6093 cat >>confdefs.h <<_ACEOF
6094 #define HAVE_LIBOSSAUDIO 1
6095 _ACEOF
6097 LIBS="-lossaudio $LIBS"
6102 OPENGL_LIBS=""
6106 # Check whether --enable-largefile was given.
6107 if test "${enable_largefile+set}" = set; then :
6108 enableval=$enable_largefile;
6111 if test "$enable_largefile" != no; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6114 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6115 if ${ac_cv_sys_largefile_CC+:} false; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 ac_cv_sys_largefile_CC=no
6119 if test "$GCC" != yes; then
6120 ac_save_CC=$CC
6121 while :; do
6122 # IRIX 6.2 and later do not support large files by default,
6123 # so use the C compiler's -n32 option if that helps.
6124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6126 #include <sys/types.h>
6127 /* Check that off_t can represent 2**63 - 1 correctly.
6128 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6129 since some C++ compilers masquerading as C compilers
6130 incorrectly reject 9223372036854775807. */
6131 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6132 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6133 && LARGE_OFF_T % 2147483647 == 1)
6134 ? 1 : -1];
6136 main ()
6140 return 0;
6142 _ACEOF
6143 if ac_fn_c_try_compile "$LINENO"; then :
6144 break
6146 rm -f core conftest.err conftest.$ac_objext
6147 CC="$CC -n32"
6148 if ac_fn_c_try_compile "$LINENO"; then :
6149 ac_cv_sys_largefile_CC=' -n32'; break
6151 rm -f core conftest.err conftest.$ac_objext
6152 break
6153 done
6154 CC=$ac_save_CC
6155 rm -f conftest.$ac_ext
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6159 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6160 if test "$ac_cv_sys_largefile_CC" != no; then
6161 CC=$CC$ac_cv_sys_largefile_CC
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6165 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6166 if ${ac_cv_sys_file_offset_bits+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 while :; do
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6172 #include <sys/types.h>
6173 /* Check that off_t can represent 2**63 - 1 correctly.
6174 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6175 since some C++ compilers masquerading as C compilers
6176 incorrectly reject 9223372036854775807. */
6177 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6178 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6179 && LARGE_OFF_T % 2147483647 == 1)
6180 ? 1 : -1];
6182 main ()
6186 return 0;
6188 _ACEOF
6189 if ac_fn_c_try_compile "$LINENO"; then :
6190 ac_cv_sys_file_offset_bits=no; break
6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6195 #define _FILE_OFFSET_BITS 64
6196 #include <sys/types.h>
6197 /* Check that off_t can represent 2**63 - 1 correctly.
6198 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6199 since some C++ compilers masquerading as C compilers
6200 incorrectly reject 9223372036854775807. */
6201 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6202 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6203 && LARGE_OFF_T % 2147483647 == 1)
6204 ? 1 : -1];
6206 main ()
6210 return 0;
6212 _ACEOF
6213 if ac_fn_c_try_compile "$LINENO"; then :
6214 ac_cv_sys_file_offset_bits=64; break
6216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6217 ac_cv_sys_file_offset_bits=unknown
6218 break
6219 done
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6222 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6223 case $ac_cv_sys_file_offset_bits in #(
6224 no | unknown) ;;
6226 cat >>confdefs.h <<_ACEOF
6227 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6228 _ACEOF
6230 esac
6231 rm -rf conftest*
6232 if test $ac_cv_sys_file_offset_bits = unknown; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6234 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6235 if ${ac_cv_sys_large_files+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 while :; do
6239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6241 #include <sys/types.h>
6242 /* Check that off_t can represent 2**63 - 1 correctly.
6243 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6244 since some C++ compilers masquerading as C compilers
6245 incorrectly reject 9223372036854775807. */
6246 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6247 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6248 && LARGE_OFF_T % 2147483647 == 1)
6249 ? 1 : -1];
6251 main ()
6255 return 0;
6257 _ACEOF
6258 if ac_fn_c_try_compile "$LINENO"; then :
6259 ac_cv_sys_large_files=no; break
6261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #define _LARGE_FILES 1
6265 #include <sys/types.h>
6266 /* Check that off_t can represent 2**63 - 1 correctly.
6267 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6268 since some C++ compilers masquerading as C compilers
6269 incorrectly reject 9223372036854775807. */
6270 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6271 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6272 && LARGE_OFF_T % 2147483647 == 1)
6273 ? 1 : -1];
6275 main ()
6279 return 0;
6281 _ACEOF
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 ac_cv_sys_large_files=1; break
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 ac_cv_sys_large_files=unknown
6287 break
6288 done
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6291 $as_echo "$ac_cv_sys_large_files" >&6; }
6292 case $ac_cv_sys_large_files in #(
6293 no | unknown) ;;
6295 cat >>confdefs.h <<_ACEOF
6296 #define _LARGE_FILES $ac_cv_sys_large_files
6297 _ACEOF
6299 esac
6300 rm -rf conftest*
6307 ac_ext=c
6308 ac_cpp='$CPP $CPPFLAGS'
6309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6313 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6314 # On Suns, sometimes $CPP names a directory.
6315 if test -n "$CPP" && test -d "$CPP"; then
6316 CPP=
6318 if test -z "$CPP"; then
6319 if ${ac_cv_prog_CPP+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 # Double quotes because CPP needs to be expanded
6323 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6325 ac_preproc_ok=false
6326 for ac_c_preproc_warn_flag in '' yes
6328 # Use a header file that comes with gcc, so configuring glibc
6329 # with a fresh cross-compiler works.
6330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6331 # <limits.h> exists even on freestanding compilers.
6332 # On the NeXT, cc -E runs the code through the compiler's parser,
6333 # not just through cpp. "Syntax error" is here to catch this case.
6334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6336 #ifdef __STDC__
6337 # include <limits.h>
6338 #else
6339 # include <assert.h>
6340 #endif
6341 Syntax error
6342 _ACEOF
6343 if ac_fn_c_try_cpp "$LINENO"; then :
6345 else
6346 # Broken: fails on valid input.
6347 continue
6349 rm -f conftest.err conftest.i conftest.$ac_ext
6351 # OK, works on sane cases. Now check whether nonexistent headers
6352 # can be detected and how.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <ac_nonexistent.h>
6356 _ACEOF
6357 if ac_fn_c_try_cpp "$LINENO"; then :
6358 # Broken: success on invalid input.
6359 continue
6360 else
6361 # Passes both tests.
6362 ac_preproc_ok=:
6363 break
6365 rm -f conftest.err conftest.i conftest.$ac_ext
6367 done
6368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6369 rm -f conftest.i conftest.err conftest.$ac_ext
6370 if $ac_preproc_ok; then :
6371 break
6374 done
6375 ac_cv_prog_CPP=$CPP
6378 CPP=$ac_cv_prog_CPP
6379 else
6380 ac_cv_prog_CPP=$CPP
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6383 $as_echo "$CPP" >&6; }
6384 ac_preproc_ok=false
6385 for ac_c_preproc_warn_flag in '' yes
6387 # Use a header file that comes with gcc, so configuring glibc
6388 # with a fresh cross-compiler works.
6389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6390 # <limits.h> exists even on freestanding compilers.
6391 # On the NeXT, cc -E runs the code through the compiler's parser,
6392 # not just through cpp. "Syntax error" is here to catch this case.
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #ifdef __STDC__
6396 # include <limits.h>
6397 #else
6398 # include <assert.h>
6399 #endif
6400 Syntax error
6401 _ACEOF
6402 if ac_fn_c_try_cpp "$LINENO"; then :
6404 else
6405 # Broken: fails on valid input.
6406 continue
6408 rm -f conftest.err conftest.i conftest.$ac_ext
6410 # OK, works on sane cases. Now check whether nonexistent headers
6411 # can be detected and how.
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #include <ac_nonexistent.h>
6415 _ACEOF
6416 if ac_fn_c_try_cpp "$LINENO"; then :
6417 # Broken: success on invalid input.
6418 continue
6419 else
6420 # Passes both tests.
6421 ac_preproc_ok=:
6422 break
6424 rm -f conftest.err conftest.i conftest.$ac_ext
6426 done
6427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6428 rm -f conftest.i conftest.err conftest.$ac_ext
6429 if $ac_preproc_ok; then :
6431 else
6432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6434 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6435 See \`config.log' for more details" "$LINENO" 5; }
6438 ac_ext=c
6439 ac_cpp='$CPP $CPPFLAGS'
6440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6446 $as_echo_n "checking for ANSI C header files... " >&6; }
6447 if ${ac_cv_header_stdc+:} false; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6452 #include <stdlib.h>
6453 #include <stdarg.h>
6454 #include <string.h>
6455 #include <float.h>
6458 main ()
6462 return 0;
6464 _ACEOF
6465 if ac_fn_c_try_compile "$LINENO"; then :
6466 ac_cv_header_stdc=yes
6467 else
6468 ac_cv_header_stdc=no
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6476 #include <string.h>
6478 _ACEOF
6479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6480 $EGREP "memchr" >/dev/null 2>&1; then :
6482 else
6483 ac_cv_header_stdc=no
6485 rm -f conftest*
6489 if test $ac_cv_header_stdc = yes; then
6490 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #include <stdlib.h>
6495 _ACEOF
6496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497 $EGREP "free" >/dev/null 2>&1; then :
6499 else
6500 ac_cv_header_stdc=no
6502 rm -f conftest*
6506 if test $ac_cv_header_stdc = yes; then
6507 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6508 if test "$cross_compiling" = yes; then :
6510 else
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #include <ctype.h>
6514 #include <stdlib.h>
6515 #if ((' ' & 0x0FF) == 0x020)
6516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6518 #else
6519 # define ISLOWER(c) \
6520 (('a' <= (c) && (c) <= 'i') \
6521 || ('j' <= (c) && (c) <= 'r') \
6522 || ('s' <= (c) && (c) <= 'z'))
6523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6524 #endif
6526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6528 main ()
6530 int i;
6531 for (i = 0; i < 256; i++)
6532 if (XOR (islower (i), ISLOWER (i))
6533 || toupper (i) != TOUPPER (i))
6534 return 2;
6535 return 0;
6537 _ACEOF
6538 if ac_fn_c_try_run "$LINENO"; then :
6540 else
6541 ac_cv_header_stdc=no
6543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6544 conftest.$ac_objext conftest.beam conftest.$ac_ext
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6550 $as_echo "$ac_cv_header_stdc" >&6; }
6551 if test $ac_cv_header_stdc = yes; then
6553 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6557 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6558 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6559 inttypes.h stdint.h unistd.h
6560 do :
6561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6565 cat >>confdefs.h <<_ACEOF
6566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6567 _ACEOF
6571 done
6574 for ac_header in \
6575 AL/al.h \
6576 ApplicationServices/ApplicationServices.h \
6577 AudioToolbox/AudioConverter.h \
6578 AudioUnit/AudioUnit.h \
6579 AudioUnit/AudioComponent.h \
6580 CL/cl.h \
6581 Carbon/Carbon.h \
6582 CoreAudio/CoreAudio.h \
6583 CoreServices/CoreServices.h \
6584 DiskArbitration/DiskArbitration.h \
6585 IOKit/IOKitLib.h \
6586 IOKit/hid/IOHIDLib.h \
6587 OpenAL/al.h \
6588 OpenCL/opencl.h \
6589 QuickTime/ImageCompression.h \
6590 Security/Security.h \
6591 alias.h \
6592 alsa/asoundlib.h \
6593 arpa/inet.h \
6594 arpa/nameser.h \
6595 asm/types.h \
6596 asm/user.h \
6597 curses.h \
6598 direct.h \
6599 dirent.h \
6600 dlfcn.h \
6601 elf.h \
6602 float.h \
6603 fnmatch.h \
6604 getopt.h \
6605 gettext-po.h \
6606 grp.h \
6607 gsm.h \
6608 gsm/gsm.h \
6609 ieeefp.h \
6610 inet/mib2.h \
6611 io.h \
6612 kstat.h \
6613 lber.h \
6614 ldap.h \
6615 libproc.h \
6616 link.h \
6617 linux/cdrom.h \
6618 linux/compiler.h \
6619 linux/filter.h \
6620 linux/hdreg.h \
6621 linux/input.h \
6622 linux/ioctl.h \
6623 linux/joystick.h \
6624 linux/major.h \
6625 linux/param.h \
6626 linux/serial.h \
6627 linux/types.h \
6628 linux/ucdrom.h \
6629 lwp.h \
6630 mach-o/nlist.h \
6631 mach-o/loader.h \
6632 mach/mach.h \
6633 mach/machine.h \
6634 machine/cpu.h \
6635 machine/limits.h \
6636 machine/sysarch.h \
6637 mntent.h \
6638 ncurses.h \
6639 netdb.h \
6640 netinet/in.h \
6641 netinet/in_systm.h \
6642 netinet/tcp.h \
6643 netinet/tcp_fsm.h \
6644 pcap/pcap.h \
6645 poll.h \
6646 port.h \
6647 process.h \
6648 pthread.h \
6649 pwd.h \
6650 sched.h \
6651 scsi/scsi.h \
6652 scsi/scsi_ioctl.h \
6653 scsi/sg.h \
6654 stdbool.h \
6655 stdint.h \
6656 stropts.h \
6657 sys/asoundlib.h \
6658 sys/attr.h \
6659 sys/cdio.h \
6660 sys/elf32.h \
6661 sys/epoll.h \
6662 sys/event.h \
6663 sys/exec_elf.h \
6664 sys/filio.h \
6665 sys/inotify.h \
6666 sys/ioctl.h \
6667 sys/ipc.h \
6668 sys/limits.h \
6669 sys/link.h \
6670 sys/mman.h \
6671 sys/modem.h \
6672 sys/msg.h \
6673 sys/mtio.h \
6674 sys/param.h \
6675 sys/poll.h \
6676 sys/prctl.h \
6677 sys/protosw.h \
6678 sys/ptrace.h \
6679 sys/queue.h \
6680 sys/resource.h \
6681 sys/scsiio.h \
6682 sys/shm.h \
6683 sys/signal.h \
6684 sys/socket.h \
6685 sys/socketvar.h \
6686 sys/sockio.h \
6687 sys/statvfs.h \
6688 sys/strtio.h \
6689 sys/syscall.h \
6690 sys/tihdr.h \
6691 sys/time.h \
6692 sys/timeout.h \
6693 sys/times.h \
6694 sys/uio.h \
6695 sys/user.h \
6696 sys/utsname.h \
6697 sys/vm86.h \
6698 sys/wait.h \
6699 syscall.h \
6700 termios.h \
6701 unistd.h \
6702 utime.h \
6703 valgrind/memcheck.h \
6704 valgrind/valgrind.h \
6705 zlib.h
6707 do :
6708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6710 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6711 cat >>confdefs.h <<_ACEOF
6712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6713 _ACEOF
6717 done
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6720 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6721 if ${ac_cv_header_stat_broken+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 #include <sys/types.h>
6727 #include <sys/stat.h>
6729 #if defined S_ISBLK && defined S_IFDIR
6730 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6731 #endif
6733 #if defined S_ISBLK && defined S_IFCHR
6734 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6735 #endif
6737 #if defined S_ISLNK && defined S_IFREG
6738 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6739 #endif
6741 #if defined S_ISSOCK && defined S_IFREG
6742 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6743 #endif
6745 _ACEOF
6746 if ac_fn_c_try_compile "$LINENO"; then :
6747 ac_cv_header_stat_broken=no
6748 else
6749 ac_cv_header_stat_broken=yes
6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6754 $as_echo "$ac_cv_header_stat_broken" >&6; }
6755 if test $ac_cv_header_stat_broken = yes; then
6757 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6763 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6764 do :
6765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6767 #ifdef HAVE_SYS_PARAM_H
6768 # include <sys/param.h>
6769 #endif
6771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6772 cat >>confdefs.h <<_ACEOF
6773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 _ACEOF
6778 done
6781 for ac_header in \
6782 netinet/ip.h \
6783 net/if.h \
6784 net/if_arp.h \
6785 net/if_dl.h \
6786 net/if_types.h \
6787 net/route.h \
6788 netinet/if_ether.h \
6789 netinet/if_inarp.h \
6790 netinet/in_pcb.h \
6791 netinet/ip_icmp.h \
6792 netinet/ip_var.h \
6793 netinet/udp.h \
6794 netipx/ipx.h \
6795 sys/un.h \
6797 do :
6798 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6799 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6800 #ifdef HAVE_SYS_SOCKET_H
6801 # include <sys/socket.h>
6802 #endif
6803 #ifdef HAVE_SYS_SOCKETVAR_H
6804 # include <sys/socketvar.h>
6805 #endif
6806 #ifdef HAVE_NET_ROUTE_H
6807 # include <net/route.h>
6808 #endif
6809 #ifdef HAVE_NETINET_IN_H
6810 # include <netinet/in.h>
6811 #endif
6812 #ifdef HAVE_NETINET_IN_SYSTM_H
6813 # include <netinet/in_systm.h>
6814 #endif
6815 #ifdef HAVE_NET_IF_H
6816 # include <net/if.h>
6817 #endif
6818 #ifdef HAVE_NETINET_IP_H
6819 # include <netinet/ip.h>
6820 #endif
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6832 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6833 do :
6834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6836 #ifdef HAVE_ALIAS_H
6837 # include <alias.h>
6838 #endif
6839 #ifdef HAVE_SYS_SOCKET_H
6840 # include <sys/socket.h>
6841 #endif
6842 #ifdef HAVE_SYS_SOCKETVAR_H
6843 # include <sys/socketvar.h>
6844 #endif
6845 #ifdef HAVE_SYS_TIMEOUT_H
6846 # include <sys/timeout.h>
6847 #endif
6848 #ifdef HAVE_NETINET_IN_H
6849 # include <netinet/in.h>
6850 #endif
6851 #ifdef HAVE_NETINET_IN_SYSTM_H
6852 # include <netinet/in_systm.h>
6853 #endif
6854 #ifdef HAVE_NETINET_IP_H
6855 # include <netinet/ip.h>
6856 #endif
6857 #ifdef HAVE_NETINET_IP_VAR_H
6858 # include <netinet/ip_var.h>
6859 #endif
6860 #ifdef HAVE_NETINET_IP_ICMP_H
6861 # include <netinet/ip_icmp.h>
6862 #endif
6863 #ifdef HAVE_NETINET_UDP_H
6864 # include <netinet/udp.h>
6865 #endif
6866 #ifdef HAVE_NETINET_TCP_H
6867 # include <netinet/tcp.h>
6868 #endif
6869 #ifdef HAVE_NETINET_TCP_TIMER_H
6870 #include <netinet/tcp_timer.h>
6871 #endif
6873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6874 cat >>confdefs.h <<_ACEOF
6875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 _ACEOF
6880 done
6883 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_ASM_TYPES_H
6888 # include <asm/types.h>
6889 #endif
6890 #ifdef HAVE_SYS_SOCKET_H
6891 # include <sys/socket.h>
6892 #endif
6893 #ifdef HAVE_LINUX_TYPES_H
6894 # include <linux/types.h>
6895 #endif
6897 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6898 cat >>confdefs.h <<_ACEOF
6899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6900 _ACEOF
6904 done
6907 for ac_header in mach-o/dyld_images.h
6908 do :
6909 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6910 # include <stdbool.h>
6911 #endif
6912 #ifdef HAVE_STDINT_H
6913 # include <stdint.h>
6914 #endif
6916 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6917 cat >>confdefs.h <<_ACEOF
6918 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6919 _ACEOF
6923 done
6926 for ac_header in resolv.h
6927 do :
6928 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6929 #ifdef HAVE_SYS_SOCKET_H
6930 # include <sys/socket.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IN_H
6933 # include <netinet/in.h>
6934 #endif
6935 #ifdef HAVE_ARPA_NAMESER_H
6936 # include <arpa/nameser.h>
6937 #endif
6939 if test "x$ac_cv_header_resolv_h" = xyes; then :
6940 cat >>confdefs.h <<_ACEOF
6941 #define HAVE_RESOLV_H 1
6942 _ACEOF
6946 done
6949 for ac_header in ifaddrs.h
6950 do :
6951 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6953 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6954 cat >>confdefs.h <<_ACEOF
6955 #define HAVE_IFADDRS_H 1
6956 _ACEOF
6960 done
6963 for ac_header in sys/ucontext.h
6964 do :
6965 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6967 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define HAVE_SYS_UCONTEXT_H 1
6970 _ACEOF
6974 done
6977 for ac_header in sys/thr.h
6978 do :
6979 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6980 #ifdef HAVE_SYS_UCONTEXT_H
6981 #include <sys/ucontext.h>
6982 #endif
6984 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6985 cat >>confdefs.h <<_ACEOF
6986 #define HAVE_SYS_THR_H 1
6987 _ACEOF
6991 done
6994 for ac_header in pthread_np.h
6995 do :
6996 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6997 #include <pthread.h>
6998 #endif
7000 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_PTHREAD_NP_H 1
7003 _ACEOF
7007 done
7010 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7011 do :
7012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7013 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7014 #include <sys/time.h>
7015 #endif
7016 #include <sys/types.h>
7017 #ifdef HAVE_ASM_TYPES_H
7018 #include <asm/types.h>
7019 #endif
7021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7022 cat >>confdefs.h <<_ACEOF
7023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7024 _ACEOF
7028 done
7031 for ac_header in libprocstat.h
7032 do :
7033 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7034 #include <sys/param.h>
7035 #endif
7036 #ifdef HAVE_SYS_QUEUE_H
7037 #include <sys/queue.h>
7038 #endif
7039 #ifdef HAVE_SYS_SOCKET_H
7040 #include <sys/socket.h>
7041 #endif
7043 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define HAVE_LIBPROCSTAT_H 1
7046 _ACEOF
7050 done
7054 dlldir="\${libdir}/wine"
7056 DLLPREFIX=""
7058 DLLFLAGS="-D_REENTRANT"
7060 LDRPATH_INSTALL=""
7062 LDRPATH_LOCAL=""
7064 LIBEXT="so"
7065 DLLEXT=".so"
7066 IMPLIBEXT="def"
7067 STATIC_IMPLIBEXT="def.a"
7068 # Extract the first word of "ldd", so it can be a program name with args.
7069 set dummy ldd; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if ${ac_cv_path_LDD+:} false; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 case $LDD in
7076 [\\/]* | ?:[\\/]*)
7077 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081 as_dummy="/sbin:/usr/sbin:$PATH"
7082 for as_dir in $as_dummy
7084 IFS=$as_save_IFS
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7088 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 break 2
7092 done
7093 done
7094 IFS=$as_save_IFS
7096 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7098 esac
7100 LDD=$ac_cv_path_LDD
7101 if test -n "$LDD"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7103 $as_echo "$LDD" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7110 if test -n "$ac_tool_prefix"; then
7111 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7112 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_READELF+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 if test -n "$READELF"; then
7119 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7124 IFS=$as_save_IFS
7125 test -z "$as_dir" && as_dir=.
7126 for ac_exec_ext in '' $ac_executable_extensions; do
7127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 break 2
7132 done
7133 done
7134 IFS=$as_save_IFS
7138 READELF=$ac_cv_prog_READELF
7139 if test -n "$READELF"; then
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7141 $as_echo "$READELF" >&6; }
7142 else
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7149 if test -z "$ac_cv_prog_READELF"; then
7150 ac_ct_READELF=$READELF
7151 # Extract the first word of "readelf", so it can be a program name with args.
7152 set dummy readelf; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7156 $as_echo_n "(cached) " >&6
7157 else
7158 if test -n "$ac_ct_READELF"; then
7159 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7160 else
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 for as_dir in $PATH
7164 IFS=$as_save_IFS
7165 test -z "$as_dir" && as_dir=.
7166 for ac_exec_ext in '' $ac_executable_extensions; do
7167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168 ac_cv_prog_ac_ct_READELF="readelf"
7169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 break 2
7172 done
7173 done
7174 IFS=$as_save_IFS
7178 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7179 if test -n "$ac_ct_READELF"; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7181 $as_echo "$ac_ct_READELF" >&6; }
7182 else
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7187 if test "x$ac_ct_READELF" = x; then
7188 READELF="true"
7189 else
7190 case $cross_compiling:$ac_tool_warned in
7191 yes:)
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194 ac_tool_warned=yes ;;
7195 esac
7196 READELF=$ac_ct_READELF
7198 else
7199 READELF="$ac_cv_prog_READELF"
7202 wine_rules_file=conf$$rules.make
7203 rm -f $wine_rules_file
7204 ALL_POT_FILES=""
7205 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7206 ALL_TEST_RESOURCES=""
7209 wine_fn_append_file ()
7211 as_fn_append $1 " \\$as_nl $2"
7214 wine_fn_ignore_file ()
7216 case "$1" in
7217 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7218 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7219 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7220 esac
7223 wine_fn_append_rule ()
7225 $as_echo "$1" >>$wine_rules_file
7228 wine_fn_has_flag ()
7230 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7233 wine_fn_depend_rules ()
7235 wine_fn_append_rule \
7236 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7237 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7238 depend: $ac_dir/depend
7239 .PHONY: $ac_dir/depend
7240 $ac_dir/depend: \$(MAKEDEP) dummy
7241 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7244 wine_fn_pot_rules ()
7246 test "x$with_gettextpo" = xyes || return
7248 if wine_fn_has_flag mc
7249 then
7250 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7251 wine_fn_append_rule \
7252 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7253 @cd $ac_dir && \$(MAKE) msg.pot
7254 $ac_dir/msg.pot: tools/wmc include"
7256 if wine_fn_has_flag po
7257 then
7258 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7259 wine_fn_append_rule \
7260 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7261 @cd $ac_dir && \$(MAKE) rsrc.pot
7262 $ac_dir/rsrc.pot: tools/wrc include"
7266 wine_fn_all_rules ()
7268 wine_fn_depend_rules
7269 wine_fn_append_rule \
7270 "all: $ac_dir
7271 .PHONY: $ac_dir
7272 $ac_dir: $ac_dir/Makefile dummy
7273 @cd $ac_dir && \$(MAKE)"
7276 wine_fn_install_rules ()
7278 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7280 wine_fn_append_rule \
7281 ".PHONY: $ac_dir/install $ac_dir/uninstall
7282 $ac_dir/install:: $ac_dir
7283 @cd $ac_dir && \$(MAKE) install
7284 $ac_dir/uninstall:: $ac_dir/Makefile
7285 @cd $ac_dir && \$(MAKE) uninstall
7286 install:: $ac_dir/install
7287 __uninstall__: $ac_dir/uninstall"
7289 if wine_fn_has_flag install-lib
7290 then
7291 wine_fn_append_rule \
7292 ".PHONY: $ac_dir/install-lib
7293 $ac_dir/install-lib:: $ac_dir
7294 @cd $ac_dir && \$(MAKE) install-lib
7295 install-lib:: $ac_dir/install-lib"
7298 if wine_fn_has_flag install-dev
7299 then
7300 wine_fn_append_rule \
7301 ".PHONY: $ac_dir/install-dev
7302 $ac_dir/install-dev:: $ac_dir
7303 @cd $ac_dir && \$(MAKE) install-dev
7304 install-dev:: $ac_dir/install-dev"
7308 wine_fn_clean_rules ()
7310 ac_clean=$@
7311 ac_extraclean="$ac_dir/Makefile"
7312 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7313 case $ac_dir in
7314 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7315 esac
7317 if wine_fn_has_flag clean
7318 then
7319 wine_fn_append_rule \
7320 "__clean__: $ac_dir/clean
7321 .PHONY: $ac_dir/clean
7322 $ac_dir/clean: $ac_dir/Makefile
7323 @cd $ac_dir && \$(MAKE) clean
7324 \$(RM) $ac_extraclean"
7325 else
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7334 wine_fn_disabled_rules ()
7336 ac_clean=$@
7337 ac_extraclean="$ac_dir/Makefile"
7338 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7340 wine_fn_append_rule \
7341 "__clean__: $ac_dir/clean
7342 .PHONY: $ac_dir/clean
7343 $ac_dir/clean: dummy
7344 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7347 wine_fn_config_makefile ()
7349 ac_dir=$1
7350 ac_enable=$2
7351 ac_flags=$3
7353 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7354 wine_fn_disabled_rules; return
7356 wine_fn_all_rules
7357 wine_fn_install_rules
7358 wine_fn_clean_rules
7361 wine_fn_config_lib ()
7363 ac_name=$1
7364 ac_flags=$2
7365 ac_dir=dlls/$ac_name
7366 ac_deps="include"
7368 if test "x$enable_tools" = xno; then :
7370 else
7371 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7373 wine_fn_all_rules
7374 wine_fn_clean_rules
7376 wine_fn_append_rule \
7377 ".PHONY: $ac_dir/install $ac_dir/uninstall
7378 $ac_dir/install:: $ac_dir
7379 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7380 $ac_dir/uninstall::
7381 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7382 install install-dev:: $ac_dir/install
7383 __uninstall__: $ac_dir/uninstall
7384 __builddeps__: $ac_dir
7385 $ac_dir: $ac_deps"
7388 wine_fn_config_dll ()
7390 ac_name=$1
7391 ac_dir=dlls/$ac_name
7392 ac_enable=$2
7393 ac_flags=$3
7394 ac_implib=${4:-$ac_name}
7395 ac_file=$ac_dir/lib$ac_implib
7396 ac_dll=$ac_name
7397 ac_deps="include"
7398 ac_implibflags=""
7400 if test "x$enable_tools" = xno; then :
7402 else
7403 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7405 case $ac_name in
7406 *16) ac_implibflags=" -m16" ;;
7407 *.*) ;;
7408 *) ac_dll=$ac_dll.dll ;;
7409 esac
7411 ac_clean=
7412 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7413 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7414 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7415 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7417 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7418 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7419 then
7420 wine_fn_depend_rules
7421 wine_fn_clean_rules $ac_clean
7422 else
7423 wine_fn_disabled_rules $ac_clean
7424 return
7426 else
7427 wine_fn_all_rules
7428 wine_fn_clean_rules $ac_clean
7429 wine_fn_append_rule \
7430 "$ac_dir: __builddeps__
7431 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7432 @cd $ac_dir && \$(MAKE) \$@
7433 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7434 install install-lib:: $ac_dir/install-lib
7435 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7437 then
7438 wine_fn_append_rule \
7439 "$ac_dir/install-lib:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7442 $ac_dir/uninstall::
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7444 else
7445 wine_fn_append_rule \
7446 "$ac_dir/install-lib:: $ac_dir
7447 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7452 wine_fn_pot_rules
7455 if wine_fn_has_flag staticimplib
7456 then
7457 wine_fn_append_rule \
7458 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7459 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7460 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7461 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7462 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7463 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7464 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7465 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7466 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7469 install install-dev:: $ac_dir/install-dev
7470 __uninstall__: $ac_dir/uninstall"
7472 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7473 then
7474 wine_fn_append_rule \
7475 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7476 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7477 $ac_dir/uninstall::
7478 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7481 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7482 then
7483 wine_fn_append_rule \
7484 "__builddeps__: $ac_file.cross.a
7485 $ac_file.cross.a: $ac_dir/Makefile dummy
7486 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7489 elif wine_fn_has_flag implib
7490 then
7491 wine_fn_append_rule \
7492 "__builddeps__: $ac_file.$IMPLIBEXT
7493 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7494 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7495 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7496 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7497 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7498 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7499 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7500 $ac_dir/uninstall::
7501 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7502 install install-dev:: $ac_dir/install-dev
7503 __uninstall__: $ac_dir/uninstall"
7504 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7505 then
7506 wine_fn_append_rule \
7507 "__builddeps__: $ac_file.cross.a
7508 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7509 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7512 if test "$ac_name" != "$ac_implib"
7513 then
7514 wine_fn_append_rule \
7515 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7516 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7517 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7518 clean::
7519 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7520 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7521 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7522 then
7523 wine_fn_append_rule \
7524 "__builddeps__: dlls/lib$ac_implib.cross.a
7525 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7526 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7527 clean::
7528 \$(RM) dlls/lib$ac_implib.cross.a"
7529 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7535 wine_fn_config_program ()
7537 ac_name=$1
7538 ac_dir=programs/$ac_name
7539 ac_enable=$2
7540 ac_flags=$3
7541 ac_program=$ac_name
7543 case $ac_name in
7544 *.*) ;;
7545 *) ac_program=$ac_program.exe ;;
7546 esac
7548 ac_clean=
7549 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7550 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7551 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7552 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7554 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7555 wine_fn_disabled_rules $ac_clean; return
7558 wine_fn_all_rules
7559 wine_fn_clean_rules $ac_clean
7560 wine_fn_append_rule "$ac_dir: __builddeps__"
7561 wine_fn_pot_rules
7563 wine_fn_has_flag install || return
7564 wine_fn_append_rule \
7565 ".PHONY: $ac_dir/install $ac_dir/uninstall
7566 install install-lib:: $ac_dir/install
7567 __uninstall__: $ac_dir/uninstall"
7569 if test -n "$DLLEXT"
7570 then
7571 wine_fn_append_rule \
7572 "$ac_dir/install:: $ac_dir
7573 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7574 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7575 $ac_dir/uninstall::
7576 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7578 if test -z "$with_wine64" && wine_fn_has_flag installbin
7579 then
7580 wine_fn_append_rule \
7581 "$ac_dir/install:: __tooldeps__
7582 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7583 $ac_dir/uninstall::
7584 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7586 else
7587 wine_fn_append_rule \
7588 "$ac_dir/install:: $ac_dir
7589 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7590 $ac_dir/uninstall::
7591 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7594 if test -z "$with_wine64" && wine_fn_has_flag manpage
7595 then
7596 wine_fn_append_rule \
7597 "$ac_dir/install:: $ac_dir
7598 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7599 $ac_dir/uninstall::
7600 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7604 wine_fn_config_test ()
7606 ac_dir=$1
7607 ac_name=$2
7608 ac_flags=$3
7610 ac_clean=
7611 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7612 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7614 if test "x$enable_tests" = xno; then :
7615 wine_fn_disabled_rules $ac_clean; return
7618 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7619 wine_fn_all_rules
7620 wine_fn_clean_rules $ac_clean
7622 wine_fn_append_rule \
7623 "$ac_dir: programs/winetest/Makefile __builddeps__
7624 programs/winetest: $ac_dir
7625 check test: $ac_dir/test
7626 .PHONY: $ac_dir/test
7627 $ac_dir/test: dummy
7628 @cd $ac_dir && \$(MAKE) test
7629 testclean::
7630 \$(RM) $ac_dir/*.ok"
7632 if test -n "$CROSSTARGET"
7633 then
7634 wine_fn_append_rule \
7635 "crosstest: $ac_dir/crosstest
7636 .PHONY: $ac_dir/crosstest
7637 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7638 @cd $ac_dir && \$(MAKE) crosstest"
7642 wine_fn_config_tool ()
7644 ac_dir=$1
7645 ac_flags=$2
7646 if test "x$enable_tools" = xno; then :
7647 return
7650 wine_fn_all_rules
7651 wine_fn_install_rules
7652 wine_fn_clean_rules
7654 wine_fn_append_rule "__tooldeps__: $ac_dir"
7655 wine_fn_append_rule "$ac_dir: libs/port"
7656 case $ac_dir in
7657 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7658 esac
7661 wine_fn_config_symlink ()
7663 ac_linkdir=
7664 if test "x$1" = "x-d"
7665 then
7666 ac_linkdir=$2
7667 shift; shift
7669 ac_links=$@
7670 wine_fn_append_rule \
7671 "$ac_links:
7672 @./config.status \$@
7673 distclean::
7674 \$(RM) $ac_links"
7675 for f in $ac_links; do wine_fn_ignore_file $f; done
7676 test -n "$ac_linkdir" || return
7677 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7680 wine_binary="wine"
7681 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7682 loader_programs="$wine_binary wine-installed"
7683 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7685 LOADER_RULES="
7686 all: wine.inf
7688 install install-lib:: wine-installed
7689 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7691 uninstall::
7692 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7696 case $host_os in
7697 cygwin*|mingw32*)
7698 if test -n "$ac_tool_prefix"; then
7699 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7700 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7702 $as_echo_n "checking for $ac_word... " >&6; }
7703 if ${ac_cv_prog_DLLTOOL+:} false; then :
7704 $as_echo_n "(cached) " >&6
7705 else
7706 if test -n "$DLLTOOL"; then
7707 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7708 else
7709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 for as_dir in $PATH
7712 IFS=$as_save_IFS
7713 test -z "$as_dir" && as_dir=.
7714 for ac_exec_ext in '' $ac_executable_extensions; do
7715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7716 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718 break 2
7720 done
7721 done
7722 IFS=$as_save_IFS
7726 DLLTOOL=$ac_cv_prog_DLLTOOL
7727 if test -n "$DLLTOOL"; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7729 $as_echo "$DLLTOOL" >&6; }
7730 else
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7732 $as_echo "no" >&6; }
7737 if test -z "$ac_cv_prog_DLLTOOL"; then
7738 ac_ct_DLLTOOL=$DLLTOOL
7739 # Extract the first word of "dlltool", so it can be a program name with args.
7740 set dummy dlltool; ac_word=$2
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7742 $as_echo_n "checking for $ac_word... " >&6; }
7743 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7744 $as_echo_n "(cached) " >&6
7745 else
7746 if test -n "$ac_ct_DLLTOOL"; then
7747 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7748 else
7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 for as_dir in $PATH
7752 IFS=$as_save_IFS
7753 test -z "$as_dir" && as_dir=.
7754 for ac_exec_ext in '' $ac_executable_extensions; do
7755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7756 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7758 break 2
7760 done
7761 done
7762 IFS=$as_save_IFS
7766 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7767 if test -n "$ac_ct_DLLTOOL"; then
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7769 $as_echo "$ac_ct_DLLTOOL" >&6; }
7770 else
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7775 if test "x$ac_ct_DLLTOOL" = x; then
7776 DLLTOOL="false"
7777 else
7778 case $cross_compiling:$ac_tool_warned in
7779 yes:)
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7782 ac_tool_warned=yes ;;
7783 esac
7784 DLLTOOL=$ac_ct_DLLTOOL
7786 else
7787 DLLTOOL="$ac_cv_prog_DLLTOOL"
7790 LIBEXT="dll"
7791 DLLEXT=""
7792 IMPLIBEXT="a"
7793 STATIC_IMPLIBEXT="a"
7794 enable_iphlpapi=${enable_iphlpapi:-no}
7795 enable_kernel32=${enable_kernel32:-no}
7796 enable_msvcrt=${enable_msvcrt:-no}
7797 enable_ntdll=${enable_ntdll:-no}
7798 enable_ws2_32=${enable_ws2_32:-no}
7799 enable_loader=${enable_loader:-no}
7800 enable_server=${enable_server:-no}
7801 with_x=${with_x:-no}
7802 with_pthread=${with_pthread:-no}
7804 crtlibs=""
7805 case $host_os in
7806 mingw32*)
7807 crtlibs="-lmsvcrt"
7808 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7810 esac
7812 libwine_targets="libwine.dll libwine.a"
7813 LIBWINE_RULES="
7814 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7816 all: libwine.dll libwine.a
7818 libwine.a: \$(srcdir)/wine.def
7819 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7821 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7822 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7824 install install-lib:: libwine.dll
7825 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7827 install install-dev:: libwine.a
7828 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7830 uninstall::
7831 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7836 darwin*|macosx*)
7837 LIBEXT="dylib"
7838 DLLFLAGS="$DLLFLAGS -fPIC"
7839 LIBWINE_LDFLAGS="-multiply_defined suppress"
7840 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7841 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7842 COREFOUNDATION_LIBS="-framework CoreFoundation"
7844 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7846 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7848 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7850 CORESERVICES_LIBS="-framework CoreServices"
7852 APPKIT_LIBS="-framework AppKit"
7854 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7856 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7857 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 ac_wine_try_cflags_saved=$CFLAGS
7861 CFLAGS="$CFLAGS -Wl,-no_pie"
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864 int main(int argc, char **argv) { return 0; }
7865 _ACEOF
7866 if ac_fn_c_try_link "$LINENO"; then :
7867 ac_cv_cflags__Wl__no_pie=yes
7868 else
7869 ac_cv_cflags__Wl__no_pie=no
7871 rm -f core conftest.err conftest.$ac_objext \
7872 conftest$ac_exeext conftest.$ac_ext
7873 CFLAGS=$ac_wine_try_cflags_saved
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7876 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7877 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7878 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7880 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7881 then
7882 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7885 if test "$ac_cv_header_Security_Security_h" = "yes"
7886 then
7887 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7889 ac_save_LIBS="$LIBS"
7890 LIBS="$LIBS $SECURITY_LIBS"
7891 for ac_func in SSLCopyPeerCertificates
7892 do :
7893 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7894 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7895 cat >>confdefs.h <<_ACEOF
7896 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7897 _ACEOF
7900 done
7902 LIBS="$ac_save_LIBS"
7903 with_gnutls=${with_gnutls:-no}
7905 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7906 then
7907 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7908 then
7909 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7911 else
7912 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7915 ac_save_LIBS="$LIBS"
7916 LIBS="$LIBS $COREAUDIO_LIBS"
7917 for ac_func in AUGraphAddNode
7918 do :
7919 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7920 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_AUGRAPHADDNODE 1
7923 _ACEOF
7926 done
7928 LIBS="$ac_save_LIBS"
7930 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7931 then
7932 OPENAL_LIBS="-framework OpenAL"
7935 cat >>confdefs.h <<_ACEOF
7936 #define HAVE_OPENAL 1
7937 _ACEOF
7939 ac_cv_lib_openal=yes
7941 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7942 then
7943 OPENCL_LIBS="-framework OpenCL"
7945 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7947 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7948 then
7949 ac_save_LIBS="$LIBS"
7950 LIBS="$LIBS $IOKIT_LIBS"
7951 for ac_func in IOHIDManagerCreate
7952 do :
7953 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7954 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7955 cat >>confdefs.h <<_ACEOF
7956 #define HAVE_IOHIDMANAGERCREATE 1
7957 _ACEOF
7960 done
7962 LIBS="$ac_save_LIBS"
7964 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7965 then
7966 ac_save_LIBS="$LIBS"
7967 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7969 $as_echo_n "checking for the QuickTime framework... " >&6; }
7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 #include <QuickTime/ImageCompression.h>
7974 main ()
7976 CodecManagerVersion(NULL);
7978 return 0;
7980 _ACEOF
7981 if ac_fn_c_try_link "$LINENO"; then :
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7983 $as_echo "yes" >&6; }
7984 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7986 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 ac_cv_header_QuickTime_ImageCompression_h=no
7992 rm -f core conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 LIBS="$ac_save_LIBS"
7996 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7997 then
7998 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8000 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8001 then
8002 CARBON_LIBS="-framework Carbon"
8006 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8007 then
8008 ac_save_LIBS="$LIBS"
8009 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8010 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8011 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8012 enable_winemac_drv=${enable_winemac_drv:-yes}
8015 LIBS="$ac_save_LIBS"
8018 if test "x$enable_win16" = "xyes"
8019 then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8021 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8022 if test "$cross_compiling" = yes; then :
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8024 $as_echo "cross-compiling, assuming yes" >&6; }
8025 else
8026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8027 /* end confdefs.h. */
8028 asm(".text\n"
8029 "bad:\tnop;nop\n"
8030 "good:\tnop;nop\n\t"
8031 ".globl _testfunc\n"
8032 "_testfunc:\tcallw good");
8033 extern void testfunc();
8035 main ()
8037 unsigned short *p = (unsigned short *)testfunc;
8038 return p[0] != 0xe866 || p[1] != 0xfffa
8040 return 0;
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8045 $as_echo "yes" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8049 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
8051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8052 conftest.$ac_objext conftest.beam conftest.$ac_ext
8057 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8058 LIBWINE_RULES="
8059 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8061 all: libwine.dylib
8063 libwine.$libwine_version.dylib: \$(OBJS)
8064 \$(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 \$@
8066 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8067 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8069 libwine.dylib: libwine.$libwine_soversion.dylib
8070 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8072 install install-lib:: libwine.$libwine_version.dylib
8073 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8074 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8076 install install-dev::
8077 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8079 uninstall::
8080 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8084 as_fn_append LOADER_RULES "
8085 $wine_binary: main.o wine_info.plist
8086 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8088 wine-installed: main.o wine_info.plist
8089 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8093 linux-android*)
8094 DLLFLAGS="$DLLFLAGS -fPIC"
8095 DLLPREFIX="lib"
8096 LDEXECFLAGS=""
8097 dlldir="\${libdir}"
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8099 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8100 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8101 $as_echo_n "(cached) " >&6
8102 else
8103 ac_wine_try_cflags_saved=$CFLAGS
8104 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8107 int main(int argc, char **argv) { return 0; }
8108 _ACEOF
8109 if ac_fn_c_try_link "$LINENO"; then :
8110 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8111 else
8112 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8114 rm -f core conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8116 CFLAGS=$ac_wine_try_cflags_saved
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8119 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8120 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8121 LDEXECFLAGS="-Wl,--export-dynamic"
8123 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8125 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8126 if eval \${$as_ac_var+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 ac_wine_try_cflags_saved=$CFLAGS
8130 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8134 _ACEOF
8135 if ac_fn_c_try_link "$LINENO"; then :
8136 eval "$as_ac_var=yes"
8137 else
8138 eval "$as_ac_var=no"
8140 rm -f core conftest.err conftest.$ac_objext \
8141 conftest$ac_exeext conftest.$ac_ext
8142 CFLAGS=$ac_wine_try_cflags_saved
8144 eval ac_res=\$$as_ac_var
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8146 $as_echo "$ac_res" >&6; }
8147 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8148 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8149 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8150 else
8151 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8154 if eval \${$as_ac_var+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_wine_try_cflags_saved=$CFLAGS
8158 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 eval "$as_ac_var=yes"
8165 else
8166 eval "$as_ac_var=no"
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 CFLAGS=$ac_wine_try_cflags_saved
8172 eval ac_res=\$$as_ac_var
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8174 $as_echo "$ac_res" >&6; }
8175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8176 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8177 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8182 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8183 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8186 ac_wine_try_cflags_saved=$CFLAGS
8187 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 ac_cv_cflags__Wl___enable_new_dtags=yes
8194 else
8195 ac_cv_cflags__Wl___enable_new_dtags=no
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 CFLAGS=$ac_wine_try_cflags_saved
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8202 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8203 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8204 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8207 case $host_cpu in
8208 *i[3456789]86* | x86_64)
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8210 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8211 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8222 else
8223 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8230 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8231 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8232 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8235 esac
8237 libwine_targets="libwine.so"
8238 LIBWINE_RULES="
8239 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8241 all: libwine.so
8243 libwine.so: \$(OBJS)
8244 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8246 install install-lib:: libwine.so
8247 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8249 uninstall::
8250 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8254 as_fn_append LOADER_RULES "
8255 $wine_binary: main.o
8256 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8258 wine-installed: main.o
8259 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8264 DLLFLAGS="$DLLFLAGS -fPIC"
8265 LDEXECFLAGS=""
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8267 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8268 if ${ac_cv_c_dll_gnuelf+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 ac_wine_try_cflags_saved=$CFLAGS
8272 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8275 void myfunc() {}
8276 _ACEOF
8277 if ac_fn_c_try_link "$LINENO"; then :
8278 ac_cv_c_dll_gnuelf="yes"
8279 else
8280 ac_cv_c_dll_gnuelf="no"
8282 rm -f core conftest.err conftest.$ac_objext \
8283 conftest$ac_exeext conftest.$ac_ext
8284 CFLAGS=$ac_wine_try_cflags_saved
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8287 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8288 if test "$ac_cv_c_dll_gnuelf" = "yes"
8289 then
8290 LDSHARED="\$(CC) -shared"
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8292 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8293 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 ac_wine_try_cflags_saved=$CFLAGS
8297 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 int main(int argc, char **argv) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8304 else
8305 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8307 rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 CFLAGS=$ac_wine_try_cflags_saved
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8312 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8313 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8314 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8317 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8318 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 ac_wine_try_cflags_saved=$CFLAGS
8322 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8329 else
8330 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 CFLAGS=$ac_wine_try_cflags_saved
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8337 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8338 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8339 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8343 echo '{ global: *; };' >conftest.map
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8345 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8346 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8357 else
8358 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8365 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8366 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8367 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8369 rm -f conftest.map
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8372 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8373 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 ac_wine_try_cflags_saved=$CFLAGS
8377 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8380 int main(int argc, char **argv) { return 0; }
8381 _ACEOF
8382 if ac_fn_c_try_link "$LINENO"; then :
8383 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8384 else
8385 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8392 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8393 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8394 LDEXECFLAGS="-Wl,--export-dynamic"
8397 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8399 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8400 if eval \${$as_ac_var+:} false; then :
8401 $as_echo_n "(cached) " >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 int main(int argc, char **argv) { return 0; }
8408 _ACEOF
8409 if ac_fn_c_try_link "$LINENO"; then :
8410 eval "$as_ac_var=yes"
8411 else
8412 eval "$as_ac_var=no"
8414 rm -f core conftest.err conftest.$ac_objext \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 eval ac_res=\$$as_ac_var
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8420 $as_echo "$ac_res" >&6; }
8421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8422 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8423 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8424 else
8425 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8428 if eval \${$as_ac_var+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 eval "$as_ac_var=yes"
8439 else
8440 eval "$as_ac_var=no"
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 eval ac_res=\$$as_ac_var
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8448 $as_echo "$ac_res" >&6; }
8449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8450 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8451 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8456 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8457 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8458 $as_echo_n "(cached) " >&6
8459 else
8460 ac_wine_try_cflags_saved=$CFLAGS
8461 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 int main(int argc, char **argv) { return 0; }
8465 _ACEOF
8466 if ac_fn_c_try_link "$LINENO"; then :
8467 ac_cv_cflags__Wl___enable_new_dtags=yes
8468 else
8469 ac_cv_cflags__Wl___enable_new_dtags=no
8471 rm -f core conftest.err conftest.$ac_objext \
8472 conftest$ac_exeext conftest.$ac_ext
8473 CFLAGS=$ac_wine_try_cflags_saved
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8476 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8477 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8478 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8481 case $host_cpu in
8482 *i[3456789]86* | x86_64)
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8484 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8485 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8493 _ACEOF
8494 if ac_fn_c_try_link "$LINENO"; then :
8495 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8496 else
8497 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8504 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8505 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8506 case $host_os in
8507 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8508 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8509 esac
8512 # Extract the first word of "prelink", so it can be a program name with args.
8513 set dummy prelink; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if ${ac_cv_path_PRELINK+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 case $PRELINK in
8520 [\\/]* | ?:[\\/]*)
8521 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 for as_dir in /sbin /usr/sbin $PATH
8527 IFS=$as_save_IFS
8528 test -z "$as_dir" && as_dir=.
8529 for ac_exec_ext in '' $ac_executable_extensions; do
8530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8531 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 break 2
8535 done
8536 done
8537 IFS=$as_save_IFS
8539 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8541 esac
8543 PRELINK=$ac_cv_path_PRELINK
8544 if test -n "$PRELINK"; then
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8546 $as_echo "$PRELINK" >&6; }
8547 else
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8549 $as_echo "no" >&6; }
8553 if test "x$PRELINK" = xfalse
8554 then
8555 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8558 esac
8560 else
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8562 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8563 if ${ac_cv_c_dll_unixware+:} false; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 ac_wine_try_cflags_saved=$CFLAGS
8567 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 void myfunc() {}
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 ac_cv_c_dll_unixware="yes"
8574 else
8575 ac_cv_c_dll_unixware="no"
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 CFLAGS=$ac_wine_try_cflags_saved
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8582 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8583 if test "$ac_cv_c_dll_unixware" = "yes"
8584 then
8585 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8588 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8589 LIBWINE_RULES="
8590 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8592 all: libwine.so
8594 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8595 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8597 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8598 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8600 libwine.so: libwine.so.$libwine_soversion
8601 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8603 install install-lib:: libwine.so.$libwine_version
8604 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8605 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8607 install install-dev::
8608 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8610 uninstall::
8611 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8615 as_fn_append LOADER_RULES "
8616 $wine_binary: main.o
8617 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8619 wine-installed: main.o
8620 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8623 esac
8625 as_fn_append LIBWINE_RULES "
8626 EXTRA_TARGETS = $libwine_targets
8629 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8630 enable_winemac_drv=${enable_winemac_drv:-no}
8632 CROSSTARGET=""
8634 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8635 then
8636 case "$host_cpu" in
8637 i[3456789]86*)
8638 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
8639 mingw32-gcc" ;;
8640 x86_64)
8641 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 " ;;
8643 ac_prefix_list="" ;;
8644 esac
8645 for ac_prog in $ac_prefix_list
8647 # Extract the first word of "$ac_prog", so it can be a program name with args.
8648 set dummy $ac_prog; ac_word=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_prog_CROSSCC+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 if test -n "$CROSSCC"; then
8655 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8656 else
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 for as_dir in $PATH
8660 IFS=$as_save_IFS
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8664 ac_cv_prog_CROSSCC="$ac_prog"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8666 break 2
8668 done
8669 done
8670 IFS=$as_save_IFS
8674 CROSSCC=$ac_cv_prog_CROSSCC
8675 if test -n "$CROSSCC"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8677 $as_echo "$CROSSCC" >&6; }
8678 else
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8684 test -n "$CROSSCC" && break
8685 done
8686 test -n "$CROSSCC" || CROSSCC="false"
8688 if test "$CROSSCC" != "false"
8689 then
8690 ac_save_CC="$CC"
8691 CC="$CROSSCC"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8693 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8698 main ()
8702 return 0;
8704 _ACEOF
8705 if ac_fn_c_try_compile "$LINENO"; then :
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8707 $as_echo "yes" >&6; }
8708 set x $CROSSCC
8709 shift
8710 while test $# -ge 1
8712 case "$1" in
8713 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8714 esac
8715 shift
8716 done
8717 else
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8722 CC="$ac_save_CC"
8727 if test "$ac_cv_header_pthread_h" = "yes"
8728 then
8729 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8730 if test "x$ac_cv_func_pthread_create" = xyes; then :
8732 else
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8734 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8735 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_check_lib_save_LIBS=$LIBS
8739 LIBS="-lpthread $LIBS"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8743 /* Override any GCC internal prototype to avoid an error.
8744 Use char because int might match the return type of a GCC
8745 builtin and then its argument prototype would still apply. */
8746 #ifdef __cplusplus
8747 extern "C"
8748 #endif
8749 char pthread_create ();
8751 main ()
8753 return pthread_create ();
8755 return 0;
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_lib_pthread_pthread_create=yes
8760 else
8761 ac_cv_lib_pthread_pthread_create=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 LIBS=$ac_check_lib_save_LIBS
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8768 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8769 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8770 PTHREAD_LIBS="-lpthread"
8777 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8778 case "x$with_pthread" in
8779 xno) ;;
8780 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8781 Wine cannot support threads without libpthread.
8782 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8783 esac
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8788 $as_echo_n "checking for X... " >&6; }
8791 # Check whether --with-x was given.
8792 if test "${with_x+set}" = set; then :
8793 withval=$with_x;
8796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8797 if test "x$with_x" = xno; then
8798 # The user explicitly disabled X.
8799 have_x=disabled
8800 else
8801 case $x_includes,$x_libraries in #(
8802 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8803 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 # One or both of the vars are not set, and there is no cached value.
8807 ac_x_includes=no ac_x_libraries=no
8808 rm -f -r conftest.dir
8809 if mkdir conftest.dir; then
8810 cd conftest.dir
8811 cat >Imakefile <<'_ACEOF'
8812 incroot:
8813 @echo incroot='${INCROOT}'
8814 usrlibdir:
8815 @echo usrlibdir='${USRLIBDIR}'
8816 libdir:
8817 @echo libdir='${LIBDIR}'
8818 _ACEOF
8819 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8820 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8821 for ac_var in incroot usrlibdir libdir; do
8822 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8823 done
8824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8825 for ac_extension in a so sl dylib la dll; do
8826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8827 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8828 ac_im_usrlibdir=$ac_im_libdir; break
8830 done
8831 # Screen out bogus values from the imake configuration. They are
8832 # bogus both because they are the default anyway, and because
8833 # using them would break gcc on systems where it needs fixed includes.
8834 case $ac_im_incroot in
8835 /usr/include) ac_x_includes= ;;
8836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8837 esac
8838 case $ac_im_usrlibdir in
8839 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8841 esac
8843 cd ..
8844 rm -f -r conftest.dir
8847 # Standard set of common directories for X headers.
8848 # Check X11 before X11Rn because it is often a symlink to the current release.
8849 ac_x_header_dirs='
8850 /usr/X11/include
8851 /usr/X11R7/include
8852 /usr/X11R6/include
8853 /usr/X11R5/include
8854 /usr/X11R4/include
8856 /usr/include/X11
8857 /usr/include/X11R7
8858 /usr/include/X11R6
8859 /usr/include/X11R5
8860 /usr/include/X11R4
8862 /usr/local/X11/include
8863 /usr/local/X11R7/include
8864 /usr/local/X11R6/include
8865 /usr/local/X11R5/include
8866 /usr/local/X11R4/include
8868 /usr/local/include/X11
8869 /usr/local/include/X11R7
8870 /usr/local/include/X11R6
8871 /usr/local/include/X11R5
8872 /usr/local/include/X11R4
8874 /usr/X386/include
8875 /usr/x386/include
8876 /usr/XFree86/include/X11
8878 /usr/include
8879 /usr/local/include
8880 /usr/unsupported/include
8881 /usr/athena/include
8882 /usr/local/x11r5/include
8883 /usr/lpp/Xamples/include
8885 /usr/openwin/include
8886 /usr/openwin/share/include'
8888 if test "$ac_x_includes" = no; then
8889 # Guess where to find include files, by looking for Xlib.h.
8890 # First, try using that file with no special directory specified.
8891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892 /* end confdefs.h. */
8893 #include <X11/Xlib.h>
8894 _ACEOF
8895 if ac_fn_c_try_cpp "$LINENO"; then :
8896 # We can compile using X headers with no special include directory.
8897 ac_x_includes=
8898 else
8899 for ac_dir in $ac_x_header_dirs; do
8900 if test -r "$ac_dir/X11/Xlib.h"; then
8901 ac_x_includes=$ac_dir
8902 break
8904 done
8906 rm -f conftest.err conftest.i conftest.$ac_ext
8907 fi # $ac_x_includes = no
8909 if test "$ac_x_libraries" = no; then
8910 # Check for the libraries.
8911 # See if we find them without any special options.
8912 # Don't add to $LIBS permanently.
8913 ac_save_LIBS=$LIBS
8914 LIBS="-lX11 $LIBS"
8915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8916 /* end confdefs.h. */
8917 #include <X11/Xlib.h>
8919 main ()
8921 XrmInitialize ()
8923 return 0;
8925 _ACEOF
8926 if ac_fn_c_try_link "$LINENO"; then :
8927 LIBS=$ac_save_LIBS
8928 # We can link X programs with no special library path.
8929 ac_x_libraries=
8930 else
8931 LIBS=$ac_save_LIBS
8932 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8934 # Don't even attempt the hair of trying to link an X program!
8935 for ac_extension in a so sl dylib la dll; do
8936 if test -r "$ac_dir/libX11.$ac_extension"; then
8937 ac_x_libraries=$ac_dir
8938 break 2
8940 done
8941 done
8943 rm -f core conftest.err conftest.$ac_objext \
8944 conftest$ac_exeext conftest.$ac_ext
8945 fi # $ac_x_libraries = no
8947 case $ac_x_includes,$ac_x_libraries in #(
8948 no,* | *,no | *\'*)
8949 # Didn't find X, or a directory has "'" in its name.
8950 ac_cv_have_x="have_x=no";; #(
8952 # Record where we found X for the cache.
8953 ac_cv_have_x="have_x=yes\
8954 ac_x_includes='$ac_x_includes'\
8955 ac_x_libraries='$ac_x_libraries'"
8956 esac
8958 ;; #(
8959 *) have_x=yes;;
8960 esac
8961 eval "$ac_cv_have_x"
8962 fi # $with_x != no
8964 if test "$have_x" != yes; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8966 $as_echo "$have_x" >&6; }
8967 no_x=yes
8968 else
8969 # If each of the values was on the command line, it overrides each guess.
8970 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8971 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8972 # Update the cache value to reflect the command line values.
8973 ac_cv_have_x="have_x=yes\
8974 ac_x_includes='$x_includes'\
8975 ac_x_libraries='$x_libraries'"
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8980 if test "$no_x" = yes; then
8981 # Not all programs may use this symbol, but it does not hurt to define it.
8983 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8985 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8986 else
8987 if test -n "$x_includes"; then
8988 X_CFLAGS="$X_CFLAGS -I$x_includes"
8991 # It would also be nice to do this for all -L options, not just this one.
8992 if test -n "$x_libraries"; then
8993 X_LIBS="$X_LIBS -L$x_libraries"
8994 # For Solaris; some versions of Sun CC require a space after -R and
8995 # others require no space. Words are not sufficient . . . .
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8997 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8998 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8999 ac_xsave_c_werror_flag=$ac_c_werror_flag
9000 ac_c_werror_flag=yes
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9005 main ()
9009 return 0;
9011 _ACEOF
9012 if ac_fn_c_try_link "$LINENO"; then :
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9015 X_LIBS="$X_LIBS -R$x_libraries"
9016 else
9017 LIBS="$ac_xsave_LIBS -R $x_libraries"
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9022 main ()
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9031 $as_echo "yes" >&6; }
9032 X_LIBS="$X_LIBS -R $x_libraries"
9033 else
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9035 $as_echo "neither works" >&6; }
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 ac_c_werror_flag=$ac_xsave_c_werror_flag
9043 LIBS=$ac_xsave_LIBS
9046 # Check for system-dependent libraries X programs must link with.
9047 # Do this before checking for the system-independent R6 libraries
9048 # (-lICE), since we may need -lsocket or whatever for X linking.
9050 if test "$ISC" = yes; then
9051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9052 else
9053 # Martyn Johnson says this is needed for Ultrix, if the X
9054 # libraries were built with DECnet support. And Karl Berry says
9055 # the Alpha needs dnet_stub (dnet does not exist).
9056 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9060 /* Override any GCC internal prototype to avoid an error.
9061 Use char because int might match the return type of a GCC
9062 builtin and then its argument prototype would still apply. */
9063 #ifdef __cplusplus
9064 extern "C"
9065 #endif
9066 char XOpenDisplay ();
9068 main ()
9070 return XOpenDisplay ();
9072 return 0;
9074 _ACEOF
9075 if ac_fn_c_try_link "$LINENO"; then :
9077 else
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9079 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9080 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9081 $as_echo_n "(cached) " >&6
9082 else
9083 ac_check_lib_save_LIBS=$LIBS
9084 LIBS="-ldnet $LIBS"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9091 #ifdef __cplusplus
9092 extern "C"
9093 #endif
9094 char dnet_ntoa ();
9096 main ()
9098 return dnet_ntoa ();
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 ac_cv_lib_dnet_dnet_ntoa=yes
9105 else
9106 ac_cv_lib_dnet_dnet_ntoa=no
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 LIBS=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9113 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9114 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9115 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9118 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9120 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9121 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9122 $as_echo_n "(cached) " >&6
9123 else
9124 ac_check_lib_save_LIBS=$LIBS
9125 LIBS="-ldnet_stub $LIBS"
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9129 /* Override any GCC internal prototype to avoid an error.
9130 Use char because int might match the return type of a GCC
9131 builtin and then its argument prototype would still apply. */
9132 #ifdef __cplusplus
9133 extern "C"
9134 #endif
9135 char dnet_ntoa ();
9137 main ()
9139 return dnet_ntoa ();
9141 return 0;
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9146 else
9147 ac_cv_lib_dnet_stub_dnet_ntoa=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 LIBS=$ac_check_lib_save_LIBS
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9154 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9155 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9156 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS="$ac_xsave_LIBS"
9165 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9166 # to get the SysV transport functions.
9167 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9168 # needs -lnsl.
9169 # The nsl library prevents programs from opening the X display
9170 # on Irix 5.2, according to T.E. Dickey.
9171 # The functions gethostbyname, getservbyname, and inet_addr are
9172 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9173 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9174 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9178 if test $ac_cv_func_gethostbyname = no; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9180 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9181 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9182 $as_echo_n "(cached) " >&6
9183 else
9184 ac_check_lib_save_LIBS=$LIBS
9185 LIBS="-lnsl $LIBS"
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9189 /* Override any GCC internal prototype to avoid an error.
9190 Use char because int might match the return type of a GCC
9191 builtin and then its argument prototype would still apply. */
9192 #ifdef __cplusplus
9193 extern "C"
9194 #endif
9195 char gethostbyname ();
9197 main ()
9199 return gethostbyname ();
9201 return 0;
9203 _ACEOF
9204 if ac_fn_c_try_link "$LINENO"; then :
9205 ac_cv_lib_nsl_gethostbyname=yes
9206 else
9207 ac_cv_lib_nsl_gethostbyname=no
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9211 LIBS=$ac_check_lib_save_LIBS
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9214 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9215 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9216 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9219 if test $ac_cv_lib_nsl_gethostbyname = no; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9221 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9222 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_lib_save_LIBS=$LIBS
9226 LIBS="-lbsd $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char gethostbyname ();
9238 main ()
9240 return gethostbyname ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_lib_bsd_gethostbyname=yes
9247 else
9248 ac_cv_lib_bsd_gethostbyname=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9255 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9256 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9263 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9264 # socket/setsockopt and other routines are undefined under SCO ODT
9265 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9266 # on later versions), says Simon Leinen: it contains gethostby*
9267 # variants that don't use the name server (or something). -lsocket
9268 # must be given before -lnsl if both are needed. We assume that
9269 # if connect needs -lnsl, so does gethostbyname.
9270 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9271 if test "x$ac_cv_func_connect" = xyes; then :
9275 if test $ac_cv_func_connect = no; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9277 $as_echo_n "checking for connect in -lsocket... " >&6; }
9278 if ${ac_cv_lib_socket_connect+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_check_lib_save_LIBS=$LIBS
9282 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char connect ();
9294 main ()
9296 return connect ();
9298 return 0;
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 ac_cv_lib_socket_connect=yes
9303 else
9304 ac_cv_lib_socket_connect=no
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 LIBS=$ac_check_lib_save_LIBS
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9311 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9312 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9313 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9318 # Guillermo Gomez says -lposix is necessary on A/UX.
9319 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9320 if test "x$ac_cv_func_remove" = xyes; then :
9324 if test $ac_cv_func_remove = no; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9326 $as_echo_n "checking for remove in -lposix... " >&6; }
9327 if ${ac_cv_lib_posix_remove+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_check_lib_save_LIBS=$LIBS
9331 LIBS="-lposix $LIBS"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9335 /* Override any GCC internal prototype to avoid an error.
9336 Use char because int might match the return type of a GCC
9337 builtin and then its argument prototype would still apply. */
9338 #ifdef __cplusplus
9339 extern "C"
9340 #endif
9341 char remove ();
9343 main ()
9345 return remove ();
9347 return 0;
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_lib_posix_remove=yes
9352 else
9353 ac_cv_lib_posix_remove=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_check_lib_save_LIBS
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9360 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9361 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9367 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9368 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9369 if test "x$ac_cv_func_shmat" = xyes; then :
9373 if test $ac_cv_func_shmat = no; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9375 $as_echo_n "checking for shmat in -lipc... " >&6; }
9376 if ${ac_cv_lib_ipc_shmat+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_check_lib_save_LIBS=$LIBS
9380 LIBS="-lipc $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9387 #ifdef __cplusplus
9388 extern "C"
9389 #endif
9390 char shmat ();
9392 main ()
9394 return shmat ();
9396 return 0;
9398 _ACEOF
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_lib_ipc_shmat=yes
9401 else
9402 ac_cv_lib_ipc_shmat=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_check_lib_save_LIBS
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9409 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9410 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9417 # Check for libraries that X11R6 Xt/Xaw programs need.
9418 ac_save_LDFLAGS=$LDFLAGS
9419 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9420 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9421 # check for ICE first), but we must link in the order -lSM -lICE or
9422 # we get undefined symbols. So assume we have SM if we have ICE.
9423 # These have to be linked with before -lX11, unlike the other
9424 # libraries we check for below, so use a different variable.
9425 # John Interrante, Karl Berry
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9427 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9428 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_check_lib_save_LIBS=$LIBS
9432 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 char IceConnectionNumber ();
9444 main ()
9446 return IceConnectionNumber ();
9448 return 0;
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_lib_ICE_IceConnectionNumber=yes
9453 else
9454 ac_cv_lib_ICE_IceConnectionNumber=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 LIBS=$ac_check_lib_save_LIBS
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9461 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9462 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9463 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9466 LDFLAGS=$ac_save_LDFLAGS
9471 if test "$have_x" = "yes"
9472 then
9473 ac_save_CPPFLAGS="$CPPFLAGS"
9474 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9477 $as_echo_n "checking for -lX11... " >&6; }
9478 if ${ac_cv_lib_soname_X11+:} false; then :
9479 $as_echo_n "(cached) " >&6
9480 else
9481 ac_check_soname_save_LIBS=$LIBS
9482 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char XCreateWindow ();
9494 main ()
9496 return XCreateWindow ();
9498 return 0;
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 case "$LIBEXT" in
9503 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 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'` ;;
9505 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9506 if ${ac_cv_lib_soname_X11:+false} :; then :
9507 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9508 fi ;;
9509 esac
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_soname_save_LIBS
9515 if ${ac_cv_lib_soname_X11:+false} :; then :
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9517 $as_echo "not found" >&6; }
9519 else
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9521 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9523 cat >>confdefs.h <<_ACEOF
9524 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9525 _ACEOF
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9530 $as_echo_n "checking for -lXext... " >&6; }
9531 if ${ac_cv_lib_soname_Xext+:} false; then :
9532 $as_echo_n "(cached) " >&6
9533 else
9534 ac_check_soname_save_LIBS=$LIBS
9535 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9539 /* Override any GCC internal prototype to avoid an error.
9540 Use char because int might match the return type of a GCC
9541 builtin and then its argument prototype would still apply. */
9542 #ifdef __cplusplus
9543 extern "C"
9544 #endif
9545 char XextCreateExtension ();
9547 main ()
9549 return XextCreateExtension ();
9551 return 0;
9553 _ACEOF
9554 if ac_fn_c_try_link "$LINENO"; then :
9555 case "$LIBEXT" in
9556 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9557 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'` ;;
9558 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9559 if ${ac_cv_lib_soname_Xext:+false} :; then :
9560 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9561 fi ;;
9562 esac
9564 rm -f core conftest.err conftest.$ac_objext \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_soname_save_LIBS
9568 if ${ac_cv_lib_soname_Xext:+false} :; then :
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9570 $as_echo "not found" >&6; }
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9574 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9576 cat >>confdefs.h <<_ACEOF
9577 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9578 _ACEOF
9580 X_LIBS="$X_LIBS -lXext"
9582 X_LIBS="$X_LIBS -lX11"
9584 for ac_header in X11/Xlib.h \
9585 X11/XKBlib.h \
9586 X11/Xutil.h \
9587 X11/Xcursor/Xcursor.h \
9588 X11/extensions/shape.h \
9589 X11/extensions/XInput.h \
9590 X11/extensions/XInput2.h \
9591 X11/extensions/XShm.h \
9592 X11/extensions/Xcomposite.h \
9593 X11/extensions/Xinerama.h \
9594 X11/extensions/Xrandr.h \
9595 X11/extensions/Xrender.h \
9596 X11/extensions/xf86vmode.h \
9597 X11/extensions/xf86vmproto.h
9598 do :
9599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9600 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9601 # include <X11/Xlib.h>
9602 #endif
9603 #ifdef HAVE_X11_XUTIL_H
9604 # include <X11/Xutil.h>
9605 #endif
9607 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9608 cat >>confdefs.h <<_ACEOF
9609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9610 _ACEOF
9614 done
9617 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9618 then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9620 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9621 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 ac_check_lib_save_LIBS=$LIBS
9625 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9632 #ifdef __cplusplus
9633 extern "C"
9634 #endif
9635 char XkbQueryExtension ();
9637 main ()
9639 return XkbQueryExtension ();
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9645 ac_cv_lib_X11_XkbQueryExtension=yes
9646 else
9647 ac_cv_lib_X11_XkbQueryExtension=no
9649 rm -f core conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9654 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9655 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9657 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9663 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9664 then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9666 $as_echo_n "checking for -lXcursor... " >&6; }
9667 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_soname_save_LIBS=$LIBS
9671 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char XcursorImageLoadCursor ();
9683 main ()
9685 return XcursorImageLoadCursor ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 case "$LIBEXT" in
9692 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9693 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'` ;;
9694 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9695 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9696 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9697 fi ;;
9698 esac
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_soname_save_LIBS
9704 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9706 $as_echo "not found" >&6; }
9708 else
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9710 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9712 cat >>confdefs.h <<_ACEOF
9713 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9714 _ACEOF
9719 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9720 case "x$with_xcursor" in
9721 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9722 xno) ;;
9723 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9724 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9725 esac
9728 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9729 then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9731 $as_echo_n "checking for -lXi... " >&6; }
9732 if ${ac_cv_lib_soname_Xi+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_check_soname_save_LIBS=$LIBS
9736 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char XOpenDevice ();
9748 main ()
9750 return XOpenDevice ();
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 case "$LIBEXT" in
9757 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_Xi:+false} :; then :
9761 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9762 fi ;;
9763 esac
9765 rm -f core conftest.err conftest.$ac_objext \
9766 conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_Xi:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9773 else
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9775 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9777 cat >>confdefs.h <<_ACEOF
9778 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9779 _ACEOF
9784 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9785 case "x$with_xinput" in
9786 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9787 xno) ;;
9788 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9789 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9790 esac
9793 if test "x$ac_cv_lib_soname_Xi" != x
9794 then
9795 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9796 case "x$with_xinput2" in
9797 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9798 xno) ;;
9799 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9800 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9801 esac
9805 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9806 then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9808 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9809 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_check_lib_save_LIBS=$LIBS
9813 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9820 #ifdef __cplusplus
9821 extern "C"
9822 #endif
9823 char XShmQueryExtension ();
9825 main ()
9827 return XShmQueryExtension ();
9829 return 0;
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_lib_Xext_XShmQueryExtension=yes
9834 else
9835 ac_cv_lib_Xext_XShmQueryExtension=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LIBS=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9842 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9843 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9845 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9850 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9851 case "x$with_xshm" in
9852 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9853 xno) ;;
9854 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9855 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9856 esac
9859 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9860 then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9862 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9863 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_check_lib_save_LIBS=$LIBS
9867 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9874 #ifdef __cplusplus
9875 extern "C"
9876 #endif
9877 char XShapeQueryExtension ();
9879 main ()
9881 return XShapeQueryExtension ();
9883 return 0;
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 ac_cv_lib_Xext_XShapeQueryExtension=yes
9888 else
9889 ac_cv_lib_Xext_XShapeQueryExtension=no
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 LIBS=$ac_check_lib_save_LIBS
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9896 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9897 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9899 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9904 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9905 case "x$with_xshape" in
9906 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9907 xno) ;;
9908 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9909 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9910 esac
9913 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9914 then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9916 $as_echo_n "checking for -lXxf86vm... " >&6; }
9917 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9918 $as_echo_n "(cached) " >&6
9919 else
9920 ac_check_soname_save_LIBS=$LIBS
9921 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9925 /* Override any GCC internal prototype to avoid an error.
9926 Use char because int might match the return type of a GCC
9927 builtin and then its argument prototype would still apply. */
9928 #ifdef __cplusplus
9929 extern "C"
9930 #endif
9931 char XF86VidModeQueryExtension ();
9933 main ()
9935 return XF86VidModeQueryExtension ();
9937 return 0;
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 case "$LIBEXT" in
9942 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9943 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'` ;;
9944 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9945 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9946 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9947 fi ;;
9948 esac
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_soname_save_LIBS
9954 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9956 $as_echo "not found" >&6; }
9958 else
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9960 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9962 cat >>confdefs.h <<_ACEOF
9963 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9964 _ACEOF
9969 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9970 case "x$with_xxf86vm" in
9971 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9972 xno) ;;
9973 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9974 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9975 esac
9978 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9979 then
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9981 $as_echo_n "checking for -lXrender... " >&6; }
9982 if ${ac_cv_lib_soname_Xrender+:} false; then :
9983 $as_echo_n "(cached) " >&6
9984 else
9985 ac_check_soname_save_LIBS=$LIBS
9986 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9993 #ifdef __cplusplus
9994 extern "C"
9995 #endif
9996 char XRenderQueryExtension ();
9998 main ()
10000 return XRenderQueryExtension ();
10002 return 0;
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 case "$LIBEXT" in
10007 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10008 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'` ;;
10009 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10010 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10011 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10012 fi ;;
10013 esac
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 LIBS=$ac_check_soname_save_LIBS
10019 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10021 $as_echo "not found" >&6; }
10023 else
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10025 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10027 cat >>confdefs.h <<_ACEOF
10028 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10029 _ACEOF
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10032 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10033 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_check_lib_save_LIBS=$LIBS
10037 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10044 #ifdef __cplusplus
10045 extern "C"
10046 #endif
10047 char XRenderSetPictureTransform ();
10049 main ()
10051 return XRenderSetPictureTransform ();
10053 return 0;
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10058 else
10059 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10066 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10067 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10069 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10074 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10075 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_check_lib_save_LIBS=$LIBS
10079 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XRenderCreateLinearGradient ();
10091 main ()
10093 return XRenderCreateLinearGradient ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10100 else
10101 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 LIBS=$ac_check_lib_save_LIBS
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10108 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10109 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10111 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10118 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10119 case "x$with_xrender" in
10120 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10121 xno) ;;
10122 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10123 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10124 esac
10127 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10128 then
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10131 #include <X11/Xlib.h>
10132 #include <X11/extensions/Xrandr.h>
10134 main ()
10136 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10138 return 0;
10140 _ACEOF
10141 if ac_fn_c_try_compile "$LINENO"; then :
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10143 $as_echo_n "checking for -lXrandr... " >&6; }
10144 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_check_soname_save_LIBS=$LIBS
10148 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char XRRQueryExtension ();
10160 main ()
10162 return XRRQueryExtension ();
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 case "$LIBEXT" in
10169 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10173 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 fi ;;
10175 esac
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10185 else
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10187 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10191 _ACEOF
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 #include <X11/Xlib.h>
10196 #include <X11/extensions/Xrandr.h>
10198 main ()
10200 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10202 return 0;
10204 _ACEOF
10205 if ac_fn_c_try_compile "$LINENO"; then :
10207 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10215 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10216 case "x$with_xrandr" in
10217 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10218 xno) ;;
10219 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10220 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10221 esac
10224 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10225 then
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 #include <X11/Xlib.h>
10229 #include <X11/extensions/Xinerama.h>
10231 main ()
10233 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10235 return 0;
10237 _ACEOF
10238 if ac_fn_c_try_compile "$LINENO"; then :
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10240 $as_echo_n "checking for -lXinerama... " >&6; }
10241 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char XineramaQueryScreens ();
10257 main ()
10259 return XineramaQueryScreens ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 case "$LIBEXT" in
10266 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10270 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 fi ;;
10272 esac
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10282 else
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10284 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10286 cat >>confdefs.h <<_ACEOF
10287 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10288 _ACEOF
10293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10295 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10296 case "x$with_xinerama" in
10297 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10298 xno) ;;
10299 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10300 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10301 esac
10304 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10305 then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10307 $as_echo_n "checking for -lXcomposite... " >&6; }
10308 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char XCompositeRedirectWindow ();
10324 main ()
10326 return XCompositeRedirectWindow ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10337 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10351 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10355 _ACEOF
10360 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10361 case "x$with_xcomposite" in
10362 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10363 xno) ;;
10364 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10365 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10366 esac
10369 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10370 #include <X11/Xlib.h>
10371 #endif
10373 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10375 cat >>confdefs.h <<_ACEOF
10376 #define HAVE_XICCALLBACK_CALLBACK 1
10377 _ACEOF
10381 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10382 #include <X11/Xlib.h>
10383 #endif
10385 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10387 cat >>confdefs.h <<_ACEOF
10388 #define HAVE_XEVENT_XCOOKIE 1
10389 _ACEOF
10396 opengl_msg=""
10397 if test "x$with_opengl" != "xno"
10398 then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10400 $as_echo_n "checking for -lGL... " >&6; }
10401 if ${ac_cv_lib_soname_GL+:} false; then :
10402 $as_echo_n "(cached) " >&6
10403 else
10404 ac_check_soname_save_LIBS=$LIBS
10405 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10412 #ifdef __cplusplus
10413 extern "C"
10414 #endif
10415 char glXCreateContext ();
10417 main ()
10419 return glXCreateContext ();
10421 return 0;
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 case "$LIBEXT" in
10426 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10427 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10428 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10429 if ${ac_cv_lib_soname_GL:+false} :; then :
10430 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10431 fi ;;
10432 esac
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_soname_save_LIBS
10438 if ${ac_cv_lib_soname_GL:+false} :; then :
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10440 $as_echo "not found" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10442 $as_echo_n "checking for -lGL... " >&6; }
10443 if ${ac_cv_lib_soname_GL+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_check_soname_save_LIBS=$LIBS
10447 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"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char glXCreateContext ();
10459 main ()
10461 return glXCreateContext ();
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467 case "$LIBEXT" in
10468 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10469 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'` ;;
10470 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10471 if ${ac_cv_lib_soname_GL:+false} :; then :
10472 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10473 fi ;;
10474 esac
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 LIBS=$ac_check_soname_save_LIBS
10480 if ${ac_cv_lib_soname_GL:+false} :; then :
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10482 $as_echo "not found" >&6; }
10483 if test -f /usr/X11R6/lib/libGL.a
10484 then
10485 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10486 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10487 else
10488 opengl_msg="No OpenGL library found on this system."
10490 else
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10492 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10494 cat >>confdefs.h <<_ACEOF
10495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10496 _ACEOF
10498 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"
10500 else
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10502 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10504 cat >>confdefs.h <<_ACEOF
10505 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10506 _ACEOF
10508 OPENGL_LIBS="-lGL"
10510 if test "x$with_glu" != "xno"
10511 then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10513 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10514 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_lib_save_LIBS=$LIBS
10518 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char gluLookAt ();
10530 main ()
10532 return gluLookAt ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_lib_GLU_gluLookAt=yes
10539 else
10540 ac_cv_lib_GLU_gluLookAt=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10547 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10548 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10552 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10553 case "x$with_glu" in
10554 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10555 xno) ;;
10556 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10557 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10558 esac
10562 if test "x$with_osmesa" != "xno"
10563 then
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10565 $as_echo_n "checking for -lOSMesa... " >&6; }
10566 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_check_soname_save_LIBS=$LIBS
10570 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10574 /* Override any GCC internal prototype to avoid an error.
10575 Use char because int might match the return type of a GCC
10576 builtin and then its argument prototype would still apply. */
10577 #ifdef __cplusplus
10578 extern "C"
10579 #endif
10580 char glAccum ();
10582 main ()
10584 return glAccum ();
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_link "$LINENO"; then :
10590 case "$LIBEXT" in
10591 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10592 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'` ;;
10593 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10594 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10595 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10596 fi ;;
10597 esac
10599 rm -f core conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_soname_save_LIBS
10603 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10607 else
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10609 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10611 cat >>confdefs.h <<_ACEOF
10612 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10613 _ACEOF
10617 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10618 case "x$with_osmesa" in
10619 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10620 xno) ;;
10621 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10622 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10623 esac
10627 if test -n "$opengl_msg"; then :
10628 case "x$with_opengl" in
10629 x) as_fn_append wine_warnings "|$opengl_msg
10630 OpenGL and Direct3D won't be supported." ;;
10631 xno) ;;
10632 *) as_fn_error $? "$opengl_msg
10633 OpenGL and Direct3D won't be supported.
10634 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10635 esac
10638 CPPFLAGS="$ac_save_CPPFLAGS"
10639 else
10640 X_CFLAGS=""
10641 X_LIBS=""
10642 enable_winex11_drv=${enable_winex11_drv:-no}
10644 if test "x$X_LIBS" = "x"; then :
10645 case "x$with_x" in
10646 xno) ;;
10647 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10648 without X support, which probably isn't what you want. You will need
10649 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10650 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10651 esac
10654 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10656 if test "$ac_cv_header_CL_cl_h" = "yes"
10657 then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10659 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10660 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_lib_save_LIBS=$LIBS
10664 LIBS="-lOpenCL $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char clGetPlatformInfo ();
10676 main ()
10678 return clGetPlatformInfo ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10685 else
10686 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10693 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10695 OPENCL_LIBS="-lOpenCL"
10700 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10701 case "x$with_opencl" in
10702 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10703 xno) ;;
10704 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10705 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10706 esac
10708 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10710 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10711 then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10713 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10714 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10715 $as_echo_n "(cached) " >&6
10716 else
10717 ac_check_lib_save_LIBS=$LIBS
10718 LIBS="-lpcap $LIBS"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10725 #ifdef __cplusplus
10726 extern "C"
10727 #endif
10728 char pcap_create ();
10730 main ()
10732 return pcap_create ();
10734 return 0;
10736 _ACEOF
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 ac_cv_lib_pcap_pcap_create=yes
10739 else
10740 ac_cv_lib_pcap_pcap_create=no
10742 rm -f core conftest.err conftest.$ac_objext \
10743 conftest$ac_exeext conftest.$ac_ext
10744 LIBS=$ac_check_lib_save_LIBS
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10747 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10748 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10749 LIBPCAP="-lpcap"
10754 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10755 case "x$with_pcap" in
10756 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10757 xno) ;;
10758 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10759 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10760 esac
10762 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10765 if test "x$with_xml" != "xno"
10766 then
10767 if ${XML2_CFLAGS:+false} :; then :
10768 if ${PKG_CONFIG+:} false; then :
10769 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10772 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10773 if ${XML2_LIBS:+false} :; then :
10774 if ${PKG_CONFIG+:} false; then :
10775 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10778 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10779 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10780 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10781 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10782 ac_save_CPPFLAGS=$CPPFLAGS
10783 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10784 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10785 do :
10786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10787 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10789 cat >>confdefs.h <<_ACEOF
10790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10791 _ACEOF
10795 done
10797 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"
10798 then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10800 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10801 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lxml2 $XML2_LIBS $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char xmlParseMemory ();
10817 main ()
10819 return xmlParseMemory ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 ac_cv_lib_xml2_xmlParseMemory=yes
10826 else
10827 ac_cv_lib_xml2_xmlParseMemory=no
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10834 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10835 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10837 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10839 else
10840 XML2_LIBS=""
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10844 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10845 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lxml2 $XML2_LIBS $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char xmlReadMemory ();
10861 main ()
10863 return xmlReadMemory ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_xml2_xmlReadMemory=yes
10870 else
10871 ac_cv_lib_xml2_xmlReadMemory=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10878 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10879 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10881 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10886 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10887 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10888 $as_echo_n "(cached) " >&6
10889 else
10890 ac_check_lib_save_LIBS=$LIBS
10891 LIBS="-lxml2 $XML2_LIBS $LIBS"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10895 /* Override any GCC internal prototype to avoid an error.
10896 Use char because int might match the return type of a GCC
10897 builtin and then its argument prototype would still apply. */
10898 #ifdef __cplusplus
10899 extern "C"
10900 #endif
10901 char xmlNewDocPI ();
10903 main ()
10905 return xmlNewDocPI ();
10907 return 0;
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"; then :
10911 ac_cv_lib_xml2_xmlNewDocPI=yes
10912 else
10913 ac_cv_lib_xml2_xmlNewDocPI=no
10915 rm -f core conftest.err conftest.$ac_objext \
10916 conftest$ac_exeext conftest.$ac_ext
10917 LIBS=$ac_check_lib_save_LIBS
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10920 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10921 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10923 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10928 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10929 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10930 $as_echo_n "(cached) " >&6
10931 else
10932 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lxml2 $XML2_LIBS $LIBS"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char xmlSchemaSetParserStructuredErrors ();
10945 main ()
10947 return xmlSchemaSetParserStructuredErrors ();
10949 return 0;
10951 _ACEOF
10952 if ac_fn_c_try_link "$LINENO"; then :
10953 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10954 else
10955 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10957 rm -f core conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 LIBS=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10962 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10963 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10965 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10970 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char xmlSchemaSetValidStructuredErrors ();
10987 main ()
10989 return xmlSchemaSetValidStructuredErrors ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10996 else
10997 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11007 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11012 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11013 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11014 $as_echo_n "(cached) " >&6
11015 else
11016 ac_check_lib_save_LIBS=$LIBS
11017 LIBS="-lxml2 $XML2_LIBS $LIBS"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11024 #ifdef __cplusplus
11025 extern "C"
11026 #endif
11027 char xmlFirstElementChild ();
11029 main ()
11031 return xmlFirstElementChild ();
11033 return 0;
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"; then :
11037 ac_cv_lib_xml2_xmlFirstElementChild=yes
11038 else
11039 ac_cv_lib_xml2_xmlFirstElementChild=no
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 LIBS=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11046 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11047 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11049 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11053 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11055 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11057 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11061 else
11062 XML2_CFLAGS=""
11063 XML2_LIBS=""
11065 CPPFLAGS=$ac_save_CPPFLAGS
11066 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11067 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11070 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11071 case "x$with_xml" in
11072 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11073 xno) ;;
11074 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11075 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11076 esac
11079 if test "x$with_xslt" != "xno"
11080 then
11081 if ${XSLT_CFLAGS:+false} :; then :
11082 if ${PKG_CONFIG+:} false; then :
11083 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11086 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11087 if ${XSLT_LIBS:+false} :; then :
11088 if ${PKG_CONFIG+:} false; then :
11089 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11092 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11093 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11094 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11095 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11096 ac_save_CPPFLAGS=$CPPFLAGS
11097 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11098 for ac_header in libxslt/pattern.h libxslt/transform.h
11099 do :
11100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11102 # include <libxslt/pattern.h>
11103 #endif
11105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11106 cat >>confdefs.h <<_ACEOF
11107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11108 _ACEOF
11112 done
11114 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11115 then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11117 $as_echo_n "checking for -lxslt... " >&6; }
11118 if ${ac_cv_lib_soname_xslt+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 ac_check_soname_save_LIBS=$LIBS
11122 LIBS="-lxslt $XSLT_LIBS $LIBS"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char xsltCompilePattern ();
11134 main ()
11136 return xsltCompilePattern ();
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 case "$LIBEXT" in
11143 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11144 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'` ;;
11145 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11146 if ${ac_cv_lib_soname_xslt:+false} :; then :
11147 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11148 fi ;;
11149 esac
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_soname_save_LIBS
11155 if ${ac_cv_lib_soname_xslt:+false} :; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11159 else
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11161 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11163 cat >>confdefs.h <<_ACEOF
11164 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11165 _ACEOF
11169 else
11170 XSLT_CFLAGS=""
11172 CPPFLAGS=$ac_save_CPPFLAGS
11173 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11174 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11177 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11178 case "x$with_xslt" in
11179 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11180 xno) ;;
11181 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11182 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11183 esac
11186 if test "x$with_dbus" != "xno"
11187 then
11188 if ${DBUS_CFLAGS:+false} :; then :
11189 if ${PKG_CONFIG+:} false; then :
11190 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11194 if ${DBUS_LIBS:+false} :; then :
11195 if ${PKG_CONFIG+:} false; then :
11196 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11201 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11202 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11203 ac_save_CPPFLAGS=$CPPFLAGS
11204 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11205 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11206 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11208 $as_echo_n "checking for -ldbus-1... " >&6; }
11209 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_soname_save_LIBS=$LIBS
11213 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char dbus_connection_close ();
11225 main ()
11227 return dbus_connection_close ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 case "$LIBEXT" in
11234 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11235 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'` ;;
11236 *) 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'`
11237 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11238 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11239 fi ;;
11240 esac
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_soname_save_LIBS
11246 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11248 $as_echo "not found" >&6; }
11249 DBUS_CFLAGS=""
11250 else
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11252 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11254 cat >>confdefs.h <<_ACEOF
11255 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11256 _ACEOF
11260 else
11261 DBUS_CFLAGS=""
11265 CPPFLAGS=$ac_save_CPPFLAGS
11266 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11267 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11270 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11271 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11272 case "x$with_dbus" in
11273 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11274 xno) ;;
11275 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11276 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11277 esac
11280 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11281 then
11282 if ${HAL_CFLAGS:+false} :; then :
11283 if ${PKG_CONFIG+:} false; then :
11284 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11288 if ${HAL_LIBS:+false} :; then :
11289 if ${PKG_CONFIG+:} false; then :
11290 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11294 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11295 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11296 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11297 ac_save_CPPFLAGS=$CPPFLAGS
11298 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11299 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11300 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11302 $as_echo_n "checking for -lhal... " >&6; }
11303 if ${ac_cv_lib_soname_hal+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_soname_save_LIBS=$LIBS
11307 LIBS="-lhal $HAL_LIBS $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char libhal_ctx_new ();
11319 main ()
11321 return libhal_ctx_new ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 case "$LIBEXT" in
11328 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11329 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'` ;;
11330 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11331 if ${ac_cv_lib_soname_hal:+false} :; then :
11332 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11333 fi ;;
11334 esac
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_soname_save_LIBS
11340 if ${ac_cv_lib_soname_hal:+false} :; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11342 $as_echo "not found" >&6; }
11343 HAL_CFLAGS=""
11344 else
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11346 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11348 cat >>confdefs.h <<_ACEOF
11349 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11350 _ACEOF
11354 else
11355 HAL_CFLAGS=""
11359 CPPFLAGS=$ac_save_CPPFLAGS
11360 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11361 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11363 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11364 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11365 case "x$with_hal" in
11366 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11367 xno) ;;
11368 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11369 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11370 esac
11374 if test "x$with_gnutls" != "xno"
11375 then
11376 if ${GNUTLS_CFLAGS:+false} :; then :
11377 if ${PKG_CONFIG+:} false; then :
11378 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11382 if ${GNUTLS_LIBS:+false} :; then :
11383 if ${PKG_CONFIG+:} false; then :
11384 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11389 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11390 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11391 ac_save_CPPFLAGS=$CPPFLAGS
11392 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11393 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11394 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397 #include <gnutls/gnutls.h>
11398 #include <gnutls/crypto.h>
11400 main ()
11402 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_compile "$LINENO"; then :
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11409 $as_echo_n "checking for -lgnutls... " >&6; }
11410 if ${ac_cv_lib_soname_gnutls+:} false; then :
11411 $as_echo_n "(cached) " >&6
11412 else
11413 ac_check_soname_save_LIBS=$LIBS
11414 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11421 #ifdef __cplusplus
11422 extern "C"
11423 #endif
11424 char gnutls_global_init ();
11426 main ()
11428 return gnutls_global_init ();
11430 return 0;
11432 _ACEOF
11433 if ac_fn_c_try_link "$LINENO"; then :
11434 case "$LIBEXT" in
11435 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11436 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'` ;;
11437 *) 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'`
11438 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11439 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'`
11440 fi ;;
11441 esac
11443 rm -f core conftest.err conftest.$ac_objext \
11444 conftest$ac_exeext conftest.$ac_ext
11445 LIBS=$ac_check_soname_save_LIBS
11447 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11449 $as_echo "not found" >&6; }
11450 GNUTLS_CFLAGS=""
11451 else
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11453 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11455 cat >>confdefs.h <<_ACEOF
11456 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11457 _ACEOF
11462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11463 else
11464 GNUTLS_CFLAGS=""
11468 CPPFLAGS=$ac_save_CPPFLAGS
11469 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11470 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11473 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11474 case "x$with_gnutls" in
11475 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11476 xno) ;;
11477 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11478 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11479 esac
11482 CURSES_LIBS=""
11483 if test "$ac_cv_header_ncurses_h" = "yes"
11484 then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11486 $as_echo_n "checking for -lncurses... " >&6; }
11487 if ${ac_cv_lib_soname_ncurses+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_soname_save_LIBS=$LIBS
11491 LIBS="-lncurses $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char waddch ();
11503 main ()
11505 return waddch ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 case "$LIBEXT" in
11512 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11513 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'` ;;
11514 *) 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'`
11515 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11516 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11517 fi ;;
11518 esac
11520 rm -f core conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_soname_save_LIBS
11524 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11526 $as_echo "not found" >&6; }
11528 else
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11530 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11532 cat >>confdefs.h <<_ACEOF
11533 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11534 _ACEOF
11536 CURSES_LIBS="-lncurses"
11538 elif test "$ac_cv_header_curses_h" = "yes"
11539 then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11541 $as_echo_n "checking for -lcurses... " >&6; }
11542 if ${ac_cv_lib_soname_curses+:} false; then :
11543 $as_echo_n "(cached) " >&6
11544 else
11545 ac_check_soname_save_LIBS=$LIBS
11546 LIBS="-lcurses $LIBS"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11553 #ifdef __cplusplus
11554 extern "C"
11555 #endif
11556 char waddch ();
11558 main ()
11560 return waddch ();
11562 return 0;
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"; then :
11566 case "$LIBEXT" in
11567 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11568 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'` ;;
11569 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11570 if ${ac_cv_lib_soname_curses:+false} :; then :
11571 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11572 fi ;;
11573 esac
11575 rm -f core conftest.err conftest.$ac_objext \
11576 conftest$ac_exeext conftest.$ac_ext
11577 LIBS=$ac_check_soname_save_LIBS
11579 if ${ac_cv_lib_soname_curses:+false} :; then :
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11581 $as_echo "not found" >&6; }
11583 else
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11585 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11587 cat >>confdefs.h <<_ACEOF
11588 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11589 _ACEOF
11591 CURSES_LIBS="-lcurses"
11594 ac_save_LIBS="$LIBS"
11595 LIBS="$LIBS $CURSES_LIBS"
11596 for ac_func in mousemask
11597 do :
11598 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11599 if test "x$ac_cv_func_mousemask" = xyes; then :
11600 cat >>confdefs.h <<_ACEOF
11601 #define HAVE_MOUSEMASK 1
11602 _ACEOF
11605 done
11607 LIBS="$ac_save_LIBS"
11608 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11609 case "x$with_curses" in
11610 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11611 xno) ;;
11612 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11613 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11614 esac
11617 if test "x$with_sane" != "xno"
11618 then
11619 if ${SANE_CFLAGS:+false} :; then :
11620 if ${PKG_CONFIG+:} false; then :
11621 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11624 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11625 if ${SANE_LIBS:+false} :; then :
11626 if ${PKG_CONFIG+:} false; then :
11627 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11630 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11632 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11633 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11634 ac_save_CPPFLAGS=$CPPFLAGS
11635 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11636 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11637 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11639 $as_echo_n "checking for -lsane... " >&6; }
11640 if ${ac_cv_lib_soname_sane+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_soname_save_LIBS=$LIBS
11644 LIBS="-lsane $SANE_LIBS $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char sane_init ();
11656 main ()
11658 return sane_init ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 case "$LIBEXT" in
11665 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11668 if ${ac_cv_lib_soname_sane:+false} :; then :
11669 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 fi ;;
11671 esac
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_sane:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11680 SANE_CFLAGS=""
11681 else
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11683 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11685 cat >>confdefs.h <<_ACEOF
11686 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11687 _ACEOF
11691 else
11692 SANE_CFLAGS=""
11696 CPPFLAGS=$ac_save_CPPFLAGS
11697 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11698 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11701 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11702 case "x$with_sane" in
11703 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11704 xno) ;;
11705 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11706 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11707 esac
11710 if test "x$with_v4l" != "xno"
11711 then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11713 $as_echo_n "checking for -lv4l1... " >&6; }
11714 if ${ac_cv_lib_soname_v4l1+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_soname_save_LIBS=$LIBS
11718 LIBS="-lv4l1 $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char v4l1_open ();
11730 main ()
11732 return v4l1_open ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 case "$LIBEXT" in
11739 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11742 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11743 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11744 fi ;;
11745 esac
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11757 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11759 cat >>confdefs.h <<_ACEOF
11760 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11761 _ACEOF
11766 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11767 case "x$with_v4l" in
11768 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11769 xno) ;;
11770 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11771 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11772 esac
11775 if test "x$with_gphoto" != "xno"
11776 then
11777 if ${GPHOTO2_CFLAGS:+false} :; then :
11778 if ${PKG_CONFIG+:} false; then :
11779 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11782 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11783 if ${GPHOTO2_LIBS:+false} :; then :
11784 if ${PKG_CONFIG+:} false; then :
11785 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11788 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11789 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11790 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11791 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11792 ac_save_CPPFLAGS=$CPPFLAGS
11793 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11794 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11795 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11797 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11798 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char gp_camera_new ();
11814 main ()
11816 return gp_camera_new ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_gphoto2_gp_camera_new=yes
11823 else
11824 ac_cv_lib_gphoto2_gp_camera_new=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11831 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11832 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11834 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11836 else
11837 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11840 else
11841 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11845 CPPFLAGS=$ac_save_CPPFLAGS
11846 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11847 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11849 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11850 if ${PKG_CONFIG+:} false; then :
11851 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11854 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11855 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11856 if ${PKG_CONFIG+:} false; then :
11857 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11860 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11861 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11863 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11864 ac_save_CPPFLAGS=$CPPFLAGS
11865 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11866 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11867 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11869 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11870 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char gp_port_info_list_new ();
11886 main ()
11888 return gp_port_info_list_new ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11895 else
11896 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11903 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11904 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11906 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11908 else
11909 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11912 else
11913 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11917 CPPFLAGS=$ac_save_CPPFLAGS
11918 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11919 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11922 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11923 case "x$with_gphoto" in
11924 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11925 xno) ;;
11926 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11927 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11928 esac
11930 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11931 case "x$with_gphoto" in
11932 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11933 xno) ;;
11934 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11935 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11936 esac
11940 if test "$ac_cv_header_resolv_h" = "yes"
11941 then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11943 $as_echo_n "checking for resolver library... " >&6; }
11944 if ${ac_cv_have_resolv+:} false; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 ac_save_LIBS="$LIBS"
11948 for lib in '' -lresolv
11950 LIBS="$lib $ac_save_LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11953 #ifdef HAVE_NETINET_IN_H
11954 #include <netinet/in.h>
11955 #endif
11956 #include <resolv.h>
11958 main ()
11960 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11962 return 0;
11964 _ACEOF
11965 if ac_fn_c_try_link "$LINENO"; then :
11966 ac_cv_have_resolv=${lib:-"none required"}
11967 else
11968 ac_cv_have_resolv="not found"
11970 rm -f core conftest.err conftest.$ac_objext \
11971 conftest$ac_exeext conftest.$ac_ext
11972 test "x$ac_cv_have_resolv" = "xnot found" || break
11973 done
11974 LIBS="$ac_save_LIBS"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11977 $as_echo "$ac_cv_have_resolv" >&6; }
11979 case "$ac_cv_have_resolv" in
11980 "not found") ;;
11981 "none required")
11983 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11986 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11988 RESOLV_LIBS=$ac_cv_have_resolv
11990 esac
11993 if test "x$with_cms" != "xno"
11994 then
11995 if ${LCMS2_CFLAGS:+false} :; then :
11996 if ${PKG_CONFIG+:} false; then :
11997 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12001 if ${LCMS2_LIBS:+false} :; then :
12002 if ${PKG_CONFIG+:} false; then :
12003 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12007 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12008 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12010 ac_save_CPPFLAGS=$CPPFLAGS
12011 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12012 for ac_header in lcms2.h
12013 do :
12014 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12015 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12016 cat >>confdefs.h <<_ACEOF
12017 #define HAVE_LCMS2_H 1
12018 _ACEOF
12022 done
12024 if test "$ac_cv_header_lcms2_h" = "yes"
12025 then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12027 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12028 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_lib_save_LIBS=$LIBS
12032 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char cmsOpenProfileFromFile ();
12044 main ()
12046 return cmsOpenProfileFromFile ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12053 else
12054 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12061 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12062 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12064 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12066 else
12067 LCMS2_LIBS=""
12070 else
12071 LCMS2_CFLAGS=""
12072 LCMS2_LIBS=""
12074 CPPFLAGS=$ac_save_CPPFLAGS
12075 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12076 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12079 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12080 case "x$with_cms" in
12081 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12082 xno) ;;
12083 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12084 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12085 esac
12088 if test "x$with_freetype" != "xno"
12089 then
12090 if ${FREETYPE_CFLAGS:+false} :; then :
12091 if ${PKG_CONFIG+:} false; then :
12092 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12095 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12096 if ${FREETYPE_LIBS:+false} :; then :
12097 if ${PKG_CONFIG+:} false; then :
12098 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12101 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12102 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12103 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12104 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12105 ac_save_CPPFLAGS=$CPPFLAGS
12106 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12107 for ac_header in ft2build.h
12108 do :
12109 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12110 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12111 cat >>confdefs.h <<_ACEOF
12112 #define HAVE_FT2BUILD_H 1
12113 _ACEOF
12117 done
12119 if test "$ac_cv_header_ft2build_h" = "yes"
12120 then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12122 $as_echo_n "checking for -lfreetype... " >&6; }
12123 if ${ac_cv_lib_soname_freetype+:} false; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 ac_check_soname_save_LIBS=$LIBS
12127 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12134 #ifdef __cplusplus
12135 extern "C"
12136 #endif
12137 char FT_Init_FreeType ();
12139 main ()
12141 return FT_Init_FreeType ();
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_link "$LINENO"; then :
12147 case "$LIBEXT" in
12148 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12149 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'` ;;
12150 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12151 if ${ac_cv_lib_soname_freetype:+false} :; then :
12152 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12153 fi ;;
12154 esac
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_soname_save_LIBS
12160 if ${ac_cv_lib_soname_freetype:+false} :; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12162 $as_echo "not found" >&6; }
12163 FREETYPE_LIBS=""
12164 else
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12166 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12168 cat >>confdefs.h <<_ACEOF
12169 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12170 _ACEOF
12173 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12175 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12176 #include FT_MODULE_H
12178 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12180 cat >>confdefs.h <<_ACEOF
12181 #define HAVE_FT_TRUETYPEENGINETYPE 1
12182 _ACEOF
12188 else
12189 FREETYPE_CFLAGS=""
12190 FREETYPE_LIBS=""
12192 CPPFLAGS=$ac_save_CPPFLAGS
12193 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12194 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12197 if test "x$ac_cv_lib_soname_freetype" = x; then :
12198 case "x$with_freetype" in
12199 xno) ;;
12200 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12201 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12202 esac
12204 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12207 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12208 if ${ac_cv_c_ppdev+:} false; then :
12209 $as_echo_n "(cached) " >&6
12210 else
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #ifdef HAVE_SYS_IOCTL_H
12214 # include <sys/ioctl.h>
12215 #endif
12216 #include <linux/ppdev.h>
12218 main ()
12220 ioctl (1,PPCLAIM,0)
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_compile "$LINENO"; then :
12226 ac_cv_c_ppdev="yes"
12227 else
12228 ac_cv_c_ppdev="no"
12230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12233 $as_echo "$ac_cv_c_ppdev" >&6; }
12234 if test "$ac_cv_c_ppdev" = "yes"
12235 then
12237 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12241 ac_wine_check_funcs_save_LIBS="$LIBS"
12242 LIBS="$LIBS $PTHREAD_LIBS"
12243 for ac_func in \
12244 pthread_attr_get_np \
12245 pthread_getattr_np \
12246 pthread_getthreadid_np \
12247 pthread_get_stackaddr_np \
12248 pthread_get_stacksize_np
12249 do :
12250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12253 cat >>confdefs.h <<_ACEOF
12254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12255 _ACEOF
12258 done
12260 LIBS="$ac_wine_check_funcs_save_LIBS"
12262 if test "$ac_cv_header_zlib_h" = "yes"
12263 then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12265 $as_echo_n "checking for inflate in -lz... " >&6; }
12266 if ${ac_cv_lib_z_inflate+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_lib_save_LIBS=$LIBS
12270 LIBS="-lz $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char inflate ();
12282 main ()
12284 return inflate ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_lib_z_inflate=yes
12291 else
12292 ac_cv_lib_z_inflate=no
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12299 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12300 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12302 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12304 Z_LIBS="-lz"
12309 if test "x$Z_LIBS" = "x"; then :
12310 case "x$with_zlib" in
12311 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12312 xno) ;;
12313 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12314 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12315 esac
12318 if test "x$enable_tools" != xno
12319 then
12320 if test "$ac_cv_header_gettext_po_h" = "yes"
12321 then
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12323 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12324 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 ac_check_lib_save_LIBS=$LIBS
12328 LIBS="-lgettextpo $LIBS"
12329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12335 #ifdef __cplusplus
12336 extern "C"
12337 #endif
12338 char po_message_msgctxt ();
12340 main ()
12342 return po_message_msgctxt ();
12344 return 0;
12346 _ACEOF
12347 if ac_fn_c_try_link "$LINENO"; then :
12348 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12349 else
12350 ac_cv_lib_gettextpo_po_message_msgctxt=no
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_lib_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12357 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12358 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12360 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12362 GETTEXTPO_LIBS="-lgettextpo"
12367 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12368 case "x$with_gettextpo" in
12369 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12370 xno) ;;
12371 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12372 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12373 esac
12377 if test "x$with_gstreamer" != "xno"
12378 then
12379 if ${GSTREAMER_CFLAGS:+false} :; then :
12380 if ${PKG_CONFIG+:} false; then :
12381 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12385 if ${GSTREAMER_LIBS:+false} :; then :
12386 if ${PKG_CONFIG+:} false; then :
12387 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12392 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12393 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12394 ac_save_CPPFLAGS=$CPPFLAGS
12395 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12396 ac_gst_incl=""
12397 for i in $GSTREAMER_CFLAGS
12399 case "$i" in
12400 -I*) ac_gst_incl="$ac_gst_incl $i";;
12401 esac
12402 done
12403 GSTREAMER_CFLAGS=$ac_gst_incl
12404 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12405 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12406 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12407 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12408 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12410 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12413 #include <gst/app/gstappsink.h>
12415 main ()
12417 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_compile "$LINENO"; then :
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12424 $as_echo "yes" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12426 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12427 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12428 $as_echo_n "(cached) " >&6
12429 else
12430 ac_check_lib_save_LIBS=$LIBS
12431 LIBS="-lgstreamer-0.10 $LIBS"
12432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char gst_pad_get_caps_reffed ();
12443 main ()
12445 return gst_pad_get_caps_reffed ();
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_link "$LINENO"; then :
12451 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12452 else
12453 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457 LIBS=$ac_check_lib_save_LIBS
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12460 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12461 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12463 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12464 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12465 $as_echo_n "(cached) " >&6
12466 else
12467 ac_check_lib_save_LIBS=$LIBS
12468 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12475 #ifdef __cplusplus
12476 extern "C"
12477 #endif
12478 char gst_app_buffer_new ();
12480 main ()
12482 return gst_app_buffer_new ();
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_link "$LINENO"; then :
12488 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12489 else
12490 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12492 rm -f core conftest.err conftest.$ac_objext \
12493 conftest$ac_exeext conftest.$ac_ext
12494 LIBS=$ac_check_lib_save_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12497 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12498 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12504 else
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12512 else
12513 GSTREAMER_CFLAGS=""
12517 CPPFLAGS=$ac_save_CPPFLAGS
12518 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12519 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12522 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12523 case "x$with_gstreamer" in
12524 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12525 xno) ;;
12526 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12527 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12528 esac
12530 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12532 ALSA_LIBS=""
12534 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12535 then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12537 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12538 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12539 $as_echo_n "(cached) " >&6
12540 else
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lasound $LIBS"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 /* Override any GCC internal prototype to avoid an error.
12547 Use char because int might match the return type of a GCC
12548 builtin and then its argument prototype would still apply. */
12549 #ifdef __cplusplus
12550 extern "C"
12551 #endif
12552 char snd_pcm_hw_params_get_access_mask ();
12554 main ()
12556 return snd_pcm_hw_params_get_access_mask ();
12558 return 0;
12560 _ACEOF
12561 if ac_fn_c_try_link "$LINENO"; then :
12562 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12563 else
12564 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 LIBS=$ac_check_lib_save_LIBS
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12571 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12572 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12575 #ifdef HAVE_ALSA_ASOUNDLIB_H
12576 #include <alsa/asoundlib.h>
12577 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12578 #include <sys/asoundlib.h>
12579 #endif
12581 main ()
12583 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_compile "$LINENO"; then :
12589 ALSA_LIBS="-lasound"
12591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12596 if test "x$with_oss" != xno
12597 then
12598 ac_save_CPPFLAGS="$CPPFLAGS"
12599 if test -f /etc/oss.conf
12600 then
12601 . /etc/oss.conf
12603 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12604 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12605 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12607 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12609 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12611 cat >>confdefs.h <<_ACEOF
12612 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12613 _ACEOF
12615 OSS4_CFLAGS="$ac_oss_incl"
12622 CPPFLAGS="$ac_save_CPPFLAGS"
12623 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12624 then
12625 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12629 if test "x$with_capi" != "xno"
12630 then
12631 if ${CAPI20_CFLAGS:+false} :; then :
12632 if ${PKG_CONFIG+:} false; then :
12633 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12637 if ${CAPI20_LIBS:+false} :; then :
12638 if ${PKG_CONFIG+:} false; then :
12639 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12644 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12645 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12646 ac_save_CPPFLAGS=$CPPFLAGS
12647 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12648 for ac_header in capi20.h linux/capi.h
12649 do :
12650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12654 cat >>confdefs.h <<_ACEOF
12655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12656 _ACEOF
12660 done
12662 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12663 then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12665 $as_echo_n "checking for -lcapi20... " >&6; }
12666 if ${ac_cv_lib_soname_capi20+:} false; then :
12667 $as_echo_n "(cached) " >&6
12668 else
12669 ac_check_soname_save_LIBS=$LIBS
12670 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12677 #ifdef __cplusplus
12678 extern "C"
12679 #endif
12680 char capi20_register ();
12682 main ()
12684 return capi20_register ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"; then :
12690 case "$LIBEXT" in
12691 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12692 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'` ;;
12693 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12694 if ${ac_cv_lib_soname_capi20:+false} :; then :
12695 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12696 fi ;;
12697 esac
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_soname_save_LIBS
12703 if ${ac_cv_lib_soname_capi20:+false} :; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12705 $as_echo "not found" >&6; }
12707 else
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12709 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12711 cat >>confdefs.h <<_ACEOF
12712 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12713 _ACEOF
12718 CPPFLAGS=$ac_save_CPPFLAGS
12719 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12720 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12723 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12724 case "x$with_capi" in
12725 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12726 xno) ;;
12727 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12728 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12729 esac
12732 CUPS_CFLAGS=""
12734 if test "x$with_cups" != "xno"
12735 then
12736 ac_save_CPPFLAGS="$CPPFLAGS"
12737 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12738 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12739 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12740 for ac_header in cups/cups.h
12741 do :
12742 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12743 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12744 cat >>confdefs.h <<_ACEOF
12745 #define HAVE_CUPS_CUPS_H 1
12746 _ACEOF
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12748 $as_echo_n "checking for -lcups... " >&6; }
12749 if ${ac_cv_lib_soname_cups+:} false; then :
12750 $as_echo_n "(cached) " >&6
12751 else
12752 ac_check_soname_save_LIBS=$LIBS
12753 LIBS="-lcups $ac_cups_libs $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 #ifdef __cplusplus
12761 extern "C"
12762 #endif
12763 char cupsGetDefault ();
12765 main ()
12767 return cupsGetDefault ();
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_link "$LINENO"; then :
12773 case "$LIBEXT" in
12774 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12775 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'` ;;
12776 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12777 if ${ac_cv_lib_soname_cups:+false} :; then :
12778 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12779 fi ;;
12780 esac
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_soname_save_LIBS
12786 if ${ac_cv_lib_soname_cups:+false} :; then :
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12788 $as_echo "not found" >&6; }
12790 else
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12792 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12794 cat >>confdefs.h <<_ACEOF
12795 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12796 _ACEOF
12798 CUPS_CFLAGS="$ac_cups_cflags"
12802 done
12804 CPPFLAGS="$ac_save_CPPFLAGS"
12806 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12807 case "x$with_cups" in
12808 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12809 xno) ;;
12810 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12811 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12812 esac
12815 if test "x$with_fontconfig" != "xno"
12816 then
12817 if ${FONTCONFIG_CFLAGS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12822 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12823 if ${FONTCONFIG_LIBS:+false} :; then :
12824 if ${PKG_CONFIG+:} false; then :
12825 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12828 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12830 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12831 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12832 ac_save_CPPFLAGS=$CPPFLAGS
12833 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12834 for ac_header in fontconfig/fontconfig.h
12835 do :
12836 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12837 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12838 cat >>confdefs.h <<_ACEOF
12839 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12840 _ACEOF
12844 done
12846 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12847 then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12849 $as_echo_n "checking for -lfontconfig... " >&6; }
12850 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_soname_save_LIBS=$LIBS
12854 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char FcInit ();
12866 main ()
12868 return FcInit ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 case "$LIBEXT" in
12875 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12876 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'` ;;
12877 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12878 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12879 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12880 fi ;;
12881 esac
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_soname_save_LIBS
12887 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12889 $as_echo "not found" >&6; }
12890 FONTCONFIG_CFLAGS=""
12891 else
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12893 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12895 cat >>confdefs.h <<_ACEOF
12896 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12897 _ACEOF
12901 else
12902 FONTCONFIG_CFLAGS=""
12904 CPPFLAGS=$ac_save_CPPFLAGS
12905 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12906 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12909 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12910 case "x$with_fontconfig" in
12911 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12912 xno) ;;
12913 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12914 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12915 esac
12918 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12919 then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12921 $as_echo_n "checking for -lgsm... " >&6; }
12922 if ${ac_cv_lib_soname_gsm+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_soname_save_LIBS=$LIBS
12926 LIBS="-lgsm $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char gsm_create ();
12938 main ()
12940 return gsm_create ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 case "$LIBEXT" in
12947 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12948 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'` ;;
12949 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12950 if ${ac_cv_lib_soname_gsm:+false} :; then :
12951 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12952 fi ;;
12953 esac
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_soname_save_LIBS
12959 if ${ac_cv_lib_soname_gsm:+false} :; then :
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12961 $as_echo "not found" >&6; }
12963 else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12965 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12967 cat >>confdefs.h <<_ACEOF
12968 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12969 _ACEOF
12974 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12975 case "x$with_gsm" in
12976 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12977 xno) ;;
12978 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12979 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12980 esac
12983 if test "x$with_jpeg" != "xno"
12984 then
12985 if ${JPEG_CFLAGS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12991 if ${JPEG_LIBS:+false} :; then :
12992 if ${PKG_CONFIG+:} false; then :
12993 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12998 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12999 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13000 ac_save_CPPFLAGS=$CPPFLAGS
13001 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13002 for ac_header in jpeglib.h
13003 do :
13004 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13005 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13006 cat >>confdefs.h <<_ACEOF
13007 #define HAVE_JPEGLIB_H 1
13008 _ACEOF
13012 done
13014 if test "$ac_cv_header_jpeglib_h" = "yes"
13015 then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13017 $as_echo_n "checking for -ljpeg... " >&6; }
13018 if ${ac_cv_lib_soname_jpeg+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_soname_save_LIBS=$LIBS
13022 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char jpeg_start_decompress ();
13034 main ()
13036 return jpeg_start_decompress ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 case "$LIBEXT" in
13043 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13044 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'` ;;
13045 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13046 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13047 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13048 fi ;;
13049 esac
13051 rm -f core conftest.err conftest.$ac_objext \
13052 conftest$ac_exeext conftest.$ac_ext
13053 LIBS=$ac_check_soname_save_LIBS
13055 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13057 $as_echo "not found" >&6; }
13058 JPEG_CFLAGS=""
13059 else
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13061 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13063 cat >>confdefs.h <<_ACEOF
13064 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13065 _ACEOF
13069 else
13070 JPEG_CFLAGS=""
13072 CPPFLAGS=$ac_save_CPPFLAGS
13073 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13074 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13077 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13078 case "x$with_jpeg" in
13079 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13080 xno) ;;
13081 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13082 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13083 esac
13086 if test "x$with_png" != "xno"
13087 then
13088 if ${PNG_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13093 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13094 if ${PNG_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13099 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13101 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13105 for ac_header in png.h
13106 do :
13107 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_png_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_PNG_H 1
13111 _ACEOF
13115 done
13117 if test "$ac_cv_header_png_h" = "yes"
13118 then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13120 $as_echo_n "checking for -lpng... " >&6; }
13121 if ${ac_cv_lib_soname_png+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_soname_save_LIBS=$LIBS
13125 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char png_create_read_struct ();
13137 main ()
13139 return png_create_read_struct ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 case "$LIBEXT" in
13146 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13147 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'` ;;
13148 *) 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'`
13149 if ${ac_cv_lib_soname_png:+false} :; then :
13150 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13151 fi ;;
13152 esac
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext conftest.$ac_ext
13156 LIBS=$ac_check_soname_save_LIBS
13158 if ${ac_cv_lib_soname_png:+false} :; then :
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13160 $as_echo "not found" >&6; }
13161 PNG_CFLAGS=""
13162 else
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13164 $as_echo "$ac_cv_lib_soname_png" >&6; }
13166 cat >>confdefs.h <<_ACEOF
13167 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13168 _ACEOF
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13172 #include <png.h>
13174 main ()
13176 typeof(png_set_expand_gray_1_2_4_to_8) *p
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_compile "$LINENO"; then :
13183 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13188 else
13189 PNG_CFLAGS=""
13191 CPPFLAGS=$ac_save_CPPFLAGS
13192 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13193 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13196 if test "x$ac_cv_lib_soname_png" = "x"; then :
13197 case "x$with_png" in
13198 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13199 xno) ;;
13200 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13201 This is an error since --with-png was requested." "$LINENO" 5 ;;
13202 esac
13205 if test "x$with_tiff" != "xno"
13206 then
13207 if ${TIFF_CFLAGS:+false} :; then :
13208 if ${PKG_CONFIG+:} false; then :
13209 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13213 if ${TIFF_LIBS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13220 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13221 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13222 ac_save_CPPFLAGS=$CPPFLAGS
13223 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13224 for ac_header in tiffio.h
13225 do :
13226 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13227 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13228 cat >>confdefs.h <<_ACEOF
13229 #define HAVE_TIFFIO_H 1
13230 _ACEOF
13234 done
13236 if test "$ac_cv_header_tiffio_h" = "yes"
13237 then
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13239 $as_echo_n "checking for -ltiff... " >&6; }
13240 if ${ac_cv_lib_soname_tiff+:} false; then :
13241 $as_echo_n "(cached) " >&6
13242 else
13243 ac_check_soname_save_LIBS=$LIBS
13244 LIBS="-ltiff $TIFF_LIBS $LIBS"
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 /* Override any GCC internal prototype to avoid an error.
13249 Use char because int might match the return type of a GCC
13250 builtin and then its argument prototype would still apply. */
13251 #ifdef __cplusplus
13252 extern "C"
13253 #endif
13254 char TIFFClientOpen ();
13256 main ()
13258 return TIFFClientOpen ();
13260 return 0;
13262 _ACEOF
13263 if ac_fn_c_try_link "$LINENO"; then :
13264 case "$LIBEXT" in
13265 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13266 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'` ;;
13267 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13268 if ${ac_cv_lib_soname_tiff:+false} :; then :
13269 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13270 fi ;;
13271 esac
13273 rm -f core conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13275 LIBS=$ac_check_soname_save_LIBS
13277 if ${ac_cv_lib_soname_tiff:+false} :; then :
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13279 $as_echo "not found" >&6; }
13281 else
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13283 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13285 cat >>confdefs.h <<_ACEOF
13286 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13287 _ACEOF
13292 CPPFLAGS=$ac_save_CPPFLAGS
13293 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13294 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13297 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13298 case "x$with_tiff" in
13299 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13300 xno) ;;
13301 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13302 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13303 esac
13306 if test "x$with_mpg123" != "xno"
13307 then
13308 if ${MPG123_CFLAGS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13314 if ${MPG123_LIBS:+false} :; then :
13315 if ${PKG_CONFIG+:} false; then :
13316 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13320 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13321 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13322 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13323 ac_save_CPPFLAGS=$CPPFLAGS
13324 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13325 for ac_header in mpg123.h
13326 do :
13327 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13328 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13329 cat >>confdefs.h <<_ACEOF
13330 #define HAVE_MPG123_H 1
13331 _ACEOF
13335 done
13337 if test "$ac_cv_header_mpg123_h" = "yes"
13338 then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13340 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13341 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_lib_save_LIBS=$LIBS
13345 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char mpg123_feed ();
13357 main ()
13359 return mpg123_feed ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 ac_cv_lib_mpg123_mpg123_feed=yes
13366 else
13367 ac_cv_lib_mpg123_mpg123_feed=no
13369 rm -f core conftest.err conftest.$ac_objext \
13370 conftest$ac_exeext conftest.$ac_ext
13371 LIBS=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13374 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13375 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13377 else
13378 MPG123_LIBS=""
13381 else
13382 MPG123_CFLAGS=""
13383 MPG123_LIBS=""
13385 CPPFLAGS=$ac_save_CPPFLAGS
13386 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13387 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13390 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13391 case "x$with_mpg123" in
13392 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13393 xno) ;;
13394 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13395 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13396 esac
13398 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}
13400 if test "$ac_cv_header_AL_al_h" = "yes"
13401 then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13403 $as_echo_n "checking for -lopenal... " >&6; }
13404 if ${ac_cv_lib_soname_openal+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13407 ac_check_soname_save_LIBS=$LIBS
13408 LIBS="-lopenal $LIBS"
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13415 #ifdef __cplusplus
13416 extern "C"
13417 #endif
13418 char alGetSource3i ();
13420 main ()
13422 return alGetSource3i ();
13424 return 0;
13426 _ACEOF
13427 if ac_fn_c_try_link "$LINENO"; then :
13428 case "$LIBEXT" in
13429 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13430 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'` ;;
13431 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13432 if ${ac_cv_lib_soname_openal:+false} :; then :
13433 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13434 fi ;;
13435 esac
13437 rm -f core conftest.err conftest.$ac_objext \
13438 conftest$ac_exeext conftest.$ac_ext
13439 LIBS=$ac_check_soname_save_LIBS
13441 if ${ac_cv_lib_soname_openal:+false} :; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13443 $as_echo "not found" >&6; }
13445 else
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13447 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13449 cat >>confdefs.h <<_ACEOF
13450 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13451 _ACEOF
13453 OPENAL_LIBS="-lopenal"
13455 ac_cv_lib_openal=yes
13457 cat >>confdefs.h <<_ACEOF
13458 #define HAVE_OPENAL 1
13459 _ACEOF
13463 if test "x$ac_cv_lib_openal" != xyes; then :
13464 case "x$with_openal" in
13465 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13466 xno) ;;
13467 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13468 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13469 esac
13471 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13473 if test "$ac_cv_header_kstat_h" = "yes"
13474 then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13476 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13477 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13478 $as_echo_n "(cached) " >&6
13479 else
13480 ac_check_lib_save_LIBS=$LIBS
13481 LIBS="-lkstat $LIBS"
13482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h. */
13485 /* Override any GCC internal prototype to avoid an error.
13486 Use char because int might match the return type of a GCC
13487 builtin and then its argument prototype would still apply. */
13488 #ifdef __cplusplus
13489 extern "C"
13490 #endif
13491 char kstat_open ();
13493 main ()
13495 return kstat_open ();
13497 return 0;
13499 _ACEOF
13500 if ac_fn_c_try_link "$LINENO"; then :
13501 ac_cv_lib_kstat_kstat_open=yes
13502 else
13503 ac_cv_lib_kstat_kstat_open=no
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_lib_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13510 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13511 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13513 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13515 KSTAT_LIBS="-lkstat"
13521 if test "$ac_cv_header_libprocstat_h" = "yes"
13522 then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13524 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13525 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_lib_save_LIBS=$LIBS
13529 LIBS="-lprocstat $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char procstat_open_sysctl ();
13541 main ()
13543 return procstat_open_sysctl ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 ac_cv_lib_procstat_procstat_open_sysctl=yes
13550 else
13551 ac_cv_lib_procstat_procstat_open_sysctl=no
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_lib_save_LIBS
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13558 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13559 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13561 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13563 PROCSTAT_LIBS="-lprocstat"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13570 $as_echo_n "checking for -lodbc... " >&6; }
13571 if ${ac_cv_lib_soname_odbc+:} false; then :
13572 $as_echo_n "(cached) " >&6
13573 else
13574 ac_check_soname_save_LIBS=$LIBS
13575 LIBS="-lodbc $LIBS"
13576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 /* Override any GCC internal prototype to avoid an error.
13580 Use char because int might match the return type of a GCC
13581 builtin and then its argument prototype would still apply. */
13582 #ifdef __cplusplus
13583 extern "C"
13584 #endif
13585 char SQLConnect ();
13587 main ()
13589 return SQLConnect ();
13591 return 0;
13593 _ACEOF
13594 if ac_fn_c_try_link "$LINENO"; then :
13595 case "$LIBEXT" in
13596 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13597 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'` ;;
13598 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13599 if ${ac_cv_lib_soname_odbc:+false} :; then :
13600 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13601 fi ;;
13602 esac
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_odbc:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13611 cat >>confdefs.h <<_ACEOF
13612 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13613 _ACEOF
13615 else
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13617 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13619 cat >>confdefs.h <<_ACEOF
13620 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13621 _ACEOF
13626 if test "x$with_netapi" != "xno"
13627 then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13629 $as_echo_n "checking for -lnetapi... " >&6; }
13630 if ${ac_cv_lib_soname_netapi+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lnetapi $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char libnetapi_init ();
13646 main ()
13648 return libnetapi_init ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_netapi:+false} :; then :
13659 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 fi ;;
13661 esac
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_netapi:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 cat >>confdefs.h <<_ACEOF
13671 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13672 _ACEOF
13674 else
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13676 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13678 cat >>confdefs.h <<_ACEOF
13679 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13680 _ACEOF
13686 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13687 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13688 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13689 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13691 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13692 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13693 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13694 then
13695 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13699 EXTRACFLAGS=""
13701 if test "x${GCC}" = "xyes"
13702 then
13703 EXTRACFLAGS="-Wall -pipe"
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13706 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13707 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 if test "$cross_compiling" = yes; then :
13711 ac_cv_c_gcc_strength_bug="yes"
13712 else
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13715 int L[4] = {0,1,2,3};
13717 main ()
13719 static int Array[3];
13720 unsigned int B = 3;
13721 int i;
13722 for(i=0; i<B; i++) Array[i] = i - 3;
13723 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13724 L[i] = 4;
13725 return (Array[1] != -2 || L[2] != 3)
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_run "$LINENO"; then :
13731 ac_cv_c_gcc_strength_bug="no"
13732 else
13733 ac_cv_c_gcc_strength_bug="yes"
13735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13736 conftest.$ac_objext conftest.beam conftest.$ac_ext
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13741 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13742 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13743 then
13744 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13748 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13749 if ${ac_cv_cflags__fno_builtin+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_wine_try_cflags_saved=$CFLAGS
13753 CFLAGS="$CFLAGS -fno-builtin"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 ac_cv_cflags__fno_builtin=yes
13760 else
13761 ac_cv_cflags__fno_builtin=no
13763 rm -f core conftest.err conftest.$ac_objext \
13764 conftest$ac_exeext conftest.$ac_ext
13765 CFLAGS=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13768 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13769 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13770 BUILTINFLAG="-fno-builtin"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13774 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13775 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_wine_try_cflags_saved=$CFLAGS
13779 CFLAGS="$CFLAGS -fno-strict-aliasing"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 ac_cv_cflags__fno_strict_aliasing=yes
13786 else
13787 ac_cv_cflags__fno_strict_aliasing=no
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 CFLAGS=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13794 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13795 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13796 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13798 saved_CFLAGS=$CFLAGS
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13800 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13801 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13802 $as_echo_n "(cached) " >&6
13803 else
13804 ac_wine_try_cflags_saved=$CFLAGS
13805 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 int main(int argc, char **argv) { return 0; }
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 ac_cv_cflags__Werror_unknown_warning_option=yes
13812 else
13813 ac_cv_cflags__Werror_unknown_warning_option=no
13815 rm -f core conftest.err conftest.$ac_objext \
13816 conftest$ac_exeext conftest.$ac_ext
13817 CFLAGS=$ac_wine_try_cflags_saved
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13820 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13821 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13822 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13825 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13826 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13827 $as_echo_n "(cached) " >&6
13828 else
13829 ac_wine_try_cflags_saved=$CFLAGS
13830 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13833 int main(int argc, char **argv) { return 0; }
13834 _ACEOF
13835 if ac_fn_c_try_link "$LINENO"; then :
13836 ac_cv_cflags__Wdeclaration_after_statement=yes
13837 else
13838 ac_cv_cflags__Wdeclaration_after_statement=no
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 CFLAGS=$ac_wine_try_cflags_saved
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13845 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13846 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13847 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13850 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13851 if ${ac_cv_cflags__Wempty_body+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_wine_try_cflags_saved=$CFLAGS
13855 CFLAGS="$CFLAGS -Wempty-body"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13858 int main(int argc, char **argv) { return 0; }
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 ac_cv_cflags__Wempty_body=yes
13862 else
13863 ac_cv_cflags__Wempty_body=no
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 CFLAGS=$ac_wine_try_cflags_saved
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13870 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13871 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13872 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13875 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13876 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 ac_wine_try_cflags_saved=$CFLAGS
13880 CFLAGS="$CFLAGS -Wignored-qualifiers"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 int main(int argc, char **argv) { return 0; }
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 ac_cv_cflags__Wignored_qualifiers=yes
13887 else
13888 ac_cv_cflags__Wignored_qualifiers=no
13890 rm -f core conftest.err conftest.$ac_objext \
13891 conftest$ac_exeext conftest.$ac_ext
13892 CFLAGS=$ac_wine_try_cflags_saved
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13895 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13896 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13897 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13900 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13901 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 ac_wine_try_cflags_saved=$CFLAGS
13905 CFLAGS="$CFLAGS -Wstrict-prototypes"
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 int main(int argc, char **argv) { return 0; }
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 ac_cv_cflags__Wstrict_prototypes=yes
13912 else
13913 ac_cv_cflags__Wstrict_prototypes=no
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 CFLAGS=$ac_wine_try_cflags_saved
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13920 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13921 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13922 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13925 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13926 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13927 $as_echo_n "(cached) " >&6
13928 else
13929 ac_wine_try_cflags_saved=$CFLAGS
13930 CFLAGS="$CFLAGS -Wtype-limits"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933 int main(int argc, char **argv) { return 0; }
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 ac_cv_cflags__Wtype_limits=yes
13937 else
13938 ac_cv_cflags__Wtype_limits=no
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 CFLAGS=$ac_wine_try_cflags_saved
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13945 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13946 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13947 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13950 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13951 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13952 $as_echo_n "(cached) " >&6
13953 else
13954 ac_wine_try_cflags_saved=$CFLAGS
13955 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_cflags__Wunused_but_set_parameter=yes
13962 else
13963 ac_cv_cflags__Wunused_but_set_parameter=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 CFLAGS=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13970 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13971 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13972 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13975 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13976 if ${ac_cv_cflags__Wvla+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_wine_try_cflags_saved=$CFLAGS
13980 CFLAGS="$CFLAGS -Wvla"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_cflags__Wvla=yes
13987 else
13988 ac_cv_cflags__Wvla=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 CFLAGS=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13995 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13996 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13997 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14000 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14001 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -Wwrite-strings"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14008 int main(int argc, char **argv) { return 0; }
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_cflags__Wwrite_strings=yes
14012 else
14013 ac_cv_cflags__Wwrite_strings=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 CFLAGS=$ac_wine_try_cflags_saved
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14020 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14021 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14022 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14026 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14027 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_wine_try_cflags_saved=$CFLAGS
14031 CFLAGS="$CFLAGS -Wpointer-arith"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_cflags__Wpointer_arith=yes
14038 else
14039 ac_cv_cflags__Wpointer_arith=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 CFLAGS=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14046 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14047 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14048 saved_string_h_CFLAGS=$CFLAGS
14049 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14051 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14052 if ${ac_cv_c_string_h_warnings+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #include <string.h>
14059 main ()
14063 return 0;
14065 _ACEOF
14066 if ac_fn_c_try_compile "$LINENO"; then :
14067 ac_cv_c_string_h_warnings=no
14068 else
14069 ac_cv_c_string_h_warnings=yes
14071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14074 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14075 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14076 CFLAGS=$saved_string_h_CFLAGS
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14080 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14081 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_wine_try_cflags_saved=$CFLAGS
14085 CFLAGS="$CFLAGS -Wlogical-op"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 int main(int argc, char **argv) { return 0; }
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 ac_cv_cflags__Wlogical_op=yes
14092 else
14093 ac_cv_cflags__Wlogical_op=no
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14097 CFLAGS=$ac_wine_try_cflags_saved
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14100 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14101 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14102 saved_string_h_CFLAGS=$CFLAGS
14103 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14105 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14106 if ${ac_cv_c_logicalop_noisy+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 #include <string.h>
14112 char*f(const char *h,char n) {return strchr(h,n);}
14114 main ()
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_compile "$LINENO"; then :
14122 ac_cv_c_logicalop_noisy=no
14123 else
14124 ac_cv_c_logicalop_noisy=yes
14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14129 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14130 CFLAGS=$saved_string_h_CFLAGS
14131 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14134 CFLAGS=$saved_CFLAGS
14136 for ac_flag in $CFLAGS; do
14137 case $ac_flag in
14138 -g) case $host_os in
14139 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14140 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14141 if ${ac_cv_cflags__gstabsp+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_wine_try_cflags_saved=$CFLAGS
14145 CFLAGS="$CFLAGS -gstabs+"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14148 int main(int argc, char **argv) { return 0; }
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_cflags__gstabsp=yes
14152 else
14153 ac_cv_cflags__gstabsp=no
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 CFLAGS=$ac_wine_try_cflags_saved
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14160 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14161 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14162 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14163 fi ;;
14164 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14165 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14166 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14167 $as_echo_n "(cached) " >&6
14168 else
14169 ac_wine_try_cflags_saved=$CFLAGS
14170 CFLAGS="$CFLAGS -gdwarf-2"
14171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14173 int main(int argc, char **argv) { return 0; }
14174 _ACEOF
14175 if ac_fn_c_try_link "$LINENO"; then :
14176 ac_cv_cflags__gdwarf_2=yes
14177 else
14178 ac_cv_cflags__gdwarf_2=no
14180 rm -f core conftest.err conftest.$ac_objext \
14181 conftest$ac_exeext conftest.$ac_ext
14182 CFLAGS=$ac_wine_try_cflags_saved
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14185 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14186 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14187 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14190 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14191 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 ac_wine_try_cflags_saved=$CFLAGS
14195 CFLAGS="$CFLAGS -gstrict-dwarf"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int main(int argc, char **argv) { return 0; }
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_cflags__gstrict_dwarf=yes
14202 else
14203 ac_cv_cflags__gstrict_dwarf=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 CFLAGS=$ac_wine_try_cflags_saved
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14210 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14211 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14212 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14213 fi ;;
14214 esac ;;
14215 esac
14216 done
14218 case $host_cpu in
14219 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14220 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14221 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14222 $as_echo_n "(cached) " >&6
14223 else
14224 ac_wine_try_cflags_saved=$CFLAGS
14225 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14228 int main(int argc, char **argv) { return 0; }
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"; then :
14231 ac_cv_cflags__fno_omit_frame_pointer=yes
14232 else
14233 ac_cv_cflags__fno_omit_frame_pointer=no
14235 rm -f core conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14237 CFLAGS=$ac_wine_try_cflags_saved
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14240 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14241 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14242 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14243 fi ;;
14244 esac
14246 case $host in
14247 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14248 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14249 if ${ac_cv_cflags__Wno_format+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 ac_wine_try_cflags_saved=$CFLAGS
14253 CFLAGS="$CFLAGS -Wno-format"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int main(int argc, char **argv) { return 0; }
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 ac_cv_cflags__Wno_format=yes
14260 else
14261 ac_cv_cflags__Wno_format=no
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 CFLAGS=$ac_wine_try_cflags_saved
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14268 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14269 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14270 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14271 fi ;;
14272 esac
14274 if test "x$enable_maintainer_mode" = "xyes"
14275 then
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14277 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14278 if ${ac_cv_cflags__Werror+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 ac_wine_try_cflags_saved=$CFLAGS
14282 CFLAGS="$CFLAGS -Werror"
14283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 /* end confdefs.h. */
14285 int main(int argc, char **argv) { return 0; }
14286 _ACEOF
14287 if ac_fn_c_try_link "$LINENO"; then :
14288 ac_cv_cflags__Werror=yes
14289 else
14290 ac_cv_cflags__Werror=no
14292 rm -f core conftest.err conftest.$ac_objext \
14293 conftest$ac_exeext conftest.$ac_ext
14294 CFLAGS=$ac_wine_try_cflags_saved
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14297 $as_echo "$ac_cv_cflags__Werror" >&6; }
14298 if test "x$ac_cv_cflags__Werror" = xyes; then :
14299 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14303 saved_CFLAGS="$CFLAGS"
14304 CFLAGS="$CFLAGS -Werror"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14306 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14307 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14314 main ()
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_compile "$LINENO"; then :
14322 ac_cv_have_ms_hook_prologue="yes"
14323 else
14324 ac_cv_have_ms_hook_prologue="no"
14326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14329 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14330 CFLAGS="$saved_CFLAGS"
14331 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14332 then
14334 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14336 else
14337 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14344 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14345 if ${ac_cv_c_fortify_enabled+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14350 #include <string.h>
14352 main ()
14354 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14355 #error Fortify enabled
14356 #endif
14358 return 0;
14360 _ACEOF
14361 if ac_fn_c_try_compile "$LINENO"; then :
14362 ac_cv_c_fortify_enabled=no
14363 else
14364 ac_cv_c_fortify_enabled=yes
14366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14369 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14370 if test "$ac_cv_c_fortify_enabled" = yes
14371 then
14372 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14377 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14378 if ${ac_cv_c_extern_prefix+:} false; then :
14379 $as_echo_n "(cached) " >&6
14380 else
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 extern int ac_test;
14385 main ()
14387 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_c_extern_prefix="yes"
14394 else
14395 ac_cv_c_extern_prefix="no"
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14401 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14403 case $host_cpu in
14404 *i[3456789]86*)
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14406 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14407 if ${ac_cv_c_stdcall_suffix+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 #ifndef _MSC_VER
14413 #define __stdcall __attribute__((__stdcall__))
14414 #endif
14415 int __stdcall ac_test(int i) { return i; }
14417 main ()
14419 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"; then :
14425 ac_cv_c_stdcall_suffix="yes"
14426 else
14427 ac_cv_c_stdcall_suffix="no"
14429 rm -f core conftest.err conftest.$ac_objext \
14430 conftest$ac_exeext conftest.$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14433 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14434 *) ac_cv_c_stdcall_suffix="no" ;;
14435 esac
14438 if test "$ac_cv_c_extern_prefix" = "yes"
14439 then
14440 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14442 asm_name_prefix="_"
14443 else
14444 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14446 asm_name_prefix=""
14450 if test "$ac_cv_c_stdcall_suffix" = "yes"
14451 then
14452 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14454 else
14455 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14461 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14462 if ${ac_cv_asm_func_def+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14469 main ()
14471 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_asm_func_def=".def"
14478 else
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14483 main ()
14485 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_asm_func_def=".type @function"
14492 else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14497 main ()
14499 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_asm_func_def=".type 2"
14506 else
14507 ac_cv_asm_func_def="unknown"
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 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14519 $as_echo "$ac_cv_asm_func_def" >&6; }
14522 case "$ac_cv_asm_func_def" in
14523 ".def")
14524 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14526 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14527 ".type @function")
14528 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14530 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14531 ".type 2")
14532 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14534 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14536 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14538 asm_func_header="" ;;
14539 esac
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14542 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14543 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 asm(".text\n\t.long 0");
14550 main ()
14554 return 0;
14556 _ACEOF
14557 if ac_fn_c_try_compile "$LINENO"; then :
14558 ac_cv_c_asm_outside_funcs="yes"
14559 else
14560 ac_cv_c_asm_outside_funcs="no"
14562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14565 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14568 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14569 if ${ac_cv_c_dot_previous+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14576 main ()
14578 asm(".text\nac_test:\t.long 0\n\t.previous");
14580 return 0;
14582 _ACEOF
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_c_dot_previous="yes"
14585 else
14586 ac_cv_c_dot_previous="no"
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14592 $as_echo "$ac_cv_c_dot_previous" >&6; }
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14595 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14596 if ${ac_cv_c_cfi_support+:} false; then :
14597 $as_echo_n "(cached) " >&6
14598 else
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14603 main ()
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_compile "$LINENO"; then :
14611 ac_cv_c_cfi_support="yes"
14612 else
14613 ac_cv_c_cfi_support="no"
14615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14618 $as_echo "$ac_cv_c_cfi_support" >&6; }
14620 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14621 asm_func_trailer=""
14622 if test "$ac_cv_c_dot_previous" = "yes"
14623 then
14624 asm_func_trailer="\\n\\t.previous"
14626 if test "$ac_cv_c_cfi_support" = "yes"
14627 then
14628 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14629 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14631 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14633 UNWINDFLAGS=-fasynchronous-unwind-tables
14635 else
14636 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14640 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14643 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14644 then
14645 cat >>confdefs.h <<_ACEOF
14646 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14647 _ACEOF
14649 else
14650 cat >>confdefs.h <<_ACEOF
14651 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14652 _ACEOF
14656 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14659 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14663 case $build_os in
14664 cygwin*|mingw32*) TOOLSEXT=".exe"
14666 esac
14668 case $host_os in
14669 linux*)
14670 case $host_cpu in
14671 *i[3456789]86*|x86_64*)
14672 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14673 loader_programs="$loader_programs $wine_binary-preloader"
14674 as_fn_append LOADER_RULES "
14675 $wine_binary-preloader: preloader.o
14676 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14678 install install-lib:: $wine_binary-preloader
14679 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14681 uninstall::
14682 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14684 preloader_EXTRADEFS = $BUILTINFLAG
14685 " ;;
14686 esac
14688 esac
14689 as_fn_append LOADER_RULES "
14690 PROGRAMS = $loader_programs
14694 ac_save_CFLAGS="$CFLAGS"
14695 CFLAGS="$CFLAGS $BUILTINFLAG"
14696 for ac_func in \
14697 __res_get_state \
14698 __res_getservers \
14699 _finite \
14700 _isnan \
14701 _pclose \
14702 _popen \
14703 _snprintf \
14704 _spawnvp \
14705 _strdup \
14706 _stricmp \
14707 _strnicmp \
14708 _strtoi64 \
14709 _strtoui64 \
14710 _vsnprintf \
14711 asctime_r \
14712 chsize \
14713 dlopen \
14714 epoll_create \
14715 ffs \
14716 finitef \
14717 fnmatch \
14718 fork \
14719 fpclass \
14720 fstatfs \
14721 fstatvfs \
14722 ftruncate \
14723 futimens \
14724 futimes \
14725 futimesat \
14726 getattrlist \
14727 getdirentries \
14728 getopt_long_only \
14729 getpwuid \
14730 gettimeofday \
14731 getuid \
14732 if_nameindex \
14733 isnanf \
14734 kqueue \
14735 lstat \
14736 memmove \
14737 mmap \
14738 pclose \
14739 pipe2 \
14740 poll \
14741 popen \
14742 port_create \
14743 prctl \
14744 pread \
14745 proc_pidinfo \
14746 pwrite \
14747 readdir \
14748 readlink \
14749 sched_yield \
14750 select \
14751 setproctitle \
14752 setrlimit \
14753 settimeofday \
14754 sigaltstack \
14755 sigprocmask \
14756 snprintf \
14757 statfs \
14758 statvfs \
14759 strcasecmp \
14760 strdup \
14761 strerror \
14762 strncasecmp \
14763 strtold \
14764 strtoll \
14765 strtoull \
14766 symlink \
14767 tcdrain \
14768 thr_kill2 \
14769 timegm \
14770 usleep \
14771 vsnprintf
14773 do :
14774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14776 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14777 cat >>confdefs.h <<_ACEOF
14778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14779 _ACEOF
14782 done
14784 CFLAGS="$ac_save_CFLAGS"
14786 if test "$ac_cv_func_dlopen" = no
14787 then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14789 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14790 if ${ac_cv_lib_dl_dlopen+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_check_lib_save_LIBS=$LIBS
14794 LIBS="-ldl $LIBS"
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14801 #ifdef __cplusplus
14802 extern "C"
14803 #endif
14804 char dlopen ();
14806 main ()
14808 return dlopen ();
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_lib_dl_dlopen=yes
14815 else
14816 ac_cv_lib_dl_dlopen=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 LIBS=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14823 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14824 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14825 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14826 DL_LIBS="-ldl"
14831 ac_wine_check_funcs_save_LIBS="$LIBS"
14832 LIBS="$LIBS $DL_LIBS"
14833 for ac_func in dladdr
14834 do :
14835 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14836 if test "x$ac_cv_func_dladdr" = xyes; then :
14837 cat >>confdefs.h <<_ACEOF
14838 #define HAVE_DLADDR 1
14839 _ACEOF
14842 done
14844 LIBS="$ac_wine_check_funcs_save_LIBS"
14846 if test "$ac_cv_func_poll" = no
14847 then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14849 $as_echo_n "checking for poll in -lpoll... " >&6; }
14850 if ${ac_cv_lib_poll_poll+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_check_lib_save_LIBS=$LIBS
14854 LIBS="-lpoll $LIBS"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 #ifdef __cplusplus
14862 extern "C"
14863 #endif
14864 char poll ();
14866 main ()
14868 return poll ();
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 ac_cv_lib_poll_poll=yes
14875 else
14876 ac_cv_lib_poll_poll=no
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext conftest.$ac_ext
14880 LIBS=$ac_check_lib_save_LIBS
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14883 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14884 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14885 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14886 POLL_LIBS="-lpoll"
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14893 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14894 if ${ac_cv_search_gethostbyname+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 ac_func_search_save_LIBS=$LIBS
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 #ifdef __cplusplus
14905 extern "C"
14906 #endif
14907 char gethostbyname ();
14909 main ()
14911 return gethostbyname ();
14913 return 0;
14915 _ACEOF
14916 for ac_lib in '' nsl; do
14917 if test -z "$ac_lib"; then
14918 ac_res="none required"
14919 else
14920 ac_res=-l$ac_lib
14921 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14923 if ac_fn_c_try_link "$LINENO"; then :
14924 ac_cv_search_gethostbyname=$ac_res
14926 rm -f core conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext
14928 if ${ac_cv_search_gethostbyname+:} false; then :
14929 break
14931 done
14932 if ${ac_cv_search_gethostbyname+:} false; then :
14934 else
14935 ac_cv_search_gethostbyname=no
14937 rm conftest.$ac_ext
14938 LIBS=$ac_func_search_save_LIBS
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14941 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14942 ac_res=$ac_cv_search_gethostbyname
14943 if test "$ac_res" != no; then :
14944 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14950 $as_echo_n "checking for library containing connect... " >&6; }
14951 if ${ac_cv_search_connect+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_func_search_save_LIBS=$LIBS
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14958 /* Override any GCC internal prototype to avoid an error.
14959 Use char because int might match the return type of a GCC
14960 builtin and then its argument prototype would still apply. */
14961 #ifdef __cplusplus
14962 extern "C"
14963 #endif
14964 char connect ();
14966 main ()
14968 return connect ();
14970 return 0;
14972 _ACEOF
14973 for ac_lib in '' socket; do
14974 if test -z "$ac_lib"; then
14975 ac_res="none required"
14976 else
14977 ac_res=-l$ac_lib
14978 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_search_connect=$ac_res
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext
14985 if ${ac_cv_search_connect+:} false; then :
14986 break
14988 done
14989 if ${ac_cv_search_connect+:} false; then :
14991 else
14992 ac_cv_search_connect=no
14994 rm conftest.$ac_ext
14995 LIBS=$ac_func_search_save_LIBS
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14998 $as_echo "$ac_cv_search_connect" >&6; }
14999 ac_res=$ac_cv_search_connect
15000 if test "$ac_res" != no; then :
15001 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15007 $as_echo_n "checking for library containing inet_aton... " >&6; }
15008 if ${ac_cv_search_inet_aton+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 ac_func_search_save_LIBS=$LIBS
15012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 #ifdef __cplusplus
15019 extern "C"
15020 #endif
15021 char inet_aton ();
15023 main ()
15025 return inet_aton ();
15027 return 0;
15029 _ACEOF
15030 for ac_lib in '' resolv; do
15031 if test -z "$ac_lib"; then
15032 ac_res="none required"
15033 else
15034 ac_res=-l$ac_lib
15035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_search_inet_aton=$ac_res
15040 rm -f core conftest.err conftest.$ac_objext \
15041 conftest$ac_exeext
15042 if ${ac_cv_search_inet_aton+:} false; then :
15043 break
15045 done
15046 if ${ac_cv_search_inet_aton+:} false; then :
15048 else
15049 ac_cv_search_inet_aton=no
15051 rm conftest.$ac_ext
15052 LIBS=$ac_func_search_save_LIBS
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15055 $as_echo "$ac_cv_search_inet_aton" >&6; }
15056 ac_res=$ac_cv_search_inet_aton
15057 if test "$ac_res" != no; then :
15058 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15063 for ac_func in \
15064 getaddrinfo \
15065 getnameinfo \
15066 getnetbyname \
15067 getprotobyname \
15068 getprotobynumber \
15069 getservbyport \
15070 inet_addr \
15071 inet_network \
15072 inet_ntop \
15073 inet_pton \
15074 sendmsg \
15075 socketpair \
15077 do :
15078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15080 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15081 cat >>confdefs.h <<_ACEOF
15082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15083 _ACEOF
15086 done
15089 ac_save_LIBS=$LIBS
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15091 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15092 if ${ac_cv_search_clock_gettime+:} false; then :
15093 $as_echo_n "(cached) " >&6
15094 else
15095 ac_func_search_save_LIBS=$LIBS
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15099 /* Override any GCC internal prototype to avoid an error.
15100 Use char because int might match the return type of a GCC
15101 builtin and then its argument prototype would still apply. */
15102 #ifdef __cplusplus
15103 extern "C"
15104 #endif
15105 char clock_gettime ();
15107 main ()
15109 return clock_gettime ();
15111 return 0;
15113 _ACEOF
15114 for ac_lib in '' rt; do
15115 if test -z "$ac_lib"; then
15116 ac_res="none required"
15117 else
15118 ac_res=-l$ac_lib
15119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15121 if ac_fn_c_try_link "$LINENO"; then :
15122 ac_cv_search_clock_gettime=$ac_res
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext
15126 if ${ac_cv_search_clock_gettime+:} false; then :
15127 break
15129 done
15130 if ${ac_cv_search_clock_gettime+:} false; then :
15132 else
15133 ac_cv_search_clock_gettime=no
15135 rm conftest.$ac_ext
15136 LIBS=$ac_func_search_save_LIBS
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15139 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15140 ac_res=$ac_cv_search_clock_gettime
15141 if test "$ac_res" != no; then :
15142 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15144 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15146 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15150 LIBS=$ac_save_LIBS
15152 LDAP_LIBS=""
15154 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15155 then
15156 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15158 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15160 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15161 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 ac_check_lib_save_LIBS=$LIBS
15165 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15172 #ifdef __cplusplus
15173 extern "C"
15174 #endif
15175 char ldap_initialize ();
15177 main ()
15179 return ldap_initialize ();
15181 return 0;
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_lib_ldap_r_ldap_initialize=yes
15186 else
15187 ac_cv_lib_ldap_r_ldap_initialize=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LIBS=$ac_check_lib_save_LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15194 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15195 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15197 $as_echo_n "checking for ber_init in -llber... " >&6; }
15198 if ${ac_cv_lib_lber_ber_init+:} false; then :
15199 $as_echo_n "(cached) " >&6
15200 else
15201 ac_check_lib_save_LIBS=$LIBS
15202 LIBS="-llber $PTHREAD_LIBS $LIBS"
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15206 /* Override any GCC internal prototype to avoid an error.
15207 Use char because int might match the return type of a GCC
15208 builtin and then its argument prototype would still apply. */
15209 #ifdef __cplusplus
15210 extern "C"
15211 #endif
15212 char ber_init ();
15214 main ()
15216 return ber_init ();
15218 return 0;
15220 _ACEOF
15221 if ac_fn_c_try_link "$LINENO"; then :
15222 ac_cv_lib_lber_ber_init=yes
15223 else
15224 ac_cv_lib_lber_ber_init=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 LIBS=$ac_check_lib_save_LIBS
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15231 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15232 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15234 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15236 LDAP_LIBS="-lldap_r -llber"
15243 ac_wine_check_funcs_save_LIBS="$LIBS"
15244 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15245 for ac_func in \
15246 ldap_count_references \
15247 ldap_first_reference \
15248 ldap_next_reference \
15249 ldap_parse_reference \
15250 ldap_parse_sort_control \
15251 ldap_parse_sortresponse_control \
15252 ldap_parse_vlv_control \
15253 ldap_parse_vlvresponse_control
15254 do :
15255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15258 cat >>confdefs.h <<_ACEOF
15259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15260 _ACEOF
15263 done
15265 LIBS="$ac_wine_check_funcs_save_LIBS"
15267 if test "x$LDAP_LIBS" = "x"; then :
15268 case "x$with_ldap" in
15269 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15270 xno) ;;
15271 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15272 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15273 esac
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15277 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15278 if ${wine_cv_one_arg_mkdir+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15283 #include <sys/stat.h>
15285 main ()
15287 mkdir("foo");
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_compile "$LINENO"; then :
15293 wine_cv_one_arg_mkdir=yes
15294 else
15295 wine_cv_one_arg_mkdir=no
15297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15300 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15301 if test "$wine_cv_one_arg_mkdir" = "yes"
15302 then
15304 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15309 $as_echo_n "checking for sched_setaffinity... " >&6; }
15310 if ${wine_cv_have_sched_setaffinity+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 #define _GNU_SOURCE
15316 #include <sched.h>
15318 main ()
15320 sched_setaffinity(0, 0, 0);
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 wine_cv_have_sched_setaffinity=yes
15327 else
15328 wine_cv_have_sched_setaffinity=no
15330 rm -f core conftest.err conftest.$ac_objext \
15331 conftest$ac_exeext conftest.$ac_ext
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15334 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15335 if test "$wine_cv_have_sched_setaffinity" = "yes"
15336 then
15338 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15343 $as_echo_n "checking for fallocate... " >&6; }
15344 if ${wine_cv_have_fallocate+:} false; then :
15345 $as_echo_n "(cached) " >&6
15346 else
15347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15348 /* end confdefs.h. */
15349 #define _GNU_SOURCE
15350 #include <fcntl.h>
15352 main ()
15354 fallocate(-1, 0, 0, 0);
15356 return 0;
15358 _ACEOF
15359 if ac_fn_c_try_link "$LINENO"; then :
15360 wine_cv_have_fallocate=yes
15361 else
15362 wine_cv_have_fallocate=no
15364 rm -f core conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15368 $as_echo "$wine_cv_have_fallocate" >&6; }
15369 if test "$wine_cv_have_fallocate" = "yes"
15370 then
15372 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15378 $as_echo_n "checking for inline... " >&6; }
15379 if ${ac_cv_c_inline+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 ac_cv_c_inline=no
15383 for ac_kw in inline __inline__ __inline; do
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 #ifndef __cplusplus
15387 typedef int foo_t;
15388 static $ac_kw foo_t static_foo () {return 0; }
15389 $ac_kw foo_t foo () {return 0; }
15390 #endif
15392 _ACEOF
15393 if ac_fn_c_try_compile "$LINENO"; then :
15394 ac_cv_c_inline=$ac_kw
15396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15397 test "$ac_cv_c_inline" != no && break
15398 done
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15402 $as_echo "$ac_cv_c_inline" >&6; }
15404 case $ac_cv_c_inline in
15405 inline | yes) ;;
15407 case $ac_cv_c_inline in
15408 no) ac_val=;;
15409 *) ac_val=$ac_cv_c_inline;;
15410 esac
15411 cat >>confdefs.h <<_ACEOF
15412 #ifndef __cplusplus
15413 #define inline $ac_val
15414 #endif
15415 _ACEOF
15417 esac
15419 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15420 if test "x$ac_cv_type_mode_t" = xyes; then :
15422 cat >>confdefs.h <<_ACEOF
15423 #define HAVE_MODE_T 1
15424 _ACEOF
15428 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15429 if test "x$ac_cv_type_off_t" = xyes; then :
15431 cat >>confdefs.h <<_ACEOF
15432 #define HAVE_OFF_T 1
15433 _ACEOF
15437 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15438 if test "x$ac_cv_type_pid_t" = xyes; then :
15440 cat >>confdefs.h <<_ACEOF
15441 #define HAVE_PID_T 1
15442 _ACEOF
15446 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15447 if test "x$ac_cv_type_size_t" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_SIZE_T 1
15451 _ACEOF
15455 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15456 if test "x$ac_cv_type_ssize_t" = xyes; then :
15458 cat >>confdefs.h <<_ACEOF
15459 #define HAVE_SSIZE_T 1
15460 _ACEOF
15464 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15465 if test "x$ac_cv_type_long_long" = xyes; then :
15467 cat >>confdefs.h <<_ACEOF
15468 #define HAVE_LONG_LONG 1
15469 _ACEOF
15473 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15474 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15476 cat >>confdefs.h <<_ACEOF
15477 #define HAVE_FSBLKCNT_T 1
15478 _ACEOF
15482 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15483 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define HAVE_FSFILCNT_T 1
15487 _ACEOF
15492 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15493 #include <signal.h>
15495 if test "x$ac_cv_type_sigset_t" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_SIGSET_T 1
15499 _ACEOF
15504 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15506 if test "x$ac_cv_type_request_sense" = xyes; then :
15508 cat >>confdefs.h <<_ACEOF
15509 #define HAVE_REQUEST_SENSE 1
15510 _ACEOF
15516 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15517 #ifdef HAVE_SYS_SOCKET_H
15518 #include <sys/socket.h>
15519 #endif
15520 #ifdef HAVE_SYS_SOCKETVAR_H
15521 #include <sys/socketvar.h>
15522 #endif
15523 #ifdef HAVE_NET_ROUTE_H
15524 #include <net/route.h>
15525 #endif
15526 #ifdef HAVE_NETINET_IN_H
15527 #include <netinet/in.h>
15528 #endif
15529 #ifdef HAVE_NETINET_IN_SYSTM_H
15530 #include <netinet/in_systm.h>
15531 #endif
15532 #ifdef HAVE_NETINET_IP_H
15533 #include <netinet/ip.h>
15534 #endif
15535 #ifdef HAVE_NETINET_IN_PCB_H
15536 #include <netinet/in_pcb.h>
15537 #endif
15539 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15541 cat >>confdefs.h <<_ACEOF
15542 #define HAVE_STRUCT_XINPGEN 1
15543 _ACEOF
15549 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15550 #include <link.h>
15551 #endif
15552 #ifdef HAVE_SYS_LINK_H
15553 #include <sys/link.h>
15554 #endif
15556 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15558 cat >>confdefs.h <<_ACEOF
15559 #define HAVE_STRUCT_R_DEBUG 1
15560 _ACEOF
15564 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15565 #include <link.h>
15566 #endif
15567 #ifdef HAVE_SYS_LINK_H
15568 #include <sys/link.h>
15569 #endif
15571 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_LINK_MAP 1
15575 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15582 #include <linux/input.h>
15583 #endif
15585 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15587 cat >>confdefs.h <<_ACEOF
15588 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15589 _ACEOF
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15596 $as_echo_n "checking for sigaddset... " >&6; }
15597 if ${wine_cv_have_sigaddset+:} false; then :
15598 $as_echo_n "(cached) " >&6
15599 else
15600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15601 /* end confdefs.h. */
15602 #include <signal.h>
15604 main ()
15606 sigset_t set; sigaddset(&set,SIGTERM);
15608 return 0;
15610 _ACEOF
15611 if ac_fn_c_try_link "$LINENO"; then :
15612 wine_cv_have_sigaddset=yes
15613 else
15614 wine_cv_have_sigaddset=no
15616 rm -f core conftest.err conftest.$ac_objext \
15617 conftest$ac_exeext conftest.$ac_ext
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15620 $as_echo "$wine_cv_have_sigaddset" >&6; }
15621 if test "$wine_cv_have_sigaddset" = "yes"
15622 then
15624 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15630 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15631 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15632 $as_echo_n "(cached) " >&6
15633 else
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 #include <netdb.h>
15638 main ()
15641 char *name=0;
15642 struct hostent he;
15643 struct hostent *result;
15644 char *buf=0;
15645 int bufsize=0;
15646 int errnr;
15647 char *addr=0;
15648 int addrlen=0;
15649 int addrtype=0;
15650 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15651 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15654 return 0;
15656 _ACEOF
15657 if ac_fn_c_try_link "$LINENO"; then :
15658 wine_cv_linux_gethostbyname_r_6=yes
15659 else
15660 wine_cv_linux_gethostbyname_r_6=no
15663 rm -f core conftest.err conftest.$ac_objext \
15664 conftest$ac_exeext conftest.$ac_ext
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15668 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15669 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15670 then
15672 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15676 if test "$ac_cv_header_linux_joystick_h" = "yes"
15677 then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15679 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15680 if ${wine_cv_linux_joystick_22_api+:} false; then :
15681 $as_echo_n "(cached) " >&6
15682 else
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15686 #include <sys/ioctl.h>
15687 #include <sys/types.h>
15688 #include <linux/joystick.h>
15690 struct js_event blub;
15691 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15692 #error "no 2.2 header"
15693 #endif
15696 main ()
15698 /*empty*/
15700 return 0;
15702 _ACEOF
15703 if ac_fn_c_try_compile "$LINENO"; then :
15704 wine_cv_linux_joystick_22_api=yes
15705 else
15706 wine_cv_linux_joystick_22_api=no
15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15712 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15713 if test "$wine_cv_linux_joystick_22_api" = "yes"
15714 then
15716 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15722 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15723 #ifdef HAVE_SYS_PARAM_H
15724 # include <sys/param.h>
15725 #endif
15726 #ifdef HAVE_SYS_MOUNT_H
15727 # include <sys/mount.h>
15728 #endif
15729 #ifdef HAVE_SYS_VFS_H
15730 # include <sys/vfs.h>
15731 #endif
15732 #ifdef HAVE_SYS_STATFS_H
15733 # include <sys/statfs.h>
15734 #endif
15736 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_STRUCT_STATFS_F_BFREE 1
15740 _ACEOF
15744 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15745 #ifdef HAVE_SYS_PARAM_H
15746 # include <sys/param.h>
15747 #endif
15748 #ifdef HAVE_SYS_MOUNT_H
15749 # include <sys/mount.h>
15750 #endif
15751 #ifdef HAVE_SYS_VFS_H
15752 # include <sys/vfs.h>
15753 #endif
15754 #ifdef HAVE_SYS_STATFS_H
15755 # include <sys/statfs.h>
15756 #endif
15758 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15762 _ACEOF
15766 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15767 #ifdef HAVE_SYS_PARAM_H
15768 # include <sys/param.h>
15769 #endif
15770 #ifdef HAVE_SYS_MOUNT_H
15771 # include <sys/mount.h>
15772 #endif
15773 #ifdef HAVE_SYS_VFS_H
15774 # include <sys/vfs.h>
15775 #endif
15776 #ifdef HAVE_SYS_STATFS_H
15777 # include <sys/statfs.h>
15778 #endif
15780 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15784 _ACEOF
15788 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15789 #ifdef HAVE_SYS_PARAM_H
15790 # include <sys/param.h>
15791 #endif
15792 #ifdef HAVE_SYS_MOUNT_H
15793 # include <sys/mount.h>
15794 #endif
15795 #ifdef HAVE_SYS_VFS_H
15796 # include <sys/vfs.h>
15797 #endif
15798 #ifdef HAVE_SYS_STATFS_H
15799 # include <sys/statfs.h>
15800 #endif
15802 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15804 cat >>confdefs.h <<_ACEOF
15805 #define HAVE_STRUCT_STATFS_F_FFREE 1
15806 _ACEOF
15810 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15811 #ifdef HAVE_SYS_PARAM_H
15812 # include <sys/param.h>
15813 #endif
15814 #ifdef HAVE_SYS_MOUNT_H
15815 # include <sys/mount.h>
15816 #endif
15817 #ifdef HAVE_SYS_VFS_H
15818 # include <sys/vfs.h>
15819 #endif
15820 #ifdef HAVE_SYS_STATFS_H
15821 # include <sys/statfs.h>
15822 #endif
15824 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15828 _ACEOF
15832 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15833 #ifdef HAVE_SYS_PARAM_H
15834 # include <sys/param.h>
15835 #endif
15836 #ifdef HAVE_SYS_MOUNT_H
15837 # include <sys/mount.h>
15838 #endif
15839 #ifdef HAVE_SYS_VFS_H
15840 # include <sys/vfs.h>
15841 #endif
15842 #ifdef HAVE_SYS_STATFS_H
15843 # include <sys/statfs.h>
15844 #endif
15846 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15850 _ACEOF
15856 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15857 #include <sys/statvfs.h>
15858 #endif
15860 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15864 _ACEOF
15870 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15871 #include <dirent.h>
15872 #endif
15874 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15876 cat >>confdefs.h <<_ACEOF
15877 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15878 _ACEOF
15884 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15885 #ifdef HAVE_SYS_SOCKET_H
15886 # include <sys/socket.h>
15887 #endif
15888 #ifdef HAVE_SYS_UN_H
15889 # include <sys/un.h>
15890 #endif
15892 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15896 _ACEOF
15900 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15901 #ifdef HAVE_SYS_SOCKET_H
15902 # include <sys/socket.h>
15903 #endif
15904 #ifdef HAVE_SYS_UN_H
15905 # include <sys/un.h>
15906 #endif
15908 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15912 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15917 #ifdef HAVE_SYS_SOCKET_H
15918 # include <sys/socket.h>
15919 #endif
15920 #ifdef HAVE_SYS_UN_H
15921 # include <sys/un.h>
15922 #endif
15924 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15928 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15935 #ifdef HAVE_SCSI_SG_H
15936 #include <scsi/sg.h>
15937 #endif
15939 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_SCSIREQ_T_CMD 1
15943 _ACEOF
15947 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>
15948 #ifdef HAVE_SCSI_SG_H
15949 #include <scsi/sg.h>
15950 #endif
15952 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15956 _ACEOF
15962 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15964 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15966 cat >>confdefs.h <<_ACEOF
15967 #define HAVE_SIGINFO_T_SI_FD 1
15968 _ACEOF
15974 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15975 #ifdef HAVE_SYS_MTIO_H
15976 #include <sys/mtio.h>
15977 #endif
15979 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15983 _ACEOF
15987 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_MTIO_H
15989 #include <sys/mtio.h>
15990 #endif
15992 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15996 _ACEOF
16000 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_MTIO_H
16002 #include <sys/mtio.h>
16003 #endif
16005 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16007 cat >>confdefs.h <<_ACEOF
16008 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16009 _ACEOF
16015 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16016 #include <getopt.h>
16017 #endif
16019 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_STRUCT_OPTION_NAME 1
16023 _ACEOF
16029 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16030 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16034 _ACEOF
16038 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16039 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_STRUCT_STAT_ST_MTIM 1
16043 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16048 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16052 _ACEOF
16056 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16057 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_STRUCT_STAT_ST_CTIM 1
16061 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16066 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16070 _ACEOF
16074 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16075 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_STRUCT_STAT_ST_ATIM 1
16079 _ACEOF
16083 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16084 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16088 _ACEOF
16092 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16093 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16097 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16102 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16106 _ACEOF
16110 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16111 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16115 _ACEOF
16119 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16120 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16124 _ACEOF
16128 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16129 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16133 _ACEOF
16139 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
16140 #include <sys/types.h>
16141 #endif
16142 #ifdef HAVE_NETINET_IN_H
16143 #include <netinet/in.h>
16144 #endif
16146 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16150 _ACEOF
16156 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16157 #include <resolv.h>
16158 #endif
16160 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT___RES_STATE 1
16164 _ACEOF
16170 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
16171 #include <resolv.h>
16172 #endif
16174 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16178 _ACEOF
16184 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16185 #include <sys/types.h>
16186 #endif
16187 #ifdef HAVE_NETINET_IN_H
16188 # include <netinet/in.h>
16189 #endif
16190 #ifdef HAVE_ARPA_NAMESER_H
16191 # include <arpa/nameser.h>
16192 #endif
16194 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_NS_MSG__MSG_PTR 1
16198 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16205 #include <sys/types.h>
16206 #endif
16207 #ifdef HAVE_NETINET_IP_H
16208 #include <netinet/ip.h>
16209 #endif
16210 #ifdef HAVE_NETINET_IP_ICMP_H
16211 #include <netinet/ip_icmp.h>
16212 #endif
16213 #ifdef HAVE_NETINET_ICMP_VAR_H
16214 #include <netinet/icmp_var.h>
16215 #endif
16217 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16221 _ACEOF
16227 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16228 #include <sys/types.h>
16229 #endif
16230 #ifdef HAVE_ALIAS_H
16231 #include <alias.h>
16232 #endif
16233 #ifdef HAVE_SYS_SOCKET_H
16234 #include <sys/socket.h>
16235 #endif
16236 #ifdef HAVE_SYS_SOCKETVAR_H
16237 #include <sys/socketvar.h>
16238 #endif
16239 #ifdef HAVE_SYS_TIMEOUT_H
16240 #include <sys/timeout.h>
16241 #endif
16242 #ifdef HAVE_NETINET_IN_H
16243 #include <netinet/in.h>
16244 #endif
16245 #ifdef HAVE_NETINET_IN_SYSTM_H
16246 #include <netinet/in_systm.h>
16247 #endif
16248 #ifdef HAVE_NETINET_IP_H
16249 #include <netinet/ip.h>
16250 #endif
16251 #ifdef HAVE_NETINET_IP_VAR_H
16252 #include <netinet/ip_var.h>
16253 #endif
16254 #ifdef HAVE_NETINET_IP_ICMP_H
16255 #include <netinet/ip_icmp.h>
16256 #endif
16257 #ifdef HAVE_NETINET_ICMP_VAR_H
16258 #include <netinet/icmp_var.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16265 _ACEOF
16271 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16272 #include <sys/types.h>
16273 #endif
16274 #ifdef HAVE_SYS_SOCKETVAR_H
16275 #include <sys/socketvar.h>
16276 #endif
16277 #ifdef HAVE_NETINET_IN_H
16278 #include <netinet/in.h>
16279 #endif
16280 #ifdef HAVE_NETINET_IP_VAR_H
16281 #include <netinet/ip_var.h>
16282 #endif
16284 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16288 _ACEOF
16294 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
16295 #include <netinet/ip_var.h>
16296 #endif
16298 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16302 _ACEOF
16308 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16309 #include <sys/types.h>
16310 #endif
16311 #ifdef HAVE_SYS_SOCKETVAR_H
16312 #include <sys/socketvar.h>
16313 #endif
16314 #ifdef HAVE_NETINET_IN_H
16315 #include <netinet/in.h>
16316 #endif
16317 #ifdef HAVE_NETINET_TCP_H
16318 #include <netinet/tcp.h>
16319 #endif
16320 #ifdef HAVE_NETINET_TCP_VAR_H
16321 #include <netinet/tcp_var.h>
16322 #endif
16324 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16328 _ACEOF
16334 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
16335 #include <netinet/tcp_var.h>
16336 #endif
16338 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16342 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16349 #include <sys/types.h>
16350 #endif
16351 #ifdef HAVE_NETINET_IN_H
16352 #include <netinet/in.h>
16353 #endif
16354 #ifdef HAVE_NETINET_IP_VAR_H
16355 #include <netinet/ip_var.h>
16356 #endif
16357 #ifdef HAVE_NETINET_UDP_H
16358 #include <netinet/udp.h>
16359 #endif
16360 #ifdef HAVE_NETINET_UDP_VAR_H
16361 #include <netinet/udp_var.h>
16362 #endif
16364 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16368 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16375 #include <sys/types.h>
16376 #endif
16377 #ifdef HAVE_NET_IF_H
16378 # include <net/if.h>
16379 #endif
16381 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16385 _ACEOF
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16392 $as_echo_n "checking for timezone variable... " >&6; }
16393 if ${ac_cv_have_timezone+:} false; then :
16394 $as_echo_n "(cached) " >&6
16395 else
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16398 #include <time.h>
16400 main ()
16402 timezone = 1
16404 return 0;
16406 _ACEOF
16407 if ac_fn_c_try_link "$LINENO"; then :
16408 ac_cv_have_timezone="yes"
16409 else
16410 ac_cv_have_timezone="no"
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16416 $as_echo "$ac_cv_have_timezone" >&6; }
16417 if test "$ac_cv_have_timezone" = "yes"
16418 then
16420 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16424 $as_echo_n "checking for daylight variable... " >&6; }
16425 if ${ac_cv_have_daylight+:} false; then :
16426 $as_echo_n "(cached) " >&6
16427 else
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #include <time.h>
16432 main ()
16434 daylight = 1
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_link "$LINENO"; then :
16440 ac_cv_have_daylight="yes"
16441 else
16442 ac_cv_have_daylight="no"
16444 rm -f core conftest.err conftest.$ac_objext \
16445 conftest$ac_exeext conftest.$ac_ext
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16448 $as_echo "$ac_cv_have_daylight" >&6; }
16449 if test "$ac_cv_have_daylight" = "yes"
16450 then
16452 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16456 ac_save_LIBS="$LIBS"
16457 LIBS="$LIBS -lm"
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16459 $as_echo_n "checking for isfinite... " >&6; }
16460 if ${ac_cv_have_isfinite+:} false; then :
16461 $as_echo_n "(cached) " >&6
16462 else
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16465 #define _GNU_SOURCE
16466 #include <math.h>
16468 main ()
16470 float f = 0.0; return isfinite(f)
16472 return 0;
16474 _ACEOF
16475 if ac_fn_c_try_link "$LINENO"; then :
16476 ac_cv_have_isfinite="yes"
16477 else
16478 ac_cv_have_isfinite="no"
16480 rm -f core conftest.err conftest.$ac_objext \
16481 conftest$ac_exeext conftest.$ac_ext
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16484 $as_echo "$ac_cv_have_isfinite" >&6; }
16485 if test "$ac_cv_have_isfinite" = "yes"
16486 then
16488 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16493 $as_echo_n "checking for isinf... " >&6; }
16494 if ${ac_cv_have_isinf+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #include <math.h>
16501 main ()
16503 float f = 0.0; return isinf(f)
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_have_isinf="yes"
16510 else
16511 ac_cv_have_isinf="no"
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16517 $as_echo "$ac_cv_have_isinf" >&6; }
16518 if test "$ac_cv_have_isinf" = "yes"
16519 then
16521 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16526 $as_echo_n "checking for isnan... " >&6; }
16527 if ${ac_cv_have_isnan+:} false; then :
16528 $as_echo_n "(cached) " >&6
16529 else
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h. */
16532 #include <math.h>
16534 main ()
16536 float f = 0.0; return isnan(f)
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"; then :
16542 ac_cv_have_isnan="yes"
16543 else
16544 ac_cv_have_isnan="no"
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16550 $as_echo "$ac_cv_have_isnan" >&6; }
16551 if test "$ac_cv_have_isnan" = "yes"
16552 then
16554 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16558 for ac_func in \
16559 cbrt \
16560 cbrtf \
16561 exp2 \
16562 exp2f \
16563 llrint \
16564 llrintf \
16565 llround \
16566 llroundf \
16567 log2 \
16568 log2f \
16569 lrint \
16570 lrintf \
16571 lround \
16572 lroundf \
16573 rint \
16574 rintf \
16575 round \
16576 roundf \
16577 trunc \
16578 truncf
16580 do :
16581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16586 _ACEOF
16589 done
16591 LIBS="$ac_save_LIBS"
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16594 $as_echo_n "checking for __builtin_clz... " >&6; }
16595 if ${ac_cv_have___builtin_clz+:} false; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16602 main ()
16604 return __builtin_clz(1)
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 ac_cv_have___builtin_clz="yes"
16611 else
16612 ac_cv_have___builtin_clz="no"
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16618 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16619 if test "$ac_cv_have___builtin_clz" = "yes"
16620 then
16622 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16627 case $host_cpu in
16628 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16629 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16630 if ${ac_cv_cpp_def___i386__+:} false; then :
16631 $as_echo_n "(cached) " >&6
16632 else
16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16635 #ifndef __i386__
16637 #endif
16638 _ACEOF
16639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16640 $EGREP "yes" >/dev/null 2>&1; then :
16641 ac_cv_cpp_def___i386__=yes
16642 else
16643 ac_cv_cpp_def___i386__=no
16645 rm -f conftest*
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16649 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16650 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16651 CFLAGS="$CFLAGS -D__i386__"
16652 LINTFLAGS="$LINTFLAGS -D__i386__"
16653 fi ;;
16654 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16655 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16656 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16657 $as_echo_n "(cached) " >&6
16658 else
16659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #ifndef __x86_64__
16663 #endif
16664 _ACEOF
16665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16666 $EGREP "yes" >/dev/null 2>&1; then :
16667 ac_cv_cpp_def___x86_64__=yes
16668 else
16669 ac_cv_cpp_def___x86_64__=no
16671 rm -f conftest*
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16675 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16676 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16677 CFLAGS="$CFLAGS -D__x86_64__"
16678 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16679 fi ;;
16680 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16681 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16682 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16687 #ifndef __sparc64__
16689 #endif
16690 _ACEOF
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "yes" >/dev/null 2>&1; then :
16693 ac_cv_cpp_def___sparc64__=yes
16694 else
16695 ac_cv_cpp_def___sparc64__=no
16697 rm -f conftest*
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16701 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16702 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16703 CFLAGS="$CFLAGS -D__sparc64__"
16704 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16705 fi ;;
16706 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16707 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16708 if ${ac_cv_cpp_def___sparc__+:} false; then :
16709 $as_echo_n "(cached) " >&6
16710 else
16711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16713 #ifndef __sparc__
16715 #endif
16716 _ACEOF
16717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16718 $EGREP "yes" >/dev/null 2>&1; then :
16719 ac_cv_cpp_def___sparc__=yes
16720 else
16721 ac_cv_cpp_def___sparc__=no
16723 rm -f conftest*
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16727 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16728 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16729 CFLAGS="$CFLAGS -D__sparc__"
16730 LINTFLAGS="$LINTFLAGS -D__sparc__"
16731 fi ;;
16732 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16733 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16734 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16735 $as_echo_n "(cached) " >&6
16736 else
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #ifndef __powerpc64__
16741 #endif
16742 _ACEOF
16743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16744 $EGREP "yes" >/dev/null 2>&1; then :
16745 ac_cv_cpp_def___powerpc64__=yes
16746 else
16747 ac_cv_cpp_def___powerpc64__=no
16749 rm -f conftest*
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16753 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16754 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16755 CFLAGS="$CFLAGS -D__powerpc64__"
16756 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16757 fi ;;
16758 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16759 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16760 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16764 /* end confdefs.h. */
16765 #ifndef __powerpc__
16767 #endif
16768 _ACEOF
16769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16770 $EGREP "yes" >/dev/null 2>&1; then :
16771 ac_cv_cpp_def___powerpc__=yes
16772 else
16773 ac_cv_cpp_def___powerpc__=no
16775 rm -f conftest*
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16779 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16780 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16781 CFLAGS="$CFLAGS -D__powerpc__"
16782 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16783 fi ;;
16784 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16785 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16786 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16787 $as_echo_n "(cached) " >&6
16788 else
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16791 #ifndef __aarch64__
16793 #endif
16794 _ACEOF
16795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16796 $EGREP "yes" >/dev/null 2>&1; then :
16797 ac_cv_cpp_def___aarch64__=yes
16798 else
16799 ac_cv_cpp_def___aarch64__=no
16801 rm -f conftest*
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16805 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16806 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16807 CFLAGS="$CFLAGS -D__aarch64__"
16808 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16809 fi ;;
16810 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16811 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16812 if ${ac_cv_cpp_def___arm__+:} false; then :
16813 $as_echo_n "(cached) " >&6
16814 else
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #ifndef __arm__
16819 #endif
16820 _ACEOF
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 $EGREP "yes" >/dev/null 2>&1; then :
16823 ac_cv_cpp_def___arm__=yes
16824 else
16825 ac_cv_cpp_def___arm__=no
16827 rm -f conftest*
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16831 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16832 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16833 CFLAGS="$CFLAGS -D__arm__"
16834 LINTFLAGS="$LINTFLAGS -D__arm__"
16835 fi ;;
16836 esac
16838 case $host_vendor in
16839 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16840 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16841 if ${ac_cv_cpp_def___sun__+:} false; then :
16842 $as_echo_n "(cached) " >&6
16843 else
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16846 #ifndef __sun__
16848 #endif
16849 _ACEOF
16850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16851 $EGREP "yes" >/dev/null 2>&1; then :
16852 ac_cv_cpp_def___sun__=yes
16853 else
16854 ac_cv_cpp_def___sun__=no
16856 rm -f conftest*
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16860 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16861 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16862 CFLAGS="$CFLAGS -D__sun__"
16863 LINTFLAGS="$LINTFLAGS -D__sun__"
16864 fi ;;
16865 esac
16871 ac_config_commands="$ac_config_commands include/stamp-h"
16873 $as_echo_n "creating Makefile rules..." >&6
16875 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16876 SOCKET_LIBS = $SOCKET_LIBS
16877 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16878 IOKIT_LIBS = $IOKIT_LIBS
16879 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16880 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16881 CORESERVICES_LIBS = $CORESERVICES_LIBS
16882 APPKIT_LIBS = $APPKIT_LIBS
16883 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16884 SECURITY_LIBS = $SECURITY_LIBS
16885 COREAUDIO_LIBS = $COREAUDIO_LIBS
16886 OPENAL_LIBS = $OPENAL_LIBS
16887 OPENCL_LIBS = $OPENCL_LIBS
16888 QUICKTIME_LIBS = $QUICKTIME_LIBS
16889 CARBON_LIBS = $CARBON_LIBS
16890 PTHREAD_LIBS = $PTHREAD_LIBS
16891 X_CFLAGS = $X_CFLAGS
16892 X_PRE_LIBS = $X_PRE_LIBS
16893 X_LIBS = $X_LIBS
16894 X_EXTRA_LIBS = $X_EXTRA_LIBS
16895 XML2_CFLAGS = $XML2_CFLAGS
16896 XML2_LIBS = $XML2_LIBS
16897 XSLT_CFLAGS = $XSLT_CFLAGS
16898 XSLT_LIBS = $XSLT_LIBS
16899 DBUS_CFLAGS = $DBUS_CFLAGS
16900 DBUS_LIBS = $DBUS_LIBS
16901 HAL_CFLAGS = $HAL_CFLAGS
16902 HAL_LIBS = $HAL_LIBS
16903 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16904 GNUTLS_LIBS = $GNUTLS_LIBS
16905 SANE_CFLAGS = $SANE_CFLAGS
16906 SANE_LIBS = $SANE_LIBS
16907 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16908 GPHOTO2_LIBS = $GPHOTO2_LIBS
16909 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16910 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16911 RESOLV_LIBS = $RESOLV_LIBS
16912 LCMS2_CFLAGS = $LCMS2_CFLAGS
16913 LCMS2_LIBS = $LCMS2_LIBS
16914 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16915 FREETYPE_LIBS = $FREETYPE_LIBS
16916 Z_LIBS = $Z_LIBS
16917 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16918 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16919 GSTREAMER_LIBS = $GSTREAMER_LIBS
16920 ALSA_LIBS = $ALSA_LIBS
16921 OSS4_CFLAGS = $OSS4_CFLAGS
16922 CAPI20_CFLAGS = $CAPI20_CFLAGS
16923 CAPI20_LIBS = $CAPI20_LIBS
16924 CUPS_CFLAGS = $CUPS_CFLAGS
16925 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16926 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16927 JPEG_CFLAGS = $JPEG_CFLAGS
16928 JPEG_LIBS = $JPEG_LIBS
16929 PNG_CFLAGS = $PNG_CFLAGS
16930 PNG_LIBS = $PNG_LIBS
16931 TIFF_CFLAGS = $TIFF_CFLAGS
16932 TIFF_LIBS = $TIFF_LIBS
16933 MPG123_CFLAGS = $MPG123_CFLAGS
16934 MPG123_LIBS = $MPG123_LIBS
16935 KSTAT_LIBS = $KSTAT_LIBS
16936 PROCSTAT_LIBS = $PROCSTAT_LIBS
16937 DL_LIBS = $DL_LIBS
16938 POLL_LIBS = $POLL_LIBS
16939 RT_LIBS = $RT_LIBS
16940 LDAP_LIBS = $LDAP_LIBS
16945 wine_fn_append_rule "
16946 # Rules automatically generated by configure
16948 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16950 .INIT: Makefile
16951 .MAKEFILEDEPS:
16952 all: Makefile
16953 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16954 @./config.status Make.tmp Makefile"
16956 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16957 .gitignore: config.status
16958 @./config.status .gitignore"
16960 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16961 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16963 if test "x$enable_fonts" != xno; then
16964 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16965 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16966 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16967 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16968 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16970 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16971 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16972 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16973 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16974 ac_config_links="$ac_config_links wine:tools/winewrapper"
16975 wine_fn_config_symlink wine
16976 if test "x$enable_win64" != xno; then
16977 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16978 wine_fn_config_symlink wine64
16981 wine_fn_config_dll acledit enable_acledit
16982 wine_fn_config_dll aclui enable_aclui implib
16983 wine_fn_config_dll activeds enable_activeds implib
16984 wine_fn_config_dll actxprxy enable_actxprxy clean
16985 wine_fn_config_lib adsiid
16986 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16987 wine_fn_config_test dlls/advapi32/tests advapi32_test
16988 wine_fn_config_dll advpack enable_advpack implib
16989 wine_fn_config_test dlls/advpack/tests advpack_test
16990 wine_fn_config_dll amstream enable_amstream clean
16991 wine_fn_config_test dlls/amstream/tests amstream_test
16992 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16995 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16996 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
16997 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16999 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17000 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17004 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17005 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17009 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17012 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17013 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17014 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17021 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17022 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17029 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17031 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17037 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17042 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17043 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17044 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17045 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17046 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17047 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17048 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17049 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17050 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17051 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17052 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17053 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17054 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17055 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17056 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17057 wine_fn_config_dll apphelp enable_apphelp
17058 wine_fn_config_test dlls/apphelp/tests apphelp_test
17059 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17060 wine_fn_config_dll atl enable_atl clean,implib
17061 wine_fn_config_test dlls/atl/tests atl_test
17062 wine_fn_config_dll atl100 enable_atl100 clean,implib
17063 wine_fn_config_test dlls/atl100/tests atl100_test
17064 wine_fn_config_dll atl110 enable_atl110 clean
17065 wine_fn_config_dll atl80 enable_atl80 clean,implib
17066 wine_fn_config_test dlls/atl80/tests atl80_test
17067 wine_fn_config_dll atl90 enable_atl90 clean
17068 wine_fn_config_dll authz enable_authz
17069 wine_fn_config_dll avicap32 enable_avicap32 implib
17070 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17071 wine_fn_config_test dlls/avifil32/tests avifil32_test
17072 wine_fn_config_dll avifile.dll16 enable_win16
17073 wine_fn_config_dll avrt enable_avrt implib
17074 wine_fn_config_dll bcrypt enable_bcrypt
17075 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17076 wine_fn_config_dll browseui enable_browseui clean,po
17077 wine_fn_config_test dlls/browseui/tests browseui_test
17078 wine_fn_config_dll cabinet enable_cabinet implib
17079 wine_fn_config_test dlls/cabinet/tests cabinet_test
17080 wine_fn_config_dll capi2032 enable_capi2032 implib
17081 wine_fn_config_dll cards enable_cards implib
17082 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17083 wine_fn_config_dll clusapi enable_clusapi implib
17084 wine_fn_config_dll combase enable_combase
17085 wine_fn_config_test dlls/combase/tests combase_test
17086 wine_fn_config_dll comcat enable_comcat
17087 wine_fn_config_test dlls/comcat/tests comcat_test
17088 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17089 wine_fn_config_test dlls/comctl32/tests comctl32_test
17090 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17091 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17092 wine_fn_config_dll comm.drv16 enable_win16
17093 wine_fn_config_dll commdlg.dll16 enable_win16
17094 wine_fn_config_dll compobj.dll16 enable_win16
17095 wine_fn_config_dll compstui enable_compstui implib
17096 wine_fn_config_dll comsvcs enable_comsvcs implib
17097 wine_fn_config_dll connect enable_connect
17098 wine_fn_config_dll credui enable_credui implib,po
17099 wine_fn_config_test dlls/credui/tests credui_test
17100 wine_fn_config_dll crtdll enable_crtdll implib
17101 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17102 wine_fn_config_test dlls/crypt32/tests crypt32_test
17103 wine_fn_config_dll cryptdlg enable_cryptdlg po
17104 wine_fn_config_dll cryptdll enable_cryptdll implib
17105 wine_fn_config_dll cryptext enable_cryptext
17106 wine_fn_config_dll cryptnet enable_cryptnet implib
17107 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17108 wine_fn_config_dll cryptui enable_cryptui implib,po
17109 wine_fn_config_test dlls/cryptui/tests cryptui_test
17110 wine_fn_config_dll ctapi32 enable_ctapi32
17111 wine_fn_config_dll ctl3d.dll16 enable_win16
17112 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17113 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17114 wine_fn_config_dll d2d1 enable_d2d1 implib
17115 wine_fn_config_test dlls/d2d1/tests d2d1_test
17116 wine_fn_config_dll d3d10 enable_d3d10 implib
17117 wine_fn_config_test dlls/d3d10/tests d3d10_test
17118 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17119 wine_fn_config_dll d3d10core enable_d3d10core implib
17120 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17121 wine_fn_config_dll d3d11 enable_d3d11
17122 wine_fn_config_dll d3d8 enable_d3d8 implib
17123 wine_fn_config_test dlls/d3d8/tests d3d8_test
17124 wine_fn_config_dll d3d9 enable_d3d9 implib
17125 wine_fn_config_test dlls/d3d9/tests d3d9_test
17126 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17127 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17128 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17129 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17130 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17131 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17132 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17133 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17134 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17135 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17136 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17137 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17138 wine_fn_config_dll d3dim enable_d3dim implib
17139 wine_fn_config_dll d3drm enable_d3drm implib
17140 wine_fn_config_test dlls/d3drm/tests d3drm_test
17141 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17142 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17143 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17144 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17145 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17146 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17147 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17148 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17149 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17150 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17151 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17152 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17153 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17154 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17155 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17156 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17157 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17158 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17159 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17160 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17161 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17162 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17163 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17164 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17165 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17166 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17167 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17168 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17169 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17170 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17171 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17172 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17173 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17174 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17175 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17176 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17177 wine_fn_config_dll dbgeng enable_dbgeng implib
17178 wine_fn_config_dll dbghelp enable_dbghelp implib
17179 wine_fn_config_dll dciman32 enable_dciman32 implib
17180 wine_fn_config_dll ddeml.dll16 enable_win16
17181 wine_fn_config_dll ddraw enable_ddraw clean,implib
17182 wine_fn_config_test dlls/ddraw/tests ddraw_test
17183 wine_fn_config_dll ddrawex enable_ddrawex clean
17184 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17185 wine_fn_config_dll devenum enable_devenum clean,po
17186 wine_fn_config_test dlls/devenum/tests devenum_test
17187 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17188 wine_fn_config_dll difxapi enable_difxapi
17189 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17190 wine_fn_config_test dlls/dinput/tests dinput_test
17191 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17192 wine_fn_config_test dlls/dinput8/tests dinput8_test
17193 wine_fn_config_dll dispdib.dll16 enable_win16
17194 wine_fn_config_dll dispex enable_dispex clean
17195 wine_fn_config_test dlls/dispex/tests dispex_test
17196 wine_fn_config_dll display.drv16 enable_win16
17197 wine_fn_config_dll dmband enable_dmband clean
17198 wine_fn_config_test dlls/dmband/tests dmband_test
17199 wine_fn_config_dll dmcompos enable_dmcompos clean
17200 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17201 wine_fn_config_dll dmime enable_dmime clean
17202 wine_fn_config_test dlls/dmime/tests dmime_test
17203 wine_fn_config_dll dmloader enable_dmloader clean
17204 wine_fn_config_test dlls/dmloader/tests dmloader_test
17205 wine_fn_config_dll dmscript enable_dmscript clean
17206 wine_fn_config_test dlls/dmscript/tests dmscript_test
17207 wine_fn_config_dll dmstyle enable_dmstyle clean
17208 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17209 wine_fn_config_dll dmsynth enable_dmsynth clean
17210 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17211 wine_fn_config_dll dmusic enable_dmusic clean
17212 wine_fn_config_test dlls/dmusic/tests dmusic_test
17213 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17214 wine_fn_config_dll dnsapi enable_dnsapi implib
17215 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17216 wine_fn_config_dll dplay enable_dplay implib
17217 wine_fn_config_dll dplayx enable_dplayx clean,implib
17218 wine_fn_config_test dlls/dplayx/tests dplayx_test
17219 wine_fn_config_dll dpnaddr enable_dpnaddr
17220 wine_fn_config_dll dpnet enable_dpnet clean,implib
17221 wine_fn_config_test dlls/dpnet/tests dpnet_test
17222 wine_fn_config_dll dpnhpast enable_dpnhpast
17223 wine_fn_config_dll dpnlobby enable_dpnlobby
17224 wine_fn_config_dll dpvoice enable_dpvoice clean
17225 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17226 wine_fn_config_dll dpwsockx enable_dpwsockx
17227 wine_fn_config_dll drmclien enable_drmclien
17228 wine_fn_config_dll dsound enable_dsound clean,implib
17229 wine_fn_config_test dlls/dsound/tests dsound_test
17230 wine_fn_config_dll dssenh enable_dssenh
17231 wine_fn_config_test dlls/dssenh/tests dssenh_test
17232 wine_fn_config_dll dswave enable_dswave clean
17233 wine_fn_config_test dlls/dswave/tests dswave_test
17234 wine_fn_config_dll dwmapi enable_dwmapi implib
17235 wine_fn_config_dll dwrite enable_dwrite implib
17236 wine_fn_config_test dlls/dwrite/tests dwrite_test
17237 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17238 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17239 wine_fn_config_lib dxerr8
17240 wine_fn_config_lib dxerr9
17241 wine_fn_config_dll dxgi enable_dxgi implib
17242 wine_fn_config_test dlls/dxgi/tests dxgi_test
17243 wine_fn_config_lib dxguid
17244 wine_fn_config_dll dxva2 enable_dxva2
17245 wine_fn_config_dll evr enable_evr
17246 wine_fn_config_dll explorerframe enable_explorerframe clean
17247 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17248 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17249 wine_fn_config_dll faultrep enable_faultrep implib
17250 wine_fn_config_test dlls/faultrep/tests faultrep_test
17251 wine_fn_config_dll fltlib enable_fltlib
17252 wine_fn_config_dll fntcache enable_fntcache
17253 wine_fn_config_dll fontsub enable_fontsub
17254 wine_fn_config_dll fusion enable_fusion
17255 wine_fn_config_test dlls/fusion/tests fusion_test
17256 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17257 wine_fn_config_dll gameux enable_gameux clean
17258 wine_fn_config_test dlls/gameux/tests gameux_test
17259 wine_fn_config_dll gdi.exe16 enable_win16
17260 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17261 wine_fn_config_test dlls/gdi32/tests gdi32_test
17262 wine_fn_config_dll gdiplus enable_gdiplus implib
17263 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17264 wine_fn_config_dll glu32 enable_glu32 implib
17265 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17266 wine_fn_config_dll gpkcsp enable_gpkcsp
17267 wine_fn_config_dll hal enable_hal
17268 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17269 wine_fn_config_dll hid enable_hid implib
17270 wine_fn_config_dll hlink enable_hlink clean,implib
17271 wine_fn_config_test dlls/hlink/tests hlink_test
17272 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17273 wine_fn_config_dll httpapi enable_httpapi
17274 wine_fn_config_dll iccvid enable_iccvid po
17275 wine_fn_config_dll icmp enable_icmp
17276 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17277 wine_fn_config_test dlls/ieframe/tests ieframe_test
17278 wine_fn_config_dll ifsmgr.vxd enable_win16
17279 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17280 wine_fn_config_dll imagehlp enable_imagehlp implib
17281 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17282 wine_fn_config_dll imm.dll16 enable_win16
17283 wine_fn_config_dll imm32 enable_imm32 implib
17284 wine_fn_config_test dlls/imm32/tests imm32_test
17285 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17286 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17287 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17288 wine_fn_config_dll inetmib1 enable_inetmib1
17289 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17290 wine_fn_config_dll infosoft enable_infosoft clean
17291 wine_fn_config_test dlls/infosoft/tests infosoft_test
17292 wine_fn_config_dll initpki enable_initpki
17293 wine_fn_config_dll inkobj enable_inkobj
17294 wine_fn_config_dll inseng enable_inseng clean
17295 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17296 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17297 wine_fn_config_dll itircl enable_itircl
17298 wine_fn_config_dll itss enable_itss clean
17299 wine_fn_config_test dlls/itss/tests itss_test
17300 wine_fn_config_dll joy.cpl enable_joy_cpl po
17301 wine_fn_config_dll jscript enable_jscript clean,po
17302 wine_fn_config_test dlls/jscript/tests jscript_test
17303 wine_fn_config_dll jsproxy enable_jsproxy implib
17304 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17305 wine_fn_config_test dlls/kernel32/tests kernel32_test
17306 wine_fn_config_dll keyboard.drv16 enable_win16
17307 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17308 wine_fn_config_dll ksuser enable_ksuser
17309 wine_fn_config_dll ktmw32 enable_ktmw32
17310 wine_fn_config_dll loadperf enable_loadperf implib
17311 wine_fn_config_dll localspl enable_localspl po
17312 wine_fn_config_test dlls/localspl/tests localspl_test
17313 wine_fn_config_dll localui enable_localui po
17314 wine_fn_config_test dlls/localui/tests localui_test
17315 wine_fn_config_dll lz32 enable_lz32 implib
17316 wine_fn_config_test dlls/lz32/tests lz32_test
17317 wine_fn_config_dll lzexpand.dll16 enable_win16
17318 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17319 wine_fn_config_test dlls/mapi32/tests mapi32_test
17320 wine_fn_config_dll mapistub enable_mapistub
17321 wine_fn_config_dll mciavi32 enable_mciavi32
17322 wine_fn_config_dll mcicda enable_mcicda
17323 wine_fn_config_dll mciqtz32 enable_mciqtz32
17324 wine_fn_config_dll mciseq enable_mciseq
17325 wine_fn_config_dll mciwave enable_mciwave
17326 wine_fn_config_dll mf enable_mf
17327 wine_fn_config_dll mfplat enable_mfplat
17328 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17329 wine_fn_config_dll mgmtapi enable_mgmtapi
17330 wine_fn_config_dll midimap enable_midimap
17331 wine_fn_config_dll mlang enable_mlang clean,implib
17332 wine_fn_config_test dlls/mlang/tests mlang_test
17333 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17334 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17335 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17336 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17337 wine_fn_config_dll mmdevldr.vxd enable_win16
17338 wine_fn_config_dll mmsystem.dll16 enable_win16
17339 wine_fn_config_dll monodebg.vxd enable_win16
17340 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17341 wine_fn_config_dll mouse.drv16 enable_win16
17342 wine_fn_config_dll mpr enable_mpr implib,po
17343 wine_fn_config_test dlls/mpr/tests mpr_test
17344 wine_fn_config_dll mprapi enable_mprapi implib
17345 wine_fn_config_dll msacm.dll16 enable_win16
17346 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17347 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17348 wine_fn_config_test dlls/msacm32/tests msacm32_test
17349 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17350 wine_fn_config_dll msasn1 enable_msasn1 implib
17351 wine_fn_config_dll mscat32 enable_mscat32
17352 wine_fn_config_dll mscms enable_mscms implib
17353 wine_fn_config_test dlls/mscms/tests mscms_test
17354 wine_fn_config_dll mscoree enable_mscoree clean
17355 wine_fn_config_test dlls/mscoree/tests mscoree_test
17356 wine_fn_config_dll msctf enable_msctf clean
17357 wine_fn_config_test dlls/msctf/tests msctf_test
17358 wine_fn_config_dll msdaps enable_msdaps clean
17359 wine_fn_config_dll msdmo enable_msdmo implib
17360 wine_fn_config_test dlls/msdmo/tests msdmo_test
17361 wine_fn_config_dll msftedit enable_msftedit
17362 wine_fn_config_dll msg711.acm enable_msg711_acm
17363 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17364 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17365 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17366 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17367 wine_fn_config_dll msi enable_msi clean,implib,po
17368 wine_fn_config_test dlls/msi/tests msi_test
17369 wine_fn_config_dll msident enable_msident clean
17370 wine_fn_config_dll msimg32 enable_msimg32 implib
17371 wine_fn_config_dll msimsg enable_msimsg
17372 wine_fn_config_dll msimtf enable_msimtf clean
17373 wine_fn_config_dll msisip enable_msisip
17374 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17375 wine_fn_config_dll msls31 enable_msls31
17376 wine_fn_config_dll msnet32 enable_msnet32
17377 wine_fn_config_dll mspatcha enable_mspatcha implib
17378 wine_fn_config_dll msrle32 enable_msrle32 po
17379 wine_fn_config_test dlls/msrle32/tests msrle32_test
17380 wine_fn_config_dll mssign32 enable_mssign32
17381 wine_fn_config_dll mssip32 enable_mssip32
17382 wine_fn_config_dll mstask enable_mstask clean
17383 wine_fn_config_test dlls/mstask/tests mstask_test
17384 wine_fn_config_dll msvcirt enable_msvcirt
17385 wine_fn_config_dll msvcm80 enable_msvcm80
17386 wine_fn_config_dll msvcm90 enable_msvcm90
17387 wine_fn_config_dll msvcp100 enable_msvcp100
17388 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17389 wine_fn_config_dll msvcp110 enable_msvcp110
17390 wine_fn_config_dll msvcp120 enable_msvcp120
17391 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17392 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17393 wine_fn_config_dll msvcp60 enable_msvcp60
17394 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17395 wine_fn_config_dll msvcp70 enable_msvcp70
17396 wine_fn_config_dll msvcp71 enable_msvcp71
17397 wine_fn_config_dll msvcp80 enable_msvcp80
17398 wine_fn_config_dll msvcp90 enable_msvcp90
17399 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17400 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17401 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17402 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17403 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17404 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17405 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17406 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17407 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17408 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17409 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17410 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17411 wine_fn_config_dll msvcrt enable_msvcrt implib
17412 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17413 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17414 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17415 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17416 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17417 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17418 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17419 wine_fn_config_dll msvidc32 enable_msvidc32 po
17420 wine_fn_config_dll msvideo.dll16 enable_win16
17421 wine_fn_config_dll mswsock enable_mswsock implib
17422 wine_fn_config_dll msxml enable_msxml clean
17423 wine_fn_config_dll msxml2 enable_msxml2 clean
17424 wine_fn_config_dll msxml3 enable_msxml3 clean
17425 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17426 wine_fn_config_dll msxml4 enable_msxml4 clean
17427 wine_fn_config_dll msxml6 enable_msxml6 clean
17428 wine_fn_config_dll nddeapi enable_nddeapi implib
17429 wine_fn_config_dll ndis.sys enable_ndis_sys
17430 wine_fn_config_dll netapi32 enable_netapi32 implib
17431 wine_fn_config_test dlls/netapi32/tests netapi32_test
17432 wine_fn_config_dll netcfgx enable_netcfgx clean
17433 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17434 wine_fn_config_dll netprofm enable_netprofm clean
17435 wine_fn_config_test dlls/netprofm/tests netprofm_test
17436 wine_fn_config_dll newdev enable_newdev implib
17437 wine_fn_config_dll normaliz enable_normaliz implib
17438 wine_fn_config_dll npmshtml enable_npmshtml
17439 wine_fn_config_dll npptools enable_npptools
17440 wine_fn_config_dll ntdll enable_ntdll implib
17441 wine_fn_config_test dlls/ntdll/tests ntdll_test
17442 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17443 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17444 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17445 wine_fn_config_dll ntprint enable_ntprint
17446 wine_fn_config_test dlls/ntprint/tests ntprint_test
17447 wine_fn_config_dll objsel enable_objsel clean
17448 wine_fn_config_dll odbc32 enable_odbc32 implib
17449 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17450 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17451 wine_fn_config_dll odbccu32 enable_odbccu32
17452 wine_fn_config_dll ole2.dll16 enable_win16
17453 wine_fn_config_dll ole2conv.dll16 enable_win16
17454 wine_fn_config_dll ole2disp.dll16 enable_win16
17455 wine_fn_config_dll ole2nls.dll16 enable_win16
17456 wine_fn_config_dll ole2prox.dll16 enable_win16
17457 wine_fn_config_dll ole2thk.dll16 enable_win16
17458 wine_fn_config_dll ole32 enable_ole32 clean,implib
17459 wine_fn_config_test dlls/ole32/tests ole32_test
17460 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17461 wine_fn_config_test dlls/oleacc/tests oleacc_test
17462 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17463 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17464 wine_fn_config_dll olecli.dll16 enable_win16
17465 wine_fn_config_dll olecli32 enable_olecli32 implib
17466 wine_fn_config_dll oledb32 enable_oledb32 clean
17467 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17468 wine_fn_config_dll oledlg enable_oledlg implib,po
17469 wine_fn_config_dll olepro32 enable_olepro32 implib
17470 wine_fn_config_dll olesvr.dll16 enable_win16
17471 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17472 wine_fn_config_dll olethk32 enable_olethk32
17473 wine_fn_config_dll openal32 enable_openal32
17474 wine_fn_config_dll opencl enable_opencl
17475 wine_fn_config_dll opengl32 enable_opengl32 implib
17476 wine_fn_config_test dlls/opengl32/tests opengl32_test
17477 wine_fn_config_dll packager enable_packager clean
17478 wine_fn_config_test dlls/packager/tests packager_test
17479 wine_fn_config_dll pdh enable_pdh implib
17480 wine_fn_config_test dlls/pdh/tests pdh_test
17481 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17482 wine_fn_config_dll pidgen enable_pidgen
17483 wine_fn_config_dll powrprof enable_powrprof implib
17484 wine_fn_config_dll printui enable_printui
17485 wine_fn_config_dll prntvpt enable_prntvpt
17486 wine_fn_config_dll propsys enable_propsys clean,implib
17487 wine_fn_config_test dlls/propsys/tests propsys_test
17488 wine_fn_config_dll psapi enable_psapi implib
17489 wine_fn_config_test dlls/psapi/tests psapi_test
17490 wine_fn_config_dll pstorec enable_pstorec clean
17491 wine_fn_config_dll qcap enable_qcap
17492 wine_fn_config_test dlls/qcap/tests qcap_test
17493 wine_fn_config_dll qedit enable_qedit clean
17494 wine_fn_config_test dlls/qedit/tests qedit_test
17495 wine_fn_config_dll qmgr enable_qmgr clean
17496 wine_fn_config_test dlls/qmgr/tests qmgr_test
17497 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17498 wine_fn_config_dll quartz enable_quartz clean,implib
17499 wine_fn_config_test dlls/quartz/tests quartz_test clean
17500 wine_fn_config_dll query enable_query
17501 wine_fn_config_dll rasapi16.dll16 enable_win16
17502 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17503 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17504 wine_fn_config_dll rasdlg enable_rasdlg implib
17505 wine_fn_config_dll regapi enable_regapi
17506 wine_fn_config_dll resutils enable_resutils implib
17507 wine_fn_config_dll riched20 enable_riched20 implib
17508 wine_fn_config_test dlls/riched20/tests riched20_test
17509 wine_fn_config_dll riched32 enable_riched32
17510 wine_fn_config_test dlls/riched32/tests riched32_test
17511 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17512 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17513 wine_fn_config_dll rsabase enable_rsabase
17514 wine_fn_config_dll rsaenh enable_rsaenh implib
17515 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17516 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17517 wine_fn_config_dll rtutils enable_rtutils implib
17518 wine_fn_config_dll samlib enable_samlib
17519 wine_fn_config_dll sane.ds enable_sane_ds po
17520 wine_fn_config_dll scarddlg enable_scarddlg
17521 wine_fn_config_dll sccbase enable_sccbase
17522 wine_fn_config_dll schannel enable_schannel
17523 wine_fn_config_test dlls/schannel/tests schannel_test
17524 wine_fn_config_dll schedsvc enable_schedsvc clean
17525 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17526 wine_fn_config_dll scrrun enable_scrrun clean
17527 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17528 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17529 wine_fn_config_dll secur32 enable_secur32 implib
17530 wine_fn_config_test dlls/secur32/tests secur32_test
17531 wine_fn_config_dll security enable_security
17532 wine_fn_config_dll sensapi enable_sensapi implib
17533 wine_fn_config_dll serialui enable_serialui implib,po
17534 wine_fn_config_test dlls/serialui/tests serialui_test
17535 wine_fn_config_dll setupapi enable_setupapi implib,po
17536 wine_fn_config_test dlls/setupapi/tests setupapi_test
17537 wine_fn_config_dll setupx.dll16 enable_win16
17538 wine_fn_config_dll sfc enable_sfc implib
17539 wine_fn_config_dll sfc_os enable_sfc_os implib
17540 wine_fn_config_dll shdoclc enable_shdoclc po
17541 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17542 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17543 wine_fn_config_dll shell.dll16 enable_win16
17544 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17545 wine_fn_config_test dlls/shell32/tests shell32_test
17546 wine_fn_config_dll shfolder enable_shfolder implib
17547 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17548 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17549 wine_fn_config_dll slbcsp enable_slbcsp
17550 wine_fn_config_dll slc enable_slc implib
17551 wine_fn_config_test dlls/slc/tests slc_test
17552 wine_fn_config_dll snmpapi enable_snmpapi implib
17553 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17554 wine_fn_config_dll softpub enable_softpub
17555 wine_fn_config_dll sound.drv16 enable_win16
17556 wine_fn_config_dll spoolss enable_spoolss implib
17557 wine_fn_config_test dlls/spoolss/tests spoolss_test
17558 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17559 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17560 wine_fn_config_dll sti enable_sti clean,implib
17561 wine_fn_config_test dlls/sti/tests sti_test
17562 wine_fn_config_dll storage.dll16 enable_win16
17563 wine_fn_config_dll stress.dll16 enable_win16
17564 wine_fn_config_lib strmbase
17565 wine_fn_config_lib strmiids
17566 wine_fn_config_dll svrapi enable_svrapi
17567 wine_fn_config_dll sxs enable_sxs implib
17568 wine_fn_config_test dlls/sxs/tests sxs_test
17569 wine_fn_config_dll system.drv16 enable_win16
17570 wine_fn_config_dll t2embed enable_t2embed
17571 wine_fn_config_dll tapi32 enable_tapi32 implib
17572 wine_fn_config_dll taskschd enable_taskschd clean
17573 wine_fn_config_test dlls/taskschd/tests taskschd_test
17574 wine_fn_config_dll toolhelp.dll16 enable_win16
17575 wine_fn_config_dll traffic enable_traffic
17576 wine_fn_config_dll twain.dll16 enable_win16
17577 wine_fn_config_dll twain_32 enable_twain_32
17578 wine_fn_config_test dlls/twain_32/tests twain_32_test
17579 wine_fn_config_dll typelib.dll16 enable_win16
17580 wine_fn_config_dll unicows enable_unicows implib
17581 wine_fn_config_dll updspapi enable_updspapi
17582 wine_fn_config_dll url enable_url implib
17583 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17584 wine_fn_config_test dlls/urlmon/tests urlmon_test
17585 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17586 wine_fn_config_dll user.exe16 enable_win16
17587 wine_fn_config_dll user32 enable_user32 clean,implib,po
17588 wine_fn_config_test dlls/user32/tests user32_test
17589 wine_fn_config_dll userenv enable_userenv implib
17590 wine_fn_config_test dlls/userenv/tests userenv_test
17591 wine_fn_config_dll usp10 enable_usp10 implib
17592 wine_fn_config_test dlls/usp10/tests usp10_test
17593 wine_fn_config_lib uuid
17594 wine_fn_config_dll uxtheme enable_uxtheme implib
17595 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17596 wine_fn_config_dll vbscript enable_vbscript clean
17597 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17598 wine_fn_config_dll vcomp enable_vcomp
17599 wine_fn_config_dll vcomp100 enable_vcomp100
17600 wine_fn_config_dll vcomp90 enable_vcomp90
17601 wine_fn_config_dll vdhcp.vxd enable_win16
17602 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17603 wine_fn_config_dll ver.dll16 enable_win16
17604 wine_fn_config_dll version enable_version implib
17605 wine_fn_config_test dlls/version/tests version_test
17606 wine_fn_config_dll vmm.vxd enable_win16
17607 wine_fn_config_dll vnbt.vxd enable_win16
17608 wine_fn_config_dll vnetbios.vxd enable_win16
17609 wine_fn_config_dll vssapi enable_vssapi
17610 wine_fn_config_dll vtdapi.vxd enable_win16
17611 wine_fn_config_dll vwin32.vxd enable_win16
17612 wine_fn_config_dll w32skrnl enable_win16
17613 wine_fn_config_dll w32sys.dll16 enable_win16
17614 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17615 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17616 wine_fn_config_dll wbemprox enable_wbemprox clean
17617 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17618 wine_fn_config_dll webservices enable_webservices implib
17619 wine_fn_config_dll wer enable_wer implib
17620 wine_fn_config_test dlls/wer/tests wer_test
17621 wine_fn_config_dll wevtapi enable_wevtapi
17622 wine_fn_config_dll wiaservc enable_wiaservc clean
17623 wine_fn_config_dll win32s16.dll16 enable_win16
17624 wine_fn_config_dll win87em.dll16 enable_win16
17625 wine_fn_config_dll winaspi.dll16 enable_win16
17626 wine_fn_config_dll windebug.dll16 enable_win16
17627 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17628 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17629 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17630 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17631 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17632 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17633 wine_fn_config_lib winecrt0
17634 wine_fn_config_dll wined3d enable_wined3d implib
17635 wine_fn_config_dll winegstreamer enable_winegstreamer
17636 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17637 wine_fn_config_dll winemac.drv enable_winemac_drv
17638 wine_fn_config_dll winemapi enable_winemapi
17639 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17640 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17641 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17642 wine_fn_config_dll wineps16.drv16 enable_win16
17643 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17644 wine_fn_config_dll winex11.drv enable_winex11_drv
17645 wine_fn_config_dll wing.dll16 enable_win16
17646 wine_fn_config_dll wing32 enable_wing32
17647 wine_fn_config_dll winhttp enable_winhttp clean,implib
17648 wine_fn_config_test dlls/winhttp/tests winhttp_test
17649 wine_fn_config_dll wininet enable_wininet implib,po
17650 wine_fn_config_test dlls/wininet/tests wininet_test
17651 wine_fn_config_dll winmm enable_winmm implib,po
17652 wine_fn_config_test dlls/winmm/tests winmm_test
17653 wine_fn_config_dll winnls.dll16 enable_win16
17654 wine_fn_config_dll winnls32 enable_winnls32 implib
17655 wine_fn_config_dll winscard enable_winscard implib
17656 wine_fn_config_dll winsock.dll16 enable_win16
17657 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17658 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17659 wine_fn_config_dll winsta enable_winsta
17660 wine_fn_config_dll wintab.dll16 enable_win16
17661 wine_fn_config_dll wintab32 enable_wintab32 implib
17662 wine_fn_config_test dlls/wintab32/tests wintab32_test
17663 wine_fn_config_dll wintrust enable_wintrust implib
17664 wine_fn_config_test dlls/wintrust/tests wintrust_test
17665 wine_fn_config_dll wlanapi enable_wlanapi
17666 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17667 wine_fn_config_test dlls/wldap32/tests wldap32_test
17668 wine_fn_config_dll wmi enable_wmi
17669 wine_fn_config_dll wmiutils enable_wmiutils clean
17670 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17671 wine_fn_config_dll wmp enable_wmp clean
17672 wine_fn_config_test dlls/wmp/tests wmp_test
17673 wine_fn_config_dll wmvcore enable_wmvcore
17674 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17675 wine_fn_config_dll wow32 enable_win16 implib
17676 wine_fn_config_dll wpcap enable_wpcap
17677 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17678 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17679 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17680 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17681 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17682 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17683 wine_fn_config_dll wsock32 enable_wsock32 implib
17684 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17685 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17686 wine_fn_config_dll wuapi enable_wuapi clean
17687 wine_fn_config_dll wuaueng enable_wuaueng
17688 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17689 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17690 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17691 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17692 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17693 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17694 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17695 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17696 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17697 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17698 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17699 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17700 wine_fn_config_dll xinput1_1 enable_xinput1_1
17701 wine_fn_config_dll xinput1_2 enable_xinput1_2
17702 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17703 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17704 wine_fn_config_dll xinput1_4 enable_xinput1_4
17705 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17706 wine_fn_config_dll xmllite enable_xmllite implib
17707 wine_fn_config_test dlls/xmllite/tests xmllite_test
17708 wine_fn_config_dll xolehlp enable_xolehlp
17709 wine_fn_config_dll xpsprint enable_xpsprint
17710 wine_fn_config_dll xpssvcs enable_xpssvcs
17711 wine_fn_config_makefile documentation enable_documentation clean
17712 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17713 wine_fn_config_makefile include enable_include clean,install-dev
17714 wine_fn_config_makefile libs/port enable_libs_port
17715 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17716 wine_fn_config_makefile libs/wpp enable_libs_wpp
17717 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17718 wine_fn_config_program arp enable_arp install
17719 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17720 wine_fn_config_program attrib enable_attrib install,po
17721 wine_fn_config_program cabarc enable_cabarc install
17722 wine_fn_config_program cacls enable_cacls install
17723 wine_fn_config_program clock enable_clock install,po
17724 wine_fn_config_program cmd enable_cmd install,po
17725 wine_fn_config_test programs/cmd/tests cmd.exe_test
17726 wine_fn_config_program conhost enable_conhost install
17727 wine_fn_config_program control enable_control install
17728 wine_fn_config_program cscript enable_cscript clean,install
17729 wine_fn_config_program dpnsvr enable_dpnsvr install
17730 wine_fn_config_program dxdiag enable_dxdiag install,po
17731 wine_fn_config_program eject enable_eject install
17732 wine_fn_config_program expand enable_expand install
17733 wine_fn_config_program explorer enable_explorer install,po
17734 wine_fn_config_program extrac32 enable_extrac32 install
17735 wine_fn_config_program findstr enable_findstr install
17736 wine_fn_config_program hh enable_hh install
17737 wine_fn_config_program hostname enable_hostname install,po
17738 wine_fn_config_program icinfo enable_icinfo install
17739 wine_fn_config_program iexplore enable_iexplore install
17740 wine_fn_config_program ipconfig enable_ipconfig install,po
17741 wine_fn_config_program lodctr enable_lodctr install
17742 wine_fn_config_program mofcomp enable_mofcomp install
17743 wine_fn_config_program mshta enable_mshta install
17744 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17745 wine_fn_config_program net enable_net install,po
17746 wine_fn_config_program netsh enable_netsh install
17747 wine_fn_config_program netstat enable_netstat install,po
17748 wine_fn_config_program ngen enable_ngen install
17749 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17750 wine_fn_config_program oleview enable_oleview install,po
17751 wine_fn_config_program ping enable_ping install
17752 wine_fn_config_program plugplay enable_plugplay install
17753 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17754 wine_fn_config_program progman enable_progman install,po
17755 wine_fn_config_program reg enable_reg install,po
17756 wine_fn_config_test programs/reg/tests reg.exe_test
17757 wine_fn_config_program regasm enable_regasm install
17758 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17759 wine_fn_config_test programs/regedit/tests regedit.exe_test
17760 wine_fn_config_program regsvcs enable_regsvcs install
17761 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17762 wine_fn_config_program rpcss enable_rpcss clean,install
17763 wine_fn_config_program rundll.exe16 enable_win16 install
17764 wine_fn_config_program rundll32 enable_rundll32 install
17765 wine_fn_config_program sc enable_sc install
17766 wine_fn_config_program schtasks enable_schtasks install
17767 wine_fn_config_program sdbinst enable_sdbinst install
17768 wine_fn_config_program secedit enable_secedit install
17769 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17770 wine_fn_config_program services enable_services clean,install
17771 wine_fn_config_test programs/services/tests services.exe_test
17772 wine_fn_config_program spoolsv enable_spoolsv install
17773 wine_fn_config_program start enable_start install,po
17774 wine_fn_config_program svchost enable_svchost install
17775 wine_fn_config_program systeminfo enable_systeminfo install
17776 wine_fn_config_program taskkill enable_taskkill install,po
17777 wine_fn_config_program tasklist enable_tasklist install
17778 wine_fn_config_program taskmgr enable_taskmgr install,po
17779 wine_fn_config_program termsv enable_termsv install
17780 wine_fn_config_program uninstaller enable_uninstaller install,po
17781 wine_fn_config_program unlodctr enable_unlodctr install
17782 wine_fn_config_program view enable_view install,po
17783 wine_fn_config_program wevtutil enable_wevtutil install
17784 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17785 wine_fn_config_program winebrowser enable_winebrowser install
17786 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17787 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17788 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17789 wine_fn_config_program winedevice enable_winedevice install
17790 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17791 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17792 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17793 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17794 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17795 wine_fn_config_program winetest enable_winetest clean
17796 wine_fn_config_program winevdm enable_win16 install
17797 wine_fn_config_program winhelp.exe16 enable_win16 install
17798 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17799 wine_fn_config_program winoldap.mod16 enable_win16 install
17800 wine_fn_config_program winver enable_winver install
17801 wine_fn_config_program wmic enable_wmic install,po
17802 wine_fn_config_program wordpad enable_wordpad install,po
17803 wine_fn_config_program write enable_write install,po
17804 wine_fn_config_program wscript enable_wscript clean,install
17805 wine_fn_config_test programs/wscript/tests wscript.exe_test
17806 wine_fn_config_program wusa enable_wusa install
17807 wine_fn_config_program xcopy enable_xcopy install,po
17808 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17809 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17810 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17811 wine_fn_config_tool tools/sfnt2fon clean
17812 wine_fn_config_tool tools/widl clean,install-dev,manpage
17813 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17814 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17815 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17816 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17817 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17819 LINGUAS="\
17820 ar \
17821 bg \
17822 ca \
17823 cs \
17824 da \
17825 de \
17826 el \
17827 en \
17828 en_US \
17829 eo \
17830 es \
17831 fa \
17832 fi \
17833 fr \
17834 he \
17835 hi \
17836 hr \
17837 hu \
17838 it \
17839 ja \
17840 ko \
17841 lt \
17842 ml \
17843 nb_NO \
17844 nl \
17845 or \
17846 pa \
17847 pl \
17848 pt_BR \
17849 pt_PT \
17850 rm \
17851 ro \
17852 ru \
17853 sk \
17854 sl \
17855 sr_RS@cyrillic \
17856 sr_RS@latin \
17857 sv \
17858 te \
17859 th \
17860 tr \
17861 uk \
17862 wa \
17863 zh_CN \
17864 zh_TW"
17869 wine_fn_ignore_file ".gitignore"
17870 wine_fn_ignore_file "Makefile"
17871 wine_fn_ignore_file "TAGS"
17872 wine_fn_ignore_file "tags"
17873 wine_fn_ignore_file "autom4te.cache"
17874 wine_fn_ignore_file "config.cache"
17875 wine_fn_ignore_file "config.log"
17876 wine_fn_ignore_file "config.status"
17877 wine_fn_ignore_file "configure.lineno"
17878 wine_fn_ignore_file "include/config.h"
17879 wine_fn_ignore_file "include/stamp-h"
17880 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17882 if test "x$enable_tools" != xno
17883 then
17884 wine_fn_ignore_file "tools/makedep$ac_exeext"
17885 ac_config_commands="$ac_config_commands tools/makedep"
17889 ac_config_commands="$ac_config_commands Makefile"
17892 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17896 if test "x$enable_maintainer_mode" = xyes
17897 then
17898 wine_fn_append_rule "configure: configure.ac aclocal.m4
17899 autoconf --warnings=all
17900 include/config.h.in: include/stamp-h.in
17901 include/stamp-h.in: configure.ac aclocal.m4
17902 autoheader --warnings=all
17903 @echo timestamp > \$@"
17906 if test "x$with_gettextpo" = xyes
17907 then
17908 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17909 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17910 \$(LINGUAS:%=po/%.po): po/wine.pot
17911 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17912 po/wine.pot: \$(ALL_POT_FILES)
17913 msgcat -o \$@ \$(ALL_POT_FILES)"
17916 if test "$MSGFMT" != false
17917 then
17918 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17919 clean::
17920 \$(RM) \$(LINGUAS:%=po/%.mo)"
17922 posrc="po"
17923 test "$srcdir" = . || posrc="$srcdir/po"
17924 for i in $LINGUAS
17926 wine_fn_ignore_file "po/$i.mo"
17927 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17928 \$(MSGFMT) -o \$@ $posrc/$i.po"
17929 done
17930 else
17931 LINGUAS=
17934 if test "x$enable_tools" != xno
17935 then
17936 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17937 @./config.status tools/makedep
17938 Makefile: tools/makedep$ac_exeext
17939 distclean:: clean
17940 \$(RM) tools/makedep$ac_exeext"
17941 else
17942 wine_fn_append_rule "\$(MAKEDEP):
17943 @echo \"You need to run make in $TOOLSDIR first\" && false"
17946 if test -n "$with_wine64"
17947 then
17948 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17949 fonts server tools:
17950 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17951 $with_wine64/loader/wine:
17952 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17953 $with_wine64/loader/wine-preloader:
17954 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17955 clean::
17956 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17957 else
17958 as_fn_append LOADER_RULES "
17959 install install-lib:: wine.inf install-man-pages
17960 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17961 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17963 uninstall::
17964 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17968 if test "$srcdir" = .
17969 then
17970 ac_config_commands="$ac_config_commands .gitignore"
17974 $as_echo " done" >&6
17975 cat >confcache <<\_ACEOF
17976 # This file is a shell script that caches the results of configure
17977 # tests run on this system so they can be shared between configure
17978 # scripts and configure runs, see configure's option --config-cache.
17979 # It is not useful on other systems. If it contains results you don't
17980 # want to keep, you may remove or edit it.
17982 # config.status only pays attention to the cache file if you give it
17983 # the --recheck option to rerun configure.
17985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17987 # following values.
17989 _ACEOF
17991 # The following way of writing the cache mishandles newlines in values,
17992 # but we know of no workaround that is simple, portable, and efficient.
17993 # So, we kill variables containing newlines.
17994 # Ultrix sh set writes to stderr and can't be redirected directly,
17995 # and sets the high bit in the cache file unless we assign to the vars.
17997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17998 eval ac_val=\$$ac_var
17999 case $ac_val in #(
18000 *${as_nl}*)
18001 case $ac_var in #(
18002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18004 esac
18005 case $ac_var in #(
18006 _ | IFS | as_nl) ;; #(
18007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18008 *) { eval $ac_var=; unset $ac_var;} ;;
18009 esac ;;
18010 esac
18011 done
18013 (set) 2>&1 |
18014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18015 *${as_nl}ac_space=\ *)
18016 # `set' does not quote correctly, so add quotes: double-quote
18017 # substitution turns \\\\ into \\, and sed turns \\ into \.
18018 sed -n \
18019 "s/'/'\\\\''/g;
18020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18021 ;; #(
18023 # `set' quotes correctly as required by POSIX, so do not add quotes.
18024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18026 esac |
18027 sort
18029 sed '
18030 /^ac_cv_env_/b end
18031 t clear
18032 :clear
18033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18034 t end
18035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18036 :end' >>confcache
18037 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18038 if test -w "$cache_file"; then
18039 if test "x$cache_file" != "x/dev/null"; then
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18041 $as_echo "$as_me: updating cache $cache_file" >&6;}
18042 if test ! -f "$cache_file" || test -h "$cache_file"; then
18043 cat confcache >"$cache_file"
18044 else
18045 case $cache_file in #(
18046 */* | ?:*)
18047 mv -f confcache "$cache_file"$$ &&
18048 mv -f "$cache_file"$$ "$cache_file" ;; #(
18050 mv -f confcache "$cache_file" ;;
18051 esac
18054 else
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18059 rm -f confcache
18061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18062 # Let make expand exec_prefix.
18063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18065 DEFS=-DHAVE_CONFIG_H
18067 ac_libobjs=
18068 ac_ltlibobjs=
18070 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18071 # 1. Remove the extension, and $U if already installed.
18072 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18073 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18074 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18075 # will be set to the directory where LIBOBJS objects are built.
18076 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18077 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18078 done
18079 LIBOBJS=$ac_libobjs
18081 LTLIBOBJS=$ac_ltlibobjs
18085 : "${CONFIG_STATUS=./config.status}"
18086 ac_write_fail=0
18087 ac_clean_files_save=$ac_clean_files
18088 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18090 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18091 as_write_fail=0
18092 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18093 #! $SHELL
18094 # Generated by $as_me.
18095 # Run this file to recreate the current configuration.
18096 # Compiler output produced by configure, useful for debugging
18097 # configure, is in config.log if it exists.
18099 debug=false
18100 ac_cs_recheck=false
18101 ac_cs_silent=false
18103 SHELL=\${CONFIG_SHELL-$SHELL}
18104 export SHELL
18105 _ASEOF
18106 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18107 ## -------------------- ##
18108 ## M4sh Initialization. ##
18109 ## -------------------- ##
18111 # Be more Bourne compatible
18112 DUALCASE=1; export DUALCASE # for MKS sh
18113 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18114 emulate sh
18115 NULLCMD=:
18116 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18117 # is contrary to our usage. Disable this feature.
18118 alias -g '${1+"$@"}'='"$@"'
18119 setopt NO_GLOB_SUBST
18120 else
18121 case `(set -o) 2>/dev/null` in #(
18122 *posix*) :
18123 set -o posix ;; #(
18124 *) :
18126 esac
18130 as_nl='
18132 export as_nl
18133 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18134 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18136 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18137 # Prefer a ksh shell builtin over an external printf program on Solaris,
18138 # but without wasting forks for bash or zsh.
18139 if test -z "$BASH_VERSION$ZSH_VERSION" \
18140 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18141 as_echo='print -r --'
18142 as_echo_n='print -rn --'
18143 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18144 as_echo='printf %s\n'
18145 as_echo_n='printf %s'
18146 else
18147 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18148 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18149 as_echo_n='/usr/ucb/echo -n'
18150 else
18151 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18152 as_echo_n_body='eval
18153 arg=$1;
18154 case $arg in #(
18155 *"$as_nl"*)
18156 expr "X$arg" : "X\\(.*\\)$as_nl";
18157 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18158 esac;
18159 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18161 export as_echo_n_body
18162 as_echo_n='sh -c $as_echo_n_body as_echo'
18164 export as_echo_body
18165 as_echo='sh -c $as_echo_body as_echo'
18168 # The user is always right.
18169 if test "${PATH_SEPARATOR+set}" != set; then
18170 PATH_SEPARATOR=:
18171 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18172 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18173 PATH_SEPARATOR=';'
18178 # IFS
18179 # We need space, tab and new line, in precisely that order. Quoting is
18180 # there to prevent editors from complaining about space-tab.
18181 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18182 # splitting by setting IFS to empty value.)
18183 IFS=" "" $as_nl"
18185 # Find who we are. Look in the path if we contain no directory separator.
18186 as_myself=
18187 case $0 in #((
18188 *[\\/]* ) as_myself=$0 ;;
18189 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18190 for as_dir in $PATH
18192 IFS=$as_save_IFS
18193 test -z "$as_dir" && as_dir=.
18194 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18195 done
18196 IFS=$as_save_IFS
18199 esac
18200 # We did not find ourselves, most probably we were run as `sh COMMAND'
18201 # in which case we are not to be found in the path.
18202 if test "x$as_myself" = x; then
18203 as_myself=$0
18205 if test ! -f "$as_myself"; then
18206 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18207 exit 1
18210 # Unset variables that we do not need and which cause bugs (e.g. in
18211 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18212 # suppresses any "Segmentation fault" message there. '((' could
18213 # trigger a bug in pdksh 5.2.14.
18214 for as_var in BASH_ENV ENV MAIL MAILPATH
18215 do eval test x\${$as_var+set} = xset \
18216 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18217 done
18218 PS1='$ '
18219 PS2='> '
18220 PS4='+ '
18222 # NLS nuisances.
18223 LC_ALL=C
18224 export LC_ALL
18225 LANGUAGE=C
18226 export LANGUAGE
18228 # CDPATH.
18229 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18232 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18233 # ----------------------------------------
18234 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18235 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18236 # script with STATUS, using 1 if that was 0.
18237 as_fn_error ()
18239 as_status=$1; test $as_status -eq 0 && as_status=1
18240 if test "$4"; then
18241 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18242 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18244 $as_echo "$as_me: error: $2" >&2
18245 as_fn_exit $as_status
18246 } # as_fn_error
18249 # as_fn_set_status STATUS
18250 # -----------------------
18251 # Set $? to STATUS, without forking.
18252 as_fn_set_status ()
18254 return $1
18255 } # as_fn_set_status
18257 # as_fn_exit STATUS
18258 # -----------------
18259 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18260 as_fn_exit ()
18262 set +e
18263 as_fn_set_status $1
18264 exit $1
18265 } # as_fn_exit
18267 # as_fn_unset VAR
18268 # ---------------
18269 # Portably unset VAR.
18270 as_fn_unset ()
18272 { eval $1=; unset $1;}
18274 as_unset=as_fn_unset
18275 # as_fn_append VAR VALUE
18276 # ----------------------
18277 # Append the text in VALUE to the end of the definition contained in VAR. Take
18278 # advantage of any shell optimizations that allow amortized linear growth over
18279 # repeated appends, instead of the typical quadratic growth present in naive
18280 # implementations.
18281 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18282 eval 'as_fn_append ()
18284 eval $1+=\$2
18286 else
18287 as_fn_append ()
18289 eval $1=\$$1\$2
18291 fi # as_fn_append
18293 # as_fn_arith ARG...
18294 # ------------------
18295 # Perform arithmetic evaluation on the ARGs, and store the result in the
18296 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18297 # must be portable across $(()) and expr.
18298 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18299 eval 'as_fn_arith ()
18301 as_val=$(( $* ))
18303 else
18304 as_fn_arith ()
18306 as_val=`expr "$@" || test $? -eq 1`
18308 fi # as_fn_arith
18311 if expr a : '\(a\)' >/dev/null 2>&1 &&
18312 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18313 as_expr=expr
18314 else
18315 as_expr=false
18318 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18319 as_basename=basename
18320 else
18321 as_basename=false
18324 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18325 as_dirname=dirname
18326 else
18327 as_dirname=false
18330 as_me=`$as_basename -- "$0" ||
18331 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18332 X"$0" : 'X\(//\)$' \| \
18333 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18334 $as_echo X/"$0" |
18335 sed '/^.*\/\([^/][^/]*\)\/*$/{
18336 s//\1/
18339 /^X\/\(\/\/\)$/{
18340 s//\1/
18343 /^X\/\(\/\).*/{
18344 s//\1/
18347 s/.*/./; q'`
18349 # Avoid depending upon Character Ranges.
18350 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18351 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18352 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18353 as_cr_digits='0123456789'
18354 as_cr_alnum=$as_cr_Letters$as_cr_digits
18356 ECHO_C= ECHO_N= ECHO_T=
18357 case `echo -n x` in #(((((
18358 -n*)
18359 case `echo 'xy\c'` in
18360 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18361 xy) ECHO_C='\c';;
18362 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18363 ECHO_T=' ';;
18364 esac;;
18366 ECHO_N='-n';;
18367 esac
18369 rm -f conf$$ conf$$.exe conf$$.file
18370 if test -d conf$$.dir; then
18371 rm -f conf$$.dir/conf$$.file
18372 else
18373 rm -f conf$$.dir
18374 mkdir conf$$.dir 2>/dev/null
18376 if (echo >conf$$.file) 2>/dev/null; then
18377 if ln -s conf$$.file conf$$ 2>/dev/null; then
18378 as_ln_s='ln -s'
18379 # ... but there are two gotchas:
18380 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18381 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18382 # In both cases, we have to default to `cp -pR'.
18383 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18384 as_ln_s='cp -pR'
18385 elif ln conf$$.file conf$$ 2>/dev/null; then
18386 as_ln_s=ln
18387 else
18388 as_ln_s='cp -pR'
18390 else
18391 as_ln_s='cp -pR'
18393 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18394 rmdir conf$$.dir 2>/dev/null
18397 # as_fn_mkdir_p
18398 # -------------
18399 # Create "$as_dir" as a directory, including parents if necessary.
18400 as_fn_mkdir_p ()
18403 case $as_dir in #(
18404 -*) as_dir=./$as_dir;;
18405 esac
18406 test -d "$as_dir" || eval $as_mkdir_p || {
18407 as_dirs=
18408 while :; do
18409 case $as_dir in #(
18410 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18411 *) as_qdir=$as_dir;;
18412 esac
18413 as_dirs="'$as_qdir' $as_dirs"
18414 as_dir=`$as_dirname -- "$as_dir" ||
18415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18416 X"$as_dir" : 'X\(//\)[^/]' \| \
18417 X"$as_dir" : 'X\(//\)$' \| \
18418 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18419 $as_echo X"$as_dir" |
18420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18421 s//\1/
18424 /^X\(\/\/\)[^/].*/{
18425 s//\1/
18428 /^X\(\/\/\)$/{
18429 s//\1/
18432 /^X\(\/\).*/{
18433 s//\1/
18436 s/.*/./; q'`
18437 test -d "$as_dir" && break
18438 done
18439 test -z "$as_dirs" || eval "mkdir $as_dirs"
18440 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18443 } # as_fn_mkdir_p
18444 if mkdir -p . 2>/dev/null; then
18445 as_mkdir_p='mkdir -p "$as_dir"'
18446 else
18447 test -d ./-p && rmdir ./-p
18448 as_mkdir_p=false
18452 # as_fn_executable_p FILE
18453 # -----------------------
18454 # Test if FILE is an executable regular file.
18455 as_fn_executable_p ()
18457 test -f "$1" && test -x "$1"
18458 } # as_fn_executable_p
18459 as_test_x='test -x'
18460 as_executable_p=as_fn_executable_p
18462 # Sed expression to map a string onto a valid CPP name.
18463 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18465 # Sed expression to map a string onto a valid variable name.
18466 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18469 exec 6>&1
18470 ## ----------------------------------- ##
18471 ## Main body of $CONFIG_STATUS script. ##
18472 ## ----------------------------------- ##
18473 _ASEOF
18474 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18477 # Save the log message, to keep $0 and so on meaningful, and to
18478 # report actual input values of CONFIG_FILES etc. instead of their
18479 # values after options handling.
18480 ac_log="
18481 This file was extended by Wine $as_me 1.7.42, which was
18482 generated by GNU Autoconf 2.69. Invocation command line was
18484 CONFIG_FILES = $CONFIG_FILES
18485 CONFIG_HEADERS = $CONFIG_HEADERS
18486 CONFIG_LINKS = $CONFIG_LINKS
18487 CONFIG_COMMANDS = $CONFIG_COMMANDS
18488 $ $0 $@
18490 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18493 _ACEOF
18495 case $ac_config_files in *"
18496 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18497 esac
18499 case $ac_config_headers in *"
18500 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18501 esac
18504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 # Files that config.status was made for.
18506 config_files="$ac_config_files"
18507 config_headers="$ac_config_headers"
18508 config_links="$ac_config_links"
18509 config_commands="$ac_config_commands"
18511 _ACEOF
18513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18514 ac_cs_usage="\
18515 \`$as_me' instantiates files and other configuration actions
18516 from templates according to the current configuration. Unless the files
18517 and actions are specified as TAGs, all are instantiated by default.
18519 Usage: $0 [OPTION]... [TAG]...
18521 -h, --help print this help, then exit
18522 -V, --version print version number and configuration settings, then exit
18523 --config print configuration, then exit
18524 -q, --quiet, --silent
18525 do not print progress messages
18526 -d, --debug don't remove temporary files
18527 --recheck update $as_me by reconfiguring in the same conditions
18528 --file=FILE[:TEMPLATE]
18529 instantiate the configuration file FILE
18530 --header=FILE[:TEMPLATE]
18531 instantiate the configuration header FILE
18533 Configuration files:
18534 $config_files
18536 Configuration headers:
18537 $config_headers
18539 Configuration links:
18540 $config_links
18542 Configuration commands:
18543 $config_commands
18545 Report bugs to <wine-devel@winehq.org>.
18546 Wine home page: <http://www.winehq.org>."
18548 _ACEOF
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18551 ac_cs_version="\\
18552 Wine config.status 1.7.42
18553 configured by $0, generated by GNU Autoconf 2.69,
18554 with options \\"\$ac_cs_config\\"
18556 Copyright (C) 2012 Free Software Foundation, Inc.
18557 This config.status script is free software; the Free Software Foundation
18558 gives unlimited permission to copy, distribute and modify it."
18560 ac_pwd='$ac_pwd'
18561 srcdir='$srcdir'
18562 test -n "\$AWK" || AWK=awk
18563 _ACEOF
18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18566 # The default lists apply if the user does not specify any file.
18567 ac_need_defaults=:
18568 while test $# != 0
18570 case $1 in
18571 --*=?*)
18572 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18573 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18574 ac_shift=:
18576 --*=)
18577 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18578 ac_optarg=
18579 ac_shift=:
18582 ac_option=$1
18583 ac_optarg=$2
18584 ac_shift=shift
18586 esac
18588 case $ac_option in
18589 # Handling of the options.
18590 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18591 ac_cs_recheck=: ;;
18592 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18593 $as_echo "$ac_cs_version"; exit ;;
18594 --config | --confi | --conf | --con | --co | --c )
18595 $as_echo "$ac_cs_config"; exit ;;
18596 --debug | --debu | --deb | --de | --d | -d )
18597 debug=: ;;
18598 --file | --fil | --fi | --f )
18599 $ac_shift
18600 case $ac_optarg in
18601 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18602 '') as_fn_error $? "missing file argument" ;;
18603 esac
18604 as_fn_append CONFIG_FILES " '$ac_optarg'"
18605 ac_need_defaults=false;;
18606 --header | --heade | --head | --hea )
18607 $ac_shift
18608 case $ac_optarg in
18609 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18610 esac
18611 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18612 ac_need_defaults=false;;
18613 --he | --h)
18614 # Conflict between --help and --header
18615 as_fn_error $? "ambiguous option: \`$1'
18616 Try \`$0 --help' for more information.";;
18617 --help | --hel | -h )
18618 $as_echo "$ac_cs_usage"; exit ;;
18619 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18620 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18621 ac_cs_silent=: ;;
18623 # This is an error.
18624 -*) as_fn_error $? "unrecognized option: \`$1'
18625 Try \`$0 --help' for more information." ;;
18627 *) as_fn_append ac_config_targets " $1"
18628 ac_need_defaults=false ;;
18630 esac
18631 shift
18632 done
18634 ac_configure_extra_args=
18636 if $ac_cs_silent; then
18637 exec 6>/dev/null
18638 ac_configure_extra_args="$ac_configure_extra_args --silent"
18641 _ACEOF
18642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18643 if \$ac_cs_recheck; then
18644 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18645 shift
18646 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18647 CONFIG_SHELL='$SHELL'
18648 export CONFIG_SHELL
18649 exec "\$@"
18652 _ACEOF
18653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18654 exec 5>>config.log
18656 echo
18657 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18658 ## Running $as_me. ##
18659 _ASBOX
18660 $as_echo "$ac_log"
18661 } >&5
18663 _ACEOF
18664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18666 # INIT-COMMANDS
18668 wine_fn_output_makedep ()
18670 as_dir=tools; as_fn_mkdir_p
18671 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18673 wine_fn_output_makefile ()
18675 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18676 `cat $wine_rules_file`
18677 _WINE_EOF
18678 as_fn_error $? "could not create Makefile" "$LINENO" 5
18680 wine_fn_output_gitignore ()
18682 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18683 $GITIGNORE
18684 _WINE_EOF
18685 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18688 _ACEOF
18690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18692 # Handling of arguments.
18693 for ac_config_target in $ac_config_targets
18695 case $ac_config_target in
18696 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18697 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18698 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18699 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18700 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18701 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18702 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18703 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18704 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18705 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18706 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18707 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18708 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18709 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18711 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18712 esac
18713 done
18716 # If the user did not use the arguments to specify the items to instantiate,
18717 # then the envvar interface is used. Set only those that are not.
18718 # We use the long form for the default assignment because of an extremely
18719 # bizarre bug on SunOS 4.1.3.
18720 if $ac_need_defaults; then
18721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18723 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18727 # Have a temporary directory for convenience. Make it in the build tree
18728 # simply because there is no reason against having it here, and in addition,
18729 # creating and moving files from /tmp can sometimes cause problems.
18730 # Hook for its removal unless debugging.
18731 # Note that there is a small window in which the directory will not be cleaned:
18732 # after its creation but before its name has been assigned to `$tmp'.
18733 $debug ||
18735 tmp= ac_tmp=
18736 trap 'exit_status=$?
18737 : "${ac_tmp:=$tmp}"
18738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18740 trap 'as_fn_exit 1' 1 2 13 15
18742 # Create a (secure) tmp directory for tmp files.
18745 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18746 test -d "$tmp"
18747 } ||
18749 tmp=./conf$$-$RANDOM
18750 (umask 077 && mkdir "$tmp")
18751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18752 ac_tmp=$tmp
18754 # Set up the scripts for CONFIG_FILES section.
18755 # No need to generate them if there are no CONFIG_FILES.
18756 # This happens for instance with `./config.status config.h'.
18757 if test -n "$CONFIG_FILES"; then
18760 ac_cr=`echo X | tr X '\015'`
18761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18762 # But we know of no other shell where ac_cr would be empty at this
18763 # point, so we can use a bashism as a fallback.
18764 if test "x$ac_cr" = x; then
18765 eval ac_cr=\$\'\\r\'
18767 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18769 ac_cs_awk_cr='\\r'
18770 else
18771 ac_cs_awk_cr=$ac_cr
18774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18775 _ACEOF
18779 echo "cat >conf$$subs.awk <<_ACEOF" &&
18780 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18781 echo "_ACEOF"
18782 } >conf$$subs.sh ||
18783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18785 ac_delim='%!_!# '
18786 for ac_last_try in false false false false false :; do
18787 . ./conf$$subs.sh ||
18788 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18790 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18791 if test $ac_delim_n = $ac_delim_num; then
18792 break
18793 elif $ac_last_try; then
18794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18795 else
18796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18798 done
18799 rm -f conf$$subs.sh
18801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18802 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18803 _ACEOF
18804 sed -n '
18806 s/^/S["/; s/!.*/"]=/
18809 s/^[^!]*!//
18810 :repl
18811 t repl
18812 s/'"$ac_delim"'$//
18813 t delim
18816 s/\(.\{148\}\)..*/\1/
18817 t more1
18818 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18821 b repl
18822 :more1
18823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18826 s/.\{148\}//
18827 t nl
18828 :delim
18830 s/\(.\{148\}\)..*/\1/
18831 t more2
18832 s/["\\]/\\&/g; s/^/"/; s/$/"/
18835 :more2
18836 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18839 s/.\{148\}//
18840 t delim
18841 ' <conf$$subs.awk | sed '
18842 /^[^""]/{
18844 s/\n//
18846 ' >>$CONFIG_STATUS || ac_write_fail=1
18847 rm -f conf$$subs.awk
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 _ACAWK
18850 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18851 for (key in S) S_is_set[key] = 1
18852 FS = "\a"
18856 line = $ 0
18857 nfields = split(line, field, "@")
18858 substed = 0
18859 len = length(field[1])
18860 for (i = 2; i < nfields; i++) {
18861 key = field[i]
18862 keylen = length(key)
18863 if (S_is_set[key]) {
18864 value = S[key]
18865 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18866 len += length(value) + length(field[++i])
18867 substed = 1
18868 } else
18869 len += 1 + keylen
18872 print line
18875 _ACAWK
18876 _ACEOF
18877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18878 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18879 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18880 else
18882 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18883 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18884 _ACEOF
18886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18888 # trailing colons and then remove the whole line if VPATH becomes empty
18889 # (actually we leave an empty line to preserve line numbers).
18890 if test "x$srcdir" = x.; then
18891 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18893 s///
18894 s/^/:/
18895 s/[ ]*$/:/
18896 s/:\$(srcdir):/:/g
18897 s/:\${srcdir}:/:/g
18898 s/:@srcdir@:/:/g
18899 s/^:*//
18900 s/:*$//
18902 s/\(=[ ]*\).*/\1/
18904 s/\n//
18905 s/^[^=]*=[ ]*$//
18909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18910 fi # test -n "$CONFIG_FILES"
18912 # Set up the scripts for CONFIG_HEADERS section.
18913 # No need to generate them if there are no CONFIG_HEADERS.
18914 # This happens for instance with `./config.status Makefile'.
18915 if test -n "$CONFIG_HEADERS"; then
18916 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18917 BEGIN {
18918 _ACEOF
18920 # Transform confdefs.h into an awk script `defines.awk', embedded as
18921 # here-document in config.status, that substitutes the proper values into
18922 # config.h.in to produce config.h.
18924 # Create a delimiter string that does not exist in confdefs.h, to ease
18925 # handling of long lines.
18926 ac_delim='%!_!# '
18927 for ac_last_try in false false :; do
18928 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18929 if test -z "$ac_tt"; then
18930 break
18931 elif $ac_last_try; then
18932 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18933 else
18934 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18936 done
18938 # For the awk script, D is an array of macro values keyed by name,
18939 # likewise P contains macro parameters if any. Preserve backslash
18940 # newline sequences.
18942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18943 sed -n '
18944 s/.\{148\}/&'"$ac_delim"'/g
18945 t rset
18946 :rset
18947 s/^[ ]*#[ ]*define[ ][ ]*/ /
18948 t def
18950 :def
18951 s/\\$//
18952 t bsnl
18953 s/["\\]/\\&/g
18954 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18955 D["\1"]=" \3"/p
18956 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18958 :bsnl
18959 s/["\\]/\\&/g
18960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18961 D["\1"]=" \3\\\\\\n"\\/p
18962 t cont
18963 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18964 t cont
18966 :cont
18968 s/.\{148\}/&'"$ac_delim"'/g
18969 t clear
18970 :clear
18971 s/\\$//
18972 t bsnlc
18973 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18975 :bsnlc
18976 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18977 b cont
18978 ' <confdefs.h | sed '
18979 s/'"$ac_delim"'/"\\\
18980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18983 for (key in D) D_is_set[key] = 1
18984 FS = "\a"
18986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18987 line = \$ 0
18988 split(line, arg, " ")
18989 if (arg[1] == "#") {
18990 defundef = arg[2]
18991 mac1 = arg[3]
18992 } else {
18993 defundef = substr(arg[1], 2)
18994 mac1 = arg[2]
18996 split(mac1, mac2, "(") #)
18997 macro = mac2[1]
18998 prefix = substr(line, 1, index(line, defundef) - 1)
18999 if (D_is_set[macro]) {
19000 # Preserve the white space surrounding the "#".
19001 print prefix "define", macro P[macro] D[macro]
19002 next
19003 } else {
19004 # Replace #undef with comments. This is necessary, for example,
19005 # in the case of _POSIX_SOURCE, which is predefined and required
19006 # on some systems where configure will not decide to define it.
19007 if (defundef == "undef") {
19008 print "/*", prefix defundef, macro, "*/"
19009 next
19013 { print }
19014 _ACAWK
19015 _ACEOF
19016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19017 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19018 fi # test -n "$CONFIG_HEADERS"
19021 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19022 shift
19023 for ac_tag
19025 case $ac_tag in
19026 :[FHLC]) ac_mode=$ac_tag; continue;;
19027 esac
19028 case $ac_mode$ac_tag in
19029 :[FHL]*:*);;
19030 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19031 :[FH]-) ac_tag=-:-;;
19032 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19033 esac
19034 ac_save_IFS=$IFS
19035 IFS=:
19036 set x $ac_tag
19037 IFS=$ac_save_IFS
19038 shift
19039 ac_file=$1
19040 shift
19042 case $ac_mode in
19043 :L) ac_source=$1;;
19044 :[FH])
19045 ac_file_inputs=
19046 for ac_f
19048 case $ac_f in
19049 -) ac_f="$ac_tmp/stdin";;
19050 *) # Look for the file first in the build tree, then in the source tree
19051 # (if the path is not absolute). The absolute path cannot be DOS-style,
19052 # because $ac_f cannot contain `:'.
19053 test -f "$ac_f" ||
19054 case $ac_f in
19055 [\\/$]*) false;;
19056 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19057 esac ||
19058 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19059 esac
19060 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19061 as_fn_append ac_file_inputs " '$ac_f'"
19062 done
19064 # Let's still pretend it is `configure' which instantiates (i.e., don't
19065 # use $as_me), people would be surprised to read:
19066 # /* config.h. Generated by config.status. */
19067 configure_input='Generated from '`
19068 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19069 `' by configure.'
19070 if test x"$ac_file" != x-; then
19071 configure_input="$ac_file. $configure_input"
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19073 $as_echo "$as_me: creating $ac_file" >&6;}
19075 # Neutralize special characters interpreted by sed in replacement strings.
19076 case $configure_input in #(
19077 *\&* | *\|* | *\\* )
19078 ac_sed_conf_input=`$as_echo "$configure_input" |
19079 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19080 *) ac_sed_conf_input=$configure_input;;
19081 esac
19083 case $ac_tag in
19084 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19086 esac
19088 esac
19090 ac_dir=`$as_dirname -- "$ac_file" ||
19091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092 X"$ac_file" : 'X\(//\)[^/]' \| \
19093 X"$ac_file" : 'X\(//\)$' \| \
19094 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19095 $as_echo X"$ac_file" |
19096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19097 s//\1/
19100 /^X\(\/\/\)[^/].*/{
19101 s//\1/
19104 /^X\(\/\/\)$/{
19105 s//\1/
19108 /^X\(\/\).*/{
19109 s//\1/
19112 s/.*/./; q'`
19113 as_dir="$ac_dir"; as_fn_mkdir_p
19114 ac_builddir=.
19116 case "$ac_dir" in
19117 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19119 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19120 # A ".." for each directory in $ac_dir_suffix.
19121 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19122 case $ac_top_builddir_sub in
19123 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19124 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19125 esac ;;
19126 esac
19127 ac_abs_top_builddir=$ac_pwd
19128 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19129 # for backward compatibility:
19130 ac_top_builddir=$ac_top_build_prefix
19132 case $srcdir in
19133 .) # We are building in place.
19134 ac_srcdir=.
19135 ac_top_srcdir=$ac_top_builddir_sub
19136 ac_abs_top_srcdir=$ac_pwd ;;
19137 [\\/]* | ?:[\\/]* ) # Absolute name.
19138 ac_srcdir=$srcdir$ac_dir_suffix;
19139 ac_top_srcdir=$srcdir
19140 ac_abs_top_srcdir=$srcdir ;;
19141 *) # Relative name.
19142 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19143 ac_top_srcdir=$ac_top_build_prefix$srcdir
19144 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19145 esac
19146 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19149 case $ac_mode in
19152 # CONFIG_FILE
19155 _ACEOF
19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19158 # If the template does not know about datarootdir, expand it.
19159 # FIXME: This hack should be removed a few years after 2.60.
19160 ac_datarootdir_hack=; ac_datarootdir_seen=
19161 ac_sed_dataroot='
19162 /datarootdir/ {
19166 /@datadir@/p
19167 /@docdir@/p
19168 /@infodir@/p
19169 /@localedir@/p
19170 /@mandir@/p'
19171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19172 *datarootdir*) ac_datarootdir_seen=yes;;
19173 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19175 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19176 _ACEOF
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19178 ac_datarootdir_hack='
19179 s&@datadir@&$datadir&g
19180 s&@docdir@&$docdir&g
19181 s&@infodir@&$infodir&g
19182 s&@localedir@&$localedir&g
19183 s&@mandir@&$mandir&g
19184 s&\\\${datarootdir}&$datarootdir&g' ;;
19185 esac
19186 _ACEOF
19188 # Neutralize VPATH when `$srcdir' = `.'.
19189 # Shell code in configure.ac might set extrasub.
19190 # FIXME: do we really want to maintain this feature?
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 ac_sed_extra="$ac_vpsub
19193 $extrasub
19194 _ACEOF
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19198 s|@configure_input@|$ac_sed_conf_input|;t t
19199 s&@top_builddir@&$ac_top_builddir_sub&;t t
19200 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19201 s&@srcdir@&$ac_srcdir&;t t
19202 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19203 s&@top_srcdir@&$ac_top_srcdir&;t t
19204 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19205 s&@builddir@&$ac_builddir&;t t
19206 s&@abs_builddir@&$ac_abs_builddir&;t t
19207 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19208 $ac_datarootdir_hack
19210 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19211 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19213 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19214 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19215 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19216 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19218 which seems to be undefined. Please make sure it is defined" >&5
19219 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19220 which seems to be undefined. Please make sure it is defined" >&2;}
19222 rm -f "$ac_tmp/stdin"
19223 case $ac_file in
19224 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19225 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19226 esac \
19227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19231 # CONFIG_HEADER
19233 if test x"$ac_file" != x-; then
19235 $as_echo "/* $configure_input */" \
19236 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19237 } >"$ac_tmp/config.h" \
19238 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19239 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19241 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19242 else
19243 rm -f "$ac_file"
19244 mv "$ac_tmp/config.h" "$ac_file" \
19245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19247 else
19248 $as_echo "/* $configure_input */" \
19249 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19250 || as_fn_error $? "could not create -" "$LINENO" 5
19255 # CONFIG_LINK
19258 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19260 else
19261 # Prefer the file from the source tree if names are identical.
19262 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19263 ac_source=$srcdir/$ac_source
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19267 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19269 if test ! -r "$ac_source"; then
19270 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19272 rm -f "$ac_file"
19274 # Try a relative symlink, then a hard link, then a copy.
19275 case $ac_source in
19276 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19277 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19278 esac
19279 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19280 ln "$ac_source" "$ac_file" 2>/dev/null ||
19281 cp -p "$ac_source" "$ac_file" ||
19282 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19285 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19286 $as_echo "$as_me: executing $ac_file commands" >&6;}
19288 esac
19291 case $ac_file$ac_mode in
19292 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19293 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19294 "Makefile":C) wine_fn_output_makefile Makefile ;;
19295 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19297 esac
19298 done # for ac_tag
19301 as_fn_exit 0
19302 _ACEOF
19303 ac_clean_files=$ac_clean_files_save
19305 test $ac_write_fail = 0 ||
19306 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19309 # configure is writing to config.log, and then calls config.status.
19310 # config.status does its own redirection, appending to config.log.
19311 # Unfortunately, on DOS this fails, as config.log is still kept open
19312 # by configure, so config.status won't be able to write to it; its
19313 # output is simply discarded. So we exec the FD to /dev/null,
19314 # effectively closing config.log, so it can be properly (re)opened and
19315 # appended to by config.status. When coming back to configure, we
19316 # need to make the FD available again.
19317 if test "$no_create" != yes; then
19318 ac_cs_success=:
19319 ac_config_status_args=
19320 test "$silent" = yes &&
19321 ac_config_status_args="$ac_config_status_args --quiet"
19322 exec 5>/dev/null
19323 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19324 exec 5>>config.log
19325 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19326 # would make configure fail if this is the last instruction.
19327 $ac_cs_success || as_fn_exit 1
19329 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19331 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19335 if test "$no_create" = "yes"
19336 then
19337 exit 0
19340 ac_save_IFS="$IFS"
19341 if test "x$wine_notices != "x; then
19342 echo >&6
19343 IFS="|"
19344 for msg in $wine_notices; do
19345 IFS="$ac_save_IFS"
19346 if ${msg:+false} :; then :
19348 else
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19350 $as_echo "$as_me: $msg" >&6;}
19352 done
19354 IFS="|"
19355 for msg in $wine_warnings; do
19356 IFS="$ac_save_IFS"
19357 if ${msg:+false} :; then :
19359 else
19360 echo >&2
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19362 $as_echo "$as_me: WARNING: $msg" >&2;}
19364 done
19365 IFS="$ac_save_IFS"
19367 $as_echo "
19368 $as_me: Finished. Do '${ac_make}' to compile Wine.
19369 " >&6