wininet: Allow Accept-Encoding for HTTP/1.0 requests.
[wine/multimedia.git] / configure
blob3c2a1bc9dfd315c0e8aac37e9bdd8e56af124f95
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.37.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.37'
584 PACKAGE_STRING='Wine 1.7.37'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_1
1327 enable_x3daudio1_6
1328 enable_x3daudio1_7
1329 enable_xapofx1_1
1330 enable_xapofx1_3
1331 enable_xapofx1_4
1332 enable_xapofx1_5
1333 enable_xaudio2_7
1334 enable_xinput1_1
1335 enable_xinput1_2
1336 enable_xinput1_3
1337 enable_xinput1_4
1338 enable_xinput9_1_0
1339 enable_xmllite
1340 enable_xolehlp
1341 enable_xpsprint
1342 enable_xpssvcs
1343 enable_documentation
1344 enable_fonts
1345 enable_include
1346 enable_libs_port
1347 enable_libs_wine
1348 enable_libs_wpp
1349 enable_loader
1350 enable_arp
1351 enable_aspnet_regiis
1352 enable_attrib
1353 enable_cabarc
1354 enable_cacls
1355 enable_clock
1356 enable_cmd
1357 enable_conhost
1358 enable_control
1359 enable_cscript
1360 enable_dpnsvr
1361 enable_dxdiag
1362 enable_eject
1363 enable_expand
1364 enable_explorer
1365 enable_extrac32
1366 enable_findstr
1367 enable_hh
1368 enable_hostname
1369 enable_icinfo
1370 enable_iexplore
1371 enable_ipconfig
1372 enable_lodctr
1373 enable_mofcomp
1374 enable_mshta
1375 enable_msiexec
1376 enable_net
1377 enable_netsh
1378 enable_netstat
1379 enable_ngen
1380 enable_notepad
1381 enable_oleview
1382 enable_ping
1383 enable_plugplay
1384 enable_presentationfontcache
1385 enable_progman
1386 enable_reg
1387 enable_regasm
1388 enable_regedit
1389 enable_regsvcs
1390 enable_regsvr32
1391 enable_rpcss
1392 enable_rundll32
1393 enable_sc
1394 enable_schtasks
1395 enable_sdbinst
1396 enable_secedit
1397 enable_servicemodelreg
1398 enable_services
1399 enable_spoolsv
1400 enable_start
1401 enable_svchost
1402 enable_systeminfo
1403 enable_taskkill
1404 enable_tasklist
1405 enable_taskmgr
1406 enable_termsv
1407 enable_uninstaller
1408 enable_unlodctr
1409 enable_view
1410 enable_wevtutil
1411 enable_wineboot
1412 enable_winebrowser
1413 enable_winecfg
1414 enable_wineconsole
1415 enable_winedbg
1416 enable_winedevice
1417 enable_winefile
1418 enable_winemenubuilder
1419 enable_winemine
1420 enable_winemsibuilder
1421 enable_winepath
1422 enable_winetest
1423 enable_winhlp32
1424 enable_winver
1425 enable_wmic
1426 enable_wordpad
1427 enable_write
1428 enable_wscript
1429 enable_wusa
1430 enable_xcopy
1431 enable_server
1432 enable_tools
1434 ac_precious_vars='build_alias
1435 host_alias
1436 target_alias
1438 CFLAGS
1439 LDFLAGS
1440 LIBS
1441 CPPFLAGS
1443 CXXFLAGS
1446 XMKMF
1447 XML2_CFLAGS
1448 XML2_LIBS
1449 XSLT_CFLAGS
1450 XSLT_LIBS
1451 DBUS_CFLAGS
1452 DBUS_LIBS
1453 HAL_CFLAGS
1454 HAL_LIBS
1455 GNUTLS_CFLAGS
1456 GNUTLS_LIBS
1457 SANE_CFLAGS
1458 SANE_LIBS
1459 GPHOTO2_CFLAGS
1460 GPHOTO2_LIBS
1461 GPHOTO2_PORT_CFLAGS
1462 GPHOTO2_PORT_LIBS
1463 LCMS2_CFLAGS
1464 LCMS2_LIBS
1465 FREETYPE_CFLAGS
1466 FREETYPE_LIBS
1467 GSTREAMER_CFLAGS
1468 GSTREAMER_LIBS
1469 CAPI20_CFLAGS
1470 CAPI20_LIBS
1471 FONTCONFIG_CFLAGS
1472 FONTCONFIG_LIBS
1473 JPEG_CFLAGS
1474 JPEG_LIBS
1475 PNG_CFLAGS
1476 PNG_LIBS
1477 TIFF_CFLAGS
1478 TIFF_LIBS
1479 MPG123_CFLAGS
1480 MPG123_LIBS'
1483 # Initialize some variables set by options.
1484 ac_init_help=
1485 ac_init_version=false
1486 ac_unrecognized_opts=
1487 ac_unrecognized_sep=
1488 # The variables have the same names as the options, with
1489 # dashes changed to underlines.
1490 cache_file=/dev/null
1491 exec_prefix=NONE
1492 no_create=
1493 no_recursion=
1494 prefix=NONE
1495 program_prefix=NONE
1496 program_suffix=NONE
1497 program_transform_name=s,x,x,
1498 silent=
1499 site=
1500 srcdir=
1501 verbose=
1502 x_includes=NONE
1503 x_libraries=NONE
1505 # Installation directory options.
1506 # These are left unexpanded so users can "make install exec_prefix=/foo"
1507 # and all the variables that are supposed to be based on exec_prefix
1508 # by default will actually change.
1509 # Use braces instead of parens because sh, perl, etc. also accept them.
1510 # (The list follows the same order as the GNU Coding Standards.)
1511 bindir='${exec_prefix}/bin'
1512 sbindir='${exec_prefix}/sbin'
1513 libexecdir='${exec_prefix}/libexec'
1514 datarootdir='${prefix}/share'
1515 datadir='${datarootdir}'
1516 sysconfdir='${prefix}/etc'
1517 sharedstatedir='${prefix}/com'
1518 localstatedir='${prefix}/var'
1519 includedir='${prefix}/include'
1520 oldincludedir='/usr/include'
1521 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1522 infodir='${datarootdir}/info'
1523 htmldir='${docdir}'
1524 dvidir='${docdir}'
1525 pdfdir='${docdir}'
1526 psdir='${docdir}'
1527 libdir='${exec_prefix}/lib'
1528 localedir='${datarootdir}/locale'
1529 mandir='${datarootdir}/man'
1531 ac_prev=
1532 ac_dashdash=
1533 for ac_option
1535 # If the previous option needs an argument, assign it.
1536 if test -n "$ac_prev"; then
1537 eval $ac_prev=\$ac_option
1538 ac_prev=
1539 continue
1542 case $ac_option in
1543 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1544 *=) ac_optarg= ;;
1545 *) ac_optarg=yes ;;
1546 esac
1548 # Accept the important Cygnus configure options, so we can diagnose typos.
1550 case $ac_dashdash$ac_option in
1552 ac_dashdash=yes ;;
1554 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1555 ac_prev=bindir ;;
1556 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1557 bindir=$ac_optarg ;;
1559 -build | --build | --buil | --bui | --bu)
1560 ac_prev=build_alias ;;
1561 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1562 build_alias=$ac_optarg ;;
1564 -cache-file | --cache-file | --cache-fil | --cache-fi \
1565 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1566 ac_prev=cache_file ;;
1567 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1568 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1569 cache_file=$ac_optarg ;;
1571 --config-cache | -C)
1572 cache_file=config.cache ;;
1574 -datadir | --datadir | --datadi | --datad)
1575 ac_prev=datadir ;;
1576 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1577 datadir=$ac_optarg ;;
1579 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1580 | --dataroo | --dataro | --datar)
1581 ac_prev=datarootdir ;;
1582 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1583 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1584 datarootdir=$ac_optarg ;;
1586 -disable-* | --disable-*)
1587 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1588 # Reject names that are not valid shell variable names.
1589 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1590 as_fn_error $? "invalid feature name: $ac_useropt"
1591 ac_useropt_orig=$ac_useropt
1592 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1593 case $ac_user_opts in
1595 "enable_$ac_useropt"
1596 "*) ;;
1597 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1598 ac_unrecognized_sep=', ';;
1599 esac
1600 eval enable_$ac_useropt=no ;;
1602 -docdir | --docdir | --docdi | --doc | --do)
1603 ac_prev=docdir ;;
1604 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1605 docdir=$ac_optarg ;;
1607 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1608 ac_prev=dvidir ;;
1609 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1610 dvidir=$ac_optarg ;;
1612 -enable-* | --enable-*)
1613 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1614 # Reject names that are not valid shell variable names.
1615 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1616 as_fn_error $? "invalid feature name: $ac_useropt"
1617 ac_useropt_orig=$ac_useropt
1618 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1619 case $ac_user_opts in
1621 "enable_$ac_useropt"
1622 "*) ;;
1623 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1624 ac_unrecognized_sep=', ';;
1625 esac
1626 eval enable_$ac_useropt=\$ac_optarg ;;
1628 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1629 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1630 | --exec | --exe | --ex)
1631 ac_prev=exec_prefix ;;
1632 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1633 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1634 | --exec=* | --exe=* | --ex=*)
1635 exec_prefix=$ac_optarg ;;
1637 -gas | --gas | --ga | --g)
1638 # Obsolete; use --with-gas.
1639 with_gas=yes ;;
1641 -help | --help | --hel | --he | -h)
1642 ac_init_help=long ;;
1643 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1644 ac_init_help=recursive ;;
1645 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1646 ac_init_help=short ;;
1648 -host | --host | --hos | --ho)
1649 ac_prev=host_alias ;;
1650 -host=* | --host=* | --hos=* | --ho=*)
1651 host_alias=$ac_optarg ;;
1653 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1654 ac_prev=htmldir ;;
1655 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1656 | --ht=*)
1657 htmldir=$ac_optarg ;;
1659 -includedir | --includedir | --includedi | --included | --include \
1660 | --includ | --inclu | --incl | --inc)
1661 ac_prev=includedir ;;
1662 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1663 | --includ=* | --inclu=* | --incl=* | --inc=*)
1664 includedir=$ac_optarg ;;
1666 -infodir | --infodir | --infodi | --infod | --info | --inf)
1667 ac_prev=infodir ;;
1668 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1669 infodir=$ac_optarg ;;
1671 -libdir | --libdir | --libdi | --libd)
1672 ac_prev=libdir ;;
1673 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1674 libdir=$ac_optarg ;;
1676 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1677 | --libexe | --libex | --libe)
1678 ac_prev=libexecdir ;;
1679 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1680 | --libexe=* | --libex=* | --libe=*)
1681 libexecdir=$ac_optarg ;;
1683 -localedir | --localedir | --localedi | --localed | --locale)
1684 ac_prev=localedir ;;
1685 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1686 localedir=$ac_optarg ;;
1688 -localstatedir | --localstatedir | --localstatedi | --localstated \
1689 | --localstate | --localstat | --localsta | --localst | --locals)
1690 ac_prev=localstatedir ;;
1691 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1692 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1693 localstatedir=$ac_optarg ;;
1695 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1696 ac_prev=mandir ;;
1697 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1698 mandir=$ac_optarg ;;
1700 -nfp | --nfp | --nf)
1701 # Obsolete; use --without-fp.
1702 with_fp=no ;;
1704 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1705 | --no-cr | --no-c | -n)
1706 no_create=yes ;;
1708 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1709 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1710 no_recursion=yes ;;
1712 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1713 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1714 | --oldin | --oldi | --old | --ol | --o)
1715 ac_prev=oldincludedir ;;
1716 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1717 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1718 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1719 oldincludedir=$ac_optarg ;;
1721 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1722 ac_prev=prefix ;;
1723 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1724 prefix=$ac_optarg ;;
1726 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1727 | --program-pre | --program-pr | --program-p)
1728 ac_prev=program_prefix ;;
1729 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1730 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1731 program_prefix=$ac_optarg ;;
1733 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1734 | --program-suf | --program-su | --program-s)
1735 ac_prev=program_suffix ;;
1736 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1737 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1738 program_suffix=$ac_optarg ;;
1740 -program-transform-name | --program-transform-name \
1741 | --program-transform-nam | --program-transform-na \
1742 | --program-transform-n | --program-transform- \
1743 | --program-transform | --program-transfor \
1744 | --program-transfo | --program-transf \
1745 | --program-trans | --program-tran \
1746 | --progr-tra | --program-tr | --program-t)
1747 ac_prev=program_transform_name ;;
1748 -program-transform-name=* | --program-transform-name=* \
1749 | --program-transform-nam=* | --program-transform-na=* \
1750 | --program-transform-n=* | --program-transform-=* \
1751 | --program-transform=* | --program-transfor=* \
1752 | --program-transfo=* | --program-transf=* \
1753 | --program-trans=* | --program-tran=* \
1754 | --progr-tra=* | --program-tr=* | --program-t=*)
1755 program_transform_name=$ac_optarg ;;
1757 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1758 ac_prev=pdfdir ;;
1759 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1760 pdfdir=$ac_optarg ;;
1762 -psdir | --psdir | --psdi | --psd | --ps)
1763 ac_prev=psdir ;;
1764 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1765 psdir=$ac_optarg ;;
1767 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1768 | -silent | --silent | --silen | --sile | --sil)
1769 silent=yes ;;
1771 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1772 ac_prev=sbindir ;;
1773 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1774 | --sbi=* | --sb=*)
1775 sbindir=$ac_optarg ;;
1777 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1778 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1779 | --sharedst | --shareds | --shared | --share | --shar \
1780 | --sha | --sh)
1781 ac_prev=sharedstatedir ;;
1782 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1783 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1784 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1785 | --sha=* | --sh=*)
1786 sharedstatedir=$ac_optarg ;;
1788 -site | --site | --sit)
1789 ac_prev=site ;;
1790 -site=* | --site=* | --sit=*)
1791 site=$ac_optarg ;;
1793 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1794 ac_prev=srcdir ;;
1795 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1796 srcdir=$ac_optarg ;;
1798 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1799 | --syscon | --sysco | --sysc | --sys | --sy)
1800 ac_prev=sysconfdir ;;
1801 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1802 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1803 sysconfdir=$ac_optarg ;;
1805 -target | --target | --targe | --targ | --tar | --ta | --t)
1806 ac_prev=target_alias ;;
1807 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1808 target_alias=$ac_optarg ;;
1810 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1811 verbose=yes ;;
1813 -version | --version | --versio | --versi | --vers | -V)
1814 ac_init_version=: ;;
1816 -with-* | --with-*)
1817 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1818 # Reject names that are not valid shell variable names.
1819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1820 as_fn_error $? "invalid package name: $ac_useropt"
1821 ac_useropt_orig=$ac_useropt
1822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1823 case $ac_user_opts in
1825 "with_$ac_useropt"
1826 "*) ;;
1827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1828 ac_unrecognized_sep=', ';;
1829 esac
1830 eval with_$ac_useropt=\$ac_optarg ;;
1832 -without-* | --without-*)
1833 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1834 # Reject names that are not valid shell variable names.
1835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1836 as_fn_error $? "invalid package name: $ac_useropt"
1837 ac_useropt_orig=$ac_useropt
1838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1839 case $ac_user_opts in
1841 "with_$ac_useropt"
1842 "*) ;;
1843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1844 ac_unrecognized_sep=', ';;
1845 esac
1846 eval with_$ac_useropt=no ;;
1848 --x)
1849 # Obsolete; use --with-x.
1850 with_x=yes ;;
1852 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1853 | --x-incl | --x-inc | --x-in | --x-i)
1854 ac_prev=x_includes ;;
1855 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1856 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1857 x_includes=$ac_optarg ;;
1859 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1860 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1861 ac_prev=x_libraries ;;
1862 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1863 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1864 x_libraries=$ac_optarg ;;
1866 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1867 Try \`$0 --help' for more information"
1870 *=*)
1871 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1872 # Reject names that are not valid shell variable names.
1873 case $ac_envvar in #(
1874 '' | [0-9]* | *[!_$as_cr_alnum]* )
1875 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1876 esac
1877 eval $ac_envvar=\$ac_optarg
1878 export $ac_envvar ;;
1881 # FIXME: should be removed in autoconf 3.0.
1882 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1883 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1884 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1885 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1888 esac
1889 done
1891 if test -n "$ac_prev"; then
1892 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1893 as_fn_error $? "missing argument to $ac_option"
1896 if test -n "$ac_unrecognized_opts"; then
1897 case $enable_option_checking in
1898 no) ;;
1899 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1900 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1901 esac
1904 # Check all directory arguments for consistency.
1905 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1906 datadir sysconfdir sharedstatedir localstatedir includedir \
1907 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1908 libdir localedir mandir
1910 eval ac_val=\$$ac_var
1911 # Remove trailing slashes.
1912 case $ac_val in
1913 */ )
1914 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1915 eval $ac_var=\$ac_val;;
1916 esac
1917 # Be sure to have absolute directory names.
1918 case $ac_val in
1919 [\\/$]* | ?:[\\/]* ) continue;;
1920 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1921 esac
1922 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1923 done
1925 # There might be people who depend on the old broken behavior: `$host'
1926 # used to hold the argument of --host etc.
1927 # FIXME: To remove some day.
1928 build=$build_alias
1929 host=$host_alias
1930 target=$target_alias
1932 # FIXME: To remove some day.
1933 if test "x$host_alias" != x; then
1934 if test "x$build_alias" = x; then
1935 cross_compiling=maybe
1936 elif test "x$build_alias" != "x$host_alias"; then
1937 cross_compiling=yes
1941 ac_tool_prefix=
1942 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1944 test "$silent" = yes && exec 6>/dev/null
1947 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1948 ac_ls_di=`ls -di .` &&
1949 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1950 as_fn_error $? "working directory cannot be determined"
1951 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1952 as_fn_error $? "pwd does not report name of working directory"
1955 # Find the source files, if location was not specified.
1956 if test -z "$srcdir"; then
1957 ac_srcdir_defaulted=yes
1958 # Try the directory containing this script, then the parent directory.
1959 ac_confdir=`$as_dirname -- "$as_myself" ||
1960 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1961 X"$as_myself" : 'X\(//\)[^/]' \| \
1962 X"$as_myself" : 'X\(//\)$' \| \
1963 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1964 $as_echo X"$as_myself" |
1965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1966 s//\1/
1969 /^X\(\/\/\)[^/].*/{
1970 s//\1/
1973 /^X\(\/\/\)$/{
1974 s//\1/
1977 /^X\(\/\).*/{
1978 s//\1/
1981 s/.*/./; q'`
1982 srcdir=$ac_confdir
1983 if test ! -r "$srcdir/$ac_unique_file"; then
1984 srcdir=..
1986 else
1987 ac_srcdir_defaulted=no
1989 if test ! -r "$srcdir/$ac_unique_file"; then
1990 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1991 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1993 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1994 ac_abs_confdir=`(
1995 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1996 pwd)`
1997 # When building in place, set srcdir=.
1998 if test "$ac_abs_confdir" = "$ac_pwd"; then
1999 srcdir=.
2001 # Remove unnecessary trailing slashes from srcdir.
2002 # Double slashes in file names in object file debugging info
2003 # mess up M-x gdb in Emacs.
2004 case $srcdir in
2005 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2006 esac
2007 for ac_var in $ac_precious_vars; do
2008 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2009 eval ac_env_${ac_var}_value=\$${ac_var}
2010 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2011 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2012 done
2015 # Report the --help message.
2017 if test "$ac_init_help" = "long"; then
2018 # Omit some internal or obsolete options to make the list less imposing.
2019 # This message is too long to be a string in the A/UX 3.1 sh.
2020 cat <<_ACEOF
2021 \`configure' configures Wine 1.7.37 to adapt to many kinds of systems.
2023 Usage: $0 [OPTION]... [VAR=VALUE]...
2025 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2026 VAR=VALUE. See below for descriptions of some of the useful variables.
2028 Defaults for the options are specified in brackets.
2030 Configuration:
2031 -h, --help display this help and exit
2032 --help=short display options specific to this package
2033 --help=recursive display the short help of all the included packages
2034 -V, --version display version information and exit
2035 -q, --quiet, --silent do not print \`checking ...' messages
2036 --cache-file=FILE cache test results in FILE [disabled]
2037 -C, --config-cache alias for \`--cache-file=config.cache'
2038 -n, --no-create do not create output files
2039 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2041 Installation directories:
2042 --prefix=PREFIX install architecture-independent files in PREFIX
2043 [$ac_default_prefix]
2044 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2045 [PREFIX]
2047 By default, \`make install' will install all the files in
2048 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2049 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2050 for instance \`--prefix=\$HOME'.
2052 For better control, use the options below.
2054 Fine tuning of the installation directories:
2055 --bindir=DIR user executables [EPREFIX/bin]
2056 --sbindir=DIR system admin executables [EPREFIX/sbin]
2057 --libexecdir=DIR program executables [EPREFIX/libexec]
2058 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2059 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2060 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2061 --libdir=DIR object code libraries [EPREFIX/lib]
2062 --includedir=DIR C header files [PREFIX/include]
2063 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2064 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2065 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2066 --infodir=DIR info documentation [DATAROOTDIR/info]
2067 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2068 --mandir=DIR man documentation [DATAROOTDIR/man]
2069 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2070 --htmldir=DIR html documentation [DOCDIR]
2071 --dvidir=DIR dvi documentation [DOCDIR]
2072 --pdfdir=DIR pdf documentation [DOCDIR]
2073 --psdir=DIR ps documentation [DOCDIR]
2074 _ACEOF
2076 cat <<\_ACEOF
2078 X features:
2079 --x-includes=DIR X include files are in DIR
2080 --x-libraries=DIR X library files are in DIR
2082 System types:
2083 --build=BUILD configure for building on BUILD [guessed]
2084 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2085 _ACEOF
2088 if test -n "$ac_init_help"; then
2089 case $ac_init_help in
2090 short | recursive ) echo "Configuration of Wine 1.7.37:";;
2091 esac
2092 cat <<\_ACEOF
2094 Optional Features:
2095 --disable-option-checking ignore unrecognized --enable/--with options
2096 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2097 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2098 --disable-win16 do not include Win16 support
2099 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2100 binaries)
2101 --disable-tests do not build the regression tests
2102 --enable-maintainer-mode
2103 enable maintainer-specific build rules
2104 --disable-largefile omit support for large files
2106 Optional Packages:
2107 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2108 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2109 --without-alsa do not use the Alsa sound support
2110 --without-capi do not use CAPI (ISDN support)
2111 --without-cms do not use CMS (color management support)
2112 --without-coreaudio do not use the CoreAudio sound support
2113 --without-cups do not use CUPS
2114 --without-curses do not use (n)curses
2115 --without-dbus do not use DBus (dynamic device support)
2116 --without-fontconfig do not use fontconfig
2117 --without-freetype do not use the FreeType library
2118 --without-gettext do not use gettext
2119 --with-gettextpo use the GetTextPO library to rebuild po files
2120 --without-gphoto do not use gphoto (Digital Camera support)
2121 --without-glu do not use the GLU library
2122 --without-gnutls do not use GnuTLS (schannel support)
2123 --without-gsm do not use libgsm (GSM 06.10 codec support)
2124 --without-gstreamer do not use GStreamer (codecs support)
2125 --without-hal do not use HAL (dynamic device support)
2126 --without-jpeg do not use JPEG
2127 --without-ldap do not use LDAP
2128 --without-mpg123 do not use the mpg123 library
2129 --without-netapi do not use the Samba NetAPI library
2130 --without-openal do not use OpenAL
2131 --without-opencl do not use OpenCL
2132 --without-opengl do not use OpenGL
2133 --without-osmesa do not use the OSMesa library
2134 --without-oss do not use the OSS sound support
2135 --without-pcap do not use the Packet Capture library
2136 --without-png do not use PNG
2137 --without-pthread do not use the pthread library
2138 --without-sane do not use SANE (scanner support)
2139 --without-tiff do not use TIFF
2140 --without-v4l do not use v4l1 (v4l support)
2141 --without-xcomposite do not use the Xcomposite extension
2142 --without-xcursor do not use the Xcursor extension
2143 --without-xinerama do not use Xinerama (multi-monitor support)
2144 --without-xinput do not use the Xinput extension
2145 --without-xinput2 do not use the Xinput 2 extension
2146 --without-xml do not use XML
2147 --without-xrandr do not use Xrandr (resolution changes)
2148 --without-xrender do not use the Xrender extension
2149 --without-xshape do not use the Xshape extension
2150 --without-xshm do not use XShm (shared memory extension)
2151 --without-xslt do not use XSLT
2152 --without-xxf86vm do not use XFree video mode extension
2153 --without-zlib do not use Zlib (data compression)
2154 --with-wine-tools=DIR use Wine tools from directory DIR
2155 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2156 --with-x use the X Window System
2158 Some influential environment variables:
2159 CC C compiler command
2160 CFLAGS C compiler flags
2161 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2162 nonstandard directory <lib dir>
2163 LIBS libraries to pass to the linker, e.g. -l<library>
2164 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2165 you have headers in a nonstandard directory <include dir>
2166 CXX C++ compiler command
2167 CXXFLAGS C++ compiler flags
2168 CPP C preprocessor
2169 XMKMF Path to xmkmf, Makefile generator for X Window System
2170 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2171 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2172 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2173 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2174 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2175 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2176 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2177 HAL_LIBS Linker flags for hal, overriding pkg-config
2178 GNUTLS_CFLAGS
2179 C compiler flags for gnutls, overriding pkg-config
2180 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2181 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2182 SANE_LIBS Linker flags for libsane, overriding pkg-config
2183 GPHOTO2_CFLAGS
2184 C compiler flags for libgphoto2, overriding pkg-config
2185 GPHOTO2_LIBS
2186 Linker flags for libgphoto2, overriding pkg-config
2187 GPHOTO2_PORT_CFLAGS
2188 C compiler flags for libgphoto2_port, overriding pkg-config
2189 GPHOTO2_PORT_LIBS
2190 Linker flags for libgphoto2_port, overriding pkg-config
2191 LCMS2_CFLAGS
2192 C compiler flags for lcms2, overriding pkg-config
2193 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2194 FREETYPE_CFLAGS
2195 C compiler flags for freetype2, overriding pkg-config
2196 FREETYPE_LIBS
2197 Linker flags for freetype2, overriding pkg-config
2198 GSTREAMER_CFLAGS
2199 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2200 GSTREAMER_LIBS
2201 Linker flags for gstreamer-app-0.10, overriding pkg-config
2202 CAPI20_CFLAGS
2203 C compiler flags for capi20, overriding pkg-config
2204 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2205 FONTCONFIG_CFLAGS
2206 C compiler flags for fontconfig, overriding pkg-config
2207 FONTCONFIG_LIBS
2208 Linker flags for fontconfig, overriding pkg-config
2209 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2210 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2211 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2212 PNG_LIBS Linker flags for libpng, overriding pkg-config
2213 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2214 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2215 MPG123_CFLAGS
2216 C compiler flags for libmpg123, overriding pkg-config
2217 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2219 Use these variables to override the choices made by `configure' or to help
2220 it to find libraries and programs with nonstandard names/locations.
2222 Report bugs to <wine-devel@winehq.org>.
2223 Wine home page: <http://www.winehq.org>.
2224 _ACEOF
2225 ac_status=$?
2228 if test "$ac_init_help" = "recursive"; then
2229 # If there are subdirs, report their specific --help.
2230 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2231 test -d "$ac_dir" ||
2232 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2233 continue
2234 ac_builddir=.
2236 case "$ac_dir" in
2237 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2239 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2240 # A ".." for each directory in $ac_dir_suffix.
2241 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2242 case $ac_top_builddir_sub in
2243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2245 esac ;;
2246 esac
2247 ac_abs_top_builddir=$ac_pwd
2248 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2249 # for backward compatibility:
2250 ac_top_builddir=$ac_top_build_prefix
2252 case $srcdir in
2253 .) # We are building in place.
2254 ac_srcdir=.
2255 ac_top_srcdir=$ac_top_builddir_sub
2256 ac_abs_top_srcdir=$ac_pwd ;;
2257 [\\/]* | ?:[\\/]* ) # Absolute name.
2258 ac_srcdir=$srcdir$ac_dir_suffix;
2259 ac_top_srcdir=$srcdir
2260 ac_abs_top_srcdir=$srcdir ;;
2261 *) # Relative name.
2262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2263 ac_top_srcdir=$ac_top_build_prefix$srcdir
2264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2265 esac
2266 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2268 cd "$ac_dir" || { ac_status=$?; continue; }
2269 # Check for guested configure.
2270 if test -f "$ac_srcdir/configure.gnu"; then
2271 echo &&
2272 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2273 elif test -f "$ac_srcdir/configure"; then
2274 echo &&
2275 $SHELL "$ac_srcdir/configure" --help=recursive
2276 else
2277 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2278 fi || ac_status=$?
2279 cd "$ac_pwd" || { ac_status=$?; break; }
2280 done
2283 test -n "$ac_init_help" && exit $ac_status
2284 if $ac_init_version; then
2285 cat <<\_ACEOF
2286 Wine configure 1.7.37
2287 generated by GNU Autoconf 2.69
2289 Copyright (C) 2012 Free Software Foundation, Inc.
2290 This configure script is free software; the Free Software Foundation
2291 gives unlimited permission to copy, distribute and modify it.
2292 _ACEOF
2293 exit
2296 ## ------------------------ ##
2297 ## Autoconf initialization. ##
2298 ## ------------------------ ##
2300 # ac_fn_c_try_compile LINENO
2301 # --------------------------
2302 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2303 ac_fn_c_try_compile ()
2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2306 rm -f conftest.$ac_objext
2307 if { { ac_try="$ac_compile"
2308 case "(($ac_try" in
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2311 esac
2312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2313 $as_echo "$ac_try_echo"; } >&5
2314 (eval "$ac_compile") 2>conftest.err
2315 ac_status=$?
2316 if test -s conftest.err; then
2317 grep -v '^ *+' conftest.err >conftest.er1
2318 cat conftest.er1 >&5
2319 mv -f conftest.er1 conftest.err
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; } && {
2323 test -z "$ac_c_werror_flag" ||
2324 test ! -s conftest.err
2325 } && test -s conftest.$ac_objext; then :
2326 ac_retval=0
2327 else
2328 $as_echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.$ac_ext >&5
2331 ac_retval=1
2333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2334 as_fn_set_status $ac_retval
2336 } # ac_fn_c_try_compile
2338 # ac_fn_cxx_try_compile LINENO
2339 # ----------------------------
2340 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2341 ac_fn_cxx_try_compile ()
2343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2344 rm -f conftest.$ac_objext
2345 if { { ac_try="$ac_compile"
2346 case "(($ac_try" in
2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2348 *) ac_try_echo=$ac_try;;
2349 esac
2350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2351 $as_echo "$ac_try_echo"; } >&5
2352 (eval "$ac_compile") 2>conftest.err
2353 ac_status=$?
2354 if test -s conftest.err; then
2355 grep -v '^ *+' conftest.err >conftest.er1
2356 cat conftest.er1 >&5
2357 mv -f conftest.er1 conftest.err
2359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2360 test $ac_status = 0; } && {
2361 test -z "$ac_cxx_werror_flag" ||
2362 test ! -s conftest.err
2363 } && test -s conftest.$ac_objext; then :
2364 ac_retval=0
2365 else
2366 $as_echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2369 ac_retval=1
2371 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 as_fn_set_status $ac_retval
2374 } # ac_fn_cxx_try_compile
2376 # ac_fn_c_try_link LINENO
2377 # -----------------------
2378 # Try to link conftest.$ac_ext, and return whether this succeeded.
2379 ac_fn_c_try_link ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 rm -f conftest.$ac_objext conftest$ac_exeext
2383 if { { ac_try="$ac_link"
2384 case "(($ac_try" in
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2387 esac
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_link") 2>conftest.err
2391 ac_status=$?
2392 if test -s conftest.err; then
2393 grep -v '^ *+' conftest.err >conftest.er1
2394 cat conftest.er1 >&5
2395 mv -f conftest.er1 conftest.err
2397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2398 test $ac_status = 0; } && {
2399 test -z "$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2401 } && test -s conftest$ac_exeext && {
2402 test "$cross_compiling" = yes ||
2403 test -x conftest$ac_exeext
2404 }; then :
2405 ac_retval=0
2406 else
2407 $as_echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2410 ac_retval=1
2412 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2413 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2414 # interfere with the next link command; also delete a directory that is
2415 # left behind by Apple's compiler. We do this before executing the actions.
2416 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2418 as_fn_set_status $ac_retval
2420 } # ac_fn_c_try_link
2422 # ac_fn_c_try_cpp LINENO
2423 # ----------------------
2424 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2425 ac_fn_c_try_cpp ()
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 if { { ac_try="$ac_cpp conftest.$ac_ext"
2429 case "(($ac_try" in
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2432 esac
2433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2434 $as_echo "$ac_try_echo"; } >&5
2435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2436 ac_status=$?
2437 if test -s conftest.err; then
2438 grep -v '^ *+' conftest.err >conftest.er1
2439 cat conftest.er1 >&5
2440 mv -f conftest.er1 conftest.err
2442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2443 test $ac_status = 0; } > conftest.i && {
2444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2445 test ! -s conftest.err
2446 }; then :
2447 ac_retval=0
2448 else
2449 $as_echo "$as_me: failed program was:" >&5
2450 sed 's/^/| /' conftest.$ac_ext >&5
2452 ac_retval=1
2454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2455 as_fn_set_status $ac_retval
2457 } # ac_fn_c_try_cpp
2459 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2460 # -------------------------------------------------------
2461 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2462 # the include files in INCLUDES and setting the cache variable VAR
2463 # accordingly.
2464 ac_fn_c_check_header_mongrel ()
2466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467 if eval \${$3+:} false; then :
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2469 $as_echo_n "checking for $2... " >&6; }
2470 if eval \${$3+:} false; then :
2471 $as_echo_n "(cached) " >&6
2473 eval ac_res=\$$3
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2475 $as_echo "$ac_res" >&6; }
2476 else
2477 # Is the header compilable?
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2479 $as_echo_n "checking $2 usability... " >&6; }
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2483 #include <$2>
2484 _ACEOF
2485 if ac_fn_c_try_compile "$LINENO"; then :
2486 ac_header_compiler=yes
2487 else
2488 ac_header_compiler=no
2490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2492 $as_echo "$ac_header_compiler" >&6; }
2494 # Is the header present?
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2496 $as_echo_n "checking $2 presence... " >&6; }
2497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2498 /* end confdefs.h. */
2499 #include <$2>
2500 _ACEOF
2501 if ac_fn_c_try_cpp "$LINENO"; then :
2502 ac_header_preproc=yes
2503 else
2504 ac_header_preproc=no
2506 rm -f conftest.err conftest.i conftest.$ac_ext
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2508 $as_echo "$ac_header_preproc" >&6; }
2510 # So? What about this header?
2511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2512 yes:no: )
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2514 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2516 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2518 no:yes:* )
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2520 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2522 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2524 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2526 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2528 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2529 ( $as_echo "## ------------------------------------ ##
2530 ## Report this to wine-devel@winehq.org ##
2531 ## ------------------------------------ ##"
2532 ) | sed "s/^/$as_me: WARNING: /" >&2
2534 esac
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2536 $as_echo_n "checking for $2... " >&6; }
2537 if eval \${$3+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 eval "$3=\$ac_header_compiler"
2542 eval ac_res=\$$3
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2544 $as_echo "$ac_res" >&6; }
2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2548 } # ac_fn_c_check_header_mongrel
2550 # ac_fn_c_try_run LINENO
2551 # ----------------------
2552 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2553 # that executables *can* be run.
2554 ac_fn_c_try_run ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 if { { ac_try="$ac_link"
2558 case "(($ac_try" in
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2561 esac
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_link") 2>&5
2565 ac_status=$?
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2568 { { case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_try") 2>&5
2575 ac_status=$?
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; }; then :
2578 ac_retval=0
2579 else
2580 $as_echo "$as_me: program exited with status $ac_status" >&5
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2584 ac_retval=$ac_status
2586 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2588 as_fn_set_status $ac_retval
2590 } # ac_fn_c_try_run
2592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2593 # -------------------------------------------------------
2594 # Tests whether HEADER exists and can be compiled using the include files in
2595 # INCLUDES, setting the cache variable VAR accordingly.
2596 ac_fn_c_check_header_compile ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if eval \${$3+:} false; then :
2602 $as_echo_n "(cached) " >&6
2603 else
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2607 #include <$2>
2608 _ACEOF
2609 if ac_fn_c_try_compile "$LINENO"; then :
2610 eval "$3=yes"
2611 else
2612 eval "$3=no"
2614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 eval ac_res=\$$3
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2618 $as_echo "$ac_res" >&6; }
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 } # ac_fn_c_check_header_compile
2623 # ac_fn_c_check_func LINENO FUNC VAR
2624 # ----------------------------------
2625 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2626 ac_fn_c_check_func ()
2628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2630 $as_echo_n "checking for $2... " >&6; }
2631 if eval \${$3+:} false; then :
2632 $as_echo_n "(cached) " >&6
2633 else
2634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2635 /* end confdefs.h. */
2636 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2638 #define $2 innocuous_$2
2640 /* System header to define __stub macros and hopefully few prototypes,
2641 which can conflict with char $2 (); below.
2642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2643 <limits.h> exists even on freestanding compilers. */
2645 #ifdef __STDC__
2646 # include <limits.h>
2647 #else
2648 # include <assert.h>
2649 #endif
2651 #undef $2
2653 /* Override any GCC internal prototype to avoid an error.
2654 Use char because int might match the return type of a GCC
2655 builtin and then its argument prototype would still apply. */
2656 #ifdef __cplusplus
2657 extern "C"
2658 #endif
2659 char $2 ();
2660 /* The GNU C library defines this for functions which it implements
2661 to always fail with ENOSYS. Some functions are actually named
2662 something starting with __ and the normal name is an alias. */
2663 #if defined __stub_$2 || defined __stub___$2
2664 choke me
2665 #endif
2668 main ()
2670 return $2 ();
2672 return 0;
2674 _ACEOF
2675 if ac_fn_c_try_link "$LINENO"; then :
2676 eval "$3=yes"
2677 else
2678 eval "$3=no"
2680 rm -f core conftest.err conftest.$ac_objext \
2681 conftest$ac_exeext conftest.$ac_ext
2683 eval ac_res=\$$3
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2685 $as_echo "$ac_res" >&6; }
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 } # ac_fn_c_check_func
2690 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2691 # ----------------------------------------------------
2692 # Tries to find if the field MEMBER exists in type AGGR, after including
2693 # INCLUDES, setting cache variable VAR accordingly.
2694 ac_fn_c_check_member ()
2696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2698 $as_echo_n "checking for $2.$3... " >&6; }
2699 if eval \${$4+:} false; then :
2700 $as_echo_n "(cached) " >&6
2701 else
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2706 main ()
2708 static $2 ac_aggr;
2709 if (ac_aggr.$3)
2710 return 0;
2712 return 0;
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 eval "$4=yes"
2717 else
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2724 static $2 ac_aggr;
2725 if (sizeof ac_aggr.$3)
2726 return 0;
2728 return 0;
2730 _ACEOF
2731 if ac_fn_c_try_compile "$LINENO"; then :
2732 eval "$4=yes"
2733 else
2734 eval "$4=no"
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 eval ac_res=\$$4
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_c_check_member
2747 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2748 # -------------------------------------------
2749 # Tests whether TYPE exists after having included INCLUDES, setting cache
2750 # variable VAR accordingly.
2751 ac_fn_c_check_type ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 eval "$3=no"
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2764 main ()
2766 if (sizeof ($2))
2767 return 0;
2769 return 0;
2771 _ACEOF
2772 if ac_fn_c_try_compile "$LINENO"; then :
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2777 main ()
2779 if (sizeof (($2)))
2780 return 0;
2782 return 0;
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"; then :
2787 else
2788 eval "$3=yes"
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 eval ac_res=\$$3
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_type
2800 cat >config.log <<_ACEOF
2801 This file contains any messages produced by compilers while
2802 running configure, to aid debugging if configure makes a mistake.
2804 It was created by Wine $as_me 1.7.37, which was
2805 generated by GNU Autoconf 2.69. Invocation command line was
2807 $ $0 $@
2809 _ACEOF
2810 exec 5>>config.log
2812 cat <<_ASUNAME
2813 ## --------- ##
2814 ## Platform. ##
2815 ## --------- ##
2817 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2818 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2819 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2820 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2821 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2823 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2824 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2826 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2827 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2828 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2829 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2830 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2831 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2832 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2834 _ASUNAME
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 for as_dir in $PATH
2839 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=.
2841 $as_echo "PATH: $as_dir"
2842 done
2843 IFS=$as_save_IFS
2845 } >&5
2847 cat >&5 <<_ACEOF
2850 ## ----------- ##
2851 ## Core tests. ##
2852 ## ----------- ##
2854 _ACEOF
2857 # Keep a trace of the command line.
2858 # Strip out --no-create and --no-recursion so they do not pile up.
2859 # Strip out --silent because we don't want to record it for future runs.
2860 # Also quote any args containing shell meta-characters.
2861 # Make two passes to allow for proper duplicate-argument suppression.
2862 ac_configure_args=
2863 ac_configure_args0=
2864 ac_configure_args1=
2865 ac_must_keep_next=false
2866 for ac_pass in 1 2
2868 for ac_arg
2870 case $ac_arg in
2871 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2873 | -silent | --silent | --silen | --sile | --sil)
2874 continue ;;
2875 *\'*)
2876 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2877 esac
2878 case $ac_pass in
2879 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2881 as_fn_append ac_configure_args1 " '$ac_arg'"
2882 if test $ac_must_keep_next = true; then
2883 ac_must_keep_next=false # Got value, back to normal.
2884 else
2885 case $ac_arg in
2886 *=* | --config-cache | -C | -disable-* | --disable-* \
2887 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2888 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2889 | -with-* | --with-* | -without-* | --without-* | --x)
2890 case "$ac_configure_args0 " in
2891 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2892 esac
2894 -* ) ac_must_keep_next=true ;;
2895 esac
2897 as_fn_append ac_configure_args " '$ac_arg'"
2899 esac
2900 done
2901 done
2902 { ac_configure_args0=; unset ac_configure_args0;}
2903 { ac_configure_args1=; unset ac_configure_args1;}
2905 # When interrupted or exit'd, cleanup temporary files, and complete
2906 # config.log. We remove comments because anyway the quotes in there
2907 # would cause problems or look ugly.
2908 # WARNING: Use '\'' to represent an apostrophe within the trap.
2909 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2910 trap 'exit_status=$?
2911 # Save into config.log some information that might help in debugging.
2913 echo
2915 $as_echo "## ---------------- ##
2916 ## Cache variables. ##
2917 ## ---------------- ##"
2918 echo
2919 # The following way of writing the cache mishandles newlines in values,
2921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2922 eval ac_val=\$$ac_var
2923 case $ac_val in #(
2924 *${as_nl}*)
2925 case $ac_var in #(
2926 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2928 esac
2929 case $ac_var in #(
2930 _ | IFS | as_nl) ;; #(
2931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2932 *) { eval $ac_var=; unset $ac_var;} ;;
2933 esac ;;
2934 esac
2935 done
2936 (set) 2>&1 |
2937 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2938 *${as_nl}ac_space=\ *)
2939 sed -n \
2940 "s/'\''/'\''\\\\'\'''\''/g;
2941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2942 ;; #(
2944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2946 esac |
2947 sort
2949 echo
2951 $as_echo "## ----------------- ##
2952 ## Output variables. ##
2953 ## ----------------- ##"
2954 echo
2955 for ac_var in $ac_subst_vars
2957 eval ac_val=\$$ac_var
2958 case $ac_val in
2959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2960 esac
2961 $as_echo "$ac_var='\''$ac_val'\''"
2962 done | sort
2963 echo
2965 if test -n "$ac_subst_files"; then
2966 $as_echo "## ------------------- ##
2967 ## File substitutions. ##
2968 ## ------------------- ##"
2969 echo
2970 for ac_var in $ac_subst_files
2972 eval ac_val=\$$ac_var
2973 case $ac_val in
2974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2975 esac
2976 $as_echo "$ac_var='\''$ac_val'\''"
2977 done | sort
2978 echo
2981 if test -s confdefs.h; then
2982 $as_echo "## ----------- ##
2983 ## confdefs.h. ##
2984 ## ----------- ##"
2985 echo
2986 cat confdefs.h
2987 echo
2989 test "$ac_signal" != 0 &&
2990 $as_echo "$as_me: caught signal $ac_signal"
2991 $as_echo "$as_me: exit $exit_status"
2992 } >&5
2993 rm -f core *.core core.conftest.* &&
2994 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2995 exit $exit_status
2997 for ac_signal in 1 2 13 15; do
2998 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2999 done
3000 ac_signal=0
3002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3003 rm -f -r conftest* confdefs.h
3005 $as_echo "/* confdefs.h */" > confdefs.h
3007 # Predefined preprocessor variables.
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_NAME "$PACKAGE_NAME"
3011 _ACEOF
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3015 _ACEOF
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3019 _ACEOF
3021 cat >>confdefs.h <<_ACEOF
3022 #define PACKAGE_STRING "$PACKAGE_STRING"
3023 _ACEOF
3025 cat >>confdefs.h <<_ACEOF
3026 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3027 _ACEOF
3029 cat >>confdefs.h <<_ACEOF
3030 #define PACKAGE_URL "$PACKAGE_URL"
3031 _ACEOF
3034 # Let the site file select an alternate cache file if it wants to.
3035 # Prefer an explicitly selected file to automatically selected ones.
3036 ac_site_file1=NONE
3037 ac_site_file2=NONE
3038 if test -n "$CONFIG_SITE"; then
3039 # We do not want a PATH search for config.site.
3040 case $CONFIG_SITE in #((
3041 -*) ac_site_file1=./$CONFIG_SITE;;
3042 */*) ac_site_file1=$CONFIG_SITE;;
3043 *) ac_site_file1=./$CONFIG_SITE;;
3044 esac
3045 elif test "x$prefix" != xNONE; then
3046 ac_site_file1=$prefix/share/config.site
3047 ac_site_file2=$prefix/etc/config.site
3048 else
3049 ac_site_file1=$ac_default_prefix/share/config.site
3050 ac_site_file2=$ac_default_prefix/etc/config.site
3052 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3054 test "x$ac_site_file" = xNONE && continue
3055 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3057 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3058 sed 's/^/| /' "$ac_site_file" >&5
3059 . "$ac_site_file" \
3060 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 as_fn_error $? "failed to load site script $ac_site_file
3063 See \`config.log' for more details" "$LINENO" 5; }
3065 done
3067 if test -r "$cache_file"; then
3068 # Some versions of bash will fail to source /dev/null (special files
3069 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3070 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3072 $as_echo "$as_me: loading cache $cache_file" >&6;}
3073 case $cache_file in
3074 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3075 *) . "./$cache_file";;
3076 esac
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3080 $as_echo "$as_me: creating cache $cache_file" >&6;}
3081 >$cache_file
3084 # Check that the precious variables saved in the cache have kept the same
3085 # value.
3086 ac_cache_corrupted=false
3087 for ac_var in $ac_precious_vars; do
3088 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3089 eval ac_new_set=\$ac_env_${ac_var}_set
3090 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3091 eval ac_new_val=\$ac_env_${ac_var}_value
3092 case $ac_old_set,$ac_new_set in
3093 set,)
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3095 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3096 ac_cache_corrupted=: ;;
3097 ,set)
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3099 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3100 ac_cache_corrupted=: ;;
3101 ,);;
3103 if test "x$ac_old_val" != "x$ac_new_val"; then
3104 # differences in whitespace do not lead to failure.
3105 ac_old_val_w=`echo x $ac_old_val`
3106 ac_new_val_w=`echo x $ac_new_val`
3107 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3109 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3110 ac_cache_corrupted=:
3111 else
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3113 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3114 eval $ac_var=\$ac_old_val
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3117 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3119 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3120 fi;;
3121 esac
3122 # Pass precious variables to config.status.
3123 if test "$ac_new_set" = set; then
3124 case $ac_new_val in
3125 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3126 *) ac_arg=$ac_var=$ac_new_val ;;
3127 esac
3128 case " $ac_configure_args " in
3129 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3130 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3131 esac
3133 done
3134 if $ac_cache_corrupted; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3138 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3139 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3141 ## -------------------- ##
3142 ## Main body of script. ##
3143 ## -------------------- ##
3145 ac_ext=c
3146 ac_cpp='$CPP $CPPFLAGS'
3147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3153 ac_config_headers="$ac_config_headers include/config.h"
3155 ac_aux_dir=
3156 for ac_dir in tools "$srcdir"/tools; do
3157 if test -f "$ac_dir/install-sh"; then
3158 ac_aux_dir=$ac_dir
3159 ac_install_sh="$ac_aux_dir/install-sh -c"
3160 break
3161 elif test -f "$ac_dir/install.sh"; then
3162 ac_aux_dir=$ac_dir
3163 ac_install_sh="$ac_aux_dir/install.sh -c"
3164 break
3165 elif test -f "$ac_dir/shtool"; then
3166 ac_aux_dir=$ac_dir
3167 ac_install_sh="$ac_aux_dir/shtool install -c"
3168 break
3170 done
3171 if test -z "$ac_aux_dir"; then
3172 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3175 # These three variables are undocumented and unsupported,
3176 # and are intended to be withdrawn in a future Autoconf release.
3177 # They can cause serious problems if a builder's source tree is in a directory
3178 # whose full name contains unusual characters.
3179 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3180 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3181 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3185 libwine_version="1.0"
3189 # Check whether --enable-win16 was given.
3190 if test "${enable_win16+set}" = set; then :
3191 enableval=$enable_win16;
3194 # Check whether --enable-win64 was given.
3195 if test "${enable_win64+set}" = set; then :
3196 enableval=$enable_win64;
3199 # Check whether --enable-tests was given.
3200 if test "${enable_tests+set}" = set; then :
3201 enableval=$enable_tests;
3204 # Check whether --enable-maintainer-mode was given.
3205 if test "${enable_maintainer_mode+set}" = set; then :
3206 enableval=$enable_maintainer_mode;
3211 # Check whether --with-alsa was given.
3212 if test "${with_alsa+set}" = set; then :
3213 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3217 # Check whether --with-capi was given.
3218 if test "${with_capi+set}" = set; then :
3219 withval=$with_capi;
3223 # Check whether --with-cms was given.
3224 if test "${with_cms+set}" = set; then :
3225 withval=$with_cms;
3229 # Check whether --with-coreaudio was given.
3230 if test "${with_coreaudio+set}" = set; then :
3231 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3235 # Check whether --with-cups was given.
3236 if test "${with_cups+set}" = set; then :
3237 withval=$with_cups;
3241 # Check whether --with-curses was given.
3242 if test "${with_curses+set}" = set; then :
3243 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3247 # Check whether --with-dbus was given.
3248 if test "${with_dbus+set}" = set; then :
3249 withval=$with_dbus;
3253 # Check whether --with-fontconfig was given.
3254 if test "${with_fontconfig+set}" = set; then :
3255 withval=$with_fontconfig;
3259 # Check whether --with-freetype was given.
3260 if test "${with_freetype+set}" = set; then :
3261 withval=$with_freetype;
3265 # Check whether --with-gettext was given.
3266 if test "${with_gettext+set}" = set; then :
3267 withval=$with_gettext;
3271 # Check whether --with-gettextpo was given.
3272 if test "${with_gettextpo+set}" = set; then :
3273 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3277 # Check whether --with-gphoto was given.
3278 if test "${with_gphoto+set}" = set; then :
3279 withval=$with_gphoto;
3283 # Check whether --with-glu was given.
3284 if test "${with_glu+set}" = set; then :
3285 withval=$with_glu;
3289 # Check whether --with-gnutls was given.
3290 if test "${with_gnutls+set}" = set; then :
3291 withval=$with_gnutls;
3295 # Check whether --with-gsm was given.
3296 if test "${with_gsm+set}" = set; then :
3297 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3301 # Check whether --with-gstreamer was given.
3302 if test "${with_gstreamer+set}" = set; then :
3303 withval=$with_gstreamer;
3307 # Check whether --with-hal was given.
3308 if test "${with_hal+set}" = set; then :
3309 withval=$with_hal;
3313 # Check whether --with-jpeg was given.
3314 if test "${with_jpeg+set}" = set; then :
3315 withval=$with_jpeg;
3319 # Check whether --with-ldap was given.
3320 if test "${with_ldap+set}" = set; then :
3321 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3325 # Check whether --with-mpg123 was given.
3326 if test "${with_mpg123+set}" = set; then :
3327 withval=$with_mpg123;
3331 # Check whether --with-netapi was given.
3332 if test "${with_netapi+set}" = set; then :
3333 withval=$with_netapi;
3337 # Check whether --with-openal was given.
3338 if test "${with_openal+set}" = set; then :
3339 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3343 # Check whether --with-opencl was given.
3344 if test "${with_opencl+set}" = set; then :
3345 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3349 # Check whether --with-opengl was given.
3350 if test "${with_opengl+set}" = set; then :
3351 withval=$with_opengl;
3355 # Check whether --with-osmesa was given.
3356 if test "${with_osmesa+set}" = set; then :
3357 withval=$with_osmesa;
3361 # Check whether --with-oss was given.
3362 if test "${with_oss+set}" = set; then :
3363 withval=$with_oss;
3367 # Check whether --with-pcap was given.
3368 if test "${with_pcap+set}" = set; then :
3369 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3373 # Check whether --with-png was given.
3374 if test "${with_png+set}" = set; then :
3375 withval=$with_png;
3379 # Check whether --with-pthread was given.
3380 if test "${with_pthread+set}" = set; then :
3381 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3385 # Check whether --with-sane was given.
3386 if test "${with_sane+set}" = set; then :
3387 withval=$with_sane;
3391 # Check whether --with-tiff was given.
3392 if test "${with_tiff+set}" = set; then :
3393 withval=$with_tiff;
3397 # Check whether --with-v4l was given.
3398 if test "${with_v4l+set}" = set; then :
3399 withval=$with_v4l;
3403 # Check whether --with-xcomposite was given.
3404 if test "${with_xcomposite+set}" = set; then :
3405 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3409 # Check whether --with-xcursor was given.
3410 if test "${with_xcursor+set}" = set; then :
3411 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3415 # Check whether --with-xinerama was given.
3416 if test "${with_xinerama+set}" = set; then :
3417 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3421 # Check whether --with-xinput was given.
3422 if test "${with_xinput+set}" = set; then :
3423 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3427 # Check whether --with-xinput2 was given.
3428 if test "${with_xinput2+set}" = set; then :
3429 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3433 # Check whether --with-xml was given.
3434 if test "${with_xml+set}" = set; then :
3435 withval=$with_xml;
3439 # Check whether --with-xrandr was given.
3440 if test "${with_xrandr+set}" = set; then :
3441 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3445 # Check whether --with-xrender was given.
3446 if test "${with_xrender+set}" = set; then :
3447 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3451 # Check whether --with-xshape was given.
3452 if test "${with_xshape+set}" = set; then :
3453 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3457 # Check whether --with-xshm was given.
3458 if test "${with_xshm+set}" = set; then :
3459 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3463 # Check whether --with-xslt was given.
3464 if test "${with_xslt+set}" = set; then :
3465 withval=$with_xslt;
3469 # Check whether --with-xxf86vm was given.
3470 if test "${with_xxf86vm+set}" = set; then :
3471 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
3475 # Check whether --with-zlib was given.
3476 if test "${with_zlib+set}" = set; then :
3477 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3482 # Check whether --with-wine-tools was given.
3483 if test "${with_wine_tools+set}" = set; then :
3484 withval=$with_wine_tools;
3488 # Check whether --with-wine64 was given.
3489 if test "${with_wine64+set}" = set; then :
3490 withval=$with_wine64;
3494 # Make sure we can run config.sub.
3495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3496 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3499 $as_echo_n "checking build system type... " >&6; }
3500 if ${ac_cv_build+:} false; then :
3501 $as_echo_n "(cached) " >&6
3502 else
3503 ac_build_alias=$build_alias
3504 test "x$ac_build_alias" = x &&
3505 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3506 test "x$ac_build_alias" = x &&
3507 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3509 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3513 $as_echo "$ac_cv_build" >&6; }
3514 case $ac_cv_build in
3515 *-*-*) ;;
3516 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3517 esac
3518 build=$ac_cv_build
3519 ac_save_IFS=$IFS; IFS='-'
3520 set x $ac_cv_build
3521 shift
3522 build_cpu=$1
3523 build_vendor=$2
3524 shift; shift
3525 # Remember, the first character of IFS is used to create $*,
3526 # except with old shells:
3527 build_os=$*
3528 IFS=$ac_save_IFS
3529 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3533 $as_echo_n "checking host system type... " >&6; }
3534 if ${ac_cv_host+:} false; then :
3535 $as_echo_n "(cached) " >&6
3536 else
3537 if test "x$host_alias" = x; then
3538 ac_cv_host=$ac_cv_build
3539 else
3540 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3541 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3546 $as_echo "$ac_cv_host" >&6; }
3547 case $ac_cv_host in
3548 *-*-*) ;;
3549 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3550 esac
3551 host=$ac_cv_host
3552 ac_save_IFS=$IFS; IFS='-'
3553 set x $ac_cv_host
3554 shift
3555 host_cpu=$1
3556 host_vendor=$2
3557 shift; shift
3558 # Remember, the first character of IFS is used to create $*,
3559 # except with old shells:
3560 host_os=$*
3561 IFS=$ac_save_IFS
3562 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3566 case "$srcdir" in
3567 .) ;;
3568 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3569 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3570 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3571 fi ;;
3572 esac
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3576 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3577 set x ${MAKE-make}
3578 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3579 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 cat >conftest.make <<\_ACEOF
3583 SHELL = /bin/sh
3584 all:
3585 @echo '@@@%%%=$(MAKE)=@@@%%%'
3586 _ACEOF
3587 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3588 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3589 *@@@%%%=?*=@@@%%%*)
3590 eval ac_cv_prog_make_${ac_make}_set=yes;;
3592 eval ac_cv_prog_make_${ac_make}_set=no;;
3593 esac
3594 rm -f conftest.make
3596 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3598 $as_echo "yes" >&6; }
3599 SET_MAKE=
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 SET_MAKE="MAKE=${MAKE-make}"
3606 ac_ext=c
3607 ac_cpp='$CPP $CPPFLAGS'
3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 if test -n "$ac_tool_prefix"; then
3612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3613 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false; then :
3617 $as_echo_n "(cached) " >&6
3618 else
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC="$CC" # Let the user override the test.
3621 else
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH
3625 IFS=$as_save_IFS
3626 test -z "$as_dir" && as_dir=.
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3629 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 break 2
3633 done
3634 done
3635 IFS=$as_save_IFS
3639 CC=$ac_cv_prog_CC
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3643 else
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3650 if test -z "$ac_cv_prog_CC"; then
3651 ac_ct_CC=$CC
3652 # Extract the first word of "gcc", so it can be a program name with args.
3653 set dummy gcc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3657 $as_echo_n "(cached) " >&6
3658 else
3659 if test -n "$ac_ct_CC"; then
3660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3661 else
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 for as_dir in $PATH
3665 IFS=$as_save_IFS
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_ac_ct_CC="gcc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 break 2
3673 done
3674 done
3675 IFS=$as_save_IFS
3679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3680 if test -n "$ac_ct_CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3682 $as_echo "$ac_ct_CC" >&6; }
3683 else
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3688 if test "x$ac_ct_CC" = x; then
3689 CC=""
3690 else
3691 case $cross_compiling:$ac_tool_warned in
3692 yes:)
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3695 ac_tool_warned=yes ;;
3696 esac
3697 CC=$ac_ct_CC
3699 else
3700 CC="$ac_cv_prog_CC"
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3706 set dummy ${ac_tool_prefix}cc; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC="$CC" # Let the user override the test.
3714 else
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716 for as_dir in $PATH
3718 IFS=$as_save_IFS
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_CC="${ac_tool_prefix}cc"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 break 2
3726 done
3727 done
3728 IFS=$as_save_IFS
3732 CC=$ac_cv_prog_CC
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 # Extract the first word of "cc", so it can be a program name with args.
3746 set dummy cc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755 ac_prog_rejected=no
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3759 IFS=$as_save_IFS
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3764 ac_prog_rejected=yes
3765 continue
3767 ac_cv_prog_CC="cc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3775 if test $ac_prog_rejected = yes; then
3776 # We found a bogon in the path, so make sure we never use it.
3777 set dummy $ac_cv_prog_CC
3778 shift
3779 if test $# != 0; then
3780 # We chose a different compiler from the bogus one.
3781 # However, it has the same basename, so the bogon will be chosen
3782 # first if we set CC to just the basename; use the full file name.
3783 shift
3784 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3789 CC=$ac_cv_prog_CC
3790 if test -n "$CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3792 $as_echo "$CC" >&6; }
3793 else
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 if test -n "$ac_tool_prefix"; then
3802 for ac_prog in cl.exe
3804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false; then :
3809 $as_echo_n "(cached) " >&6
3810 else
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC="$CC" # Let the user override the test.
3813 else
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3817 IFS=$as_save_IFS
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 break 2
3825 done
3826 done
3827 IFS=$as_save_IFS
3831 CC=$ac_cv_prog_CC
3832 if test -n "$CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3835 else
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3841 test -n "$CC" && break
3842 done
3844 if test -z "$CC"; then
3845 ac_ct_CC=$CC
3846 for ac_prog in cl.exe
3848 # Extract the first word of "$ac_prog", so it can be a program name with args.
3849 set dummy $ac_prog; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test -n "$ac_ct_CC"; then
3856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3857 else
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859 for as_dir in $PATH
3861 IFS=$as_save_IFS
3862 test -z "$as_dir" && as_dir=.
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3865 ac_cv_prog_ac_ct_CC="$ac_prog"
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 break 2
3869 done
3870 done
3871 IFS=$as_save_IFS
3875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3876 if test -n "$ac_ct_CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3878 $as_echo "$ac_ct_CC" >&6; }
3879 else
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3885 test -n "$ac_ct_CC" && break
3886 done
3888 if test "x$ac_ct_CC" = x; then
3889 CC=""
3890 else
3891 case $cross_compiling:$ac_tool_warned in
3892 yes:)
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned=yes ;;
3896 esac
3897 CC=$ac_ct_CC
3904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906 as_fn_error $? "no acceptable C compiler found in \$PATH
3907 See \`config.log' for more details" "$LINENO" 5; }
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3911 set X $ac_compile
3912 ac_compiler=$2
3913 for ac_option in --version -v -V -qversion; do
3914 { { ac_try="$ac_compiler $ac_option >&5"
3915 case "(($ac_try" in
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3918 esac
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3922 ac_status=$?
3923 if test -s conftest.err; then
3924 sed '10a\
3925 ... rest of stderr output deleted ...
3926 10q' conftest.err >conftest.er1
3927 cat conftest.er1 >&5
3929 rm -f conftest.er1 conftest.err
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }
3932 done
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3938 main ()
3942 return 0;
3944 _ACEOF
3945 ac_clean_files_save=$ac_clean_files
3946 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3947 # Try to create an executable without -o first, disregard a.out.
3948 # It will help us diagnose broken compilers, and finding out an intuition
3949 # of exeext.
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3951 $as_echo_n "checking whether the C compiler works... " >&6; }
3952 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3954 # The possible output files:
3955 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3957 ac_rmfiles=
3958 for ac_file in $ac_files
3960 case $ac_file in
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3962 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3963 esac
3964 done
3965 rm -f $ac_rmfiles
3967 if { { ac_try="$ac_link_default"
3968 case "(($ac_try" in
3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3971 esac
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_link_default") 2>&5
3975 ac_status=$?
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }; then :
3978 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3979 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3980 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3981 # so that the user can short-circuit this test for compilers unknown to
3982 # Autoconf.
3983 for ac_file in $ac_files ''
3985 test -f "$ac_file" || continue
3986 case $ac_file in
3987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3989 [ab].out )
3990 # We found the default executable, but exeext='' is most
3991 # certainly right.
3992 break;;
3993 *.* )
3994 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3995 then :; else
3996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3998 # We set ac_cv_exeext here because the later test for it is not
3999 # safe: cross compilers may not add the suffix if given an `-o'
4000 # argument, so we may need to know it at that point already.
4001 # Even if this section looks crufty: it has the advantage of
4002 # actually working.
4003 break;;
4005 break;;
4006 esac
4007 done
4008 test "$ac_cv_exeext" = no && ac_cv_exeext=
4010 else
4011 ac_file=''
4013 if test -z "$ac_file"; then :
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4016 $as_echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.$ac_ext >&5
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error 77 "C compiler cannot create executables
4022 See \`config.log' for more details" "$LINENO" 5; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4030 $as_echo "$ac_file" >&6; }
4031 ac_exeext=$ac_cv_exeext
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4034 ac_clean_files=$ac_clean_files_save
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details" "$LINENO" 5; }
4067 rm -f conftest conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076 #include <stdio.h>
4078 main ()
4080 FILE *f = fopen ("conftest.out", "w");
4081 return ferror (f) || fclose (f) != 0;
4084 return 0;
4086 _ACEOF
4087 ac_clean_files="$ac_clean_files conftest.out"
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4091 $as_echo_n "checking whether we are cross compiling... " >&6; }
4092 if test "$cross_compiling" != yes; then
4093 { { ac_try="$ac_link"
4094 case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link") 2>&5
4101 ac_status=$?
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }
4104 if { ac_try='./conftest$ac_cv_exeext'
4105 { { case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4108 esac
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_try") 2>&5
4112 ac_status=$?
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; }; then
4115 cross_compiling=no
4116 else
4117 if test "$cross_compiling" = maybe; then
4118 cross_compiling=yes
4119 else
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot run C compiled programs.
4123 If you meant to cross compile, use \`--host'.
4124 See \`config.log' for more details" "$LINENO" 5; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4131 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4132 ac_clean_files=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if ${ac_cv_objext+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4146 return 0;
4148 _ACEOF
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try="$ac_compile"
4151 case "(($ac_try" in
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_compile") 2>&5
4158 ac_status=$?
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 for ac_file in conftest.o conftest.obj conftest.*; do
4162 test -f "$ac_file" || continue;
4163 case $ac_file in
4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4166 break;;
4167 esac
4168 done
4169 else
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $? "cannot compute suffix of object files: cannot compile
4176 See \`config.log' for more details" "$LINENO" 5; }
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4183 ac_objext=$OBJEXT
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if ${ac_cv_c_compiler_gnu+:} false; then :
4187 $as_echo_n "(cached) " >&6
4188 else
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 main ()
4195 #ifndef __GNUC__
4196 choke me
4197 #endif
4200 return 0;
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_compiler_gnu=yes
4205 else
4206 ac_compiler_gnu=no
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4215 GCC=yes
4216 else
4217 GCC=
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if ${ac_cv_prog_cc_g+:} false; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 ac_save_c_werror_flag=$ac_c_werror_flag
4227 ac_c_werror_flag=yes
4228 ac_cv_prog_cc_g=no
4229 CFLAGS="-g"
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4234 main ()
4238 return 0;
4240 _ACEOF
4241 if ac_fn_c_try_compile "$LINENO"; then :
4242 ac_cv_prog_cc_g=yes
4243 else
4244 CFLAGS=""
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4249 main ()
4253 return 0;
4255 _ACEOF
4256 if ac_fn_c_try_compile "$LINENO"; then :
4258 else
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4260 CFLAGS="-g"
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 ac_cv_prog_cc_g=yes
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_save_c_werror_flag
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285 CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287 if test "$GCC" = yes; then
4288 CFLAGS="-g -O2"
4289 else
4290 CFLAGS="-g"
4292 else
4293 if test "$GCC" = yes; then
4294 CFLAGS="-O2"
4295 else
4296 CFLAGS=
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if ${ac_cv_prog_cc_c89+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 ac_cv_prog_cc_c89=no
4305 ac_save_CC=$CC
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4308 #include <stdarg.h>
4309 #include <stdio.h>
4310 struct stat;
4311 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4312 struct buf { int x; };
4313 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4314 static char *e (p, i)
4315 char **p;
4316 int i;
4318 return p[i];
4320 static char *f (char * (*g) (char **, int), char **p, ...)
4322 char *s;
4323 va_list v;
4324 va_start (v,p);
4325 s = g (p, va_arg (v,int));
4326 va_end (v);
4327 return s;
4330 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4331 function prototypes and stuff, but not '\xHH' hex character constants.
4332 These don't provoke an error unfortunately, instead are silently treated
4333 as 'x'. The following induces an error, until -std is added to get
4334 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4335 array size at least. It's necessary to write '\x00'==0 to get something
4336 that's true only with -std. */
4337 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4339 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4340 inside strings and character constants. */
4341 #define FOO(x) 'x'
4342 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4344 int test (int i, double x);
4345 struct s1 {int (*f) (int a);};
4346 struct s2 {int (*f) (double a);};
4347 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4348 int argc;
4349 char **argv;
4351 main ()
4353 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4355 return 0;
4357 _ACEOF
4358 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4359 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4361 CC="$ac_save_CC $ac_arg"
4362 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_cv_prog_cc_c89=$ac_arg
4365 rm -f core conftest.err conftest.$ac_objext
4366 test "x$ac_cv_prog_cc_c89" != "xno" && break
4367 done
4368 rm -f conftest.$ac_ext
4369 CC=$ac_save_CC
4372 # AC_CACHE_VAL
4373 case "x$ac_cv_prog_cc_c89" in
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4376 $as_echo "none needed" >&6; } ;;
4377 xno)
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4379 $as_echo "unsupported" >&6; } ;;
4381 CC="$CC $ac_cv_prog_cc_c89"
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4383 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4384 esac
4385 if test "x$ac_cv_prog_cc_c89" != xno; then :
4389 ac_ext=c
4390 ac_cpp='$CPP $CPPFLAGS'
4391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395 ac_ext=cpp
4396 ac_cpp='$CXXCPP $CPPFLAGS'
4397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4400 if test -z "$CXX"; then
4401 if test -n "$CCC"; then
4402 CXX=$CCC
4403 else
4404 if test -n "$ac_tool_prefix"; then
4405 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_CXX+:} false; then :
4412 $as_echo_n "(cached) " >&6
4413 else
4414 if test -n "$CXX"; then
4415 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4416 else
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4418 for as_dir in $PATH
4420 IFS=$as_save_IFS
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 break 2
4428 done
4429 done
4430 IFS=$as_save_IFS
4434 CXX=$ac_cv_prog_CXX
4435 if test -n "$CXX"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4437 $as_echo "$CXX" >&6; }
4438 else
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$CXX" && break
4445 done
4447 if test -z "$CXX"; then
4448 ac_ct_CXX=$CXX
4449 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4451 # Extract the first word of "$ac_prog", so it can be a program name with args.
4452 set dummy $ac_prog; ac_word=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4456 $as_echo_n "(cached) " >&6
4457 else
4458 if test -n "$ac_ct_CXX"; then
4459 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4460 else
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH
4464 IFS=$as_save_IFS
4465 test -z "$as_dir" && as_dir=.
4466 for ac_exec_ext in '' $ac_executable_extensions; do
4467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4468 ac_cv_prog_ac_ct_CXX="$ac_prog"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 break 2
4472 done
4473 done
4474 IFS=$as_save_IFS
4478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4479 if test -n "$ac_ct_CXX"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4481 $as_echo "$ac_ct_CXX" >&6; }
4482 else
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4488 test -n "$ac_ct_CXX" && break
4489 done
4491 if test "x$ac_ct_CXX" = x; then
4492 CXX="g++"
4493 else
4494 case $cross_compiling:$ac_tool_warned in
4495 yes:)
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned=yes ;;
4499 esac
4500 CXX=$ac_ct_CXX
4506 # Provide some information about the compiler.
4507 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4508 set X $ac_compile
4509 ac_compiler=$2
4510 for ac_option in --version -v -V -qversion; do
4511 { { ac_try="$ac_compiler $ac_option >&5"
4512 case "(($ac_try" in
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4515 esac
4516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4517 $as_echo "$ac_try_echo"; } >&5
4518 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4519 ac_status=$?
4520 if test -s conftest.err; then
4521 sed '10a\
4522 ... rest of stderr output deleted ...
4523 10q' conftest.err >conftest.er1
4524 cat conftest.er1 >&5
4526 rm -f conftest.er1 conftest.err
4527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4528 test $ac_status = 0; }
4529 done
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4532 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4533 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4540 main ()
4542 #ifndef __GNUC__
4543 choke me
4544 #endif
4547 return 0;
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_compiler_gnu=yes
4552 else
4553 ac_compiler_gnu=no
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4560 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4561 if test $ac_compiler_gnu = yes; then
4562 GXX=yes
4563 else
4564 GXX=
4566 ac_test_CXXFLAGS=${CXXFLAGS+set}
4567 ac_save_CXXFLAGS=$CXXFLAGS
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4569 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4570 if ${ac_cv_prog_cxx_g+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4574 ac_cxx_werror_flag=yes
4575 ac_cv_prog_cxx_g=no
4576 CXXFLAGS="-g"
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4581 main ()
4585 return 0;
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_cv_prog_cxx_g=yes
4590 else
4591 CXXFLAGS=""
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4596 main ()
4600 return 0;
4602 _ACEOF
4603 if ac_fn_cxx_try_compile "$LINENO"; then :
4605 else
4606 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4607 CXXFLAGS="-g"
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4612 main ()
4616 return 0;
4618 _ACEOF
4619 if ac_fn_cxx_try_compile "$LINENO"; then :
4620 ac_cv_prog_cxx_g=yes
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4630 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4631 if test "$ac_test_CXXFLAGS" = set; then
4632 CXXFLAGS=$ac_save_CXXFLAGS
4633 elif test $ac_cv_prog_cxx_g = yes; then
4634 if test "$GXX" = yes; then
4635 CXXFLAGS="-g -O2"
4636 else
4637 CXXFLAGS="-g"
4639 else
4640 if test "$GXX" = yes; then
4641 CXXFLAGS="-O2"
4642 else
4643 CXXFLAGS=
4646 ac_ext=c
4647 ac_cpp='$CPP $CPPFLAGS'
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4652 if test -n "$ac_tool_prefix"; then
4653 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4654 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if ${ac_cv_prog_CPPBIN+:} false; then :
4658 $as_echo_n "(cached) " >&6
4659 else
4660 if test -n "$CPPBIN"; then
4661 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 test -z "$as_dir" && as_dir=.
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 CPPBIN=$ac_cv_prog_CPPBIN
4681 if test -n "$CPPBIN"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4683 $as_echo "$CPPBIN" >&6; }
4684 else
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4691 if test -z "$ac_cv_prog_CPPBIN"; then
4692 ac_ct_CPPBIN=$CPPBIN
4693 # Extract the first word of "cpp", so it can be a program name with args.
4694 set dummy cpp; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -n "$ac_ct_CPPBIN"; then
4701 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CPPBIN="cpp"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4721 if test -n "$ac_ct_CPPBIN"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4723 $as_echo "$ac_ct_CPPBIN" >&6; }
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4729 if test "x$ac_ct_CPPBIN" = x; then
4730 CPPBIN="cpp"
4731 else
4732 case $cross_compiling:$ac_tool_warned in
4733 yes:)
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned=yes ;;
4737 esac
4738 CPPBIN=$ac_ct_CPPBIN
4740 else
4741 CPPBIN="$ac_cv_prog_CPPBIN"
4745 cat >>confdefs.h <<_ACEOF
4746 #define EXEEXT "$ac_exeext"
4747 _ACEOF
4749 if test -n "$ac_tool_prefix"; then
4750 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4751 set dummy ${ac_tool_prefix}ld; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_prog_LD+:} false; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -n "$LD"; then
4758 ac_cv_prog_LD="$LD" # Let the user override the test.
4759 else
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_exec_ext in '' $ac_executable_extensions; do
4766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4767 ac_cv_prog_LD="${ac_tool_prefix}ld"
4768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 break 2
4771 done
4772 done
4773 IFS=$as_save_IFS
4777 LD=$ac_cv_prog_LD
4778 if test -n "$LD"; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4780 $as_echo "$LD" >&6; }
4781 else
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 $as_echo "no" >&6; }
4788 if test -z "$ac_cv_prog_LD"; then
4789 ac_ct_LD=$LD
4790 # Extract the first word of "ld", so it can be a program name with args.
4791 set dummy ld; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if test -n "$ac_ct_LD"; then
4798 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4799 else
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 for as_dir in $PATH
4803 IFS=$as_save_IFS
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_ac_ct_LD="ld"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 break 2
4811 done
4812 done
4813 IFS=$as_save_IFS
4817 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4818 if test -n "$ac_ct_LD"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4820 $as_echo "$ac_ct_LD" >&6; }
4821 else
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4826 if test "x$ac_ct_LD" = x; then
4827 LD=""
4828 else
4829 case $cross_compiling:$ac_tool_warned in
4830 yes:)
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4833 ac_tool_warned=yes ;;
4834 esac
4835 LD=$ac_ct_LD
4837 else
4838 LD="$ac_cv_prog_LD"
4842 case $host in
4843 *-darwin*)
4844 if test "x$enable_win64" = "xyes"
4845 then
4846 CC="$CC -m64"
4847 CXX="$CXX -m64"
4848 host_cpu="x86_64"
4849 notice_platform="64-bit "
4850 TARGETFLAGS="-m64"
4852 else
4853 CC="$CC -m32"
4854 CXX="$CXX -m32"
4855 host_cpu="i386"
4856 notice_platform="32-bit "
4857 TARGETFLAGS="-m32"
4859 enable_win16=${enable_win16:-yes}
4861 with_fontconfig=${with_fontconfig:-no}
4863 x86_64*)
4864 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4865 then
4866 CC="$CC -m32"
4867 CXX="$CXX -m32"
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4869 $as_echo_n "checking whether $CC works... " >&6; }
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_c_try_link "$LINENO"; then :
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4884 $as_echo "yes" >&6; }
4885 else
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4888 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4890 rm -f core conftest.err conftest.$ac_objext \
4891 conftest$ac_exeext conftest.$ac_ext
4892 host_cpu="i386"
4893 notice_platform="32-bit "
4894 TARGETFLAGS="-m32"
4896 enable_win16=${enable_win16:-yes}
4897 else
4898 if test "x${GCC}" = "xyes"
4899 then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4901 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4904 #include <stdarg.h>
4906 main ()
4908 void func(__builtin_ms_va_list *args);
4910 return 0;
4912 _ACEOF
4913 if ac_fn_c_try_compile "$LINENO"; then :
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4915 $as_echo "yes" >&6; }
4916 else
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4919 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4923 TARGETFLAGS="-m64"
4927 arm*)
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4929 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932 int ac_test(int i) { return i; }
4934 main ()
4936 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4938 return 0;
4940 _ACEOF
4941 if ac_fn_c_try_link "$LINENO"; then :
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 CFLAGS="$CFLAGS -marm"
4952 TARGETFLAGS="-marm"
4955 *-mingw32*|*-cygwin*)
4956 enable_win16=${enable_win16:-no}
4957 CFLAGS="$CFLAGS -D_WIN32"
4959 i[3456789]86*)
4960 enable_win16=${enable_win16:-yes}
4962 esac
4964 enable_win16=${enable_win16:-no}
4965 enable_win64=${enable_win64:-no}
4967 enable_winetest=${enable_winetest:-$enable_tests}
4969 if test -n "$with_wine64"
4970 then
4971 if test "x$enable_win64" = "xyes"
4972 then
4973 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4974 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4976 enable_fonts=${enable_fonts:-no}
4977 enable_server=${enable_server:-no}
4978 elif test "x$enable_win64" = "xyes"
4979 then
4980 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4984 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4985 if ${wine_cv_toolsdir+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 wine_cv_toolsdir="$with_wine_tools"
4989 if test -z "$with_wine_tools"; then
4990 if test "$cross_compiling" = "yes"; then
4991 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4992 elif test -n "$with_wine64"; then
4993 wine_cv_toolsdir="$with_wine64"
4996 if test -z "$wine_cv_toolsdir"; then
4997 wine_makedep=tools/makedep
4998 wine_cv_toolsdir="\$(top_builddir)"
4999 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5000 wine_makedep=$wine_cv_toolsdir/tools/makedep
5001 case "$wine_cv_toolsdir" in
5002 /*) ;;
5003 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5004 esac
5005 enable_tools=${enable_tools:-no}
5006 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5007 else
5008 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5012 $as_echo "$wine_cv_toolsdir" >&6; }
5013 TOOLSDIR=$wine_cv_toolsdir
5015 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5016 then
5017 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5021 for ac_prog in flex
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy $ac_prog; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_FLEX+:} false; then :
5028 $as_echo_n "(cached) " >&6
5029 else
5030 if test -n "$FLEX"; then
5031 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_FLEX="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5044 done
5045 done
5046 IFS=$as_save_IFS
5050 FLEX=$ac_cv_prog_FLEX
5051 if test -n "$FLEX"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5053 $as_echo "$FLEX" >&6; }
5054 else
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$FLEX" && break
5061 done
5062 test -n "$FLEX" || FLEX="none"
5064 if test "$FLEX" = "none"
5065 then
5066 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5069 $as_echo_n "checking whether flex is recent enough... " >&6; }
5070 cat >conftest.l <<EOF
5071 %top{
5072 #include "prediluvian.h"
5076 if $FLEX -t conftest.l >/dev/null 2>&5
5077 then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5079 $as_echo "yes" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5086 for ac_prog in bison
5088 # Extract the first word of "$ac_prog", so it can be a program name with args.
5089 set dummy $ac_prog; ac_word=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_prog_BISON+:} false; then :
5093 $as_echo_n "(cached) " >&6
5094 else
5095 if test -n "$BISON"; then
5096 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5097 else
5098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 for as_dir in $PATH
5101 IFS=$as_save_IFS
5102 test -z "$as_dir" && as_dir=.
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_BISON="$ac_prog"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 break 2
5109 done
5110 done
5111 IFS=$as_save_IFS
5115 BISON=$ac_cv_prog_BISON
5116 if test -n "$BISON"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5118 $as_echo "$BISON" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5125 test -n "$BISON" && break
5126 done
5127 test -n "$BISON" || BISON="none"
5129 if test "$BISON" = "none"
5130 then
5131 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5134 if test -n "$ac_tool_prefix"; then
5135 for ac_prog in ar gar
5137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if ${ac_cv_prog_AR+:} false; then :
5142 $as_echo_n "(cached) " >&6
5143 else
5144 if test -n "$AR"; then
5145 ac_cv_prog_AR="$AR" # Let the user override the test.
5146 else
5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148 for as_dir in $PATH
5150 IFS=$as_save_IFS
5151 test -z "$as_dir" && as_dir=.
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5154 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 break 2
5158 done
5159 done
5160 IFS=$as_save_IFS
5164 AR=$ac_cv_prog_AR
5165 if test -n "$AR"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5167 $as_echo "$AR" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5174 test -n "$AR" && break
5175 done
5177 if test -z "$AR"; then
5178 ac_ct_AR=$AR
5179 for ac_prog in ar gar
5181 # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy $ac_prog; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5186 $as_echo_n "(cached) " >&6
5187 else
5188 if test -n "$ac_ct_AR"; then
5189 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5194 IFS=$as_save_IFS
5195 test -z "$as_dir" && as_dir=.
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_AR="$ac_prog"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 break 2
5202 done
5203 done
5204 IFS=$as_save_IFS
5208 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5209 if test -n "$ac_ct_AR"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5211 $as_echo "$ac_ct_AR" >&6; }
5212 else
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5218 test -n "$ac_ct_AR" && break
5219 done
5221 if test "x$ac_ct_AR" = x; then
5222 AR="ar"
5223 else
5224 case $cross_compiling:$ac_tool_warned in
5225 yes:)
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5228 ac_tool_warned=yes ;;
5229 esac
5230 AR=$ac_ct_AR
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5236 set dummy ${ac_tool_prefix}strip; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if ${ac_cv_prog_STRIP+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$STRIP"; then
5243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5256 done
5257 done
5258 IFS=$as_save_IFS
5262 STRIP=$ac_cv_prog_STRIP
5263 if test -n "$STRIP"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5265 $as_echo "$STRIP" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5273 if test -z "$ac_cv_prog_STRIP"; then
5274 ac_ct_STRIP=$STRIP
5275 # Extract the first word of "strip", so it can be a program name with args.
5276 set dummy strip; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -n "$ac_ct_STRIP"; then
5283 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5284 else
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5292 ac_cv_prog_ac_ct_STRIP="strip"
5293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 IFS=$as_save_IFS
5302 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5303 if test -n "$ac_ct_STRIP"; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5305 $as_echo "$ac_ct_STRIP" >&6; }
5306 else
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5308 $as_echo "no" >&6; }
5311 if test "x$ac_ct_STRIP" = x; then
5312 STRIP="strip"
5313 else
5314 case $cross_compiling:$ac_tool_warned in
5315 yes:)
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5318 ac_tool_warned=yes ;;
5319 esac
5320 STRIP=$ac_ct_STRIP
5322 else
5323 STRIP="$ac_cv_prog_STRIP"
5326 ARFLAGS=rc
5328 if test -n "$ac_tool_prefix"; then
5329 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5330 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332 $as_echo_n "checking for $ac_word... " >&6; }
5333 if ${ac_cv_prog_RANLIB+:} false; then :
5334 $as_echo_n "(cached) " >&6
5335 else
5336 if test -n "$RANLIB"; then
5337 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5338 else
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340 for as_dir in $PATH
5342 IFS=$as_save_IFS
5343 test -z "$as_dir" && as_dir=.
5344 for ac_exec_ext in '' $ac_executable_extensions; do
5345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5346 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 break 2
5350 done
5351 done
5352 IFS=$as_save_IFS
5356 RANLIB=$ac_cv_prog_RANLIB
5357 if test -n "$RANLIB"; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5359 $as_echo "$RANLIB" >&6; }
5360 else
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362 $as_echo "no" >&6; }
5367 if test -z "$ac_cv_prog_RANLIB"; then
5368 ac_ct_RANLIB=$RANLIB
5369 # Extract the first word of "ranlib", so it can be a program name with args.
5370 set dummy ranlib; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 if test -n "$ac_ct_RANLIB"; then
5377 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5378 else
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH
5382 IFS=$as_save_IFS
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_prog_ac_ct_RANLIB="ranlib"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 break 2
5390 done
5391 done
5392 IFS=$as_save_IFS
5396 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5397 if test -n "$ac_ct_RANLIB"; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5399 $as_echo "$ac_ct_RANLIB" >&6; }
5400 else
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5405 if test "x$ac_ct_RANLIB" = x; then
5406 RANLIB=":"
5407 else
5408 case $cross_compiling:$ac_tool_warned in
5409 yes:)
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5412 ac_tool_warned=yes ;;
5413 esac
5414 RANLIB=$ac_ct_RANLIB
5416 else
5417 RANLIB="$ac_cv_prog_RANLIB"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5421 $as_echo_n "checking whether ln -s works... " >&6; }
5422 LN_S=$as_ln_s
5423 if test "$LN_S" = "ln -s"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5425 $as_echo "yes" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5428 $as_echo "no, using $LN_S" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -z "$GREP"; then
5437 ac_path_GREP_found=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_prog in grep ggrep; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5447 as_fn_executable_p "$ac_path_GREP" || continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449 # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5451 *GNU*)
5452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5454 ac_count=0
5455 $as_echo_n 0123456789 >"conftest.in"
5456 while :
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'GREP' >> "conftest.nl"
5462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464 as_fn_arith $ac_count + 1 && ac_count=$as_val
5465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_GREP="$ac_path_GREP"
5468 ac_path_GREP_max=$ac_count
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5472 done
5473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5476 $ac_path_GREP_found && break 3
5477 done
5478 done
5479 done
5480 IFS=$as_save_IFS
5481 if test -z "$ac_cv_path_GREP"; then
5482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 else
5485 ac_cv_path_GREP=$GREP
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491 GREP="$ac_cv_path_GREP"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5500 then ac_cv_path_EGREP="$GREP -E"
5501 else
5502 if test -z "$EGREP"; then
5503 ac_path_EGREP_found=false
5504 # Loop through the user's path and test for each of PROGNAME-LIST
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_prog in egrep; do
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5513 as_fn_executable_p "$ac_path_EGREP" || continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515 # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5517 *GNU*)
5518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5520 ac_count=0
5521 $as_echo_n 0123456789 >"conftest.in"
5522 while :
5524 cat "conftest.in" "conftest.in" >"conftest.tmp"
5525 mv "conftest.tmp" "conftest.in"
5526 cp "conftest.in" "conftest.nl"
5527 $as_echo 'EGREP' >> "conftest.nl"
5528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530 as_fn_arith $ac_count + 1 && ac_count=$as_val
5531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532 # Best one so far, save it but keep looking for a better one
5533 ac_cv_path_EGREP="$ac_path_EGREP"
5534 ac_path_EGREP_max=$ac_count
5536 # 10*(2^10) chars as input seems more than enough
5537 test $ac_count -gt 10 && break
5538 done
5539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540 esac
5542 $ac_path_EGREP_found && break 3
5543 done
5544 done
5545 done
5546 IFS=$as_save_IFS
5547 if test -z "$ac_cv_path_EGREP"; then
5548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5550 else
5551 ac_cv_path_EGREP=$EGREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558 EGREP="$ac_cv_path_EGREP"
5561 # Extract the first word of "ldconfig", so it can be a program name with args.
5562 set dummy ldconfig; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_path_LDCONFIG+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 case $LDCONFIG in
5569 [\\/]* | ?:[\\/]*)
5570 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in /sbin /usr/sbin $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5588 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5590 esac
5592 LDCONFIG=$ac_cv_path_LDCONFIG
5593 if test -n "$LDCONFIG"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5595 $as_echo "$LDCONFIG" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5602 for ac_prog in msgfmt
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy $ac_prog; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_MSGFMT+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$MSGFMT"; then
5612 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_MSGFMT="$ac_prog"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 MSGFMT=$ac_cv_prog_MSGFMT
5632 if test -n "$MSGFMT"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5634 $as_echo "$MSGFMT" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5641 test -n "$MSGFMT" && break
5642 done
5643 test -n "$MSGFMT" || MSGFMT="false"
5645 if ${ac_tool_prefix+:} false; then :
5646 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5647 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5651 $as_echo_n "(cached) " >&6
5652 else
5653 if test -n "$PKG_CONFIG"; then
5654 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5655 else
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $PATH
5659 IFS=$as_save_IFS
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 break 2
5667 done
5668 done
5669 IFS=$as_save_IFS
5673 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5674 if test -n "$PKG_CONFIG"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5676 $as_echo "$PKG_CONFIG" >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5684 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5685 if test "x$cross_compiling" = xyes; then :
5687 else
5688 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5689 # Extract the first word of "pkg-config", so it can be a program name with args.
5690 set dummy pkg-config; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$PKG_CONFIG"; then
5697 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_PKG_CONFIG="pkg-config"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5717 if test -n "$PKG_CONFIG"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5719 $as_echo "$PKG_CONFIG" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 else
5728 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5731 if test "x$enable_maintainer_mode" != "xyes"
5732 then
5733 FONTFORGE=""
5734 RSVG=""
5735 CONVERT=""
5736 ICOTOOL=""
5737 else
5738 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5739 for ac_prog in fontforge
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_FONTFORGE+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -n "$FONTFORGE"; then
5749 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_FONTFORGE="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 FONTFORGE=$ac_cv_prog_FONTFORGE
5769 if test -n "$FONTFORGE"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5771 $as_echo "$FONTFORGE" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$FONTFORGE" && break
5779 done
5780 test -n "$FONTFORGE" || FONTFORGE="false"
5782 for ac_prog in rsvg-convert rsvg
5784 # Extract the first word of "$ac_prog", so it can be a program name with args.
5785 set dummy $ac_prog; ac_word=$2
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5787 $as_echo_n "checking for $ac_word... " >&6; }
5788 if ${ac_cv_prog_RSVG+:} false; then :
5789 $as_echo_n "(cached) " >&6
5790 else
5791 if test -n "$RSVG"; then
5792 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5801 ac_cv_prog_RSVG="$ac_prog"
5802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 RSVG=$ac_cv_prog_RSVG
5812 if test -n "$RSVG"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5814 $as_echo "$RSVG" >&6; }
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5817 $as_echo "no" >&6; }
5821 test -n "$RSVG" && break
5822 done
5823 test -n "$RSVG" || RSVG="false"
5825 for ac_prog in convert
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy $ac_prog; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_CONVERT+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 if test -n "$CONVERT"; then
5835 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5836 else
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5840 IFS=$as_save_IFS
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_CONVERT="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 break 2
5848 done
5849 done
5850 IFS=$as_save_IFS
5854 CONVERT=$ac_cv_prog_CONVERT
5855 if test -n "$CONVERT"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5857 $as_echo "$CONVERT" >&6; }
5858 else
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$CONVERT" && break
5865 done
5866 test -n "$CONVERT" || CONVERT="false"
5868 for ac_prog in icotool
5870 # Extract the first word of "$ac_prog", so it can be a program name with args.
5871 set dummy $ac_prog; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_ICOTOOL+:} false; then :
5875 $as_echo_n "(cached) " >&6
5876 else
5877 if test -n "$ICOTOOL"; then
5878 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5879 else
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_ICOTOOL="$ac_prog"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5897 ICOTOOL=$ac_cv_prog_ICOTOOL
5898 if test -n "$ICOTOOL"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5900 $as_echo "$ICOTOOL" >&6; }
5901 else
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5907 test -n "$ICOTOOL" && break
5908 done
5909 test -n "$ICOTOOL" || ICOTOOL="false"
5911 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5912 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5914 if test "$CONVERT" = false
5915 then
5916 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5919 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5920 convert_version=`convert --version | head -n1`
5921 if test "x$convert_version" != "x"
5922 then
5923 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5924 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5925 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5926 then
5927 CONVERT=false
5930 if test "$CONVERT" = false
5931 then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5933 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5934 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5937 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5941 if test "$ICOTOOL" = false
5942 then
5943 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5946 $as_echo_n "checking for recent enough icotool... " >&6; }
5947 icotool_version=`icotool --version | head -n1`
5948 if test "x$icotool_version" != "x"
5949 then
5950 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5951 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5952 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5953 then
5954 ICOTOOL=false
5955 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5958 if test "$ICOTOOL" = false
5959 then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5961 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5962 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5965 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5969 with_gettext=yes
5970 with_gettextpo=yes
5971 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5974 test "x$with_gettext" != xno || MSGFMT=false
5975 if test "$MSGFMT" != "false"
5976 then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5978 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5979 cat >conftest.po <<EOF
5980 # comment
5981 msgctxt "ctxt"
5982 msgid "id"
5983 msgstr "str"
5985 if $MSGFMT -o /dev/null conftest.po 2>&5
5986 then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5988 $as_echo "yes" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5992 MSGFMT=false
5995 if test "$MSGFMT" = false; then :
5996 case "x$with_gettext" in
5997 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5998 xno) ;;
5999 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6000 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6001 esac
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6006 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6007 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 ac_check_lib_save_LIBS=$LIBS
6011 LIBS="-li386 $LIBS"
6012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6015 /* Override any GCC internal prototype to avoid an error.
6016 Use char because int might match the return type of a GCC
6017 builtin and then its argument prototype would still apply. */
6018 #ifdef __cplusplus
6019 extern "C"
6020 #endif
6021 char i386_set_ldt ();
6023 main ()
6025 return i386_set_ldt ();
6027 return 0;
6029 _ACEOF
6030 if ac_fn_c_try_link "$LINENO"; then :
6031 ac_cv_lib_i386_i386_set_ldt=yes
6032 else
6033 ac_cv_lib_i386_i386_set_ldt=no
6035 rm -f core conftest.err conftest.$ac_objext \
6036 conftest$ac_exeext conftest.$ac_ext
6037 LIBS=$ac_check_lib_save_LIBS
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6040 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6041 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6042 cat >>confdefs.h <<_ACEOF
6043 #define HAVE_LIBI386 1
6044 _ACEOF
6046 LIBS="-li386 $LIBS"
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6051 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6052 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 ac_check_lib_save_LIBS=$LIBS
6056 LIBS="-lossaudio $LIBS"
6057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6063 #ifdef __cplusplus
6064 extern "C"
6065 #endif
6066 char _oss_ioctl ();
6068 main ()
6070 return _oss_ioctl ();
6072 return 0;
6074 _ACEOF
6075 if ac_fn_c_try_link "$LINENO"; then :
6076 ac_cv_lib_ossaudio__oss_ioctl=yes
6077 else
6078 ac_cv_lib_ossaudio__oss_ioctl=no
6080 rm -f core conftest.err conftest.$ac_objext \
6081 conftest$ac_exeext conftest.$ac_ext
6082 LIBS=$ac_check_lib_save_LIBS
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6085 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6086 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6087 cat >>confdefs.h <<_ACEOF
6088 #define HAVE_LIBOSSAUDIO 1
6089 _ACEOF
6091 LIBS="-lossaudio $LIBS"
6096 OPENGL_LIBS=""
6100 # Check whether --enable-largefile was given.
6101 if test "${enable_largefile+set}" = set; then :
6102 enableval=$enable_largefile;
6105 if test "$enable_largefile" != no; then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6108 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6109 if ${ac_cv_sys_largefile_CC+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 ac_cv_sys_largefile_CC=no
6113 if test "$GCC" != yes; then
6114 ac_save_CC=$CC
6115 while :; do
6116 # IRIX 6.2 and later do not support large files by default,
6117 # so use the C compiler's -n32 option if that helps.
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #include <sys/types.h>
6121 /* Check that off_t can represent 2**63 - 1 correctly.
6122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6123 since some C++ compilers masquerading as C compilers
6124 incorrectly reject 9223372036854775807. */
6125 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6127 && LARGE_OFF_T % 2147483647 == 1)
6128 ? 1 : -1];
6130 main ()
6134 return 0;
6136 _ACEOF
6137 if ac_fn_c_try_compile "$LINENO"; then :
6138 break
6140 rm -f core conftest.err conftest.$ac_objext
6141 CC="$CC -n32"
6142 if ac_fn_c_try_compile "$LINENO"; then :
6143 ac_cv_sys_largefile_CC=' -n32'; break
6145 rm -f core conftest.err conftest.$ac_objext
6146 break
6147 done
6148 CC=$ac_save_CC
6149 rm -f conftest.$ac_ext
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6153 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6154 if test "$ac_cv_sys_largefile_CC" != no; then
6155 CC=$CC$ac_cv_sys_largefile_CC
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6159 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6160 if ${ac_cv_sys_file_offset_bits+:} false; then :
6161 $as_echo_n "(cached) " >&6
6162 else
6163 while :; do
6164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 #include <sys/types.h>
6167 /* Check that off_t can represent 2**63 - 1 correctly.
6168 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6169 since some C++ compilers masquerading as C compilers
6170 incorrectly reject 9223372036854775807. */
6171 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6172 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6173 && LARGE_OFF_T % 2147483647 == 1)
6174 ? 1 : -1];
6176 main ()
6180 return 0;
6182 _ACEOF
6183 if ac_fn_c_try_compile "$LINENO"; then :
6184 ac_cv_sys_file_offset_bits=no; break
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #define _FILE_OFFSET_BITS 64
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6198 ? 1 : -1];
6200 main ()
6204 return 0;
6206 _ACEOF
6207 if ac_fn_c_try_compile "$LINENO"; then :
6208 ac_cv_sys_file_offset_bits=64; break
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 ac_cv_sys_file_offset_bits=unknown
6212 break
6213 done
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6216 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6217 case $ac_cv_sys_file_offset_bits in #(
6218 no | unknown) ;;
6220 cat >>confdefs.h <<_ACEOF
6221 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6222 _ACEOF
6224 esac
6225 rm -rf conftest*
6226 if test $ac_cv_sys_file_offset_bits = unknown; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6228 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6229 if ${ac_cv_sys_large_files+:} false; then :
6230 $as_echo_n "(cached) " >&6
6231 else
6232 while :; do
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6235 #include <sys/types.h>
6236 /* Check that off_t can represent 2**63 - 1 correctly.
6237 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6238 since some C++ compilers masquerading as C compilers
6239 incorrectly reject 9223372036854775807. */
6240 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6241 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6242 && LARGE_OFF_T % 2147483647 == 1)
6243 ? 1 : -1];
6245 main ()
6249 return 0;
6251 _ACEOF
6252 if ac_fn_c_try_compile "$LINENO"; then :
6253 ac_cv_sys_large_files=no; break
6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #define _LARGE_FILES 1
6259 #include <sys/types.h>
6260 /* Check that off_t can represent 2**63 - 1 correctly.
6261 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6262 since some C++ compilers masquerading as C compilers
6263 incorrectly reject 9223372036854775807. */
6264 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6265 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6266 && LARGE_OFF_T % 2147483647 == 1)
6267 ? 1 : -1];
6269 main ()
6273 return 0;
6275 _ACEOF
6276 if ac_fn_c_try_compile "$LINENO"; then :
6277 ac_cv_sys_large_files=1; break
6279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6280 ac_cv_sys_large_files=unknown
6281 break
6282 done
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6285 $as_echo "$ac_cv_sys_large_files" >&6; }
6286 case $ac_cv_sys_large_files in #(
6287 no | unknown) ;;
6289 cat >>confdefs.h <<_ACEOF
6290 #define _LARGE_FILES $ac_cv_sys_large_files
6291 _ACEOF
6293 esac
6294 rm -rf conftest*
6301 ac_ext=c
6302 ac_cpp='$CPP $CPPFLAGS'
6303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6307 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6308 # On Suns, sometimes $CPP names a directory.
6309 if test -n "$CPP" && test -d "$CPP"; then
6310 CPP=
6312 if test -z "$CPP"; then
6313 if ${ac_cv_prog_CPP+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 # Double quotes because CPP needs to be expanded
6317 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6319 ac_preproc_ok=false
6320 for ac_c_preproc_warn_flag in '' yes
6322 # Use a header file that comes with gcc, so configuring glibc
6323 # with a fresh cross-compiler works.
6324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6325 # <limits.h> exists even on freestanding compilers.
6326 # On the NeXT, cc -E runs the code through the compiler's parser,
6327 # not just through cpp. "Syntax error" is here to catch this case.
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330 #ifdef __STDC__
6331 # include <limits.h>
6332 #else
6333 # include <assert.h>
6334 #endif
6335 Syntax error
6336 _ACEOF
6337 if ac_fn_c_try_cpp "$LINENO"; then :
6339 else
6340 # Broken: fails on valid input.
6341 continue
6343 rm -f conftest.err conftest.i conftest.$ac_ext
6345 # OK, works on sane cases. Now check whether nonexistent headers
6346 # can be detected and how.
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #include <ac_nonexistent.h>
6350 _ACEOF
6351 if ac_fn_c_try_cpp "$LINENO"; then :
6352 # Broken: success on invalid input.
6353 continue
6354 else
6355 # Passes both tests.
6356 ac_preproc_ok=:
6357 break
6359 rm -f conftest.err conftest.i conftest.$ac_ext
6361 done
6362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6363 rm -f conftest.i conftest.err conftest.$ac_ext
6364 if $ac_preproc_ok; then :
6365 break
6368 done
6369 ac_cv_prog_CPP=$CPP
6372 CPP=$ac_cv_prog_CPP
6373 else
6374 ac_cv_prog_CPP=$CPP
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6377 $as_echo "$CPP" >&6; }
6378 ac_preproc_ok=false
6379 for ac_c_preproc_warn_flag in '' yes
6381 # Use a header file that comes with gcc, so configuring glibc
6382 # with a fresh cross-compiler works.
6383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6384 # <limits.h> exists even on freestanding compilers.
6385 # On the NeXT, cc -E runs the code through the compiler's parser,
6386 # not just through cpp. "Syntax error" is here to catch this case.
6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #ifdef __STDC__
6390 # include <limits.h>
6391 #else
6392 # include <assert.h>
6393 #endif
6394 Syntax error
6395 _ACEOF
6396 if ac_fn_c_try_cpp "$LINENO"; then :
6398 else
6399 # Broken: fails on valid input.
6400 continue
6402 rm -f conftest.err conftest.i conftest.$ac_ext
6404 # OK, works on sane cases. Now check whether nonexistent headers
6405 # can be detected and how.
6406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6408 #include <ac_nonexistent.h>
6409 _ACEOF
6410 if ac_fn_c_try_cpp "$LINENO"; then :
6411 # Broken: success on invalid input.
6412 continue
6413 else
6414 # Passes both tests.
6415 ac_preproc_ok=:
6416 break
6418 rm -f conftest.err conftest.i conftest.$ac_ext
6420 done
6421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6422 rm -f conftest.i conftest.err conftest.$ac_ext
6423 if $ac_preproc_ok; then :
6425 else
6426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6428 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6429 See \`config.log' for more details" "$LINENO" 5; }
6432 ac_ext=c
6433 ac_cpp='$CPP $CPPFLAGS'
6434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6440 $as_echo_n "checking for ANSI C header files... " >&6; }
6441 if ${ac_cv_header_stdc+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #include <stdlib.h>
6447 #include <stdarg.h>
6448 #include <string.h>
6449 #include <float.h>
6452 main ()
6456 return 0;
6458 _ACEOF
6459 if ac_fn_c_try_compile "$LINENO"; then :
6460 ac_cv_header_stdc=yes
6461 else
6462 ac_cv_header_stdc=no
6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 if test $ac_cv_header_stdc = yes; then
6467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <string.h>
6472 _ACEOF
6473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6474 $EGREP "memchr" >/dev/null 2>&1; then :
6476 else
6477 ac_cv_header_stdc=no
6479 rm -f conftest*
6483 if test $ac_cv_header_stdc = yes; then
6484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6486 /* end confdefs.h. */
6487 #include <stdlib.h>
6489 _ACEOF
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "free" >/dev/null 2>&1; then :
6493 else
6494 ac_cv_header_stdc=no
6496 rm -f conftest*
6500 if test $ac_cv_header_stdc = yes; then
6501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6502 if test "$cross_compiling" = yes; then :
6504 else
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6507 #include <ctype.h>
6508 #include <stdlib.h>
6509 #if ((' ' & 0x0FF) == 0x020)
6510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6512 #else
6513 # define ISLOWER(c) \
6514 (('a' <= (c) && (c) <= 'i') \
6515 || ('j' <= (c) && (c) <= 'r') \
6516 || ('s' <= (c) && (c) <= 'z'))
6517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6518 #endif
6520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6522 main ()
6524 int i;
6525 for (i = 0; i < 256; i++)
6526 if (XOR (islower (i), ISLOWER (i))
6527 || toupper (i) != TOUPPER (i))
6528 return 2;
6529 return 0;
6531 _ACEOF
6532 if ac_fn_c_try_run "$LINENO"; then :
6534 else
6535 ac_cv_header_stdc=no
6537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6538 conftest.$ac_objext conftest.beam conftest.$ac_ext
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6544 $as_echo "$ac_cv_header_stdc" >&6; }
6545 if test $ac_cv_header_stdc = yes; then
6547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6552 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6553 inttypes.h stdint.h unistd.h
6554 do :
6555 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6556 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6559 cat >>confdefs.h <<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6561 _ACEOF
6565 done
6568 for ac_header in \
6569 AL/al.h \
6570 ApplicationServices/ApplicationServices.h \
6571 AudioToolbox/AudioConverter.h \
6572 AudioUnit/AudioUnit.h \
6573 AudioUnit/AudioComponent.h \
6574 CL/cl.h \
6575 Carbon/Carbon.h \
6576 CoreAudio/CoreAudio.h \
6577 CoreServices/CoreServices.h \
6578 DiskArbitration/DiskArbitration.h \
6579 IOKit/IOKitLib.h \
6580 IOKit/hid/IOHIDLib.h \
6581 OpenAL/al.h \
6582 OpenCL/opencl.h \
6583 QuickTime/ImageCompression.h \
6584 Security/Security.h \
6585 alias.h \
6586 alsa/asoundlib.h \
6587 arpa/inet.h \
6588 arpa/nameser.h \
6589 asm/types.h \
6590 asm/user.h \
6591 curses.h \
6592 direct.h \
6593 dirent.h \
6594 dlfcn.h \
6595 elf.h \
6596 float.h \
6597 fnmatch.h \
6598 getopt.h \
6599 gettext-po.h \
6600 grp.h \
6601 gsm.h \
6602 gsm/gsm.h \
6603 ieeefp.h \
6604 inet/mib2.h \
6605 io.h \
6606 kstat.h \
6607 lber.h \
6608 ldap.h \
6609 libproc.h \
6610 link.h \
6611 linux/cdrom.h \
6612 linux/compiler.h \
6613 linux/filter.h \
6614 linux/hdreg.h \
6615 linux/input.h \
6616 linux/ioctl.h \
6617 linux/joystick.h \
6618 linux/major.h \
6619 linux/param.h \
6620 linux/serial.h \
6621 linux/types.h \
6622 linux/ucdrom.h \
6623 lwp.h \
6624 mach-o/nlist.h \
6625 mach-o/loader.h \
6626 mach/mach.h \
6627 mach/machine.h \
6628 machine/cpu.h \
6629 machine/limits.h \
6630 machine/sysarch.h \
6631 mntent.h \
6632 ncurses.h \
6633 netdb.h \
6634 netinet/in.h \
6635 netinet/in_systm.h \
6636 netinet/tcp.h \
6637 netinet/tcp_fsm.h \
6638 pcap/pcap.h \
6639 poll.h \
6640 port.h \
6641 process.h \
6642 pthread.h \
6643 pwd.h \
6644 sched.h \
6645 scsi/scsi.h \
6646 scsi/scsi_ioctl.h \
6647 scsi/sg.h \
6648 stdbool.h \
6649 stdint.h \
6650 stropts.h \
6651 sys/asoundlib.h \
6652 sys/attr.h \
6653 sys/cdio.h \
6654 sys/elf32.h \
6655 sys/epoll.h \
6656 sys/event.h \
6657 sys/exec_elf.h \
6658 sys/filio.h \
6659 sys/inotify.h \
6660 sys/ioctl.h \
6661 sys/ipc.h \
6662 sys/limits.h \
6663 sys/link.h \
6664 sys/mman.h \
6665 sys/modem.h \
6666 sys/msg.h \
6667 sys/mtio.h \
6668 sys/param.h \
6669 sys/poll.h \
6670 sys/prctl.h \
6671 sys/protosw.h \
6672 sys/ptrace.h \
6673 sys/queue.h \
6674 sys/resource.h \
6675 sys/scsiio.h \
6676 sys/shm.h \
6677 sys/signal.h \
6678 sys/socket.h \
6679 sys/socketvar.h \
6680 sys/sockio.h \
6681 sys/statvfs.h \
6682 sys/strtio.h \
6683 sys/syscall.h \
6684 sys/tihdr.h \
6685 sys/time.h \
6686 sys/timeout.h \
6687 sys/times.h \
6688 sys/uio.h \
6689 sys/user.h \
6690 sys/utsname.h \
6691 sys/vm86.h \
6692 sys/wait.h \
6693 syscall.h \
6694 termios.h \
6695 unistd.h \
6696 utime.h \
6697 valgrind/memcheck.h \
6698 valgrind/valgrind.h \
6699 zlib.h
6701 do :
6702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6703 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6704 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6705 cat >>confdefs.h <<_ACEOF
6706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6714 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6715 if ${ac_cv_header_stat_broken+:} false; then :
6716 $as_echo_n "(cached) " >&6
6717 else
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6720 #include <sys/types.h>
6721 #include <sys/stat.h>
6723 #if defined S_ISBLK && defined S_IFDIR
6724 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6725 #endif
6727 #if defined S_ISBLK && defined S_IFCHR
6728 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6729 #endif
6731 #if defined S_ISLNK && defined S_IFREG
6732 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6733 #endif
6735 #if defined S_ISSOCK && defined S_IFREG
6736 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6737 #endif
6739 _ACEOF
6740 if ac_fn_c_try_compile "$LINENO"; then :
6741 ac_cv_header_stat_broken=no
6742 else
6743 ac_cv_header_stat_broken=yes
6745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6748 $as_echo "$ac_cv_header_stat_broken" >&6; }
6749 if test $ac_cv_header_stat_broken = yes; then
6751 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6757 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6758 do :
6759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6761 #ifdef HAVE_SYS_PARAM_H
6762 # include <sys/param.h>
6763 #endif
6765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6766 cat >>confdefs.h <<_ACEOF
6767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6768 _ACEOF
6772 done
6775 for ac_header in \
6776 netinet/ip.h \
6777 net/if.h \
6778 net/if_arp.h \
6779 net/if_dl.h \
6780 net/if_types.h \
6781 net/route.h \
6782 netinet/if_ether.h \
6783 netinet/if_inarp.h \
6784 netinet/in_pcb.h \
6785 netinet/ip_icmp.h \
6786 netinet/ip_var.h \
6787 netinet/udp.h \
6788 netipx/ipx.h \
6789 sys/un.h \
6791 do :
6792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6794 #ifdef HAVE_SYS_SOCKET_H
6795 # include <sys/socket.h>
6796 #endif
6797 #ifdef HAVE_SYS_SOCKETVAR_H
6798 # include <sys/socketvar.h>
6799 #endif
6800 #ifdef HAVE_NET_ROUTE_H
6801 # include <net/route.h>
6802 #endif
6803 #ifdef HAVE_NETINET_IN_H
6804 # include <netinet/in.h>
6805 #endif
6806 #ifdef HAVE_NETINET_IN_SYSTM_H
6807 # include <netinet/in_systm.h>
6808 #endif
6809 #ifdef HAVE_NET_IF_H
6810 # include <net/if.h>
6811 #endif
6812 #ifdef HAVE_NETINET_IP_H
6813 # include <netinet/ip.h>
6814 #endif
6816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6817 cat >>confdefs.h <<_ACEOF
6818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 _ACEOF
6823 done
6826 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6830 #ifdef HAVE_ALIAS_H
6831 # include <alias.h>
6832 #endif
6833 #ifdef HAVE_SYS_SOCKET_H
6834 # include <sys/socket.h>
6835 #endif
6836 #ifdef HAVE_SYS_SOCKETVAR_H
6837 # include <sys/socketvar.h>
6838 #endif
6839 #ifdef HAVE_SYS_TIMEOUT_H
6840 # include <sys/timeout.h>
6841 #endif
6842 #ifdef HAVE_NETINET_IN_H
6843 # include <netinet/in.h>
6844 #endif
6845 #ifdef HAVE_NETINET_IN_SYSTM_H
6846 # include <netinet/in_systm.h>
6847 #endif
6848 #ifdef HAVE_NETINET_IP_H
6849 # include <netinet/ip.h>
6850 #endif
6851 #ifdef HAVE_NETINET_IP_VAR_H
6852 # include <netinet/ip_var.h>
6853 #endif
6854 #ifdef HAVE_NETINET_IP_ICMP_H
6855 # include <netinet/ip_icmp.h>
6856 #endif
6857 #ifdef HAVE_NETINET_UDP_H
6858 # include <netinet/udp.h>
6859 #endif
6860 #ifdef HAVE_NETINET_TCP_H
6861 # include <netinet/tcp.h>
6862 #endif
6863 #ifdef HAVE_NETINET_TCP_TIMER_H
6864 #include <netinet/tcp_timer.h>
6865 #endif
6867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6874 done
6877 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6881 #ifdef HAVE_ASM_TYPES_H
6882 # include <asm/types.h>
6883 #endif
6884 #ifdef HAVE_SYS_SOCKET_H
6885 # include <sys/socket.h>
6886 #endif
6887 #ifdef HAVE_LINUX_TYPES_H
6888 # include <linux/types.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in mach-o/dyld_images.h
6902 do :
6903 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6904 # include <stdbool.h>
6905 #endif
6906 #ifdef HAVE_STDINT_H
6907 # include <stdint.h>
6908 #endif
6910 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6911 cat >>confdefs.h <<_ACEOF
6912 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6913 _ACEOF
6917 done
6920 for ac_header in resolv.h
6921 do :
6922 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6923 #ifdef HAVE_SYS_SOCKET_H
6924 # include <sys/socket.h>
6925 #endif
6926 #ifdef HAVE_NETINET_IN_H
6927 # include <netinet/in.h>
6928 #endif
6929 #ifdef HAVE_ARPA_NAMESER_H
6930 # include <arpa/nameser.h>
6931 #endif
6933 if test "x$ac_cv_header_resolv_h" = xyes; then :
6934 cat >>confdefs.h <<_ACEOF
6935 #define HAVE_RESOLV_H 1
6936 _ACEOF
6940 done
6943 for ac_header in ifaddrs.h
6944 do :
6945 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6947 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6948 cat >>confdefs.h <<_ACEOF
6949 #define HAVE_IFADDRS_H 1
6950 _ACEOF
6954 done
6957 for ac_header in sys/ucontext.h
6958 do :
6959 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6961 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6962 cat >>confdefs.h <<_ACEOF
6963 #define HAVE_SYS_UCONTEXT_H 1
6964 _ACEOF
6968 done
6971 for ac_header in sys/thr.h
6972 do :
6973 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6974 #ifdef HAVE_SYS_UCONTEXT_H
6975 #include <sys/ucontext.h>
6976 #endif
6978 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define HAVE_SYS_THR_H 1
6981 _ACEOF
6985 done
6988 for ac_header in pthread_np.h
6989 do :
6990 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6991 #include <pthread.h>
6992 #endif
6994 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define HAVE_PTHREAD_NP_H 1
6997 _ACEOF
7001 done
7004 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7008 #include <sys/time.h>
7009 #endif
7010 #include <sys/types.h>
7011 #ifdef HAVE_ASM_TYPES_H
7012 #include <asm/types.h>
7013 #endif
7015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7016 cat >>confdefs.h <<_ACEOF
7017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7018 _ACEOF
7022 done
7025 for ac_header in libprocstat.h
7026 do :
7027 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7028 #include <sys/param.h>
7029 #endif
7030 #ifdef HAVE_SYS_QUEUE_H
7031 #include <sys/queue.h>
7032 #endif
7033 #ifdef HAVE_SYS_SOCKET_H
7034 #include <sys/socket.h>
7035 #endif
7037 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define HAVE_LIBPROCSTAT_H 1
7040 _ACEOF
7044 done
7048 dlldir="\${libdir}/wine"
7050 DLLPREFIX=""
7052 DLLFLAGS="-D_REENTRANT"
7054 LDRPATH_INSTALL=""
7056 LDRPATH_LOCAL=""
7058 LIBEXT="so"
7059 DLLEXT=".so"
7060 IMPLIBEXT="def"
7061 STATIC_IMPLIBEXT="def.a"
7062 # Extract the first word of "ldd", so it can be a program name with args.
7063 set dummy ldd; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_path_LDD+:} false; then :
7067 $as_echo_n "(cached) " >&6
7068 else
7069 case $LDD in
7070 [\\/]* | ?:[\\/]*)
7071 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 as_dummy="/sbin:/usr/sbin:$PATH"
7076 for as_dir in $as_dummy
7078 IFS=$as_save_IFS
7079 test -z "$as_dir" && as_dir=.
7080 for ac_exec_ext in '' $ac_executable_extensions; do
7081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 break 2
7086 done
7087 done
7088 IFS=$as_save_IFS
7090 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7092 esac
7094 LDD=$ac_cv_path_LDD
7095 if test -n "$LDD"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7097 $as_echo "$LDD" >&6; }
7098 else
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7104 if test -n "$ac_tool_prefix"; then
7105 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7106 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 $as_echo_n "checking for $ac_word... " >&6; }
7109 if ${ac_cv_prog_READELF+:} false; then :
7110 $as_echo_n "(cached) " >&6
7111 else
7112 if test -n "$READELF"; then
7113 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7114 else
7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 for as_dir in $PATH
7118 IFS=$as_save_IFS
7119 test -z "$as_dir" && as_dir=.
7120 for ac_exec_ext in '' $ac_executable_extensions; do
7121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7122 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 break 2
7126 done
7127 done
7128 IFS=$as_save_IFS
7132 READELF=$ac_cv_prog_READELF
7133 if test -n "$READELF"; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7135 $as_echo "$READELF" >&6; }
7136 else
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7138 $as_echo "no" >&6; }
7143 if test -z "$ac_cv_prog_READELF"; then
7144 ac_ct_READELF=$READELF
7145 # Extract the first word of "readelf", so it can be a program name with args.
7146 set dummy readelf; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$ac_ct_READELF"; then
7153 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_ac_ct_READELF="readelf"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7166 done
7167 done
7168 IFS=$as_save_IFS
7172 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7173 if test -n "$ac_ct_READELF"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7175 $as_echo "$ac_ct_READELF" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7181 if test "x$ac_ct_READELF" = x; then
7182 READELF="true"
7183 else
7184 case $cross_compiling:$ac_tool_warned in
7185 yes:)
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7188 ac_tool_warned=yes ;;
7189 esac
7190 READELF=$ac_ct_READELF
7192 else
7193 READELF="$ac_cv_prog_READELF"
7196 wine_rules_file=conf$$rules.make
7197 rm -f $wine_rules_file
7198 ALL_POT_FILES=""
7199 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7200 ALL_TEST_RESOURCES=""
7203 wine_fn_append_file ()
7205 as_fn_append $1 " \\$as_nl $2"
7208 wine_fn_ignore_file ()
7210 case "$1" in
7211 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7212 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7213 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7214 esac
7217 wine_fn_append_rule ()
7219 $as_echo "$1" >>$wine_rules_file
7222 wine_fn_has_flag ()
7224 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7227 wine_fn_depend_rules ()
7229 wine_fn_append_rule \
7230 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7231 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7232 depend: $ac_dir/depend
7233 .PHONY: $ac_dir/depend
7234 $ac_dir/depend: \$(MAKEDEP) dummy
7235 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7238 wine_fn_pot_rules ()
7240 test "x$with_gettextpo" = xyes || return
7242 if wine_fn_has_flag mc
7243 then
7244 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) msg.pot
7248 $ac_dir/msg.pot: tools/wmc include"
7250 if wine_fn_has_flag po
7251 then
7252 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7253 wine_fn_append_rule \
7254 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7255 @cd $ac_dir && \$(MAKE) rsrc.pot
7256 $ac_dir/rsrc.pot: tools/wrc include"
7260 wine_fn_all_rules ()
7262 wine_fn_depend_rules
7263 wine_fn_append_rule \
7264 "all: $ac_dir
7265 .PHONY: $ac_dir
7266 $ac_dir: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE)"
7270 wine_fn_install_rules ()
7272 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7274 wine_fn_append_rule \
7275 ".PHONY: $ac_dir/install $ac_dir/uninstall
7276 $ac_dir/install:: $ac_dir
7277 @cd $ac_dir && \$(MAKE) install
7278 $ac_dir/uninstall:: $ac_dir/Makefile
7279 @cd $ac_dir && \$(MAKE) uninstall
7280 install:: $ac_dir/install
7281 __uninstall__: $ac_dir/uninstall"
7283 if wine_fn_has_flag install-lib
7284 then
7285 wine_fn_append_rule \
7286 ".PHONY: $ac_dir/install-lib
7287 $ac_dir/install-lib:: $ac_dir
7288 @cd $ac_dir && \$(MAKE) install-lib
7289 install-lib:: $ac_dir/install-lib"
7292 if wine_fn_has_flag install-dev
7293 then
7294 wine_fn_append_rule \
7295 ".PHONY: $ac_dir/install-dev
7296 $ac_dir/install-dev:: $ac_dir
7297 @cd $ac_dir && \$(MAKE) install-dev
7298 install-dev:: $ac_dir/install-dev"
7302 wine_fn_clean_rules ()
7304 ac_clean=$@
7305 ac_extraclean="$ac_dir/Makefile"
7306 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7307 case $ac_dir in
7308 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7309 esac
7311 if wine_fn_has_flag clean
7312 then
7313 wine_fn_append_rule \
7314 "__clean__: $ac_dir/clean
7315 .PHONY: $ac_dir/clean
7316 $ac_dir/clean: $ac_dir/Makefile
7317 @cd $ac_dir && \$(MAKE) clean
7318 \$(RM) $ac_extraclean"
7319 else
7320 wine_fn_append_rule \
7321 "__clean__: $ac_dir/clean
7322 .PHONY: $ac_dir/clean
7323 $ac_dir/clean: dummy
7324 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7328 wine_fn_disabled_rules ()
7330 ac_clean=$@
7331 ac_extraclean="$ac_dir/Makefile"
7332 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7334 wine_fn_append_rule \
7335 "__clean__: $ac_dir/clean
7336 .PHONY: $ac_dir/clean
7337 $ac_dir/clean: dummy
7338 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7341 wine_fn_config_makefile ()
7343 ac_dir=$1
7344 ac_enable=$2
7345 ac_flags=$3
7347 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7348 wine_fn_disabled_rules; return
7350 wine_fn_all_rules
7351 wine_fn_install_rules
7352 wine_fn_clean_rules
7355 wine_fn_config_lib ()
7357 ac_name=$1
7358 ac_flags=$2
7359 ac_dir=dlls/$ac_name
7360 ac_deps="include"
7362 if test "x$enable_tools" = xno; then :
7364 else
7365 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7367 wine_fn_all_rules
7368 wine_fn_clean_rules
7370 wine_fn_append_rule \
7371 ".PHONY: $ac_dir/install $ac_dir/uninstall
7372 $ac_dir/install:: $ac_dir
7373 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7374 $ac_dir/uninstall::
7375 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7376 install install-dev:: $ac_dir/install
7377 __uninstall__: $ac_dir/uninstall
7378 __builddeps__: $ac_dir
7379 $ac_dir: $ac_deps"
7382 wine_fn_config_dll ()
7384 ac_name=$1
7385 ac_dir=dlls/$ac_name
7386 ac_enable=$2
7387 ac_flags=$3
7388 ac_implib=${4:-$ac_name}
7389 ac_file=$ac_dir/lib$ac_implib
7390 ac_dll=$ac_name
7391 ac_deps="include"
7392 ac_implibflags=""
7394 if test "x$enable_tools" = xno; then :
7396 else
7397 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7399 case $ac_name in
7400 *16) ac_implibflags=" -m16" ;;
7401 *.*) ;;
7402 *) ac_dll=$ac_dll.dll ;;
7403 esac
7405 ac_clean=
7406 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7407 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7408 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7409 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7411 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7412 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7413 then
7414 wine_fn_depend_rules
7415 wine_fn_clean_rules $ac_clean
7416 else
7417 wine_fn_disabled_rules $ac_clean
7418 return
7420 else
7421 wine_fn_all_rules
7422 wine_fn_clean_rules $ac_clean
7423 wine_fn_append_rule \
7424 "$ac_dir: __builddeps__
7425 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7426 @cd $ac_dir && \$(MAKE) \$@
7427 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7428 install install-lib:: $ac_dir/install-lib
7429 __uninstall__: $ac_dir/uninstall"
7430 if test -n "$DLLEXT"
7431 then
7432 wine_fn_append_rule \
7433 "$ac_dir/install-lib:: $ac_dir
7434 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7435 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7436 $ac_dir/uninstall::
7437 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7438 else
7439 wine_fn_append_rule \
7440 "$ac_dir/install-lib:: $ac_dir
7441 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7442 $ac_dir/uninstall::
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7446 wine_fn_pot_rules
7449 if wine_fn_has_flag staticimplib
7450 then
7451 wine_fn_append_rule \
7452 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7453 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7454 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7455 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7456 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7457 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7458 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7459 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7460 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7461 $ac_dir/uninstall::
7462 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7463 install install-dev:: $ac_dir/install-dev
7464 __uninstall__: $ac_dir/uninstall"
7466 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7467 then
7468 wine_fn_append_rule \
7469 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7470 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7471 $ac_dir/uninstall::
7472 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7475 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7476 then
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.cross.a
7479 $ac_file.cross.a: $ac_dir/Makefile dummy
7480 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7483 elif wine_fn_has_flag implib
7484 then
7485 wine_fn_append_rule \
7486 "__builddeps__: $ac_file.$IMPLIBEXT
7487 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7488 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7489 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7490 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7491 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7492 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7493 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7494 $ac_dir/uninstall::
7495 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7496 install install-dev:: $ac_dir/install-dev
7497 __uninstall__: $ac_dir/uninstall"
7498 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7499 then
7500 wine_fn_append_rule \
7501 "__builddeps__: $ac_file.cross.a
7502 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7503 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7506 if test "$ac_name" != "$ac_implib"
7507 then
7508 wine_fn_append_rule \
7509 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7510 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7511 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7512 clean::
7513 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7514 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7515 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7516 then
7517 wine_fn_append_rule \
7518 "__builddeps__: dlls/lib$ac_implib.cross.a
7519 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7520 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7521 clean::
7522 \$(RM) dlls/lib$ac_implib.cross.a"
7523 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7529 wine_fn_config_program ()
7531 ac_name=$1
7532 ac_dir=programs/$ac_name
7533 ac_enable=$2
7534 ac_flags=$3
7535 ac_program=$ac_name
7537 case $ac_name in
7538 *.*) ;;
7539 *) ac_program=$ac_program.exe ;;
7540 esac
7542 ac_clean=
7543 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7544 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7545 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7546 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7548 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7549 wine_fn_disabled_rules $ac_clean; return
7552 wine_fn_all_rules
7553 wine_fn_clean_rules $ac_clean
7554 wine_fn_append_rule "$ac_dir: __builddeps__"
7555 wine_fn_pot_rules
7557 wine_fn_has_flag install || return
7558 wine_fn_append_rule \
7559 ".PHONY: $ac_dir/install $ac_dir/uninstall
7560 install install-lib:: $ac_dir/install
7561 __uninstall__: $ac_dir/uninstall"
7563 if test -n "$DLLEXT"
7564 then
7565 wine_fn_append_rule \
7566 "$ac_dir/install:: $ac_dir
7567 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7568 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7569 $ac_dir/uninstall::
7570 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7572 if test -z "$with_wine64" && wine_fn_has_flag installbin
7573 then
7574 wine_fn_append_rule \
7575 "$ac_dir/install:: __tooldeps__
7576 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7577 $ac_dir/uninstall::
7578 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7580 else
7581 wine_fn_append_rule \
7582 "$ac_dir/install:: $ac_dir
7583 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7584 $ac_dir/uninstall::
7585 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7588 if test -z "$with_wine64" && wine_fn_has_flag manpage
7589 then
7590 wine_fn_append_rule \
7591 "$ac_dir/install:: $ac_dir
7592 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7593 $ac_dir/uninstall::
7594 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7598 wine_fn_config_test ()
7600 ac_dir=$1
7601 ac_name=$2
7602 ac_flags=$3
7604 ac_clean=
7605 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7606 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7608 if test "x$enable_tests" = xno; then :
7609 wine_fn_disabled_rules $ac_clean; return
7612 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7613 wine_fn_all_rules
7614 wine_fn_clean_rules $ac_clean
7616 wine_fn_append_rule \
7617 "$ac_dir: programs/winetest/Makefile __builddeps__
7618 programs/winetest: $ac_dir
7619 check test: $ac_dir/test
7620 .PHONY: $ac_dir/test
7621 $ac_dir/test: dummy
7622 @cd $ac_dir && \$(MAKE) test
7623 testclean::
7624 \$(RM) $ac_dir/*.ok"
7626 if test -n "$CROSSTARGET"
7627 then
7628 wine_fn_append_rule \
7629 "crosstest: $ac_dir/crosstest
7630 .PHONY: $ac_dir/crosstest
7631 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7632 @cd $ac_dir && \$(MAKE) crosstest"
7636 wine_fn_config_tool ()
7638 ac_dir=$1
7639 ac_flags=$2
7640 if test "x$enable_tools" = xno; then :
7641 return
7644 wine_fn_all_rules
7645 wine_fn_install_rules
7646 wine_fn_clean_rules
7648 wine_fn_append_rule "__tooldeps__: $ac_dir"
7649 wine_fn_append_rule "$ac_dir: libs/port"
7650 case $ac_dir in
7651 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7652 esac
7655 wine_fn_config_symlink ()
7657 ac_linkdir=
7658 if test "x$1" = "x-d"
7659 then
7660 ac_linkdir=$2
7661 shift; shift
7663 ac_links=$@
7664 wine_fn_append_rule \
7665 "$ac_links:
7666 @./config.status \$@
7667 distclean::
7668 \$(RM) $ac_links"
7669 for f in $ac_links; do wine_fn_ignore_file $f; done
7670 test -n "$ac_linkdir" || return
7671 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7674 wine_binary="wine"
7675 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7676 loader_programs="$wine_binary wine-installed"
7677 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7679 LOADER_RULES="
7680 all: wine.inf
7682 install install-lib:: wine-installed
7683 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7685 uninstall::
7686 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7690 case $host_os in
7691 cygwin*|mingw32*)
7692 if test -n "$ac_tool_prefix"; then
7693 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7694 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696 $as_echo_n "checking for $ac_word... " >&6; }
7697 if ${ac_cv_prog_DLLTOOL+:} false; then :
7698 $as_echo_n "(cached) " >&6
7699 else
7700 if test -n "$DLLTOOL"; then
7701 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7702 else
7703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7704 for as_dir in $PATH
7706 IFS=$as_save_IFS
7707 test -z "$as_dir" && as_dir=.
7708 for ac_exec_ext in '' $ac_executable_extensions; do
7709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7710 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7712 break 2
7714 done
7715 done
7716 IFS=$as_save_IFS
7720 DLLTOOL=$ac_cv_prog_DLLTOOL
7721 if test -n "$DLLTOOL"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7723 $as_echo "$DLLTOOL" >&6; }
7724 else
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726 $as_echo "no" >&6; }
7731 if test -z "$ac_cv_prog_DLLTOOL"; then
7732 ac_ct_DLLTOOL=$DLLTOOL
7733 # Extract the first word of "dlltool", so it can be a program name with args.
7734 set dummy dlltool; ac_word=$2
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7736 $as_echo_n "checking for $ac_word... " >&6; }
7737 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7738 $as_echo_n "(cached) " >&6
7739 else
7740 if test -n "$ac_ct_DLLTOOL"; then
7741 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7742 else
7743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 for as_dir in $PATH
7746 IFS=$as_save_IFS
7747 test -z "$as_dir" && as_dir=.
7748 for ac_exec_ext in '' $ac_executable_extensions; do
7749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7750 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7752 break 2
7754 done
7755 done
7756 IFS=$as_save_IFS
7760 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7761 if test -n "$ac_ct_DLLTOOL"; then
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7763 $as_echo "$ac_ct_DLLTOOL" >&6; }
7764 else
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7766 $as_echo "no" >&6; }
7769 if test "x$ac_ct_DLLTOOL" = x; then
7770 DLLTOOL="false"
7771 else
7772 case $cross_compiling:$ac_tool_warned in
7773 yes:)
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7776 ac_tool_warned=yes ;;
7777 esac
7778 DLLTOOL=$ac_ct_DLLTOOL
7780 else
7781 DLLTOOL="$ac_cv_prog_DLLTOOL"
7784 LIBEXT="dll"
7785 DLLEXT=""
7786 IMPLIBEXT="a"
7787 STATIC_IMPLIBEXT="a"
7788 enable_iphlpapi=${enable_iphlpapi:-no}
7789 enable_kernel32=${enable_kernel32:-no}
7790 enable_msvcrt=${enable_msvcrt:-no}
7791 enable_ntdll=${enable_ntdll:-no}
7792 enable_ws2_32=${enable_ws2_32:-no}
7793 enable_loader=${enable_loader:-no}
7794 enable_server=${enable_server:-no}
7795 with_x=${with_x:-no}
7796 with_pthread=${with_pthread:-no}
7798 crtlibs=""
7799 case $host_os in
7800 mingw32*)
7801 crtlibs="-lmsvcrt"
7802 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7804 esac
7806 libwine_targets="libwine.dll libwine.a"
7807 LIBWINE_RULES="
7808 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7810 all: libwine.dll libwine.a
7812 libwine.a: \$(srcdir)/wine.def
7813 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7815 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7816 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7818 install install-lib:: libwine.dll
7819 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7821 install install-dev:: libwine.a
7822 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7824 uninstall::
7825 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7830 darwin*|macosx*)
7831 LIBEXT="dylib"
7832 DLLFLAGS="$DLLFLAGS -fPIC"
7833 LIBWINE_LDFLAGS="-multiply_defined suppress"
7834 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7835 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7836 COREFOUNDATION_LIBS="-framework CoreFoundation"
7838 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7840 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7842 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7844 CORESERVICES_LIBS="-framework CoreServices"
7846 APPKIT_LIBS="-framework AppKit"
7848 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7850 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7851 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 ac_wine_try_cflags_saved=$CFLAGS
7855 CFLAGS="$CFLAGS -Wl,-no_pie"
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7858 int main(int argc, char **argv) { return 0; }
7859 _ACEOF
7860 if ac_fn_c_try_link "$LINENO"; then :
7861 ac_cv_cflags__Wl__no_pie=yes
7862 else
7863 ac_cv_cflags__Wl__no_pie=no
7865 rm -f core conftest.err conftest.$ac_objext \
7866 conftest$ac_exeext conftest.$ac_ext
7867 CFLAGS=$ac_wine_try_cflags_saved
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7870 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7871 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7872 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7874 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7875 then
7876 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7879 if test "$ac_cv_header_Security_Security_h" = "yes"
7880 then
7881 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7883 ac_save_LIBS="$LIBS"
7884 LIBS="$LIBS $SECURITY_LIBS"
7885 for ac_func in SSLCopyPeerCertificates
7886 do :
7887 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7888 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7889 cat >>confdefs.h <<_ACEOF
7890 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7891 _ACEOF
7894 done
7896 LIBS="$ac_save_LIBS"
7897 with_gnutls=${with_gnutls:-no}
7899 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7900 then
7901 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7902 then
7903 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7905 else
7906 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7909 ac_save_LIBS="$LIBS"
7910 LIBS="$LIBS $COREAUDIO_LIBS"
7911 for ac_func in AUGraphAddNode
7912 do :
7913 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7914 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7915 cat >>confdefs.h <<_ACEOF
7916 #define HAVE_AUGRAPHADDNODE 1
7917 _ACEOF
7920 done
7922 LIBS="$ac_save_LIBS"
7924 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7925 then
7926 OPENAL_LIBS="-framework OpenAL"
7929 cat >>confdefs.h <<_ACEOF
7930 #define HAVE_OPENAL 1
7931 _ACEOF
7933 ac_cv_lib_openal=yes
7935 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7936 then
7937 OPENCL_LIBS="-framework OpenCL"
7939 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7941 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7942 then
7943 ac_save_LIBS="$LIBS"
7944 LIBS="$LIBS $IOKIT_LIBS"
7945 for ac_func in IOHIDManagerCreate
7946 do :
7947 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7948 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7949 cat >>confdefs.h <<_ACEOF
7950 #define HAVE_IOHIDMANAGERCREATE 1
7951 _ACEOF
7954 done
7956 LIBS="$ac_save_LIBS"
7958 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7959 then
7960 ac_save_LIBS="$LIBS"
7961 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7963 $as_echo_n "checking for the QuickTime framework... " >&6; }
7964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7965 /* end confdefs.h. */
7966 #include <QuickTime/ImageCompression.h>
7968 main ()
7970 CodecManagerVersion(NULL);
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_link "$LINENO"; then :
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7977 $as_echo "yes" >&6; }
7978 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7980 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7981 else
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7984 ac_cv_header_QuickTime_ImageCompression_h=no
7986 rm -f core conftest.err conftest.$ac_objext \
7987 conftest$ac_exeext conftest.$ac_ext
7988 LIBS="$ac_save_LIBS"
7990 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7991 then
7992 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7994 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7995 then
7996 CARBON_LIBS="-framework Carbon"
8000 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8001 then
8002 ac_save_LIBS="$LIBS"
8003 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8004 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8005 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8006 enable_winemac_drv=${enable_winemac_drv:-yes}
8009 LIBS="$ac_save_LIBS"
8012 if test "x$enable_win16" = "xyes"
8013 then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8015 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8016 if test "$cross_compiling" = yes; then :
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8018 $as_echo "cross-compiling, assuming yes" >&6; }
8019 else
8020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8022 asm(".text\n"
8023 "bad:\tnop;nop\n"
8024 "good:\tnop;nop\n\t"
8025 ".globl _testfunc\n"
8026 "_testfunc:\tcallw good");
8027 extern void testfunc();
8029 main ()
8031 unsigned short *p = (unsigned short *)testfunc;
8032 return p[0] != 0xe866 || p[1] != 0xfffa
8034 return 0;
8036 _ACEOF
8037 if ac_fn_c_try_run "$LINENO"; then :
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8039 $as_echo "yes" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8043 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
8045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8046 conftest.$ac_objext conftest.beam conftest.$ac_ext
8051 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8052 LIBWINE_RULES="
8053 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8055 all: libwine.dylib
8057 libwine.$libwine_version.dylib: \$(OBJS)
8058 \$(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 \$@
8060 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8061 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8063 libwine.dylib: libwine.$libwine_soversion.dylib
8064 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8066 install install-lib:: libwine.$libwine_version.dylib
8067 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8068 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8070 install install-dev::
8071 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8073 uninstall::
8074 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8078 as_fn_append LOADER_RULES "
8079 $wine_binary: main.o wine_info.plist
8080 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8082 wine-installed: main.o wine_info.plist
8083 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8087 linux-android*)
8088 DLLFLAGS="$DLLFLAGS -fPIC"
8089 DLLPREFIX="lib"
8090 LDEXECFLAGS=""
8091 dlldir="\${libdir}"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8093 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8094 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 ac_wine_try_cflags_saved=$CFLAGS
8098 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8101 int main(int argc, char **argv) { return 0; }
8102 _ACEOF
8103 if ac_fn_c_try_link "$LINENO"; then :
8104 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8105 else
8106 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8108 rm -f core conftest.err conftest.$ac_objext \
8109 conftest$ac_exeext conftest.$ac_ext
8110 CFLAGS=$ac_wine_try_cflags_saved
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8113 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8114 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8115 LDEXECFLAGS="-Wl,--export-dynamic"
8117 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8120 if eval \${$as_ac_var+:} false; then :
8121 $as_echo_n "(cached) " >&6
8122 else
8123 ac_wine_try_cflags_saved=$CFLAGS
8124 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8127 int main(int argc, char **argv) { return 0; }
8128 _ACEOF
8129 if ac_fn_c_try_link "$LINENO"; then :
8130 eval "$as_ac_var=yes"
8131 else
8132 eval "$as_ac_var=no"
8134 rm -f core conftest.err conftest.$ac_objext \
8135 conftest$ac_exeext conftest.$ac_ext
8136 CFLAGS=$ac_wine_try_cflags_saved
8138 eval ac_res=\$$as_ac_var
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8140 $as_echo "$ac_res" >&6; }
8141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8142 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8143 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8144 else
8145 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8147 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8148 if eval \${$as_ac_var+:} false; then :
8149 $as_echo_n "(cached) " >&6
8150 else
8151 ac_wine_try_cflags_saved=$CFLAGS
8152 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8155 int main(int argc, char **argv) { return 0; }
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 eval "$as_ac_var=yes"
8159 else
8160 eval "$as_ac_var=no"
8162 rm -f core conftest.err conftest.$ac_objext \
8163 conftest$ac_exeext conftest.$ac_ext
8164 CFLAGS=$ac_wine_try_cflags_saved
8166 eval ac_res=\$$as_ac_var
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8168 $as_echo "$ac_res" >&6; }
8169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8170 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8171 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8176 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8177 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8178 $as_echo_n "(cached) " >&6
8179 else
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 int main(int argc, char **argv) { return 0; }
8185 _ACEOF
8186 if ac_fn_c_try_link "$LINENO"; then :
8187 ac_cv_cflags__Wl___enable_new_dtags=yes
8188 else
8189 ac_cv_cflags__Wl___enable_new_dtags=no
8191 rm -f core conftest.err conftest.$ac_objext \
8192 conftest$ac_exeext conftest.$ac_ext
8193 CFLAGS=$ac_wine_try_cflags_saved
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8196 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8197 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8198 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8201 case $host_cpu in
8202 *i[3456789]86* | x86_64)
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8204 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8205 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 ac_wine_try_cflags_saved=$CFLAGS
8209 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 int main(int argc, char **argv) { return 0; }
8213 _ACEOF
8214 if ac_fn_c_try_link "$LINENO"; then :
8215 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8216 else
8217 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8219 rm -f core conftest.err conftest.$ac_objext \
8220 conftest$ac_exeext conftest.$ac_ext
8221 CFLAGS=$ac_wine_try_cflags_saved
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8224 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8225 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8226 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8229 esac
8231 libwine_targets="libwine.so"
8232 LIBWINE_RULES="
8233 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8235 all: libwine.so
8237 libwine.so: \$(OBJS)
8238 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8240 install install-lib:: libwine.so
8241 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8243 uninstall::
8244 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8248 as_fn_append LOADER_RULES "
8249 $wine_binary: main.o
8250 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8252 wine-installed: main.o
8253 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8258 DLLFLAGS="$DLLFLAGS -fPIC"
8259 LDEXECFLAGS=""
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8261 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8262 if ${ac_cv_c_dll_gnuelf+:} false; then :
8263 $as_echo_n "(cached) " >&6
8264 else
8265 ac_wine_try_cflags_saved=$CFLAGS
8266 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268 /* end confdefs.h. */
8269 void myfunc() {}
8270 _ACEOF
8271 if ac_fn_c_try_link "$LINENO"; then :
8272 ac_cv_c_dll_gnuelf="yes"
8273 else
8274 ac_cv_c_dll_gnuelf="no"
8276 rm -f core conftest.err conftest.$ac_objext \
8277 conftest$ac_exeext conftest.$ac_ext
8278 CFLAGS=$ac_wine_try_cflags_saved
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8281 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8282 if test "$ac_cv_c_dll_gnuelf" = "yes"
8283 then
8284 LDSHARED="\$(CC) -shared"
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8286 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8287 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8288 $as_echo_n "(cached) " >&6
8289 else
8290 ac_wine_try_cflags_saved=$CFLAGS
8291 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 int main(int argc, char **argv) { return 0; }
8295 _ACEOF
8296 if ac_fn_c_try_link "$LINENO"; then :
8297 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8298 else
8299 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8301 rm -f core conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8306 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8307 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8308 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8309 else
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8311 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8312 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 ac_wine_try_cflags_saved=$CFLAGS
8316 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 int main(int argc, char **argv) { return 0; }
8320 _ACEOF
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8323 else
8324 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8326 rm -f core conftest.err conftest.$ac_objext \
8327 conftest$ac_exeext conftest.$ac_ext
8328 CFLAGS=$ac_wine_try_cflags_saved
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8331 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8332 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8333 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8337 echo '{ global: *; };' >conftest.map
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8339 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8340 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8351 else
8352 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 CFLAGS=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8359 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8360 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8361 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8363 rm -f conftest.map
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8366 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8367 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 ac_wine_try_cflags_saved=$CFLAGS
8371 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8378 else
8379 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8381 rm -f core conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 CFLAGS=$ac_wine_try_cflags_saved
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8386 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8387 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8388 LDEXECFLAGS="-Wl,--export-dynamic"
8391 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8393 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8394 if eval \${$as_ac_var+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_wine_try_cflags_saved=$CFLAGS
8398 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 int main(int argc, char **argv) { return 0; }
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 eval "$as_ac_var=yes"
8405 else
8406 eval "$as_ac_var=no"
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 CFLAGS=$ac_wine_try_cflags_saved
8412 eval ac_res=\$$as_ac_var
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8414 $as_echo "$ac_res" >&6; }
8415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8416 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8417 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8418 else
8419 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8421 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8422 if eval \${$as_ac_var+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 eval "$as_ac_var=yes"
8433 else
8434 eval "$as_ac_var=no"
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 eval ac_res=\$$as_ac_var
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8442 $as_echo "$ac_res" >&6; }
8443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8444 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8445 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8450 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8451 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 int main(int argc, char **argv) { return 0; }
8459 _ACEOF
8460 if ac_fn_c_try_link "$LINENO"; then :
8461 ac_cv_cflags__Wl___enable_new_dtags=yes
8462 else
8463 ac_cv_cflags__Wl___enable_new_dtags=no
8465 rm -f core conftest.err conftest.$ac_objext \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8470 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8471 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8472 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8475 case $host_cpu in
8476 *i[3456789]86* | x86_64)
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8478 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8479 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8480 $as_echo_n "(cached) " >&6
8481 else
8482 ac_wine_try_cflags_saved=$CFLAGS
8483 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8486 int main(int argc, char **argv) { return 0; }
8487 _ACEOF
8488 if ac_fn_c_try_link "$LINENO"; then :
8489 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8490 else
8491 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8493 rm -f core conftest.err conftest.$ac_objext \
8494 conftest$ac_exeext conftest.$ac_ext
8495 CFLAGS=$ac_wine_try_cflags_saved
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8498 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8499 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8500 case $host_os in
8501 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8502 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8503 esac
8506 # Extract the first word of "prelink", so it can be a program name with args.
8507 set dummy prelink; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_path_PRELINK+:} false; then :
8511 $as_echo_n "(cached) " >&6
8512 else
8513 case $PRELINK in
8514 [\\/]* | ?:[\\/]*)
8515 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8519 for as_dir in /sbin /usr/sbin $PATH
8521 IFS=$as_save_IFS
8522 test -z "$as_dir" && as_dir=.
8523 for ac_exec_ext in '' $ac_executable_extensions; do
8524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8525 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8527 break 2
8529 done
8530 done
8531 IFS=$as_save_IFS
8533 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8535 esac
8537 PRELINK=$ac_cv_path_PRELINK
8538 if test -n "$PRELINK"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8540 $as_echo "$PRELINK" >&6; }
8541 else
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8547 if test "x$PRELINK" = xfalse
8548 then
8549 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8552 esac
8554 else
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8556 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8557 if ${ac_cv_c_dll_unixware+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 void myfunc() {}
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 ac_cv_c_dll_unixware="yes"
8568 else
8569 ac_cv_c_dll_unixware="no"
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8576 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8577 if test "$ac_cv_c_dll_unixware" = "yes"
8578 then
8579 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8582 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8583 LIBWINE_RULES="
8584 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8586 all: libwine.so
8588 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8589 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8591 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8592 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8594 libwine.so: libwine.so.$libwine_soversion
8595 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8597 install install-lib:: libwine.so.$libwine_version
8598 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8599 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8601 install install-dev::
8602 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8604 uninstall::
8605 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8609 as_fn_append LOADER_RULES "
8610 $wine_binary: main.o
8611 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8613 wine-installed: main.o
8614 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8617 esac
8619 as_fn_append LIBWINE_RULES "
8620 EXTRA_TARGETS = $libwine_targets
8623 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8624 enable_winemac_drv=${enable_winemac_drv:-no}
8626 CROSSTARGET=""
8628 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8629 then
8630 case "$host_cpu" in
8631 i[3456789]86*)
8632 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
8633 mingw32-gcc" ;;
8634 x86_64)
8635 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 " ;;
8637 ac_prefix_list="" ;;
8638 esac
8639 for ac_prog in $ac_prefix_list
8641 # Extract the first word of "$ac_prog", so it can be a program name with args.
8642 set dummy $ac_prog; ac_word=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_CROSSCC+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 if test -n "$CROSSCC"; then
8649 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8650 else
8651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652 for as_dir in $PATH
8654 IFS=$as_save_IFS
8655 test -z "$as_dir" && as_dir=.
8656 for ac_exec_ext in '' $ac_executable_extensions; do
8657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_CROSSCC="$ac_prog"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 break 2
8662 done
8663 done
8664 IFS=$as_save_IFS
8668 CROSSCC=$ac_cv_prog_CROSSCC
8669 if test -n "$CROSSCC"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8671 $as_echo "$CROSSCC" >&6; }
8672 else
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8678 test -n "$CROSSCC" && break
8679 done
8680 test -n "$CROSSCC" || CROSSCC="false"
8682 if test "$CROSSCC" != "false"
8683 then
8684 ac_save_CC="$CC"
8685 CC="$CROSSCC"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8687 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8692 main ()
8696 return 0;
8698 _ACEOF
8699 if ac_fn_c_try_compile "$LINENO"; then :
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8701 $as_echo "yes" >&6; }
8702 set x $CROSSCC
8703 shift
8704 while test $# -ge 1
8706 case "$1" in
8707 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8708 esac
8709 shift
8710 done
8711 else
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713 $as_echo "no" >&6; }
8715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8716 CC="$ac_save_CC"
8721 if test "$ac_cv_header_pthread_h" = "yes"
8722 then
8723 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8724 if test "x$ac_cv_func_pthread_create" = xyes; then :
8726 else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8728 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8729 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 ac_check_lib_save_LIBS=$LIBS
8733 LIBS="-lpthread $LIBS"
8734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8735 /* end confdefs.h. */
8737 /* Override any GCC internal prototype to avoid an error.
8738 Use char because int might match the return type of a GCC
8739 builtin and then its argument prototype would still apply. */
8740 #ifdef __cplusplus
8741 extern "C"
8742 #endif
8743 char pthread_create ();
8745 main ()
8747 return pthread_create ();
8749 return 0;
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_lib_pthread_pthread_create=yes
8754 else
8755 ac_cv_lib_pthread_pthread_create=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 LIBS=$ac_check_lib_save_LIBS
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8762 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8763 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8764 PTHREAD_LIBS="-lpthread"
8771 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8772 case "x$with_pthread" in
8773 xno) ;;
8774 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8775 Wine cannot support threads without libpthread.
8776 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8777 esac
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8782 $as_echo_n "checking for X... " >&6; }
8785 # Check whether --with-x was given.
8786 if test "${with_x+set}" = set; then :
8787 withval=$with_x;
8790 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8791 if test "x$with_x" = xno; then
8792 # The user explicitly disabled X.
8793 have_x=disabled
8794 else
8795 case $x_includes,$x_libraries in #(
8796 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8797 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 # One or both of the vars are not set, and there is no cached value.
8801 ac_x_includes=no ac_x_libraries=no
8802 rm -f -r conftest.dir
8803 if mkdir conftest.dir; then
8804 cd conftest.dir
8805 cat >Imakefile <<'_ACEOF'
8806 incroot:
8807 @echo incroot='${INCROOT}'
8808 usrlibdir:
8809 @echo usrlibdir='${USRLIBDIR}'
8810 libdir:
8811 @echo libdir='${LIBDIR}'
8812 _ACEOF
8813 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8814 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8815 for ac_var in incroot usrlibdir libdir; do
8816 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8817 done
8818 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8819 for ac_extension in a so sl dylib la dll; do
8820 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8821 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8822 ac_im_usrlibdir=$ac_im_libdir; break
8824 done
8825 # Screen out bogus values from the imake configuration. They are
8826 # bogus both because they are the default anyway, and because
8827 # using them would break gcc on systems where it needs fixed includes.
8828 case $ac_im_incroot in
8829 /usr/include) ac_x_includes= ;;
8830 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8831 esac
8832 case $ac_im_usrlibdir in
8833 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8834 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8835 esac
8837 cd ..
8838 rm -f -r conftest.dir
8841 # Standard set of common directories for X headers.
8842 # Check X11 before X11Rn because it is often a symlink to the current release.
8843 ac_x_header_dirs='
8844 /usr/X11/include
8845 /usr/X11R7/include
8846 /usr/X11R6/include
8847 /usr/X11R5/include
8848 /usr/X11R4/include
8850 /usr/include/X11
8851 /usr/include/X11R7
8852 /usr/include/X11R6
8853 /usr/include/X11R5
8854 /usr/include/X11R4
8856 /usr/local/X11/include
8857 /usr/local/X11R7/include
8858 /usr/local/X11R6/include
8859 /usr/local/X11R5/include
8860 /usr/local/X11R4/include
8862 /usr/local/include/X11
8863 /usr/local/include/X11R7
8864 /usr/local/include/X11R6
8865 /usr/local/include/X11R5
8866 /usr/local/include/X11R4
8868 /usr/X386/include
8869 /usr/x386/include
8870 /usr/XFree86/include/X11
8872 /usr/include
8873 /usr/local/include
8874 /usr/unsupported/include
8875 /usr/athena/include
8876 /usr/local/x11r5/include
8877 /usr/lpp/Xamples/include
8879 /usr/openwin/include
8880 /usr/openwin/share/include'
8882 if test "$ac_x_includes" = no; then
8883 # Guess where to find include files, by looking for Xlib.h.
8884 # First, try using that file with no special directory specified.
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8887 #include <X11/Xlib.h>
8888 _ACEOF
8889 if ac_fn_c_try_cpp "$LINENO"; then :
8890 # We can compile using X headers with no special include directory.
8891 ac_x_includes=
8892 else
8893 for ac_dir in $ac_x_header_dirs; do
8894 if test -r "$ac_dir/X11/Xlib.h"; then
8895 ac_x_includes=$ac_dir
8896 break
8898 done
8900 rm -f conftest.err conftest.i conftest.$ac_ext
8901 fi # $ac_x_includes = no
8903 if test "$ac_x_libraries" = no; then
8904 # Check for the libraries.
8905 # See if we find them without any special options.
8906 # Don't add to $LIBS permanently.
8907 ac_save_LIBS=$LIBS
8908 LIBS="-lX11 $LIBS"
8909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8911 #include <X11/Xlib.h>
8913 main ()
8915 XrmInitialize ()
8917 return 0;
8919 _ACEOF
8920 if ac_fn_c_try_link "$LINENO"; then :
8921 LIBS=$ac_save_LIBS
8922 # We can link X programs with no special library path.
8923 ac_x_libraries=
8924 else
8925 LIBS=$ac_save_LIBS
8926 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8928 # Don't even attempt the hair of trying to link an X program!
8929 for ac_extension in a so sl dylib la dll; do
8930 if test -r "$ac_dir/libX11.$ac_extension"; then
8931 ac_x_libraries=$ac_dir
8932 break 2
8934 done
8935 done
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 fi # $ac_x_libraries = no
8941 case $ac_x_includes,$ac_x_libraries in #(
8942 no,* | *,no | *\'*)
8943 # Didn't find X, or a directory has "'" in its name.
8944 ac_cv_have_x="have_x=no";; #(
8946 # Record where we found X for the cache.
8947 ac_cv_have_x="have_x=yes\
8948 ac_x_includes='$ac_x_includes'\
8949 ac_x_libraries='$ac_x_libraries'"
8950 esac
8952 ;; #(
8953 *) have_x=yes;;
8954 esac
8955 eval "$ac_cv_have_x"
8956 fi # $with_x != no
8958 if test "$have_x" != yes; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8960 $as_echo "$have_x" >&6; }
8961 no_x=yes
8962 else
8963 # If each of the values was on the command line, it overrides each guess.
8964 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8965 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8966 # Update the cache value to reflect the command line values.
8967 ac_cv_have_x="have_x=yes\
8968 ac_x_includes='$x_includes'\
8969 ac_x_libraries='$x_libraries'"
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8971 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8974 if test "$no_x" = yes; then
8975 # Not all programs may use this symbol, but it does not hurt to define it.
8977 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8979 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8980 else
8981 if test -n "$x_includes"; then
8982 X_CFLAGS="$X_CFLAGS -I$x_includes"
8985 # It would also be nice to do this for all -L options, not just this one.
8986 if test -n "$x_libraries"; then
8987 X_LIBS="$X_LIBS -L$x_libraries"
8988 # For Solaris; some versions of Sun CC require a space after -R and
8989 # others require no space. Words are not sufficient . . . .
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8991 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8992 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8993 ac_xsave_c_werror_flag=$ac_c_werror_flag
8994 ac_c_werror_flag=yes
8995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8996 /* end confdefs.h. */
8999 main ()
9003 return 0;
9005 _ACEOF
9006 if ac_fn_c_try_link "$LINENO"; then :
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9008 $as_echo "no" >&6; }
9009 X_LIBS="$X_LIBS -R$x_libraries"
9010 else
9011 LIBS="$ac_xsave_LIBS -R $x_libraries"
9012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h. */
9016 main ()
9020 return 0;
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9025 $as_echo "yes" >&6; }
9026 X_LIBS="$X_LIBS -R $x_libraries"
9027 else
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9029 $as_echo "neither works" >&6; }
9031 rm -f core conftest.err conftest.$ac_objext \
9032 conftest$ac_exeext conftest.$ac_ext
9034 rm -f core conftest.err conftest.$ac_objext \
9035 conftest$ac_exeext conftest.$ac_ext
9036 ac_c_werror_flag=$ac_xsave_c_werror_flag
9037 LIBS=$ac_xsave_LIBS
9040 # Check for system-dependent libraries X programs must link with.
9041 # Do this before checking for the system-independent R6 libraries
9042 # (-lICE), since we may need -lsocket or whatever for X linking.
9044 if test "$ISC" = yes; then
9045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9046 else
9047 # Martyn Johnson says this is needed for Ultrix, if the X
9048 # libraries were built with DECnet support. And Karl Berry says
9049 # the Alpha needs dnet_stub (dnet does not exist).
9050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9054 /* Override any GCC internal prototype to avoid an error.
9055 Use char because int might match the return type of a GCC
9056 builtin and then its argument prototype would still apply. */
9057 #ifdef __cplusplus
9058 extern "C"
9059 #endif
9060 char XOpenDisplay ();
9062 main ()
9064 return XOpenDisplay ();
9066 return 0;
9068 _ACEOF
9069 if ac_fn_c_try_link "$LINENO"; then :
9071 else
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9073 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9074 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 ac_check_lib_save_LIBS=$LIBS
9078 LIBS="-ldnet $LIBS"
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9085 #ifdef __cplusplus
9086 extern "C"
9087 #endif
9088 char dnet_ntoa ();
9090 main ()
9092 return dnet_ntoa ();
9094 return 0;
9096 _ACEOF
9097 if ac_fn_c_try_link "$LINENO"; then :
9098 ac_cv_lib_dnet_dnet_ntoa=yes
9099 else
9100 ac_cv_lib_dnet_dnet_ntoa=no
9102 rm -f core conftest.err conftest.$ac_objext \
9103 conftest$ac_exeext conftest.$ac_ext
9104 LIBS=$ac_check_lib_save_LIBS
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9107 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9108 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9109 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9112 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9114 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9115 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_check_lib_save_LIBS=$LIBS
9119 LIBS="-ldnet_stub $LIBS"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9123 /* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9126 #ifdef __cplusplus
9127 extern "C"
9128 #endif
9129 char dnet_ntoa ();
9131 main ()
9133 return dnet_ntoa ();
9135 return 0;
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9140 else
9141 ac_cv_lib_dnet_stub_dnet_ntoa=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 LIBS=$ac_check_lib_save_LIBS
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9148 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9149 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9150 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS="$ac_xsave_LIBS"
9159 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9160 # to get the SysV transport functions.
9161 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9162 # needs -lnsl.
9163 # The nsl library prevents programs from opening the X display
9164 # on Irix 5.2, according to T.E. Dickey.
9165 # The functions gethostbyname, getservbyname, and inet_addr are
9166 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9167 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9168 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9172 if test $ac_cv_func_gethostbyname = no; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9174 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9175 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_lib_save_LIBS=$LIBS
9179 LIBS="-lnsl $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char gethostbyname ();
9191 main ()
9193 return gethostbyname ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 ac_cv_lib_nsl_gethostbyname=yes
9200 else
9201 ac_cv_lib_nsl_gethostbyname=no
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_lib_save_LIBS
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9208 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9209 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9213 if test $ac_cv_lib_nsl_gethostbyname = no; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9215 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9216 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9217 $as_echo_n "(cached) " >&6
9218 else
9219 ac_check_lib_save_LIBS=$LIBS
9220 LIBS="-lbsd $LIBS"
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9227 #ifdef __cplusplus
9228 extern "C"
9229 #endif
9230 char gethostbyname ();
9232 main ()
9234 return gethostbyname ();
9236 return 0;
9238 _ACEOF
9239 if ac_fn_c_try_link "$LINENO"; then :
9240 ac_cv_lib_bsd_gethostbyname=yes
9241 else
9242 ac_cv_lib_bsd_gethostbyname=no
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9249 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9250 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9257 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9258 # socket/setsockopt and other routines are undefined under SCO ODT
9259 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9260 # on later versions), says Simon Leinen: it contains gethostby*
9261 # variants that don't use the name server (or something). -lsocket
9262 # must be given before -lnsl if both are needed. We assume that
9263 # if connect needs -lnsl, so does gethostbyname.
9264 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9265 if test "x$ac_cv_func_connect" = xyes; then :
9269 if test $ac_cv_func_connect = no; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9271 $as_echo_n "checking for connect in -lsocket... " >&6; }
9272 if ${ac_cv_lib_socket_connect+:} false; then :
9273 $as_echo_n "(cached) " >&6
9274 else
9275 ac_check_lib_save_LIBS=$LIBS
9276 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9278 /* end confdefs.h. */
9280 /* Override any GCC internal prototype to avoid an error.
9281 Use char because int might match the return type of a GCC
9282 builtin and then its argument prototype would still apply. */
9283 #ifdef __cplusplus
9284 extern "C"
9285 #endif
9286 char connect ();
9288 main ()
9290 return connect ();
9292 return 0;
9294 _ACEOF
9295 if ac_fn_c_try_link "$LINENO"; then :
9296 ac_cv_lib_socket_connect=yes
9297 else
9298 ac_cv_lib_socket_connect=no
9300 rm -f core conftest.err conftest.$ac_objext \
9301 conftest$ac_exeext conftest.$ac_ext
9302 LIBS=$ac_check_lib_save_LIBS
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9305 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9306 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9307 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9312 # Guillermo Gomez says -lposix is necessary on A/UX.
9313 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9314 if test "x$ac_cv_func_remove" = xyes; then :
9318 if test $ac_cv_func_remove = no; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9320 $as_echo_n "checking for remove in -lposix... " >&6; }
9321 if ${ac_cv_lib_posix_remove+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_check_lib_save_LIBS=$LIBS
9325 LIBS="-lposix $LIBS"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9332 #ifdef __cplusplus
9333 extern "C"
9334 #endif
9335 char remove ();
9337 main ()
9339 return remove ();
9341 return 0;
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345 ac_cv_lib_posix_remove=yes
9346 else
9347 ac_cv_lib_posix_remove=no
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS=$ac_check_lib_save_LIBS
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9354 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9355 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9356 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9361 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9362 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9363 if test "x$ac_cv_func_shmat" = xyes; then :
9367 if test $ac_cv_func_shmat = no; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9369 $as_echo_n "checking for shmat in -lipc... " >&6; }
9370 if ${ac_cv_lib_ipc_shmat+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_check_lib_save_LIBS=$LIBS
9374 LIBS="-lipc $LIBS"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9381 #ifdef __cplusplus
9382 extern "C"
9383 #endif
9384 char shmat ();
9386 main ()
9388 return shmat ();
9390 return 0;
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 ac_cv_lib_ipc_shmat=yes
9395 else
9396 ac_cv_lib_ipc_shmat=no
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 LIBS=$ac_check_lib_save_LIBS
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9403 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9404 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9411 # Check for libraries that X11R6 Xt/Xaw programs need.
9412 ac_save_LDFLAGS=$LDFLAGS
9413 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9414 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9415 # check for ICE first), but we must link in the order -lSM -lICE or
9416 # we get undefined symbols. So assume we have SM if we have ICE.
9417 # These have to be linked with before -lX11, unlike the other
9418 # libraries we check for below, so use a different variable.
9419 # John Interrante, Karl Berry
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9421 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9422 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9423 $as_echo_n "(cached) " >&6
9424 else
9425 ac_check_lib_save_LIBS=$LIBS
9426 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428 /* end confdefs.h. */
9430 /* Override any GCC internal prototype to avoid an error.
9431 Use char because int might match the return type of a GCC
9432 builtin and then its argument prototype would still apply. */
9433 #ifdef __cplusplus
9434 extern "C"
9435 #endif
9436 char IceConnectionNumber ();
9438 main ()
9440 return IceConnectionNumber ();
9442 return 0;
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_lib_ICE_IceConnectionNumber=yes
9447 else
9448 ac_cv_lib_ICE_IceConnectionNumber=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 LIBS=$ac_check_lib_save_LIBS
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9455 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9456 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9457 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9460 LDFLAGS=$ac_save_LDFLAGS
9465 if test "$have_x" = "yes"
9466 then
9467 ac_save_CPPFLAGS="$CPPFLAGS"
9468 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9471 $as_echo_n "checking for -lX11... " >&6; }
9472 if ${ac_cv_lib_soname_X11+:} false; then :
9473 $as_echo_n "(cached) " >&6
9474 else
9475 ac_check_soname_save_LIBS=$LIBS
9476 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9483 #ifdef __cplusplus
9484 extern "C"
9485 #endif
9486 char XCreateWindow ();
9488 main ()
9490 return XCreateWindow ();
9492 return 0;
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"; then :
9496 case "$LIBEXT" in
9497 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9498 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'` ;;
9499 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9500 if ${ac_cv_lib_soname_X11:+false} :; then :
9501 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9502 fi ;;
9503 esac
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_soname_save_LIBS
9509 if ${ac_cv_lib_soname_X11:+false} :; then :
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9511 $as_echo "not found" >&6; }
9513 else
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9515 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9517 cat >>confdefs.h <<_ACEOF
9518 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9519 _ACEOF
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9524 $as_echo_n "checking for -lXext... " >&6; }
9525 if ${ac_cv_lib_soname_Xext+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 ac_check_soname_save_LIBS=$LIBS
9529 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9536 #ifdef __cplusplus
9537 extern "C"
9538 #endif
9539 char XextCreateExtension ();
9541 main ()
9543 return XextCreateExtension ();
9545 return 0;
9547 _ACEOF
9548 if ac_fn_c_try_link "$LINENO"; then :
9549 case "$LIBEXT" in
9550 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9553 if ${ac_cv_lib_soname_Xext:+false} :; then :
9554 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9555 fi ;;
9556 esac
9558 rm -f core conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if ${ac_cv_lib_soname_Xext:+false} :; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9566 else
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9568 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9572 _ACEOF
9574 X_LIBS="$X_LIBS -lXext"
9576 X_LIBS="$X_LIBS -lX11"
9578 for ac_header in X11/Xlib.h \
9579 X11/XKBlib.h \
9580 X11/Xutil.h \
9581 X11/Xcursor/Xcursor.h \
9582 X11/extensions/shape.h \
9583 X11/extensions/XInput.h \
9584 X11/extensions/XInput2.h \
9585 X11/extensions/XShm.h \
9586 X11/extensions/Xcomposite.h \
9587 X11/extensions/Xinerama.h \
9588 X11/extensions/Xrandr.h \
9589 X11/extensions/Xrender.h \
9590 X11/extensions/xf86vmode.h \
9591 X11/extensions/xf86vmproto.h
9592 do :
9593 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9594 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9595 # include <X11/Xlib.h>
9596 #endif
9597 #ifdef HAVE_X11_XUTIL_H
9598 # include <X11/Xutil.h>
9599 #endif
9601 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9602 cat >>confdefs.h <<_ACEOF
9603 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9604 _ACEOF
9608 done
9611 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9612 then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9614 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9615 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_check_lib_save_LIBS=$LIBS
9619 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9626 #ifdef __cplusplus
9627 extern "C"
9628 #endif
9629 char XkbQueryExtension ();
9631 main ()
9633 return XkbQueryExtension ();
9635 return 0;
9637 _ACEOF
9638 if ac_fn_c_try_link "$LINENO"; then :
9639 ac_cv_lib_X11_XkbQueryExtension=yes
9640 else
9641 ac_cv_lib_X11_XkbQueryExtension=no
9643 rm -f core conftest.err conftest.$ac_objext \
9644 conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9648 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9649 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9651 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9657 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9658 then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9660 $as_echo_n "checking for -lXcursor... " >&6; }
9661 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_check_soname_save_LIBS=$LIBS
9665 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9672 #ifdef __cplusplus
9673 extern "C"
9674 #endif
9675 char XcursorImageLoadCursor ();
9677 main ()
9679 return XcursorImageLoadCursor ();
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685 case "$LIBEXT" in
9686 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9687 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'` ;;
9688 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9689 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9690 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9691 fi ;;
9692 esac
9694 rm -f core conftest.err conftest.$ac_objext \
9695 conftest$ac_exeext conftest.$ac_ext
9696 LIBS=$ac_check_soname_save_LIBS
9698 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9700 $as_echo "not found" >&6; }
9702 else
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9704 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9706 cat >>confdefs.h <<_ACEOF
9707 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9708 _ACEOF
9713 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9714 case "x$with_xcursor" in
9715 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9716 xno) ;;
9717 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9718 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9719 esac
9722 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9723 then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9725 $as_echo_n "checking for -lXi... " >&6; }
9726 if ${ac_cv_lib_soname_Xi+:} false; then :
9727 $as_echo_n "(cached) " >&6
9728 else
9729 ac_check_soname_save_LIBS=$LIBS
9730 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9737 #ifdef __cplusplus
9738 extern "C"
9739 #endif
9740 char XOpenDevice ();
9742 main ()
9744 return XOpenDevice ();
9746 return 0;
9748 _ACEOF
9749 if ac_fn_c_try_link "$LINENO"; then :
9750 case "$LIBEXT" in
9751 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9752 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'` ;;
9753 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9754 if ${ac_cv_lib_soname_Xi:+false} :; then :
9755 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9756 fi ;;
9757 esac
9759 rm -f core conftest.err conftest.$ac_objext \
9760 conftest$ac_exeext conftest.$ac_ext
9761 LIBS=$ac_check_soname_save_LIBS
9763 if ${ac_cv_lib_soname_Xi:+false} :; then :
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9765 $as_echo "not found" >&6; }
9767 else
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9769 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9771 cat >>confdefs.h <<_ACEOF
9772 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9773 _ACEOF
9778 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9779 case "x$with_xinput" in
9780 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9781 xno) ;;
9782 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9783 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9784 esac
9787 if test "x$ac_cv_lib_soname_Xi" != x
9788 then
9789 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9790 case "x$with_xinput2" in
9791 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9792 xno) ;;
9793 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9794 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9795 esac
9799 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9800 then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9802 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9803 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9804 $as_echo_n "(cached) " >&6
9805 else
9806 ac_check_lib_save_LIBS=$LIBS
9807 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9811 /* Override any GCC internal prototype to avoid an error.
9812 Use char because int might match the return type of a GCC
9813 builtin and then its argument prototype would still apply. */
9814 #ifdef __cplusplus
9815 extern "C"
9816 #endif
9817 char XShmQueryExtension ();
9819 main ()
9821 return XShmQueryExtension ();
9823 return 0;
9825 _ACEOF
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 ac_cv_lib_Xext_XShmQueryExtension=yes
9828 else
9829 ac_cv_lib_Xext_XShmQueryExtension=no
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 LIBS=$ac_check_lib_save_LIBS
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9836 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9837 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9839 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9844 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9845 case "x$with_xshm" in
9846 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9847 xno) ;;
9848 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9849 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9850 esac
9853 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9854 then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9856 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9857 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_check_lib_save_LIBS=$LIBS
9861 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9865 /* Override any GCC internal prototype to avoid an error.
9866 Use char because int might match the return type of a GCC
9867 builtin and then its argument prototype would still apply. */
9868 #ifdef __cplusplus
9869 extern "C"
9870 #endif
9871 char XShapeQueryExtension ();
9873 main ()
9875 return XShapeQueryExtension ();
9877 return 0;
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_lib_Xext_XShapeQueryExtension=yes
9882 else
9883 ac_cv_lib_Xext_XShapeQueryExtension=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LIBS=$ac_check_lib_save_LIBS
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9890 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9891 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9893 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9898 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9899 case "x$with_xshape" in
9900 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9901 xno) ;;
9902 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9903 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9904 esac
9907 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9908 then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9910 $as_echo_n "checking for -lXxf86vm... " >&6; }
9911 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_soname_save_LIBS=$LIBS
9915 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char XF86VidModeQueryExtension ();
9927 main ()
9929 return XF86VidModeQueryExtension ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 case "$LIBEXT" in
9936 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9940 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 fi ;;
9942 esac
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9952 else
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9954 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9956 cat >>confdefs.h <<_ACEOF
9957 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9958 _ACEOF
9963 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9964 case "x$with_xxf86vm" in
9965 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9966 xno) ;;
9967 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9968 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9969 esac
9972 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9973 then
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9975 $as_echo_n "checking for -lXrender... " >&6; }
9976 if ${ac_cv_lib_soname_Xrender+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_check_soname_save_LIBS=$LIBS
9980 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9987 #ifdef __cplusplus
9988 extern "C"
9989 #endif
9990 char XRenderQueryExtension ();
9992 main ()
9994 return XRenderQueryExtension ();
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 case "$LIBEXT" in
10001 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10005 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 fi ;;
10007 esac
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 LIBS=$ac_check_soname_save_LIBS
10013 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10015 $as_echo "not found" >&6; }
10017 else
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10019 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10021 cat >>confdefs.h <<_ACEOF
10022 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10023 _ACEOF
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10026 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10027 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_check_lib_save_LIBS=$LIBS
10031 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10038 #ifdef __cplusplus
10039 extern "C"
10040 #endif
10041 char XRenderSetPictureTransform ();
10043 main ()
10045 return XRenderSetPictureTransform ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10052 else
10053 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 LIBS=$ac_check_lib_save_LIBS
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10060 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10061 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10063 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10068 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10069 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10070 $as_echo_n "(cached) " >&6
10071 else
10072 ac_check_lib_save_LIBS=$LIBS
10073 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10077 /* Override any GCC internal prototype to avoid an error.
10078 Use char because int might match the return type of a GCC
10079 builtin and then its argument prototype would still apply. */
10080 #ifdef __cplusplus
10081 extern "C"
10082 #endif
10083 char XRenderCreateLinearGradient ();
10085 main ()
10087 return XRenderCreateLinearGradient ();
10089 return 0;
10091 _ACEOF
10092 if ac_fn_c_try_link "$LINENO"; then :
10093 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10094 else
10095 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10097 rm -f core conftest.err conftest.$ac_objext \
10098 conftest$ac_exeext conftest.$ac_ext
10099 LIBS=$ac_check_lib_save_LIBS
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10102 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10103 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10105 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10112 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10113 case "x$with_xrender" in
10114 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10115 xno) ;;
10116 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10117 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10118 esac
10121 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10122 then
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 #include <X11/Xlib.h>
10126 #include <X11/extensions/Xrandr.h>
10128 main ()
10130 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10132 return 0;
10134 _ACEOF
10135 if ac_fn_c_try_compile "$LINENO"; then :
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10137 $as_echo_n "checking for -lXrandr... " >&6; }
10138 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_check_soname_save_LIBS=$LIBS
10142 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10144 /* end confdefs.h. */
10146 /* Override any GCC internal prototype to avoid an error.
10147 Use char because int might match the return type of a GCC
10148 builtin and then its argument prototype would still apply. */
10149 #ifdef __cplusplus
10150 extern "C"
10151 #endif
10152 char XRRQueryExtension ();
10154 main ()
10156 return XRRQueryExtension ();
10158 return 0;
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 case "$LIBEXT" in
10163 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10164 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'` ;;
10165 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10166 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10167 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10168 fi ;;
10169 esac
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 LIBS=$ac_check_soname_save_LIBS
10175 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10177 $as_echo "not found" >&6; }
10179 else
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10181 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10183 cat >>confdefs.h <<_ACEOF
10184 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10185 _ACEOF
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 #include <X11/Xlib.h>
10190 #include <X11/extensions/Xrandr.h>
10192 main ()
10194 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_compile "$LINENO"; then :
10201 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10209 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10210 case "x$with_xrandr" in
10211 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10212 xno) ;;
10213 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10214 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10215 esac
10218 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10219 then
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 #include <X11/Xlib.h>
10223 #include <X11/extensions/Xinerama.h>
10225 main ()
10227 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_compile "$LINENO"; then :
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10234 $as_echo_n "checking for -lXinerama... " >&6; }
10235 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_check_soname_save_LIBS=$LIBS
10239 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10246 #ifdef __cplusplus
10247 extern "C"
10248 #endif
10249 char XineramaQueryScreens ();
10251 main ()
10253 return XineramaQueryScreens ();
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 case "$LIBEXT" in
10260 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10261 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'` ;;
10262 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10263 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10264 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10265 fi ;;
10266 esac
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 LIBS=$ac_check_soname_save_LIBS
10272 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10274 $as_echo "not found" >&6; }
10276 else
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10278 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10280 cat >>confdefs.h <<_ACEOF
10281 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10282 _ACEOF
10287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10289 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10290 case "x$with_xinerama" in
10291 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10292 xno) ;;
10293 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10294 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10295 esac
10298 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10299 then
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10301 $as_echo_n "checking for -lXcomposite... " >&6; }
10302 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_soname_save_LIBS=$LIBS
10306 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char XCompositeRedirectWindow ();
10318 main ()
10320 return XCompositeRedirectWindow ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 case "$LIBEXT" in
10327 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10328 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'` ;;
10329 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10330 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10331 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10332 fi ;;
10333 esac
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_soname_save_LIBS
10339 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10341 $as_echo "not found" >&6; }
10343 else
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10345 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10347 cat >>confdefs.h <<_ACEOF
10348 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10349 _ACEOF
10354 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10355 case "x$with_xcomposite" in
10356 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10357 xno) ;;
10358 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10359 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10360 esac
10363 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10364 #include <X11/Xlib.h>
10365 #endif
10367 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10369 cat >>confdefs.h <<_ACEOF
10370 #define HAVE_XICCALLBACK_CALLBACK 1
10371 _ACEOF
10375 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10376 #include <X11/Xlib.h>
10377 #endif
10379 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10381 cat >>confdefs.h <<_ACEOF
10382 #define HAVE_XEVENT_XCOOKIE 1
10383 _ACEOF
10390 opengl_msg=""
10391 if test "x$with_opengl" != "xno"
10392 then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10394 $as_echo_n "checking for -lGL... " >&6; }
10395 if ${ac_cv_lib_soname_GL+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char glXCreateContext ();
10411 main ()
10413 return glXCreateContext ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_GL:+false} :; then :
10424 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_GL:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10436 $as_echo_n "checking for -lGL... " >&6; }
10437 if ${ac_cv_lib_soname_GL+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_check_soname_save_LIBS=$LIBS
10441 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"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char glXCreateContext ();
10453 main ()
10455 return glXCreateContext ();
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 case "$LIBEXT" in
10462 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_GL:+false} :; then :
10466 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 fi ;;
10468 esac
10470 rm -f core conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_GL:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10477 if test -f /usr/X11R6/lib/libGL.a
10478 then
10479 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10480 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10481 else
10482 opengl_msg="No OpenGL library found on this system."
10484 else
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10486 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10488 cat >>confdefs.h <<_ACEOF
10489 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10490 _ACEOF
10492 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"
10494 else
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10496 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10498 cat >>confdefs.h <<_ACEOF
10499 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10500 _ACEOF
10502 OPENGL_LIBS="-lGL"
10504 if test "x$with_glu" != "xno"
10505 then
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10507 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10508 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10509 $as_echo_n "(cached) " >&6
10510 else
10511 ac_check_lib_save_LIBS=$LIBS
10512 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char gluLookAt ();
10524 main ()
10526 return gluLookAt ();
10528 return 0;
10530 _ACEOF
10531 if ac_fn_c_try_link "$LINENO"; then :
10532 ac_cv_lib_GLU_gluLookAt=yes
10533 else
10534 ac_cv_lib_GLU_gluLookAt=no
10536 rm -f core conftest.err conftest.$ac_objext \
10537 conftest$ac_exeext conftest.$ac_ext
10538 LIBS=$ac_check_lib_save_LIBS
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10541 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10542 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10546 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10547 case "x$with_glu" in
10548 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10549 xno) ;;
10550 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10551 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10552 esac
10556 if test "x$with_osmesa" != "xno"
10557 then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10559 $as_echo_n "checking for -lOSMesa... " >&6; }
10560 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10561 $as_echo_n "(cached) " >&6
10562 else
10563 ac_check_soname_save_LIBS=$LIBS
10564 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10571 #ifdef __cplusplus
10572 extern "C"
10573 #endif
10574 char glAccum ();
10576 main ()
10578 return glAccum ();
10580 return 0;
10582 _ACEOF
10583 if ac_fn_c_try_link "$LINENO"; then :
10584 case "$LIBEXT" in
10585 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10586 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'` ;;
10587 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10588 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10589 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10590 fi ;;
10591 esac
10593 rm -f core conftest.err conftest.$ac_objext \
10594 conftest$ac_exeext conftest.$ac_ext
10595 LIBS=$ac_check_soname_save_LIBS
10597 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10601 else
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10603 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10605 cat >>confdefs.h <<_ACEOF
10606 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10607 _ACEOF
10611 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10612 case "x$with_osmesa" in
10613 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10614 xno) ;;
10615 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10616 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10617 esac
10621 if test -n "$opengl_msg"; then :
10622 case "x$with_opengl" in
10623 x) as_fn_append wine_warnings "|$opengl_msg
10624 OpenGL and Direct3D won't be supported." ;;
10625 xno) ;;
10626 *) as_fn_error $? "$opengl_msg
10627 OpenGL and Direct3D won't be supported.
10628 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10629 esac
10632 CPPFLAGS="$ac_save_CPPFLAGS"
10633 else
10634 X_CFLAGS=""
10635 X_LIBS=""
10636 enable_winex11_drv=${enable_winex11_drv:-no}
10638 if test "x$X_LIBS" = "x"; then :
10639 case "x$with_x" in
10640 xno) ;;
10641 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10642 without X support, which probably isn't what you want. You will need
10643 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10644 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10645 esac
10648 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10650 if test "$ac_cv_header_CL_cl_h" = "yes"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10653 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10654 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_lib_save_LIBS=$LIBS
10658 LIBS="-lOpenCL $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char clGetPlatformInfo ();
10670 main ()
10672 return clGetPlatformInfo ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10679 else
10680 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10687 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10688 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10689 OPENCL_LIBS="-lOpenCL"
10694 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10695 case "x$with_opencl" in
10696 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10697 xno) ;;
10698 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10699 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10700 esac
10702 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10704 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10705 then
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10707 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10708 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10709 $as_echo_n "(cached) " >&6
10710 else
10711 ac_check_lib_save_LIBS=$LIBS
10712 LIBS="-lpcap $LIBS"
10713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char pcap_create ();
10724 main ()
10726 return pcap_create ();
10728 return 0;
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732 ac_cv_lib_pcap_pcap_create=yes
10733 else
10734 ac_cv_lib_pcap_pcap_create=no
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LIBS=$ac_check_lib_save_LIBS
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10741 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10742 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10743 LIBPCAP="-lpcap"
10748 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10749 case "x$with_pcap" in
10750 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10751 xno) ;;
10752 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10753 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10754 esac
10756 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10759 if test "x$with_xml" != "xno"
10760 then
10761 if ${XML2_CFLAGS:+false} :; then :
10762 if ${PKG_CONFIG+:} false; then :
10763 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10766 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10767 if ${XML2_LIBS:+false} :; then :
10768 if ${PKG_CONFIG+:} false; then :
10769 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10772 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10773 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10774 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10775 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10776 ac_save_CPPFLAGS=$CPPFLAGS
10777 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10778 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10779 do :
10780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10781 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10783 cat >>confdefs.h <<_ACEOF
10784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10785 _ACEOF
10789 done
10791 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"
10792 then
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10794 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10795 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 ac_check_lib_save_LIBS=$LIBS
10799 LIBS="-lxml2 $XML2_LIBS $LIBS"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char xmlParseMemory ();
10811 main ()
10813 return xmlParseMemory ();
10815 return 0;
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 ac_cv_lib_xml2_xmlParseMemory=yes
10820 else
10821 ac_cv_lib_xml2_xmlParseMemory=no
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_lib_save_LIBS
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10828 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10829 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10831 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10833 else
10834 XML2_LIBS=""
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10838 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10839 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10840 $as_echo_n "(cached) " >&6
10841 else
10842 ac_check_lib_save_LIBS=$LIBS
10843 LIBS="-lxml2 $XML2_LIBS $LIBS"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10847 /* Override any GCC internal prototype to avoid an error.
10848 Use char because int might match the return type of a GCC
10849 builtin and then its argument prototype would still apply. */
10850 #ifdef __cplusplus
10851 extern "C"
10852 #endif
10853 char xmlReadMemory ();
10855 main ()
10857 return xmlReadMemory ();
10859 return 0;
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863 ac_cv_lib_xml2_xmlReadMemory=yes
10864 else
10865 ac_cv_lib_xml2_xmlReadMemory=no
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_lib_save_LIBS
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10872 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10873 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10875 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10880 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10881 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10882 $as_echo_n "(cached) " >&6
10883 else
10884 ac_check_lib_save_LIBS=$LIBS
10885 LIBS="-lxml2 $XML2_LIBS $LIBS"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char xmlNewDocPI ();
10897 main ()
10899 return xmlNewDocPI ();
10901 return 0;
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"; then :
10905 ac_cv_lib_xml2_xmlNewDocPI=yes
10906 else
10907 ac_cv_lib_xml2_xmlNewDocPI=no
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10914 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10915 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10917 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10922 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10923 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925 else
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lxml2 $XML2_LIBS $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char xmlSchemaSetParserStructuredErrors ();
10939 main ()
10941 return xmlSchemaSetParserStructuredErrors ();
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10948 else
10949 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10956 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10957 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10959 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10964 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10965 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_lib_save_LIBS=$LIBS
10969 LIBS="-lxml2 $XML2_LIBS $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char xmlSchemaSetValidStructuredErrors ();
10981 main ()
10983 return xmlSchemaSetValidStructuredErrors ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10990 else
10991 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10998 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10999 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11001 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11006 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11007 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11008 $as_echo_n "(cached) " >&6
11009 else
11010 ac_check_lib_save_LIBS=$LIBS
11011 LIBS="-lxml2 $XML2_LIBS $LIBS"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char xmlFirstElementChild ();
11023 main ()
11025 return xmlFirstElementChild ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031 ac_cv_lib_xml2_xmlFirstElementChild=yes
11032 else
11033 ac_cv_lib_xml2_xmlFirstElementChild=no
11035 rm -f core conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_lib_save_LIBS
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11040 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11041 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11043 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11047 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11049 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11051 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11055 else
11056 XML2_CFLAGS=""
11057 XML2_LIBS=""
11059 CPPFLAGS=$ac_save_CPPFLAGS
11060 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11061 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11064 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11065 case "x$with_xml" in
11066 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11067 xno) ;;
11068 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11069 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11070 esac
11073 if test "x$with_xslt" != "xno"
11074 then
11075 if ${XSLT_CFLAGS:+false} :; then :
11076 if ${PKG_CONFIG+:} false; then :
11077 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11080 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11081 if ${XSLT_LIBS:+false} :; then :
11082 if ${PKG_CONFIG+:} false; then :
11083 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11086 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11087 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11089 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11090 ac_save_CPPFLAGS=$CPPFLAGS
11091 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11092 for ac_header in libxslt/pattern.h libxslt/transform.h
11093 do :
11094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11095 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11096 # include <libxslt/pattern.h>
11097 #endif
11099 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11100 cat >>confdefs.h <<_ACEOF
11101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11102 _ACEOF
11106 done
11108 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11109 then
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11111 $as_echo_n "checking for -lxslt... " >&6; }
11112 if ${ac_cv_lib_soname_xslt+:} false; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_check_soname_save_LIBS=$LIBS
11116 LIBS="-lxslt $XSLT_LIBS $LIBS"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11123 #ifdef __cplusplus
11124 extern "C"
11125 #endif
11126 char xsltCompilePattern ();
11128 main ()
11130 return xsltCompilePattern ();
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"; then :
11136 case "$LIBEXT" in
11137 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11138 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'` ;;
11139 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11140 if ${ac_cv_lib_soname_xslt:+false} :; then :
11141 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11142 fi ;;
11143 esac
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_soname_save_LIBS
11149 if ${ac_cv_lib_soname_xslt:+false} :; then :
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11151 $as_echo "not found" >&6; }
11153 else
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11155 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11157 cat >>confdefs.h <<_ACEOF
11158 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11159 _ACEOF
11163 else
11164 XSLT_CFLAGS=""
11166 CPPFLAGS=$ac_save_CPPFLAGS
11167 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11168 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11171 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11172 case "x$with_xslt" in
11173 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11174 xno) ;;
11175 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11176 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11177 esac
11180 if test "x$with_dbus" != "xno"
11181 then
11182 if ${DBUS_CFLAGS:+false} :; then :
11183 if ${PKG_CONFIG+:} false; then :
11184 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11188 if ${DBUS_LIBS:+false} :; then :
11189 if ${PKG_CONFIG+:} false; then :
11190 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11195 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11196 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11197 ac_save_CPPFLAGS=$CPPFLAGS
11198 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11199 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11200 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11202 $as_echo_n "checking for -ldbus-1... " >&6; }
11203 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_soname_save_LIBS=$LIBS
11207 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char dbus_connection_close ();
11219 main ()
11221 return dbus_connection_close ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 case "$LIBEXT" in
11228 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11229 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'` ;;
11230 *) 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'`
11231 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11232 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11233 fi ;;
11234 esac
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_soname_save_LIBS
11240 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11242 $as_echo "not found" >&6; }
11243 DBUS_CFLAGS=""
11244 else
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11246 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11250 _ACEOF
11254 else
11255 DBUS_CFLAGS=""
11259 CPPFLAGS=$ac_save_CPPFLAGS
11260 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11261 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11264 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11265 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11266 case "x$with_dbus" in
11267 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11268 xno) ;;
11269 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11270 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11271 esac
11274 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11275 then
11276 if ${HAL_CFLAGS:+false} :; then :
11277 if ${PKG_CONFIG+:} false; then :
11278 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11282 if ${HAL_LIBS:+false} :; then :
11283 if ${PKG_CONFIG+:} false; then :
11284 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11288 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11289 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11291 ac_save_CPPFLAGS=$CPPFLAGS
11292 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11293 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11294 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11296 $as_echo_n "checking for -lhal... " >&6; }
11297 if ${ac_cv_lib_soname_hal+:} false; then :
11298 $as_echo_n "(cached) " >&6
11299 else
11300 ac_check_soname_save_LIBS=$LIBS
11301 LIBS="-lhal $HAL_LIBS $LIBS"
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h. */
11305 /* Override any GCC internal prototype to avoid an error.
11306 Use char because int might match the return type of a GCC
11307 builtin and then its argument prototype would still apply. */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char libhal_ctx_new ();
11313 main ()
11315 return libhal_ctx_new ();
11317 return 0;
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321 case "$LIBEXT" in
11322 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11323 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'` ;;
11324 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11325 if ${ac_cv_lib_soname_hal:+false} :; then :
11326 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11327 fi ;;
11328 esac
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_soname_save_LIBS
11334 if ${ac_cv_lib_soname_hal:+false} :; then :
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11336 $as_echo "not found" >&6; }
11337 HAL_CFLAGS=""
11338 else
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11340 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11342 cat >>confdefs.h <<_ACEOF
11343 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11344 _ACEOF
11348 else
11349 HAL_CFLAGS=""
11353 CPPFLAGS=$ac_save_CPPFLAGS
11354 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11355 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11357 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11358 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11359 case "x$with_hal" in
11360 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11361 xno) ;;
11362 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11363 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11364 esac
11368 if test "x$with_gnutls" != "xno"
11369 then
11370 if ${GNUTLS_CFLAGS:+false} :; then :
11371 if ${PKG_CONFIG+:} false; then :
11372 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11376 if ${GNUTLS_LIBS:+false} :; then :
11377 if ${PKG_CONFIG+:} false; then :
11378 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11383 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11384 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11385 ac_save_CPPFLAGS=$CPPFLAGS
11386 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11387 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11388 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11391 #include <gnutls/gnutls.h>
11392 #include <gnutls/crypto.h>
11394 main ()
11396 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_compile "$LINENO"; then :
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11403 $as_echo_n "checking for -lgnutls... " >&6; }
11404 if ${ac_cv_lib_soname_gnutls+:} false; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_soname_save_LIBS=$LIBS
11408 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char gnutls_global_init ();
11420 main ()
11422 return gnutls_global_init ();
11424 return 0;
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 case "$LIBEXT" in
11429 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11430 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'` ;;
11431 *) 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'`
11432 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11433 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'`
11434 fi ;;
11435 esac
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LIBS=$ac_check_soname_save_LIBS
11441 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11443 $as_echo "not found" >&6; }
11444 GNUTLS_CFLAGS=""
11445 else
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11447 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11449 cat >>confdefs.h <<_ACEOF
11450 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11451 _ACEOF
11456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11457 else
11458 GNUTLS_CFLAGS=""
11462 CPPFLAGS=$ac_save_CPPFLAGS
11463 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11464 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11467 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11468 case "x$with_gnutls" in
11469 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11470 xno) ;;
11471 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11472 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11473 esac
11476 CURSES_LIBS=""
11477 if test "$ac_cv_header_ncurses_h" = "yes"
11478 then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11480 $as_echo_n "checking for -lncurses... " >&6; }
11481 if ${ac_cv_lib_soname_ncurses+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_soname_save_LIBS=$LIBS
11485 LIBS="-lncurses $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char waddch ();
11497 main ()
11499 return waddch ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 case "$LIBEXT" in
11506 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) 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'`
11509 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11510 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11511 fi ;;
11512 esac
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_soname_save_LIBS
11518 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11520 $as_echo "not found" >&6; }
11522 else
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11524 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11526 cat >>confdefs.h <<_ACEOF
11527 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11528 _ACEOF
11530 CURSES_LIBS="-lncurses"
11532 elif test "$ac_cv_header_curses_h" = "yes"
11533 then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11535 $as_echo_n "checking for -lcurses... " >&6; }
11536 if ${ac_cv_lib_soname_curses+:} false; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 ac_check_soname_save_LIBS=$LIBS
11540 LIBS="-lcurses $LIBS"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11547 #ifdef __cplusplus
11548 extern "C"
11549 #endif
11550 char waddch ();
11552 main ()
11554 return waddch ();
11556 return 0;
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"; then :
11560 case "$LIBEXT" in
11561 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11562 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'` ;;
11563 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11564 if ${ac_cv_lib_soname_curses:+false} :; then :
11565 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11566 fi ;;
11567 esac
11569 rm -f core conftest.err conftest.$ac_objext \
11570 conftest$ac_exeext conftest.$ac_ext
11571 LIBS=$ac_check_soname_save_LIBS
11573 if ${ac_cv_lib_soname_curses:+false} :; then :
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11575 $as_echo "not found" >&6; }
11577 else
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11579 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11581 cat >>confdefs.h <<_ACEOF
11582 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11583 _ACEOF
11585 CURSES_LIBS="-lcurses"
11588 ac_save_LIBS="$LIBS"
11589 LIBS="$LIBS $CURSES_LIBS"
11590 for ac_func in mousemask
11591 do :
11592 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11593 if test "x$ac_cv_func_mousemask" = xyes; then :
11594 cat >>confdefs.h <<_ACEOF
11595 #define HAVE_MOUSEMASK 1
11596 _ACEOF
11599 done
11601 LIBS="$ac_save_LIBS"
11602 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11603 case "x$with_curses" in
11604 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11605 xno) ;;
11606 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11607 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11608 esac
11611 if test "x$with_sane" != "xno"
11612 then
11613 if ${SANE_CFLAGS:+false} :; then :
11614 if ${PKG_CONFIG+:} false; then :
11615 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11618 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11619 if ${SANE_LIBS:+false} :; then :
11620 if ${PKG_CONFIG+:} false; then :
11621 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11624 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11627 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11628 ac_save_CPPFLAGS=$CPPFLAGS
11629 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11630 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11631 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11633 $as_echo_n "checking for -lsane... " >&6; }
11634 if ${ac_cv_lib_soname_sane+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lsane $SANE_LIBS $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char sane_init ();
11650 main ()
11652 return sane_init ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 case "$LIBEXT" in
11659 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11662 if ${ac_cv_lib_soname_sane:+false} :; then :
11663 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 fi ;;
11665 esac
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_soname_save_LIBS
11671 if ${ac_cv_lib_soname_sane:+false} :; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11674 SANE_CFLAGS=""
11675 else
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11677 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11679 cat >>confdefs.h <<_ACEOF
11680 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11681 _ACEOF
11685 else
11686 SANE_CFLAGS=""
11690 CPPFLAGS=$ac_save_CPPFLAGS
11691 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11692 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11695 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11696 case "x$with_sane" in
11697 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11698 xno) ;;
11699 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11700 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11701 esac
11704 if test "x$with_v4l" != "xno"
11705 then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11707 $as_echo_n "checking for -lv4l1... " >&6; }
11708 if ${ac_cv_lib_soname_v4l1+:} false; then :
11709 $as_echo_n "(cached) " >&6
11710 else
11711 ac_check_soname_save_LIBS=$LIBS
11712 LIBS="-lv4l1 $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char v4l1_open ();
11724 main ()
11726 return v4l1_open ();
11728 return 0;
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732 case "$LIBEXT" in
11733 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11734 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'` ;;
11735 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11736 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11737 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11738 fi ;;
11739 esac
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 LIBS=$ac_check_soname_save_LIBS
11745 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11749 else
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11751 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11753 cat >>confdefs.h <<_ACEOF
11754 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11755 _ACEOF
11760 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11761 case "x$with_v4l" in
11762 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11765 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11766 esac
11769 if test "x$with_gphoto" != "xno"
11770 then
11771 if ${GPHOTO2_CFLAGS:+false} :; then :
11772 if ${PKG_CONFIG+:} false; then :
11773 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11776 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11777 if ${GPHOTO2_LIBS:+false} :; then :
11778 if ${PKG_CONFIG+:} false; then :
11779 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11782 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11783 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11784 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11785 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11786 ac_save_CPPFLAGS=$CPPFLAGS
11787 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11788 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11789 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11791 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11792 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_lib_save_LIBS=$LIBS
11796 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char gp_camera_new ();
11808 main ()
11810 return gp_camera_new ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 ac_cv_lib_gphoto2_gp_camera_new=yes
11817 else
11818 ac_cv_lib_gphoto2_gp_camera_new=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11825 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11826 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11828 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11830 else
11831 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11834 else
11835 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11839 CPPFLAGS=$ac_save_CPPFLAGS
11840 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11841 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11843 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11844 if ${PKG_CONFIG+:} false; then :
11845 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11848 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11849 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11850 if ${PKG_CONFIG+:} false; then :
11851 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11854 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11855 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11858 ac_save_CPPFLAGS=$CPPFLAGS
11859 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11860 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11861 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11863 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11864 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_lib_save_LIBS=$LIBS
11868 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char gp_port_info_list_new ();
11880 main ()
11882 return gp_port_info_list_new ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11889 else
11890 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11892 rm -f core conftest.err conftest.$ac_objext \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_lib_save_LIBS
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11897 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11898 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11900 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11902 else
11903 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11906 else
11907 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11911 CPPFLAGS=$ac_save_CPPFLAGS
11912 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11913 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11916 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11917 case "x$with_gphoto" in
11918 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11919 xno) ;;
11920 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11922 esac
11924 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11925 case "x$with_gphoto" in
11926 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11927 xno) ;;
11928 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11929 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11930 esac
11934 if test "$ac_cv_header_resolv_h" = "yes"
11935 then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11937 $as_echo_n "checking for resolver library... " >&6; }
11938 if ${ac_cv_have_resolv+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_save_LIBS="$LIBS"
11942 for lib in '' -lresolv
11944 LIBS="$lib $ac_save_LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11947 #ifdef HAVE_NETINET_IN_H
11948 #include <netinet/in.h>
11949 #endif
11950 #include <resolv.h>
11952 main ()
11954 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 ac_cv_have_resolv=${lib:-"none required"}
11961 else
11962 ac_cv_have_resolv="not found"
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 test "x$ac_cv_have_resolv" = "xnot found" || break
11967 done
11968 LIBS="$ac_save_LIBS"
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11971 $as_echo "$ac_cv_have_resolv" >&6; }
11973 case "$ac_cv_have_resolv" in
11974 "not found") ;;
11975 "none required")
11977 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11980 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11982 RESOLV_LIBS=$ac_cv_have_resolv
11984 esac
11987 if test "x$with_cms" != "xno"
11988 then
11989 if ${LCMS2_CFLAGS:+false} :; then :
11990 if ${PKG_CONFIG+:} false; then :
11991 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11995 if ${LCMS2_LIBS:+false} :; then :
11996 if ${PKG_CONFIG+:} false; then :
11997 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12001 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12002 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12003 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12004 ac_save_CPPFLAGS=$CPPFLAGS
12005 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12006 for ac_header in lcms2.h
12007 do :
12008 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12009 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12010 cat >>confdefs.h <<_ACEOF
12011 #define HAVE_LCMS2_H 1
12012 _ACEOF
12016 done
12018 if test "$ac_cv_header_lcms2_h" = "yes"
12019 then
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12021 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12022 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12023 $as_echo_n "(cached) " >&6
12024 else
12025 ac_check_lib_save_LIBS=$LIBS
12026 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char cmsOpenProfileFromFile ();
12038 main ()
12040 return cmsOpenProfileFromFile ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12047 else
12048 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12055 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12056 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12058 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12060 else
12061 LCMS2_LIBS=""
12064 else
12065 LCMS2_CFLAGS=""
12066 LCMS2_LIBS=""
12068 CPPFLAGS=$ac_save_CPPFLAGS
12069 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12070 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12073 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12074 case "x$with_cms" in
12075 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12076 xno) ;;
12077 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12078 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12079 esac
12082 if test "x$with_freetype" != "xno"
12083 then
12084 if ${FREETYPE_CFLAGS:+false} :; then :
12085 if ${PKG_CONFIG+:} false; then :
12086 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12089 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12090 if ${FREETYPE_LIBS:+false} :; then :
12091 if ${PKG_CONFIG+:} false; then :
12092 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12095 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12096 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12097 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12098 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12099 ac_save_CPPFLAGS=$CPPFLAGS
12100 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12101 for ac_header in ft2build.h
12102 do :
12103 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12104 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12105 cat >>confdefs.h <<_ACEOF
12106 #define HAVE_FT2BUILD_H 1
12107 _ACEOF
12111 done
12113 if test "$ac_cv_header_ft2build_h" = "yes"
12114 then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12116 $as_echo_n "checking for -lfreetype... " >&6; }
12117 if ${ac_cv_lib_soname_freetype+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_soname_save_LIBS=$LIBS
12121 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char FT_Init_FreeType ();
12133 main ()
12135 return FT_Init_FreeType ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 case "$LIBEXT" in
12142 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12143 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'` ;;
12144 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12145 if ${ac_cv_lib_soname_freetype:+false} :; then :
12146 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12147 fi ;;
12148 esac
12150 rm -f core conftest.err conftest.$ac_objext \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_soname_save_LIBS
12154 if ${ac_cv_lib_soname_freetype:+false} :; then :
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12156 $as_echo "not found" >&6; }
12157 FREETYPE_LIBS=""
12158 else
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12160 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12162 cat >>confdefs.h <<_ACEOF
12163 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12164 _ACEOF
12167 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12169 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12170 #include FT_MODULE_H
12172 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12174 cat >>confdefs.h <<_ACEOF
12175 #define HAVE_FT_TRUETYPEENGINETYPE 1
12176 _ACEOF
12182 else
12183 FREETYPE_CFLAGS=""
12184 FREETYPE_LIBS=""
12186 CPPFLAGS=$ac_save_CPPFLAGS
12187 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12188 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12191 if test "x$ac_cv_lib_soname_freetype" = x; then :
12192 case "x$with_freetype" in
12193 xno) ;;
12194 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12195 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12196 esac
12198 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12201 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12202 if ${ac_cv_c_ppdev+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12207 #ifdef HAVE_SYS_IOCTL_H
12208 # include <sys/ioctl.h>
12209 #endif
12210 #include <linux/ppdev.h>
12212 main ()
12214 ioctl (1,PPCLAIM,0)
12216 return 0;
12218 _ACEOF
12219 if ac_fn_c_try_compile "$LINENO"; then :
12220 ac_cv_c_ppdev="yes"
12221 else
12222 ac_cv_c_ppdev="no"
12224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12227 $as_echo "$ac_cv_c_ppdev" >&6; }
12228 if test "$ac_cv_c_ppdev" = "yes"
12229 then
12231 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12235 ac_wine_check_funcs_save_LIBS="$LIBS"
12236 LIBS="$LIBS $PTHREAD_LIBS"
12237 for ac_func in \
12238 pthread_attr_get_np \
12239 pthread_getattr_np \
12240 pthread_getthreadid_np \
12241 pthread_get_stackaddr_np \
12242 pthread_get_stacksize_np
12243 do :
12244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12247 cat >>confdefs.h <<_ACEOF
12248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12249 _ACEOF
12252 done
12254 LIBS="$ac_wine_check_funcs_save_LIBS"
12256 if test "$ac_cv_header_zlib_h" = "yes"
12257 then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12259 $as_echo_n "checking for inflate in -lz... " >&6; }
12260 if ${ac_cv_lib_z_inflate+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_check_lib_save_LIBS=$LIBS
12264 LIBS="-lz $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 #ifdef __cplusplus
12272 extern "C"
12273 #endif
12274 char inflate ();
12276 main ()
12278 return inflate ();
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_link "$LINENO"; then :
12284 ac_cv_lib_z_inflate=yes
12285 else
12286 ac_cv_lib_z_inflate=no
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_lib_save_LIBS
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12293 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12294 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12296 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12298 Z_LIBS="-lz"
12303 if test "x$Z_LIBS" = "x"; then :
12304 case "x$with_zlib" in
12305 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12306 xno) ;;
12307 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12308 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12309 esac
12312 if test "x$enable_tools" != xno
12313 then
12314 if test "$ac_cv_header_gettext_po_h" = "yes"
12315 then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12317 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12318 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_lib_save_LIBS=$LIBS
12322 LIBS="-lgettextpo $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char po_message_msgctxt ();
12334 main ()
12336 return po_message_msgctxt ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12343 else
12344 ac_cv_lib_gettextpo_po_message_msgctxt=no
12346 rm -f core conftest.err conftest.$ac_objext \
12347 conftest$ac_exeext conftest.$ac_ext
12348 LIBS=$ac_check_lib_save_LIBS
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12351 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12352 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12354 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12356 GETTEXTPO_LIBS="-lgettextpo"
12361 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12362 case "x$with_gettextpo" in
12363 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12364 xno) ;;
12365 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12366 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12367 esac
12371 if test "x$with_gstreamer" != "xno"
12372 then
12373 if ${GSTREAMER_CFLAGS:+false} :; then :
12374 if ${PKG_CONFIG+:} false; then :
12375 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12379 if ${GSTREAMER_LIBS:+false} :; then :
12380 if ${PKG_CONFIG+:} false; then :
12381 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12386 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12387 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12388 ac_save_CPPFLAGS=$CPPFLAGS
12389 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12390 ac_gst_incl=""
12391 for i in $GSTREAMER_CFLAGS
12393 case "$i" in
12394 -I*) ac_gst_incl="$ac_gst_incl $i";;
12395 esac
12396 done
12397 GSTREAMER_CFLAGS=$ac_gst_incl
12398 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12399 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12400 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12401 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12402 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12404 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12407 #include <gst/app/gstappsink.h>
12409 main ()
12411 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_compile "$LINENO"; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12418 $as_echo "yes" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12420 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12421 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12422 $as_echo_n "(cached) " >&6
12423 else
12424 ac_check_lib_save_LIBS=$LIBS
12425 LIBS="-lgstreamer-0.10 $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char gst_pad_get_caps_reffed ();
12437 main ()
12439 return gst_pad_get_caps_reffed ();
12441 return 0;
12443 _ACEOF
12444 if ac_fn_c_try_link "$LINENO"; then :
12445 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12446 else
12447 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_lib_save_LIBS
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12454 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12455 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12457 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12458 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char gst_app_buffer_new ();
12474 main ()
12476 return gst_app_buffer_new ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12483 else
12484 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12491 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12492 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12498 else
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12506 else
12507 GSTREAMER_CFLAGS=""
12511 CPPFLAGS=$ac_save_CPPFLAGS
12512 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12513 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12516 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12517 case "x$with_gstreamer" in
12518 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12519 xno) ;;
12520 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12521 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12522 esac
12524 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12526 ALSA_LIBS=""
12528 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12529 then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12531 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12532 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12533 $as_echo_n "(cached) " >&6
12534 else
12535 ac_check_lib_save_LIBS=$LIBS
12536 LIBS="-lasound $LIBS"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12543 #ifdef __cplusplus
12544 extern "C"
12545 #endif
12546 char snd_pcm_hw_params_get_access_mask ();
12548 main ()
12550 return snd_pcm_hw_params_get_access_mask ();
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_link "$LINENO"; then :
12556 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12557 else
12558 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12560 rm -f core conftest.err conftest.$ac_objext \
12561 conftest$ac_exeext conftest.$ac_ext
12562 LIBS=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12565 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12566 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12569 #ifdef HAVE_ALSA_ASOUNDLIB_H
12570 #include <alsa/asoundlib.h>
12571 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12572 #include <sys/asoundlib.h>
12573 #endif
12575 main ()
12577 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12579 return 0;
12581 _ACEOF
12582 if ac_fn_c_try_compile "$LINENO"; then :
12583 ALSA_LIBS="-lasound"
12585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12590 if test "x$with_oss" != xno
12591 then
12592 ac_save_CPPFLAGS="$CPPFLAGS"
12593 if test -f /etc/oss.conf
12594 then
12595 . /etc/oss.conf
12597 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12598 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12599 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12600 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12601 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12603 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12605 cat >>confdefs.h <<_ACEOF
12606 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12607 _ACEOF
12609 OSS4_CFLAGS="$ac_oss_incl"
12616 CPPFLAGS="$ac_save_CPPFLAGS"
12617 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12618 then
12619 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12623 if test "x$with_capi" != "xno"
12624 then
12625 if ${CAPI20_CFLAGS:+false} :; then :
12626 if ${PKG_CONFIG+:} false; then :
12627 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12631 if ${CAPI20_LIBS:+false} :; then :
12632 if ${PKG_CONFIG+:} false; then :
12633 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12638 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12639 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12640 ac_save_CPPFLAGS=$CPPFLAGS
12641 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12642 for ac_header in capi20.h linux/capi.h
12643 do :
12644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12645 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12647 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12648 cat >>confdefs.h <<_ACEOF
12649 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12650 _ACEOF
12654 done
12656 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12657 then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12659 $as_echo_n "checking for -lcapi20... " >&6; }
12660 if ${ac_cv_lib_soname_capi20+:} false; then :
12661 $as_echo_n "(cached) " >&6
12662 else
12663 ac_check_soname_save_LIBS=$LIBS
12664 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char capi20_register ();
12676 main ()
12678 return capi20_register ();
12680 return 0;
12682 _ACEOF
12683 if ac_fn_c_try_link "$LINENO"; then :
12684 case "$LIBEXT" in
12685 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12686 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'` ;;
12687 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12688 if ${ac_cv_lib_soname_capi20:+false} :; then :
12689 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12690 fi ;;
12691 esac
12693 rm -f core conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_soname_save_LIBS
12697 if ${ac_cv_lib_soname_capi20:+false} :; then :
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12699 $as_echo "not found" >&6; }
12701 else
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12703 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12705 cat >>confdefs.h <<_ACEOF
12706 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12707 _ACEOF
12712 CPPFLAGS=$ac_save_CPPFLAGS
12713 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12714 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12717 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12718 case "x$with_capi" in
12719 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12720 xno) ;;
12721 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12722 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12723 esac
12726 CUPS_CFLAGS=""
12728 if test "x$with_cups" != "xno"
12729 then
12730 ac_save_CPPFLAGS="$CPPFLAGS"
12731 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12732 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12733 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12734 for ac_header in cups/cups.h
12735 do :
12736 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12737 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12738 cat >>confdefs.h <<_ACEOF
12739 #define HAVE_CUPS_CUPS_H 1
12740 _ACEOF
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12742 $as_echo_n "checking for -lcups... " >&6; }
12743 if ${ac_cv_lib_soname_cups+:} false; then :
12744 $as_echo_n "(cached) " >&6
12745 else
12746 ac_check_soname_save_LIBS=$LIBS
12747 LIBS="-lcups $ac_cups_libs $LIBS"
12748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 char cupsGetDefault ();
12759 main ()
12761 return cupsGetDefault ();
12763 return 0;
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 case "$LIBEXT" in
12768 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12769 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'` ;;
12770 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12771 if ${ac_cv_lib_soname_cups:+false} :; then :
12772 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12773 fi ;;
12774 esac
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_soname_save_LIBS
12780 if ${ac_cv_lib_soname_cups:+false} :; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12782 $as_echo "not found" >&6; }
12784 else
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12786 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12788 cat >>confdefs.h <<_ACEOF
12789 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12790 _ACEOF
12792 CUPS_CFLAGS="$ac_cups_cflags"
12796 done
12798 CPPFLAGS="$ac_save_CPPFLAGS"
12800 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12801 case "x$with_cups" in
12802 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12803 xno) ;;
12804 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12805 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12806 esac
12809 if test "x$with_fontconfig" != "xno"
12810 then
12811 if ${FONTCONFIG_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12816 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12817 if ${FONTCONFIG_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12822 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12824 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12828 for ac_header in fontconfig/fontconfig.h
12829 do :
12830 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12831 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12832 cat >>confdefs.h <<_ACEOF
12833 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12834 _ACEOF
12838 done
12840 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12841 then
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12843 $as_echo_n "checking for -lfontconfig... " >&6; }
12844 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 ac_check_soname_save_LIBS=$LIBS
12848 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char FcInit ();
12860 main ()
12862 return FcInit ();
12864 return 0;
12866 _ACEOF
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 case "$LIBEXT" in
12869 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12870 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'` ;;
12871 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12872 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12873 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12874 fi ;;
12875 esac
12877 rm -f core conftest.err conftest.$ac_objext \
12878 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_soname_save_LIBS
12881 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12883 $as_echo "not found" >&6; }
12884 FONTCONFIG_CFLAGS=""
12885 else
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12887 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12889 cat >>confdefs.h <<_ACEOF
12890 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12891 _ACEOF
12895 else
12896 FONTCONFIG_CFLAGS=""
12898 CPPFLAGS=$ac_save_CPPFLAGS
12899 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12900 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12903 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12904 case "x$with_fontconfig" in
12905 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12906 xno) ;;
12907 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12908 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12909 esac
12912 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12913 then
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12915 $as_echo_n "checking for -lgsm... " >&6; }
12916 if ${ac_cv_lib_soname_gsm+:} false; then :
12917 $as_echo_n "(cached) " >&6
12918 else
12919 ac_check_soname_save_LIBS=$LIBS
12920 LIBS="-lgsm $LIBS"
12921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12927 #ifdef __cplusplus
12928 extern "C"
12929 #endif
12930 char gsm_create ();
12932 main ()
12934 return gsm_create ();
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 case "$LIBEXT" in
12941 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12942 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'` ;;
12943 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12944 if ${ac_cv_lib_soname_gsm:+false} :; then :
12945 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12946 fi ;;
12947 esac
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 LIBS=$ac_check_soname_save_LIBS
12953 if ${ac_cv_lib_soname_gsm:+false} :; then :
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12955 $as_echo "not found" >&6; }
12957 else
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12959 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12961 cat >>confdefs.h <<_ACEOF
12962 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12963 _ACEOF
12968 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12969 case "x$with_gsm" in
12970 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12971 xno) ;;
12972 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12973 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12974 esac
12977 if test "x$with_jpeg" != "xno"
12978 then
12979 if ${JPEG_CFLAGS:+false} :; then :
12980 if ${PKG_CONFIG+:} false; then :
12981 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12985 if ${JPEG_LIBS:+false} :; then :
12986 if ${PKG_CONFIG+:} false; then :
12987 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12993 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12994 ac_save_CPPFLAGS=$CPPFLAGS
12995 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12996 for ac_header in jpeglib.h
12997 do :
12998 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12999 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13000 cat >>confdefs.h <<_ACEOF
13001 #define HAVE_JPEGLIB_H 1
13002 _ACEOF
13006 done
13008 if test "$ac_cv_header_jpeglib_h" = "yes"
13009 then
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13011 $as_echo_n "checking for -ljpeg... " >&6; }
13012 if ${ac_cv_lib_soname_jpeg+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_soname_save_LIBS=$LIBS
13016 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char jpeg_start_decompress ();
13028 main ()
13030 return jpeg_start_decompress ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 case "$LIBEXT" in
13037 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13038 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'` ;;
13039 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13040 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13041 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13042 fi ;;
13043 esac
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_soname_save_LIBS
13049 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13051 $as_echo "not found" >&6; }
13052 JPEG_CFLAGS=""
13053 else
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13055 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13057 cat >>confdefs.h <<_ACEOF
13058 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13059 _ACEOF
13063 else
13064 JPEG_CFLAGS=""
13066 CPPFLAGS=$ac_save_CPPFLAGS
13067 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13068 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13071 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13072 case "x$with_jpeg" in
13073 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13074 xno) ;;
13075 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13076 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13077 esac
13080 if test "x$with_png" != "xno"
13081 then
13082 if ${PNG_CFLAGS:+false} :; then :
13083 if ${PKG_CONFIG+:} false; then :
13084 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13087 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13088 if ${PNG_LIBS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13093 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13095 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13096 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13097 ac_save_CPPFLAGS=$CPPFLAGS
13098 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13099 for ac_header in png.h
13100 do :
13101 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13102 if test "x$ac_cv_header_png_h" = xyes; then :
13103 cat >>confdefs.h <<_ACEOF
13104 #define HAVE_PNG_H 1
13105 _ACEOF
13109 done
13111 if test "$ac_cv_header_png_h" = "yes"
13112 then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13114 $as_echo_n "checking for -lpng... " >&6; }
13115 if ${ac_cv_lib_soname_png+:} false; then :
13116 $as_echo_n "(cached) " >&6
13117 else
13118 ac_check_soname_save_LIBS=$LIBS
13119 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 #ifdef __cplusplus
13127 extern "C"
13128 #endif
13129 char png_create_read_struct ();
13131 main ()
13133 return png_create_read_struct ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"; then :
13139 case "$LIBEXT" in
13140 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13141 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'` ;;
13142 *) 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'`
13143 if ${ac_cv_lib_soname_png:+false} :; then :
13144 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13145 fi ;;
13146 esac
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if ${ac_cv_lib_soname_png:+false} :; then :
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13154 $as_echo "not found" >&6; }
13155 PNG_CFLAGS=""
13156 else
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13158 $as_echo "$ac_cv_lib_soname_png" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13162 _ACEOF
13164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13166 #include <png.h>
13168 main ()
13170 typeof(png_set_expand_gray_1_2_4_to_8) *p
13172 return 0;
13174 _ACEOF
13175 if ac_fn_c_try_compile "$LINENO"; then :
13177 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13182 else
13183 PNG_CFLAGS=""
13185 CPPFLAGS=$ac_save_CPPFLAGS
13186 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13187 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13190 if test "x$ac_cv_lib_soname_png" = "x"; then :
13191 case "x$with_png" in
13192 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13193 xno) ;;
13194 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13195 This is an error since --with-png was requested." "$LINENO" 5 ;;
13196 esac
13199 if test "x$with_tiff" != "xno"
13200 then
13201 if ${TIFF_CFLAGS:+false} :; then :
13202 if ${PKG_CONFIG+:} false; then :
13203 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13207 if ${TIFF_LIBS:+false} :; then :
13208 if ${PKG_CONFIG+:} false; then :
13209 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13215 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13216 ac_save_CPPFLAGS=$CPPFLAGS
13217 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13218 for ac_header in tiffio.h
13219 do :
13220 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13221 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13222 cat >>confdefs.h <<_ACEOF
13223 #define HAVE_TIFFIO_H 1
13224 _ACEOF
13228 done
13230 if test "$ac_cv_header_tiffio_h" = "yes"
13231 then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13233 $as_echo_n "checking for -ltiff... " >&6; }
13234 if ${ac_cv_lib_soname_tiff+:} false; then :
13235 $as_echo_n "(cached) " >&6
13236 else
13237 ac_check_soname_save_LIBS=$LIBS
13238 LIBS="-ltiff $TIFF_LIBS $LIBS"
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13242 /* Override any GCC internal prototype to avoid an error.
13243 Use char because int might match the return type of a GCC
13244 builtin and then its argument prototype would still apply. */
13245 #ifdef __cplusplus
13246 extern "C"
13247 #endif
13248 char TIFFClientOpen ();
13250 main ()
13252 return TIFFClientOpen ();
13254 return 0;
13256 _ACEOF
13257 if ac_fn_c_try_link "$LINENO"; then :
13258 case "$LIBEXT" in
13259 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13260 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'` ;;
13261 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13262 if ${ac_cv_lib_soname_tiff:+false} :; then :
13263 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13264 fi ;;
13265 esac
13267 rm -f core conftest.err conftest.$ac_objext \
13268 conftest$ac_exeext conftest.$ac_ext
13269 LIBS=$ac_check_soname_save_LIBS
13271 if ${ac_cv_lib_soname_tiff:+false} :; then :
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13273 $as_echo "not found" >&6; }
13275 else
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13277 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13279 cat >>confdefs.h <<_ACEOF
13280 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13281 _ACEOF
13286 CPPFLAGS=$ac_save_CPPFLAGS
13287 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13288 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13291 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13292 case "x$with_tiff" in
13293 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13294 xno) ;;
13295 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13296 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13297 esac
13300 if test "x$with_mpg123" != "xno"
13301 then
13302 if ${MPG123_CFLAGS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13308 if ${MPG123_LIBS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13314 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13316 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13317 ac_save_CPPFLAGS=$CPPFLAGS
13318 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13319 for ac_header in mpg123.h
13320 do :
13321 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13323 cat >>confdefs.h <<_ACEOF
13324 #define HAVE_MPG123_H 1
13325 _ACEOF
13329 done
13331 if test "$ac_cv_header_mpg123_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13334 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13335 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char mpg123_feed ();
13351 main ()
13353 return mpg123_feed ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 ac_cv_lib_mpg123_mpg123_feed=yes
13360 else
13361 ac_cv_lib_mpg123_mpg123_feed=no
13363 rm -f core conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13365 LIBS=$ac_check_lib_save_LIBS
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13368 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13369 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13371 else
13372 MPG123_LIBS=""
13375 else
13376 MPG123_CFLAGS=""
13377 MPG123_LIBS=""
13379 CPPFLAGS=$ac_save_CPPFLAGS
13380 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13381 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13384 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13385 case "x$with_mpg123" in
13386 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13387 xno) ;;
13388 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13389 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13390 esac
13392 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}
13394 if test "$ac_cv_header_AL_al_h" = "yes"
13395 then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13397 $as_echo_n "checking for -lopenal... " >&6; }
13398 if ${ac_cv_lib_soname_openal+:} false; then :
13399 $as_echo_n "(cached) " >&6
13400 else
13401 ac_check_soname_save_LIBS=$LIBS
13402 LIBS="-lopenal $LIBS"
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13406 /* Override any GCC internal prototype to avoid an error.
13407 Use char because int might match the return type of a GCC
13408 builtin and then its argument prototype would still apply. */
13409 #ifdef __cplusplus
13410 extern "C"
13411 #endif
13412 char alGetSource3i ();
13414 main ()
13416 return alGetSource3i ();
13418 return 0;
13420 _ACEOF
13421 if ac_fn_c_try_link "$LINENO"; then :
13422 case "$LIBEXT" in
13423 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13424 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'` ;;
13425 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13426 if ${ac_cv_lib_soname_openal:+false} :; then :
13427 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13428 fi ;;
13429 esac
13431 rm -f core conftest.err conftest.$ac_objext \
13432 conftest$ac_exeext conftest.$ac_ext
13433 LIBS=$ac_check_soname_save_LIBS
13435 if ${ac_cv_lib_soname_openal:+false} :; then :
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13437 $as_echo "not found" >&6; }
13439 else
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13441 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13443 cat >>confdefs.h <<_ACEOF
13444 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13445 _ACEOF
13447 OPENAL_LIBS="-lopenal"
13449 ac_cv_lib_openal=yes
13451 cat >>confdefs.h <<_ACEOF
13452 #define HAVE_OPENAL 1
13453 _ACEOF
13457 if test "x$ac_cv_lib_openal" != xyes; then :
13458 case "x$with_openal" in
13459 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13460 xno) ;;
13461 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13462 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13463 esac
13465 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13467 if test "$ac_cv_header_kstat_h" = "yes"
13468 then
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13470 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13471 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13472 $as_echo_n "(cached) " >&6
13473 else
13474 ac_check_lib_save_LIBS=$LIBS
13475 LIBS="-lkstat $LIBS"
13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13477 /* end confdefs.h. */
13479 /* Override any GCC internal prototype to avoid an error.
13480 Use char because int might match the return type of a GCC
13481 builtin and then its argument prototype would still apply. */
13482 #ifdef __cplusplus
13483 extern "C"
13484 #endif
13485 char kstat_open ();
13487 main ()
13489 return kstat_open ();
13491 return 0;
13493 _ACEOF
13494 if ac_fn_c_try_link "$LINENO"; then :
13495 ac_cv_lib_kstat_kstat_open=yes
13496 else
13497 ac_cv_lib_kstat_kstat_open=no
13499 rm -f core conftest.err conftest.$ac_objext \
13500 conftest$ac_exeext conftest.$ac_ext
13501 LIBS=$ac_check_lib_save_LIBS
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13504 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13505 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13507 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13509 KSTAT_LIBS="-lkstat"
13515 if test "$ac_cv_header_libprocstat_h" = "yes"
13516 then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13518 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13519 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_check_lib_save_LIBS=$LIBS
13523 LIBS="-lprocstat $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13527 /* Override any GCC internal prototype to avoid an error.
13528 Use char because int might match the return type of a GCC
13529 builtin and then its argument prototype would still apply. */
13530 #ifdef __cplusplus
13531 extern "C"
13532 #endif
13533 char procstat_open_sysctl ();
13535 main ()
13537 return procstat_open_sysctl ();
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"; then :
13543 ac_cv_lib_procstat_procstat_open_sysctl=yes
13544 else
13545 ac_cv_lib_procstat_procstat_open_sysctl=no
13547 rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_lib_save_LIBS
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13552 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13553 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13555 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13557 PROCSTAT_LIBS="-lprocstat"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13564 $as_echo_n "checking for -lodbc... " >&6; }
13565 if ${ac_cv_lib_soname_odbc+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_check_soname_save_LIBS=$LIBS
13569 LIBS="-lodbc $LIBS"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 #endif
13579 char SQLConnect ();
13581 main ()
13583 return SQLConnect ();
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 case "$LIBEXT" in
13590 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13593 if ${ac_cv_lib_soname_odbc:+false} :; then :
13594 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13595 fi ;;
13596 esac
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_odbc:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13605 cat >>confdefs.h <<_ACEOF
13606 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13607 _ACEOF
13609 else
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13611 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13613 cat >>confdefs.h <<_ACEOF
13614 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13615 _ACEOF
13620 if test "x$with_netapi" != "xno"
13621 then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13623 $as_echo_n "checking for -lnetapi... " >&6; }
13624 if ${ac_cv_lib_soname_netapi+:} false; then :
13625 $as_echo_n "(cached) " >&6
13626 else
13627 ac_check_soname_save_LIBS=$LIBS
13628 LIBS="-lnetapi $LIBS"
13629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 /* Override any GCC internal prototype to avoid an error.
13633 Use char because int might match the return type of a GCC
13634 builtin and then its argument prototype would still apply. */
13635 #ifdef __cplusplus
13636 extern "C"
13637 #endif
13638 char libnetapi_init ();
13640 main ()
13642 return libnetapi_init ();
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_link "$LINENO"; then :
13648 case "$LIBEXT" in
13649 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13650 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'` ;;
13651 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13652 if ${ac_cv_lib_soname_netapi:+false} :; then :
13653 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13654 fi ;;
13655 esac
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 LIBS=$ac_check_soname_save_LIBS
13661 if ${ac_cv_lib_soname_netapi:+false} :; then :
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13663 $as_echo "not found" >&6; }
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13666 _ACEOF
13668 else
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13670 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13672 cat >>confdefs.h <<_ACEOF
13673 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13674 _ACEOF
13680 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13681 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13682 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13683 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13685 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13686 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13687 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13688 then
13689 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13693 EXTRACFLAGS=""
13695 if test "x${GCC}" = "xyes"
13696 then
13697 EXTRACFLAGS="-Wall -pipe"
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13700 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13701 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13702 $as_echo_n "(cached) " >&6
13703 else
13704 if test "$cross_compiling" = yes; then :
13705 ac_cv_c_gcc_strength_bug="yes"
13706 else
13707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13708 /* end confdefs.h. */
13709 int L[4] = {0,1,2,3};
13711 main ()
13713 static int Array[3];
13714 unsigned int B = 3;
13715 int i;
13716 for(i=0; i<B; i++) Array[i] = i - 3;
13717 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13718 L[i] = 4;
13719 return (Array[1] != -2 || L[2] != 3)
13721 return 0;
13723 _ACEOF
13724 if ac_fn_c_try_run "$LINENO"; then :
13725 ac_cv_c_gcc_strength_bug="no"
13726 else
13727 ac_cv_c_gcc_strength_bug="yes"
13729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13730 conftest.$ac_objext conftest.beam conftest.$ac_ext
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13735 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13736 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13737 then
13738 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13742 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13743 if ${ac_cv_cflags__fno_builtin+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_wine_try_cflags_saved=$CFLAGS
13747 CFLAGS="$CFLAGS -fno-builtin"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 ac_cv_cflags__fno_builtin=yes
13754 else
13755 ac_cv_cflags__fno_builtin=no
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 CFLAGS=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13762 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13763 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13764 BUILTINFLAG="-fno-builtin"
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13768 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13769 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 ac_wine_try_cflags_saved=$CFLAGS
13773 CFLAGS="$CFLAGS -fno-strict-aliasing"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 int main(int argc, char **argv) { return 0; }
13777 _ACEOF
13778 if ac_fn_c_try_link "$LINENO"; then :
13779 ac_cv_cflags__fno_strict_aliasing=yes
13780 else
13781 ac_cv_cflags__fno_strict_aliasing=no
13783 rm -f core conftest.err conftest.$ac_objext \
13784 conftest$ac_exeext conftest.$ac_ext
13785 CFLAGS=$ac_wine_try_cflags_saved
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13788 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13789 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13790 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13792 saved_CFLAGS=$CFLAGS
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13794 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13795 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13796 $as_echo_n "(cached) " >&6
13797 else
13798 ac_wine_try_cflags_saved=$CFLAGS
13799 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13802 int main(int argc, char **argv) { return 0; }
13803 _ACEOF
13804 if ac_fn_c_try_link "$LINENO"; then :
13805 ac_cv_cflags__Werror_unknown_warning_option=yes
13806 else
13807 ac_cv_cflags__Werror_unknown_warning_option=no
13809 rm -f core conftest.err conftest.$ac_objext \
13810 conftest$ac_exeext conftest.$ac_ext
13811 CFLAGS=$ac_wine_try_cflags_saved
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13814 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13815 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13816 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13819 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13820 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_wine_try_cflags_saved=$CFLAGS
13824 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13827 int main(int argc, char **argv) { return 0; }
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 ac_cv_cflags__Wdeclaration_after_statement=yes
13831 else
13832 ac_cv_cflags__Wdeclaration_after_statement=no
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 CFLAGS=$ac_wine_try_cflags_saved
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13839 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13840 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13841 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13844 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13845 if ${ac_cv_cflags__Wempty_body+:} false; then :
13846 $as_echo_n "(cached) " >&6
13847 else
13848 ac_wine_try_cflags_saved=$CFLAGS
13849 CFLAGS="$CFLAGS -Wempty-body"
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13852 int main(int argc, char **argv) { return 0; }
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 ac_cv_cflags__Wempty_body=yes
13856 else
13857 ac_cv_cflags__Wempty_body=no
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 CFLAGS=$ac_wine_try_cflags_saved
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13864 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13865 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13866 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13869 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13870 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13871 $as_echo_n "(cached) " >&6
13872 else
13873 ac_wine_try_cflags_saved=$CFLAGS
13874 CFLAGS="$CFLAGS -Wignored-qualifiers"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13877 int main(int argc, char **argv) { return 0; }
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"; then :
13880 ac_cv_cflags__Wignored_qualifiers=yes
13881 else
13882 ac_cv_cflags__Wignored_qualifiers=no
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 CFLAGS=$ac_wine_try_cflags_saved
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13889 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13890 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13891 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13894 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13895 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13896 $as_echo_n "(cached) " >&6
13897 else
13898 ac_wine_try_cflags_saved=$CFLAGS
13899 CFLAGS="$CFLAGS -Wstrict-prototypes"
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 int main(int argc, char **argv) { return 0; }
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ac_cv_cflags__Wstrict_prototypes=yes
13906 else
13907 ac_cv_cflags__Wstrict_prototypes=no
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 CFLAGS=$ac_wine_try_cflags_saved
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13914 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13915 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13916 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13919 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13920 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 ac_wine_try_cflags_saved=$CFLAGS
13924 CFLAGS="$CFLAGS -Wtype-limits"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 ac_cv_cflags__Wtype_limits=yes
13931 else
13932 ac_cv_cflags__Wtype_limits=no
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 CFLAGS=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13939 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13940 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13941 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13944 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13945 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_wine_try_cflags_saved=$CFLAGS
13949 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 int main(int argc, char **argv) { return 0; }
13953 _ACEOF
13954 if ac_fn_c_try_link "$LINENO"; then :
13955 ac_cv_cflags__Wunused_but_set_parameter=yes
13956 else
13957 ac_cv_cflags__Wunused_but_set_parameter=no
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13961 CFLAGS=$ac_wine_try_cflags_saved
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13964 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13965 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13966 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13969 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13970 if ${ac_cv_cflags__Wvla+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 ac_wine_try_cflags_saved=$CFLAGS
13974 CFLAGS="$CFLAGS -Wvla"
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13977 int main(int argc, char **argv) { return 0; }
13978 _ACEOF
13979 if ac_fn_c_try_link "$LINENO"; then :
13980 ac_cv_cflags__Wvla=yes
13981 else
13982 ac_cv_cflags__Wvla=no
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 CFLAGS=$ac_wine_try_cflags_saved
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13989 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13990 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13991 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13994 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13995 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13996 $as_echo_n "(cached) " >&6
13997 else
13998 ac_wine_try_cflags_saved=$CFLAGS
13999 CFLAGS="$CFLAGS -Wwrite-strings"
14000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14001 /* end confdefs.h. */
14002 int main(int argc, char **argv) { return 0; }
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_cflags__Wwrite_strings=yes
14006 else
14007 ac_cv_cflags__Wwrite_strings=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 CFLAGS=$ac_wine_try_cflags_saved
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14014 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14015 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14016 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14020 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14021 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14022 $as_echo_n "(cached) " >&6
14023 else
14024 ac_wine_try_cflags_saved=$CFLAGS
14025 CFLAGS="$CFLAGS -Wpointer-arith"
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 int main(int argc, char **argv) { return 0; }
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 ac_cv_cflags__Wpointer_arith=yes
14032 else
14033 ac_cv_cflags__Wpointer_arith=no
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14037 CFLAGS=$ac_wine_try_cflags_saved
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14040 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14041 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14042 saved_string_h_CFLAGS=$CFLAGS
14043 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14045 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14046 if ${ac_cv_c_string_h_warnings+:} false; then :
14047 $as_echo_n "(cached) " >&6
14048 else
14049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14051 #include <string.h>
14053 main ()
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_compile "$LINENO"; then :
14061 ac_cv_c_string_h_warnings=no
14062 else
14063 ac_cv_c_string_h_warnings=yes
14065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14068 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14069 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14070 CFLAGS=$saved_string_h_CFLAGS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14074 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14075 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_wine_try_cflags_saved=$CFLAGS
14079 CFLAGS="$CFLAGS -Wlogical-op"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 int main(int argc, char **argv) { return 0; }
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_cflags__Wlogical_op=yes
14086 else
14087 ac_cv_cflags__Wlogical_op=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 CFLAGS=$ac_wine_try_cflags_saved
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14094 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14095 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14096 saved_string_h_CFLAGS=$CFLAGS
14097 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14099 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14100 if ${ac_cv_c_logicalop_noisy+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 #include <string.h>
14106 char*f(const char *h,char n) {return strchr(h,n);}
14108 main ()
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_compile "$LINENO"; then :
14116 ac_cv_c_logicalop_noisy=no
14117 else
14118 ac_cv_c_logicalop_noisy=yes
14120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14123 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14124 CFLAGS=$saved_string_h_CFLAGS
14125 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14128 CFLAGS=$saved_CFLAGS
14130 for ac_flag in $CFLAGS; do
14131 case $ac_flag in
14132 -g) case $host_os in
14133 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14134 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14135 if ${ac_cv_cflags__gstabsp+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -gstabs+"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 int main(int argc, char **argv) { return 0; }
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_cflags__gstabsp=yes
14146 else
14147 ac_cv_cflags__gstabsp=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 CFLAGS=$ac_wine_try_cflags_saved
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14154 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14155 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14156 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14157 fi ;;
14158 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14159 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14160 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_wine_try_cflags_saved=$CFLAGS
14164 CFLAGS="$CFLAGS -gdwarf-2"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int main(int argc, char **argv) { return 0; }
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_cflags__gdwarf_2=yes
14171 else
14172 ac_cv_cflags__gdwarf_2=no
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 CFLAGS=$ac_wine_try_cflags_saved
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14179 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14180 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14181 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14184 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14185 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 ac_wine_try_cflags_saved=$CFLAGS
14189 CFLAGS="$CFLAGS -gstrict-dwarf"
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 int main(int argc, char **argv) { return 0; }
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_cflags__gstrict_dwarf=yes
14196 else
14197 ac_cv_cflags__gstrict_dwarf=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 CFLAGS=$ac_wine_try_cflags_saved
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14204 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14205 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14206 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14207 fi ;;
14208 esac ;;
14209 esac
14210 done
14212 case $host_cpu in
14213 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14214 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14215 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 ac_wine_try_cflags_saved=$CFLAGS
14219 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 int main(int argc, char **argv) { return 0; }
14223 _ACEOF
14224 if ac_fn_c_try_link "$LINENO"; then :
14225 ac_cv_cflags__fno_omit_frame_pointer=yes
14226 else
14227 ac_cv_cflags__fno_omit_frame_pointer=no
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 CFLAGS=$ac_wine_try_cflags_saved
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14234 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14235 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14236 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14237 fi ;;
14238 esac
14240 case $host in
14241 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14242 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14243 if ${ac_cv_cflags__Wno_format+:} false; then :
14244 $as_echo_n "(cached) " >&6
14245 else
14246 ac_wine_try_cflags_saved=$CFLAGS
14247 CFLAGS="$CFLAGS -Wno-format"
14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14249 /* end confdefs.h. */
14250 int main(int argc, char **argv) { return 0; }
14251 _ACEOF
14252 if ac_fn_c_try_link "$LINENO"; then :
14253 ac_cv_cflags__Wno_format=yes
14254 else
14255 ac_cv_cflags__Wno_format=no
14257 rm -f core conftest.err conftest.$ac_objext \
14258 conftest$ac_exeext conftest.$ac_ext
14259 CFLAGS=$ac_wine_try_cflags_saved
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14262 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14263 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14264 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14265 fi ;;
14266 esac
14268 if test "x$enable_maintainer_mode" = "xyes"
14269 then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14271 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14272 if ${ac_cv_cflags__Werror+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_wine_try_cflags_saved=$CFLAGS
14276 CFLAGS="$CFLAGS -Werror"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int main(int argc, char **argv) { return 0; }
14280 _ACEOF
14281 if ac_fn_c_try_link "$LINENO"; then :
14282 ac_cv_cflags__Werror=yes
14283 else
14284 ac_cv_cflags__Werror=no
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 CFLAGS=$ac_wine_try_cflags_saved
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14291 $as_echo "$ac_cv_cflags__Werror" >&6; }
14292 if test "x$ac_cv_cflags__Werror" = xyes; then :
14293 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14297 saved_CFLAGS="$CFLAGS"
14298 CFLAGS="$CFLAGS -Werror"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14300 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14301 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14306 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14308 main ()
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_compile "$LINENO"; then :
14316 ac_cv_have_ms_hook_prologue="yes"
14317 else
14318 ac_cv_have_ms_hook_prologue="no"
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14323 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14324 CFLAGS="$saved_CFLAGS"
14325 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14326 then
14328 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14330 else
14331 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14338 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14339 if ${ac_cv_c_fortify_enabled+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14344 #include <string.h>
14346 main ()
14348 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14349 #error Fortify enabled
14350 #endif
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_compile "$LINENO"; then :
14356 ac_cv_c_fortify_enabled=no
14357 else
14358 ac_cv_c_fortify_enabled=yes
14360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14363 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14364 if test "$ac_cv_c_fortify_enabled" = yes
14365 then
14366 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14371 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14372 if ${ac_cv_c_extern_prefix+:} false; then :
14373 $as_echo_n "(cached) " >&6
14374 else
14375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14376 /* end confdefs.h. */
14377 extern int ac_test;
14379 main ()
14381 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14383 return 0;
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_c_extern_prefix="yes"
14388 else
14389 ac_cv_c_extern_prefix="no"
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14395 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14397 case $host_cpu in
14398 *i[3456789]86*)
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14400 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14401 if ${ac_cv_c_stdcall_suffix+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #ifndef _MSC_VER
14407 #define __stdcall __attribute__((__stdcall__))
14408 #endif
14409 int __stdcall ac_test(int i) { return i; }
14411 main ()
14413 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_c_stdcall_suffix="yes"
14420 else
14421 ac_cv_c_stdcall_suffix="no"
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14427 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14428 *) ac_cv_c_stdcall_suffix="no" ;;
14429 esac
14432 if test "$ac_cv_c_extern_prefix" = "yes"
14433 then
14434 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14436 asm_name_prefix="_"
14437 else
14438 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14440 asm_name_prefix=""
14444 if test "$ac_cv_c_stdcall_suffix" = "yes"
14445 then
14446 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14448 else
14449 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14455 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14456 if ${ac_cv_asm_func_def+:} false; then :
14457 $as_echo_n "(cached) " >&6
14458 else
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14463 main ()
14465 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14467 return 0;
14469 _ACEOF
14470 if ac_fn_c_try_link "$LINENO"; then :
14471 ac_cv_asm_func_def=".def"
14472 else
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14477 main ()
14479 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14481 return 0;
14483 _ACEOF
14484 if ac_fn_c_try_link "$LINENO"; then :
14485 ac_cv_asm_func_def=".type @function"
14486 else
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14491 main ()
14493 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14495 return 0;
14497 _ACEOF
14498 if ac_fn_c_try_link "$LINENO"; then :
14499 ac_cv_asm_func_def=".type 2"
14500 else
14501 ac_cv_asm_func_def="unknown"
14503 rm -f core conftest.err conftest.$ac_objext \
14504 conftest$ac_exeext conftest.$ac_ext
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14509 rm -f core conftest.err conftest.$ac_objext \
14510 conftest$ac_exeext conftest.$ac_ext
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14513 $as_echo "$ac_cv_asm_func_def" >&6; }
14516 case "$ac_cv_asm_func_def" in
14517 ".def")
14518 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14520 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14521 ".type @function")
14522 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14524 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14525 ".type 2")
14526 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14528 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14530 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14532 asm_func_header="" ;;
14533 esac
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14536 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14537 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 asm(".text\n\t.long 0");
14544 main ()
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_compile "$LINENO"; then :
14552 ac_cv_c_asm_outside_funcs="yes"
14553 else
14554 ac_cv_c_asm_outside_funcs="no"
14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14559 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14562 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14563 if ${ac_cv_c_dot_previous+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14570 main ()
14572 asm(".text\nac_test:\t.long 0\n\t.previous");
14574 return 0;
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_c_dot_previous="yes"
14579 else
14580 ac_cv_c_dot_previous="no"
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14586 $as_echo "$ac_cv_c_dot_previous" >&6; }
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14589 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14590 if ${ac_cv_c_cfi_support+:} false; then :
14591 $as_echo_n "(cached) " >&6
14592 else
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 /* end confdefs.h. */
14595 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14597 main ()
14601 return 0;
14603 _ACEOF
14604 if ac_fn_c_try_compile "$LINENO"; then :
14605 ac_cv_c_cfi_support="yes"
14606 else
14607 ac_cv_c_cfi_support="no"
14609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14612 $as_echo "$ac_cv_c_cfi_support" >&6; }
14614 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14615 asm_func_trailer=""
14616 if test "$ac_cv_c_dot_previous" = "yes"
14617 then
14618 asm_func_trailer="\\n\\t.previous"
14620 if test "$ac_cv_c_cfi_support" = "yes"
14621 then
14622 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14623 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14625 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14627 UNWINDFLAGS=-fasynchronous-unwind-tables
14629 else
14630 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14634 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14637 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14638 then
14639 cat >>confdefs.h <<_ACEOF
14640 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14641 _ACEOF
14643 else
14644 cat >>confdefs.h <<_ACEOF
14645 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14646 _ACEOF
14650 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14653 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14657 case $build_os in
14658 cygwin*|mingw32*) TOOLSEXT=".exe"
14660 esac
14662 case $host_os in
14663 linux*)
14664 case $host_cpu in
14665 *i[3456789]86*|x86_64*)
14666 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14667 loader_programs="$loader_programs $wine_binary-preloader"
14668 as_fn_append LOADER_RULES "
14669 $wine_binary-preloader: preloader.o
14670 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14672 install install-lib:: $wine_binary-preloader
14673 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14675 uninstall::
14676 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14678 preloader_EXTRADEFS = $BUILTINFLAG
14679 " ;;
14680 esac
14682 esac
14683 as_fn_append LOADER_RULES "
14684 PROGRAMS = $loader_programs
14688 ac_save_CFLAGS="$CFLAGS"
14689 CFLAGS="$CFLAGS $BUILTINFLAG"
14690 for ac_func in \
14691 __res_get_state \
14692 __res_getservers \
14693 _finite \
14694 _isnan \
14695 _pclose \
14696 _popen \
14697 _snprintf \
14698 _spawnvp \
14699 _strdup \
14700 _stricmp \
14701 _strnicmp \
14702 _strtoi64 \
14703 _strtoui64 \
14704 _vsnprintf \
14705 asctime_r \
14706 chsize \
14707 dlopen \
14708 epoll_create \
14709 ffs \
14710 finitef \
14711 fnmatch \
14712 fork \
14713 fpclass \
14714 fstatfs \
14715 fstatvfs \
14716 ftruncate \
14717 futimens \
14718 futimes \
14719 futimesat \
14720 getattrlist \
14721 getdirentries \
14722 getopt_long_only \
14723 getpwuid \
14724 gettimeofday \
14725 getuid \
14726 if_nameindex \
14727 isnanf \
14728 kqueue \
14729 lstat \
14730 memmove \
14731 mmap \
14732 pclose \
14733 pipe2 \
14734 poll \
14735 popen \
14736 port_create \
14737 prctl \
14738 pread \
14739 proc_pidinfo \
14740 pwrite \
14741 readdir \
14742 readlink \
14743 sched_yield \
14744 select \
14745 setproctitle \
14746 setrlimit \
14747 settimeofday \
14748 sigaltstack \
14749 sigprocmask \
14750 snprintf \
14751 statfs \
14752 statvfs \
14753 strcasecmp \
14754 strdup \
14755 strerror \
14756 strncasecmp \
14757 strtold \
14758 strtoll \
14759 strtoull \
14760 symlink \
14761 tcdrain \
14762 thr_kill2 \
14763 timegm \
14764 usleep \
14765 vsnprintf
14767 do :
14768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14770 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14771 cat >>confdefs.h <<_ACEOF
14772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14773 _ACEOF
14776 done
14778 CFLAGS="$ac_save_CFLAGS"
14780 if test "$ac_cv_func_dlopen" = no
14781 then
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14783 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14784 if ${ac_cv_lib_dl_dlopen+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_check_lib_save_LIBS=$LIBS
14788 LIBS="-ldl $LIBS"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 /* Override any GCC internal prototype to avoid an error.
14793 Use char because int might match the return type of a GCC
14794 builtin and then its argument prototype would still apply. */
14795 #ifdef __cplusplus
14796 extern "C"
14797 #endif
14798 char dlopen ();
14800 main ()
14802 return dlopen ();
14804 return 0;
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_lib_dl_dlopen=yes
14809 else
14810 ac_cv_lib_dl_dlopen=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 LIBS=$ac_check_lib_save_LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14817 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14818 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14819 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14820 DL_LIBS="-ldl"
14825 ac_wine_check_funcs_save_LIBS="$LIBS"
14826 LIBS="$LIBS $DL_LIBS"
14827 for ac_func in dladdr
14828 do :
14829 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14830 if test "x$ac_cv_func_dladdr" = xyes; then :
14831 cat >>confdefs.h <<_ACEOF
14832 #define HAVE_DLADDR 1
14833 _ACEOF
14836 done
14838 LIBS="$ac_wine_check_funcs_save_LIBS"
14840 if test "$ac_cv_func_poll" = no
14841 then
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14843 $as_echo_n "checking for poll in -lpoll... " >&6; }
14844 if ${ac_cv_lib_poll_poll+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 ac_check_lib_save_LIBS=$LIBS
14848 LIBS="-lpoll $LIBS"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 #ifdef __cplusplus
14856 extern "C"
14857 #endif
14858 char poll ();
14860 main ()
14862 return poll ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_lib_poll_poll=yes
14869 else
14870 ac_cv_lib_poll_poll=no
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_lib_save_LIBS
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14877 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14878 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14879 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14880 POLL_LIBS="-lpoll"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14887 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14888 if ${ac_cv_search_gethostbyname+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_func_search_save_LIBS=$LIBS
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 char gethostbyname ();
14903 main ()
14905 return gethostbyname ();
14907 return 0;
14909 _ACEOF
14910 for ac_lib in '' nsl; do
14911 if test -z "$ac_lib"; then
14912 ac_res="none required"
14913 else
14914 ac_res=-l$ac_lib
14915 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_search_gethostbyname=$ac_res
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext
14922 if ${ac_cv_search_gethostbyname+:} false; then :
14923 break
14925 done
14926 if ${ac_cv_search_gethostbyname+:} false; then :
14928 else
14929 ac_cv_search_gethostbyname=no
14931 rm conftest.$ac_ext
14932 LIBS=$ac_func_search_save_LIBS
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14935 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14936 ac_res=$ac_cv_search_gethostbyname
14937 if test "$ac_res" != no; then :
14938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14944 $as_echo_n "checking for library containing connect... " >&6; }
14945 if ${ac_cv_search_connect+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 ac_func_search_save_LIBS=$LIBS
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char connect ();
14960 main ()
14962 return connect ();
14964 return 0;
14966 _ACEOF
14967 for ac_lib in '' socket; do
14968 if test -z "$ac_lib"; then
14969 ac_res="none required"
14970 else
14971 ac_res=-l$ac_lib
14972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_search_connect=$ac_res
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext
14979 if ${ac_cv_search_connect+:} false; then :
14980 break
14982 done
14983 if ${ac_cv_search_connect+:} false; then :
14985 else
14986 ac_cv_search_connect=no
14988 rm conftest.$ac_ext
14989 LIBS=$ac_func_search_save_LIBS
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14992 $as_echo "$ac_cv_search_connect" >&6; }
14993 ac_res=$ac_cv_search_connect
14994 if test "$ac_res" != no; then :
14995 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15001 $as_echo_n "checking for library containing inet_aton... " >&6; }
15002 if ${ac_cv_search_inet_aton+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 ac_func_search_save_LIBS=$LIBS
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15012 #ifdef __cplusplus
15013 extern "C"
15014 #endif
15015 char inet_aton ();
15017 main ()
15019 return inet_aton ();
15021 return 0;
15023 _ACEOF
15024 for ac_lib in '' resolv; do
15025 if test -z "$ac_lib"; then
15026 ac_res="none required"
15027 else
15028 ac_res=-l$ac_lib
15029 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15031 if ac_fn_c_try_link "$LINENO"; then :
15032 ac_cv_search_inet_aton=$ac_res
15034 rm -f core conftest.err conftest.$ac_objext \
15035 conftest$ac_exeext
15036 if ${ac_cv_search_inet_aton+:} false; then :
15037 break
15039 done
15040 if ${ac_cv_search_inet_aton+:} false; then :
15042 else
15043 ac_cv_search_inet_aton=no
15045 rm conftest.$ac_ext
15046 LIBS=$ac_func_search_save_LIBS
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15049 $as_echo "$ac_cv_search_inet_aton" >&6; }
15050 ac_res=$ac_cv_search_inet_aton
15051 if test "$ac_res" != no; then :
15052 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15057 for ac_func in \
15058 getaddrinfo \
15059 getnameinfo \
15060 getnetbyname \
15061 getprotobyname \
15062 getprotobynumber \
15063 getservbyport \
15064 inet_addr \
15065 inet_network \
15066 inet_ntop \
15067 inet_pton \
15068 sendmsg \
15069 socketpair \
15071 do :
15072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15074 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15077 _ACEOF
15080 done
15083 ac_save_LIBS=$LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15085 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15086 if ${ac_cv_search_clock_gettime+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 ac_func_search_save_LIBS=$LIBS
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15096 #ifdef __cplusplus
15097 extern "C"
15098 #endif
15099 char clock_gettime ();
15101 main ()
15103 return clock_gettime ();
15105 return 0;
15107 _ACEOF
15108 for ac_lib in '' rt; do
15109 if test -z "$ac_lib"; then
15110 ac_res="none required"
15111 else
15112 ac_res=-l$ac_lib
15113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15115 if ac_fn_c_try_link "$LINENO"; then :
15116 ac_cv_search_clock_gettime=$ac_res
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext
15120 if ${ac_cv_search_clock_gettime+:} false; then :
15121 break
15123 done
15124 if ${ac_cv_search_clock_gettime+:} false; then :
15126 else
15127 ac_cv_search_clock_gettime=no
15129 rm conftest.$ac_ext
15130 LIBS=$ac_func_search_save_LIBS
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15133 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15134 ac_res=$ac_cv_search_clock_gettime
15135 if test "$ac_res" != no; then :
15136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15138 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15140 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15144 LIBS=$ac_save_LIBS
15146 LDAP_LIBS=""
15148 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15149 then
15150 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15152 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15154 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15155 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 ac_check_lib_save_LIBS=$LIBS
15159 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15166 #ifdef __cplusplus
15167 extern "C"
15168 #endif
15169 char ldap_initialize ();
15171 main ()
15173 return ldap_initialize ();
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"; then :
15179 ac_cv_lib_ldap_r_ldap_initialize=yes
15180 else
15181 ac_cv_lib_ldap_r_ldap_initialize=no
15183 rm -f core conftest.err conftest.$ac_objext \
15184 conftest$ac_exeext conftest.$ac_ext
15185 LIBS=$ac_check_lib_save_LIBS
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15188 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15189 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15191 $as_echo_n "checking for ber_init in -llber... " >&6; }
15192 if ${ac_cv_lib_lber_ber_init+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 ac_check_lib_save_LIBS=$LIBS
15196 LIBS="-llber $PTHREAD_LIBS $LIBS"
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15200 /* Override any GCC internal prototype to avoid an error.
15201 Use char because int might match the return type of a GCC
15202 builtin and then its argument prototype would still apply. */
15203 #ifdef __cplusplus
15204 extern "C"
15205 #endif
15206 char ber_init ();
15208 main ()
15210 return ber_init ();
15212 return 0;
15214 _ACEOF
15215 if ac_fn_c_try_link "$LINENO"; then :
15216 ac_cv_lib_lber_ber_init=yes
15217 else
15218 ac_cv_lib_lber_ber_init=no
15220 rm -f core conftest.err conftest.$ac_objext \
15221 conftest$ac_exeext conftest.$ac_ext
15222 LIBS=$ac_check_lib_save_LIBS
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15225 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15226 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15228 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15230 LDAP_LIBS="-lldap_r -llber"
15237 ac_wine_check_funcs_save_LIBS="$LIBS"
15238 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15239 for ac_func in \
15240 ldap_count_references \
15241 ldap_first_reference \
15242 ldap_next_reference \
15243 ldap_parse_reference \
15244 ldap_parse_sort_control \
15245 ldap_parse_sortresponse_control \
15246 ldap_parse_vlv_control \
15247 ldap_parse_vlvresponse_control
15248 do :
15249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15251 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15252 cat >>confdefs.h <<_ACEOF
15253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 _ACEOF
15257 done
15259 LIBS="$ac_wine_check_funcs_save_LIBS"
15261 if test "x$LDAP_LIBS" = "x"; then :
15262 case "x$with_ldap" in
15263 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15264 xno) ;;
15265 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15266 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15267 esac
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15271 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15272 if ${wine_cv_one_arg_mkdir+:} false; then :
15273 $as_echo_n "(cached) " >&6
15274 else
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 #include <sys/stat.h>
15279 main ()
15281 mkdir("foo");
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_compile "$LINENO"; then :
15287 wine_cv_one_arg_mkdir=yes
15288 else
15289 wine_cv_one_arg_mkdir=no
15291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15294 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15295 if test "$wine_cv_one_arg_mkdir" = "yes"
15296 then
15298 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15303 $as_echo_n "checking for sched_setaffinity... " >&6; }
15304 if ${wine_cv_have_sched_setaffinity+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309 #define _GNU_SOURCE
15310 #include <sched.h>
15312 main ()
15314 sched_setaffinity(0, 0, 0);
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 wine_cv_have_sched_setaffinity=yes
15321 else
15322 wine_cv_have_sched_setaffinity=no
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15328 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15329 if test "$wine_cv_have_sched_setaffinity" = "yes"
15330 then
15332 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15337 $as_echo_n "checking for fallocate... " >&6; }
15338 if ${wine_cv_have_fallocate+:} false; then :
15339 $as_echo_n "(cached) " >&6
15340 else
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15343 #define _GNU_SOURCE
15344 #include <fcntl.h>
15346 main ()
15348 fallocate(-1, 0, 0, 0);
15350 return 0;
15352 _ACEOF
15353 if ac_fn_c_try_link "$LINENO"; then :
15354 wine_cv_have_fallocate=yes
15355 else
15356 wine_cv_have_fallocate=no
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15362 $as_echo "$wine_cv_have_fallocate" >&6; }
15363 if test "$wine_cv_have_fallocate" = "yes"
15364 then
15366 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15372 $as_echo_n "checking for inline... " >&6; }
15373 if ${ac_cv_c_inline+:} false; then :
15374 $as_echo_n "(cached) " >&6
15375 else
15376 ac_cv_c_inline=no
15377 for ac_kw in inline __inline__ __inline; do
15378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h. */
15380 #ifndef __cplusplus
15381 typedef int foo_t;
15382 static $ac_kw foo_t static_foo () {return 0; }
15383 $ac_kw foo_t foo () {return 0; }
15384 #endif
15386 _ACEOF
15387 if ac_fn_c_try_compile "$LINENO"; then :
15388 ac_cv_c_inline=$ac_kw
15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15391 test "$ac_cv_c_inline" != no && break
15392 done
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15396 $as_echo "$ac_cv_c_inline" >&6; }
15398 case $ac_cv_c_inline in
15399 inline | yes) ;;
15401 case $ac_cv_c_inline in
15402 no) ac_val=;;
15403 *) ac_val=$ac_cv_c_inline;;
15404 esac
15405 cat >>confdefs.h <<_ACEOF
15406 #ifndef __cplusplus
15407 #define inline $ac_val
15408 #endif
15409 _ACEOF
15411 esac
15413 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15414 if test "x$ac_cv_type_mode_t" = xyes; then :
15416 cat >>confdefs.h <<_ACEOF
15417 #define HAVE_MODE_T 1
15418 _ACEOF
15422 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15423 if test "x$ac_cv_type_off_t" = xyes; then :
15425 cat >>confdefs.h <<_ACEOF
15426 #define HAVE_OFF_T 1
15427 _ACEOF
15431 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15432 if test "x$ac_cv_type_pid_t" = xyes; then :
15434 cat >>confdefs.h <<_ACEOF
15435 #define HAVE_PID_T 1
15436 _ACEOF
15440 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15441 if test "x$ac_cv_type_size_t" = xyes; then :
15443 cat >>confdefs.h <<_ACEOF
15444 #define HAVE_SIZE_T 1
15445 _ACEOF
15449 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15450 if test "x$ac_cv_type_ssize_t" = xyes; then :
15452 cat >>confdefs.h <<_ACEOF
15453 #define HAVE_SSIZE_T 1
15454 _ACEOF
15458 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15459 if test "x$ac_cv_type_long_long" = xyes; then :
15461 cat >>confdefs.h <<_ACEOF
15462 #define HAVE_LONG_LONG 1
15463 _ACEOF
15467 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15468 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15470 cat >>confdefs.h <<_ACEOF
15471 #define HAVE_FSBLKCNT_T 1
15472 _ACEOF
15476 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15477 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_FSFILCNT_T 1
15481 _ACEOF
15486 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15487 #include <signal.h>
15489 if test "x$ac_cv_type_sigset_t" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_SIGSET_T 1
15493 _ACEOF
15498 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15500 if test "x$ac_cv_type_request_sense" = xyes; then :
15502 cat >>confdefs.h <<_ACEOF
15503 #define HAVE_REQUEST_SENSE 1
15504 _ACEOF
15510 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15511 #ifdef HAVE_SYS_SOCKET_H
15512 #include <sys/socket.h>
15513 #endif
15514 #ifdef HAVE_SYS_SOCKETVAR_H
15515 #include <sys/socketvar.h>
15516 #endif
15517 #ifdef HAVE_NET_ROUTE_H
15518 #include <net/route.h>
15519 #endif
15520 #ifdef HAVE_NETINET_IN_H
15521 #include <netinet/in.h>
15522 #endif
15523 #ifdef HAVE_NETINET_IN_SYSTM_H
15524 #include <netinet/in_systm.h>
15525 #endif
15526 #ifdef HAVE_NETINET_IP_H
15527 #include <netinet/ip.h>
15528 #endif
15529 #ifdef HAVE_NETINET_IN_PCB_H
15530 #include <netinet/in_pcb.h>
15531 #endif
15533 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15535 cat >>confdefs.h <<_ACEOF
15536 #define HAVE_STRUCT_XINPGEN 1
15537 _ACEOF
15543 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15544 #include <link.h>
15545 #endif
15546 #ifdef HAVE_SYS_LINK_H
15547 #include <sys/link.h>
15548 #endif
15550 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define HAVE_STRUCT_R_DEBUG 1
15554 _ACEOF
15558 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15559 #include <link.h>
15560 #endif
15561 #ifdef HAVE_SYS_LINK_H
15562 #include <sys/link.h>
15563 #endif
15565 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15567 cat >>confdefs.h <<_ACEOF
15568 #define HAVE_STRUCT_LINK_MAP 1
15569 _ACEOF
15575 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15576 #include <linux/input.h>
15577 #endif
15579 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15583 _ACEOF
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15590 $as_echo_n "checking for sigaddset... " >&6; }
15591 if ${wine_cv_have_sigaddset+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15596 #include <signal.h>
15598 main ()
15600 sigset_t set; sigaddset(&set,SIGTERM);
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 wine_cv_have_sigaddset=yes
15607 else
15608 wine_cv_have_sigaddset=no
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15614 $as_echo "$wine_cv_have_sigaddset" >&6; }
15615 if test "$wine_cv_have_sigaddset" = "yes"
15616 then
15618 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15624 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15625 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15626 $as_echo_n "(cached) " >&6
15627 else
15628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h. */
15630 #include <netdb.h>
15632 main ()
15635 char *name=0;
15636 struct hostent he;
15637 struct hostent *result;
15638 char *buf=0;
15639 int bufsize=0;
15640 int errnr;
15641 char *addr=0;
15642 int addrlen=0;
15643 int addrtype=0;
15644 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15645 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15648 return 0;
15650 _ACEOF
15651 if ac_fn_c_try_link "$LINENO"; then :
15652 wine_cv_linux_gethostbyname_r_6=yes
15653 else
15654 wine_cv_linux_gethostbyname_r_6=no
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15662 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15663 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15664 then
15666 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15670 if test "$ac_cv_header_linux_joystick_h" = "yes"
15671 then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15673 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15674 if ${wine_cv_linux_joystick_22_api+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 #include <sys/ioctl.h>
15681 #include <sys/types.h>
15682 #include <linux/joystick.h>
15684 struct js_event blub;
15685 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15686 #error "no 2.2 header"
15687 #endif
15690 main ()
15692 /*empty*/
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_compile "$LINENO"; then :
15698 wine_cv_linux_joystick_22_api=yes
15699 else
15700 wine_cv_linux_joystick_22_api=no
15702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15706 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15707 if test "$wine_cv_linux_joystick_22_api" = "yes"
15708 then
15710 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15716 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15717 #ifdef HAVE_SYS_PARAM_H
15718 # include <sys/param.h>
15719 #endif
15720 #ifdef HAVE_SYS_MOUNT_H
15721 # include <sys/mount.h>
15722 #endif
15723 #ifdef HAVE_SYS_VFS_H
15724 # include <sys/vfs.h>
15725 #endif
15726 #ifdef HAVE_SYS_STATFS_H
15727 # include <sys/statfs.h>
15728 #endif
15730 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_STATFS_F_BFREE 1
15734 _ACEOF
15738 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15739 #ifdef HAVE_SYS_PARAM_H
15740 # include <sys/param.h>
15741 #endif
15742 #ifdef HAVE_SYS_MOUNT_H
15743 # include <sys/mount.h>
15744 #endif
15745 #ifdef HAVE_SYS_VFS_H
15746 # include <sys/vfs.h>
15747 #endif
15748 #ifdef HAVE_SYS_STATFS_H
15749 # include <sys/statfs.h>
15750 #endif
15752 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15756 _ACEOF
15760 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15761 #ifdef HAVE_SYS_PARAM_H
15762 # include <sys/param.h>
15763 #endif
15764 #ifdef HAVE_SYS_MOUNT_H
15765 # include <sys/mount.h>
15766 #endif
15767 #ifdef HAVE_SYS_VFS_H
15768 # include <sys/vfs.h>
15769 #endif
15770 #ifdef HAVE_SYS_STATFS_H
15771 # include <sys/statfs.h>
15772 #endif
15774 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15778 _ACEOF
15782 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15783 #ifdef HAVE_SYS_PARAM_H
15784 # include <sys/param.h>
15785 #endif
15786 #ifdef HAVE_SYS_MOUNT_H
15787 # include <sys/mount.h>
15788 #endif
15789 #ifdef HAVE_SYS_VFS_H
15790 # include <sys/vfs.h>
15791 #endif
15792 #ifdef HAVE_SYS_STATFS_H
15793 # include <sys/statfs.h>
15794 #endif
15796 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15798 cat >>confdefs.h <<_ACEOF
15799 #define HAVE_STRUCT_STATFS_F_FFREE 1
15800 _ACEOF
15804 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15805 #ifdef HAVE_SYS_PARAM_H
15806 # include <sys/param.h>
15807 #endif
15808 #ifdef HAVE_SYS_MOUNT_H
15809 # include <sys/mount.h>
15810 #endif
15811 #ifdef HAVE_SYS_VFS_H
15812 # include <sys/vfs.h>
15813 #endif
15814 #ifdef HAVE_SYS_STATFS_H
15815 # include <sys/statfs.h>
15816 #endif
15818 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15822 _ACEOF
15826 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15827 #ifdef HAVE_SYS_PARAM_H
15828 # include <sys/param.h>
15829 #endif
15830 #ifdef HAVE_SYS_MOUNT_H
15831 # include <sys/mount.h>
15832 #endif
15833 #ifdef HAVE_SYS_VFS_H
15834 # include <sys/vfs.h>
15835 #endif
15836 #ifdef HAVE_SYS_STATFS_H
15837 # include <sys/statfs.h>
15838 #endif
15840 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15842 cat >>confdefs.h <<_ACEOF
15843 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15844 _ACEOF
15850 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15851 #include <sys/statvfs.h>
15852 #endif
15854 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15858 _ACEOF
15864 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15865 #include <dirent.h>
15866 #endif
15868 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15872 _ACEOF
15878 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15879 #ifdef HAVE_SYS_SOCKET_H
15880 # include <sys/socket.h>
15881 #endif
15882 #ifdef HAVE_SYS_UN_H
15883 # include <sys/un.h>
15884 #endif
15886 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15890 _ACEOF
15894 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15895 #ifdef HAVE_SYS_SOCKET_H
15896 # include <sys/socket.h>
15897 #endif
15898 #ifdef HAVE_SYS_UN_H
15899 # include <sys/un.h>
15900 #endif
15902 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15904 cat >>confdefs.h <<_ACEOF
15905 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15906 _ACEOF
15910 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15911 #ifdef HAVE_SYS_SOCKET_H
15912 # include <sys/socket.h>
15913 #endif
15914 #ifdef HAVE_SYS_UN_H
15915 # include <sys/un.h>
15916 #endif
15918 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15922 _ACEOF
15928 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15929 #ifdef HAVE_SCSI_SG_H
15930 #include <scsi/sg.h>
15931 #endif
15933 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_SCSIREQ_T_CMD 1
15937 _ACEOF
15941 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>
15942 #ifdef HAVE_SCSI_SG_H
15943 #include <scsi/sg.h>
15944 #endif
15946 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15950 _ACEOF
15956 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15958 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_SIGINFO_T_SI_FD 1
15962 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15969 #ifdef HAVE_SYS_MTIO_H
15970 #include <sys/mtio.h>
15971 #endif
15973 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15977 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_MTIO_H
15983 #include <sys/mtio.h>
15984 #endif
15986 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15990 _ACEOF
15994 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15995 #ifdef HAVE_SYS_MTIO_H
15996 #include <sys/mtio.h>
15997 #endif
15999 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16003 _ACEOF
16009 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16010 #include <getopt.h>
16011 #endif
16013 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT_OPTION_NAME 1
16017 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16024 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16028 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16033 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT_STAT_ST_MTIM 1
16037 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16042 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16046 _ACEOF
16050 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16051 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_STAT_ST_CTIM 1
16055 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16071 cat >>confdefs.h <<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_ATIM 1
16073 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16082 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16091 _ACEOF
16095 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16096 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16100 _ACEOF
16104 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16105 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16109 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16114 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16118 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16123 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16127 _ACEOF
16133 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
16134 #include <sys/types.h>
16135 #endif
16136 #ifdef HAVE_NETINET_IN_H
16137 #include <netinet/in.h>
16138 #endif
16140 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16144 _ACEOF
16150 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16151 #include <resolv.h>
16152 #endif
16154 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT___RES_STATE 1
16158 _ACEOF
16164 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
16165 #include <resolv.h>
16166 #endif
16168 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16172 _ACEOF
16178 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16179 #include <sys/types.h>
16180 #endif
16181 #ifdef HAVE_NETINET_IN_H
16182 # include <netinet/in.h>
16183 #endif
16184 #ifdef HAVE_ARPA_NAMESER_H
16185 # include <arpa/nameser.h>
16186 #endif
16188 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define HAVE_NS_MSG__MSG_PTR 1
16192 _ACEOF
16198 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16199 #include <sys/types.h>
16200 #endif
16201 #ifdef HAVE_NETINET_IP_H
16202 #include <netinet/ip.h>
16203 #endif
16204 #ifdef HAVE_NETINET_IP_ICMP_H
16205 #include <netinet/ip_icmp.h>
16206 #endif
16207 #ifdef HAVE_NETINET_ICMP_VAR_H
16208 #include <netinet/icmp_var.h>
16209 #endif
16211 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16215 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16222 #include <sys/types.h>
16223 #endif
16224 #ifdef HAVE_ALIAS_H
16225 #include <alias.h>
16226 #endif
16227 #ifdef HAVE_SYS_SOCKET_H
16228 #include <sys/socket.h>
16229 #endif
16230 #ifdef HAVE_SYS_SOCKETVAR_H
16231 #include <sys/socketvar.h>
16232 #endif
16233 #ifdef HAVE_SYS_TIMEOUT_H
16234 #include <sys/timeout.h>
16235 #endif
16236 #ifdef HAVE_NETINET_IN_H
16237 #include <netinet/in.h>
16238 #endif
16239 #ifdef HAVE_NETINET_IN_SYSTM_H
16240 #include <netinet/in_systm.h>
16241 #endif
16242 #ifdef HAVE_NETINET_IP_H
16243 #include <netinet/ip.h>
16244 #endif
16245 #ifdef HAVE_NETINET_IP_VAR_H
16246 #include <netinet/ip_var.h>
16247 #endif
16248 #ifdef HAVE_NETINET_IP_ICMP_H
16249 #include <netinet/ip_icmp.h>
16250 #endif
16251 #ifdef HAVE_NETINET_ICMP_VAR_H
16252 #include <netinet/icmp_var.h>
16253 #endif
16255 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16259 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16266 #include <sys/types.h>
16267 #endif
16268 #ifdef HAVE_SYS_SOCKETVAR_H
16269 #include <sys/socketvar.h>
16270 #endif
16271 #ifdef HAVE_NETINET_IN_H
16272 #include <netinet/in.h>
16273 #endif
16274 #ifdef HAVE_NETINET_IP_VAR_H
16275 #include <netinet/ip_var.h>
16276 #endif
16278 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16282 _ACEOF
16288 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
16289 #include <netinet/ip_var.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16296 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16303 #include <sys/types.h>
16304 #endif
16305 #ifdef HAVE_SYS_SOCKETVAR_H
16306 #include <sys/socketvar.h>
16307 #endif
16308 #ifdef HAVE_NETINET_IN_H
16309 #include <netinet/in.h>
16310 #endif
16311 #ifdef HAVE_NETINET_TCP_H
16312 #include <netinet/tcp.h>
16313 #endif
16314 #ifdef HAVE_NETINET_TCP_VAR_H
16315 #include <netinet/tcp_var.h>
16316 #endif
16318 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16322 _ACEOF
16328 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
16329 #include <netinet/tcp_var.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16336 _ACEOF
16342 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16343 #include <sys/types.h>
16344 #endif
16345 #ifdef HAVE_NETINET_IN_H
16346 #include <netinet/in.h>
16347 #endif
16348 #ifdef HAVE_NETINET_IP_VAR_H
16349 #include <netinet/ip_var.h>
16350 #endif
16351 #ifdef HAVE_NETINET_UDP_H
16352 #include <netinet/udp.h>
16353 #endif
16354 #ifdef HAVE_NETINET_UDP_VAR_H
16355 #include <netinet/udp_var.h>
16356 #endif
16358 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16362 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16369 #include <sys/types.h>
16370 #endif
16371 #ifdef HAVE_NET_IF_H
16372 # include <net/if.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16379 _ACEOF
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16386 $as_echo_n "checking for timezone variable... " >&6; }
16387 if ${ac_cv_have_timezone+:} false; then :
16388 $as_echo_n "(cached) " >&6
16389 else
16390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #include <time.h>
16394 main ()
16396 timezone = 1
16398 return 0;
16400 _ACEOF
16401 if ac_fn_c_try_link "$LINENO"; then :
16402 ac_cv_have_timezone="yes"
16403 else
16404 ac_cv_have_timezone="no"
16406 rm -f core conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16410 $as_echo "$ac_cv_have_timezone" >&6; }
16411 if test "$ac_cv_have_timezone" = "yes"
16412 then
16414 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16418 $as_echo_n "checking for daylight variable... " >&6; }
16419 if ${ac_cv_have_daylight+:} false; then :
16420 $as_echo_n "(cached) " >&6
16421 else
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 #include <time.h>
16426 main ()
16428 daylight = 1
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_link "$LINENO"; then :
16434 ac_cv_have_daylight="yes"
16435 else
16436 ac_cv_have_daylight="no"
16438 rm -f core conftest.err conftest.$ac_objext \
16439 conftest$ac_exeext conftest.$ac_ext
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16442 $as_echo "$ac_cv_have_daylight" >&6; }
16443 if test "$ac_cv_have_daylight" = "yes"
16444 then
16446 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16450 ac_save_LIBS="$LIBS"
16451 LIBS="$LIBS -lm"
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16453 $as_echo_n "checking for isfinite... " >&6; }
16454 if ${ac_cv_have_isfinite+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #define _GNU_SOURCE
16460 #include <math.h>
16462 main ()
16464 float f = 0.0; return isfinite(f)
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"; then :
16470 ac_cv_have_isfinite="yes"
16471 else
16472 ac_cv_have_isfinite="no"
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16478 $as_echo "$ac_cv_have_isfinite" >&6; }
16479 if test "$ac_cv_have_isfinite" = "yes"
16480 then
16482 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16487 $as_echo_n "checking for isinf... " >&6; }
16488 if ${ac_cv_have_isinf+:} false; then :
16489 $as_echo_n "(cached) " >&6
16490 else
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #include <math.h>
16495 main ()
16497 float f = 0.0; return isinf(f)
16499 return 0;
16501 _ACEOF
16502 if ac_fn_c_try_link "$LINENO"; then :
16503 ac_cv_have_isinf="yes"
16504 else
16505 ac_cv_have_isinf="no"
16507 rm -f core conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16511 $as_echo "$ac_cv_have_isinf" >&6; }
16512 if test "$ac_cv_have_isinf" = "yes"
16513 then
16515 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16520 $as_echo_n "checking for isnan... " >&6; }
16521 if ${ac_cv_have_isnan+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16526 #include <math.h>
16528 main ()
16530 float f = 0.0; return isnan(f)
16532 return 0;
16534 _ACEOF
16535 if ac_fn_c_try_link "$LINENO"; then :
16536 ac_cv_have_isnan="yes"
16537 else
16538 ac_cv_have_isnan="no"
16540 rm -f core conftest.err conftest.$ac_objext \
16541 conftest$ac_exeext conftest.$ac_ext
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16544 $as_echo "$ac_cv_have_isnan" >&6; }
16545 if test "$ac_cv_have_isnan" = "yes"
16546 then
16548 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16552 for ac_func in \
16553 cbrt \
16554 cbrtf \
16555 exp2 \
16556 exp2f \
16557 llrint \
16558 llrintf \
16559 llround \
16560 llroundf \
16561 log2 \
16562 log2f \
16563 lrint \
16564 lrintf \
16565 lround \
16566 lroundf \
16567 rint \
16568 rintf \
16569 round \
16570 roundf \
16571 trunc \
16572 truncf
16574 do :
16575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16580 _ACEOF
16583 done
16585 LIBS="$ac_save_LIBS"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16588 $as_echo_n "checking for __builtin_clz... " >&6; }
16589 if ${ac_cv_have___builtin_clz+:} false; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16596 main ()
16598 return __builtin_clz(1)
16600 return 0;
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"; then :
16604 ac_cv_have___builtin_clz="yes"
16605 else
16606 ac_cv_have___builtin_clz="no"
16608 rm -f core conftest.err conftest.$ac_objext \
16609 conftest$ac_exeext conftest.$ac_ext
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16612 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16613 if test "$ac_cv_have___builtin_clz" = "yes"
16614 then
16616 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16621 case $host_cpu in
16622 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16623 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16624 if ${ac_cv_cpp_def___i386__+:} false; then :
16625 $as_echo_n "(cached) " >&6
16626 else
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #ifndef __i386__
16631 #endif
16632 _ACEOF
16633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16634 $EGREP "yes" >/dev/null 2>&1; then :
16635 ac_cv_cpp_def___i386__=yes
16636 else
16637 ac_cv_cpp_def___i386__=no
16639 rm -f conftest*
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16643 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16644 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16645 CFLAGS="$CFLAGS -D__i386__"
16646 LINTFLAGS="$LINTFLAGS -D__i386__"
16647 fi ;;
16648 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16649 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16650 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16651 $as_echo_n "(cached) " >&6
16652 else
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16655 #ifndef __x86_64__
16657 #endif
16658 _ACEOF
16659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16660 $EGREP "yes" >/dev/null 2>&1; then :
16661 ac_cv_cpp_def___x86_64__=yes
16662 else
16663 ac_cv_cpp_def___x86_64__=no
16665 rm -f conftest*
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16669 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16670 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16671 CFLAGS="$CFLAGS -D__x86_64__"
16672 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16673 fi ;;
16674 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16675 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16676 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16677 $as_echo_n "(cached) " >&6
16678 else
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16681 #ifndef __sparc64__
16683 #endif
16684 _ACEOF
16685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16686 $EGREP "yes" >/dev/null 2>&1; then :
16687 ac_cv_cpp_def___sparc64__=yes
16688 else
16689 ac_cv_cpp_def___sparc64__=no
16691 rm -f conftest*
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16695 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16696 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16697 CFLAGS="$CFLAGS -D__sparc64__"
16698 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16699 fi ;;
16700 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16701 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16702 if ${ac_cv_cpp_def___sparc__+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #ifndef __sparc__
16709 #endif
16710 _ACEOF
16711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16712 $EGREP "yes" >/dev/null 2>&1; then :
16713 ac_cv_cpp_def___sparc__=yes
16714 else
16715 ac_cv_cpp_def___sparc__=no
16717 rm -f conftest*
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16721 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16722 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16723 CFLAGS="$CFLAGS -D__sparc__"
16724 LINTFLAGS="$LINTFLAGS -D__sparc__"
16725 fi ;;
16726 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16727 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16728 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #ifndef __powerpc64__
16735 #endif
16736 _ACEOF
16737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16738 $EGREP "yes" >/dev/null 2>&1; then :
16739 ac_cv_cpp_def___powerpc64__=yes
16740 else
16741 ac_cv_cpp_def___powerpc64__=no
16743 rm -f conftest*
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16747 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16748 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16749 CFLAGS="$CFLAGS -D__powerpc64__"
16750 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16751 fi ;;
16752 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16753 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16754 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #ifndef __powerpc__
16761 #endif
16762 _ACEOF
16763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16764 $EGREP "yes" >/dev/null 2>&1; then :
16765 ac_cv_cpp_def___powerpc__=yes
16766 else
16767 ac_cv_cpp_def___powerpc__=no
16769 rm -f conftest*
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16773 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16774 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16775 CFLAGS="$CFLAGS -D__powerpc__"
16776 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16777 fi ;;
16778 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16779 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16780 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16781 $as_echo_n "(cached) " >&6
16782 else
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16785 #ifndef __aarch64__
16787 #endif
16788 _ACEOF
16789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16790 $EGREP "yes" >/dev/null 2>&1; then :
16791 ac_cv_cpp_def___aarch64__=yes
16792 else
16793 ac_cv_cpp_def___aarch64__=no
16795 rm -f conftest*
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16799 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16800 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16801 CFLAGS="$CFLAGS -D__aarch64__"
16802 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16803 fi ;;
16804 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16805 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16806 if ${ac_cv_cpp_def___arm__+:} false; then :
16807 $as_echo_n "(cached) " >&6
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 #ifndef __arm__
16813 #endif
16814 _ACEOF
16815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16816 $EGREP "yes" >/dev/null 2>&1; then :
16817 ac_cv_cpp_def___arm__=yes
16818 else
16819 ac_cv_cpp_def___arm__=no
16821 rm -f conftest*
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16825 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16826 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16827 CFLAGS="$CFLAGS -D__arm__"
16828 LINTFLAGS="$LINTFLAGS -D__arm__"
16829 fi ;;
16830 esac
16832 case $host_vendor in
16833 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16834 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16835 if ${ac_cv_cpp_def___sun__+:} false; then :
16836 $as_echo_n "(cached) " >&6
16837 else
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840 #ifndef __sun__
16842 #endif
16843 _ACEOF
16844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16845 $EGREP "yes" >/dev/null 2>&1; then :
16846 ac_cv_cpp_def___sun__=yes
16847 else
16848 ac_cv_cpp_def___sun__=no
16850 rm -f conftest*
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16854 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16855 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16856 CFLAGS="$CFLAGS -D__sun__"
16857 LINTFLAGS="$LINTFLAGS -D__sun__"
16858 fi ;;
16859 esac
16865 ac_config_commands="$ac_config_commands include/stamp-h"
16867 $as_echo_n "creating Makefile rules..." >&6
16869 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16870 SOCKET_LIBS = $SOCKET_LIBS
16871 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16872 IOKIT_LIBS = $IOKIT_LIBS
16873 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16874 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16875 CORESERVICES_LIBS = $CORESERVICES_LIBS
16876 APPKIT_LIBS = $APPKIT_LIBS
16877 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16878 SECURITY_LIBS = $SECURITY_LIBS
16879 COREAUDIO_LIBS = $COREAUDIO_LIBS
16880 OPENAL_LIBS = $OPENAL_LIBS
16881 OPENCL_LIBS = $OPENCL_LIBS
16882 QUICKTIME_LIBS = $QUICKTIME_LIBS
16883 CARBON_LIBS = $CARBON_LIBS
16884 PTHREAD_LIBS = $PTHREAD_LIBS
16885 X_CFLAGS = $X_CFLAGS
16886 X_PRE_LIBS = $X_PRE_LIBS
16887 X_LIBS = $X_LIBS
16888 X_EXTRA_LIBS = $X_EXTRA_LIBS
16889 XML2_CFLAGS = $XML2_CFLAGS
16890 XML2_LIBS = $XML2_LIBS
16891 XSLT_CFLAGS = $XSLT_CFLAGS
16892 XSLT_LIBS = $XSLT_LIBS
16893 DBUS_CFLAGS = $DBUS_CFLAGS
16894 DBUS_LIBS = $DBUS_LIBS
16895 HAL_CFLAGS = $HAL_CFLAGS
16896 HAL_LIBS = $HAL_LIBS
16897 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16898 GNUTLS_LIBS = $GNUTLS_LIBS
16899 SANE_CFLAGS = $SANE_CFLAGS
16900 SANE_LIBS = $SANE_LIBS
16901 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16902 GPHOTO2_LIBS = $GPHOTO2_LIBS
16903 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16904 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16905 RESOLV_LIBS = $RESOLV_LIBS
16906 LCMS2_CFLAGS = $LCMS2_CFLAGS
16907 LCMS2_LIBS = $LCMS2_LIBS
16908 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16909 FREETYPE_LIBS = $FREETYPE_LIBS
16910 Z_LIBS = $Z_LIBS
16911 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16912 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16913 GSTREAMER_LIBS = $GSTREAMER_LIBS
16914 ALSA_LIBS = $ALSA_LIBS
16915 OSS4_CFLAGS = $OSS4_CFLAGS
16916 CAPI20_CFLAGS = $CAPI20_CFLAGS
16917 CAPI20_LIBS = $CAPI20_LIBS
16918 CUPS_CFLAGS = $CUPS_CFLAGS
16919 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16920 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16921 JPEG_CFLAGS = $JPEG_CFLAGS
16922 JPEG_LIBS = $JPEG_LIBS
16923 PNG_CFLAGS = $PNG_CFLAGS
16924 PNG_LIBS = $PNG_LIBS
16925 TIFF_CFLAGS = $TIFF_CFLAGS
16926 TIFF_LIBS = $TIFF_LIBS
16927 MPG123_CFLAGS = $MPG123_CFLAGS
16928 MPG123_LIBS = $MPG123_LIBS
16929 KSTAT_LIBS = $KSTAT_LIBS
16930 PROCSTAT_LIBS = $PROCSTAT_LIBS
16931 DL_LIBS = $DL_LIBS
16932 POLL_LIBS = $POLL_LIBS
16933 RT_LIBS = $RT_LIBS
16934 LDAP_LIBS = $LDAP_LIBS
16939 wine_fn_append_rule "
16940 # Rules automatically generated by configure
16942 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16944 .INIT: Makefile
16945 .MAKEFILEDEPS:
16946 all: Makefile
16947 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16948 @./config.status Make.tmp Makefile"
16950 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16951 .gitignore: config.status
16952 @./config.status .gitignore"
16954 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16955 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16957 if test "x$enable_fonts" != xno; then
16958 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16959 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16960 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16961 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16962 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16964 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16965 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16966 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16967 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16968 ac_config_links="$ac_config_links wine:tools/winewrapper"
16969 wine_fn_config_symlink wine
16970 if test "x$enable_win64" != xno; then
16971 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16972 wine_fn_config_symlink wine64
16975 wine_fn_config_dll acledit enable_acledit
16976 wine_fn_config_dll aclui enable_aclui implib
16977 wine_fn_config_dll activeds enable_activeds implib
16978 wine_fn_config_dll actxprxy enable_actxprxy clean
16979 wine_fn_config_lib adsiid
16980 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16981 wine_fn_config_test dlls/advapi32/tests advapi32_test
16982 wine_fn_config_dll advpack enable_advpack implib
16983 wine_fn_config_test dlls/advpack/tests advpack_test
16984 wine_fn_config_dll amstream enable_amstream clean
16985 wine_fn_config_test dlls/amstream/tests amstream_test
16986 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16988 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16992 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16993 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16996 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16997 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16998 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17000 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17002 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17003 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17006 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17007 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17012 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17014 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17015 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17023 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17024 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17030 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17041 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17042 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17043 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17044 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17045 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17046 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17047 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17048 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17049 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17050 wine_fn_config_dll apphelp enable_apphelp
17051 wine_fn_config_test dlls/apphelp/tests apphelp_test
17052 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17053 wine_fn_config_dll atl enable_atl clean,implib
17054 wine_fn_config_test dlls/atl/tests atl_test
17055 wine_fn_config_dll atl100 enable_atl100 clean,implib
17056 wine_fn_config_test dlls/atl100/tests atl100_test
17057 wine_fn_config_dll atl110 enable_atl110 clean
17058 wine_fn_config_dll atl80 enable_atl80 clean,implib
17059 wine_fn_config_test dlls/atl80/tests atl80_test
17060 wine_fn_config_dll atl90 enable_atl90 clean
17061 wine_fn_config_dll authz enable_authz
17062 wine_fn_config_dll avicap32 enable_avicap32 implib
17063 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17064 wine_fn_config_test dlls/avifil32/tests avifil32_test
17065 wine_fn_config_dll avifile.dll16 enable_win16
17066 wine_fn_config_dll avrt enable_avrt implib
17067 wine_fn_config_dll bcrypt enable_bcrypt
17068 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17069 wine_fn_config_dll browseui enable_browseui clean,po
17070 wine_fn_config_test dlls/browseui/tests browseui_test
17071 wine_fn_config_dll cabinet enable_cabinet implib
17072 wine_fn_config_test dlls/cabinet/tests cabinet_test
17073 wine_fn_config_dll capi2032 enable_capi2032 implib
17074 wine_fn_config_dll cards enable_cards implib
17075 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17076 wine_fn_config_dll clusapi enable_clusapi implib
17077 wine_fn_config_dll combase enable_combase
17078 wine_fn_config_test dlls/combase/tests combase_test
17079 wine_fn_config_dll comcat enable_comcat
17080 wine_fn_config_test dlls/comcat/tests comcat_test
17081 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17082 wine_fn_config_test dlls/comctl32/tests comctl32_test
17083 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17084 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17085 wine_fn_config_dll comm.drv16 enable_win16
17086 wine_fn_config_dll commdlg.dll16 enable_win16
17087 wine_fn_config_dll compobj.dll16 enable_win16
17088 wine_fn_config_dll compstui enable_compstui implib
17089 wine_fn_config_dll comsvcs enable_comsvcs implib
17090 wine_fn_config_dll connect enable_connect
17091 wine_fn_config_dll credui enable_credui implib,po
17092 wine_fn_config_test dlls/credui/tests credui_test
17093 wine_fn_config_dll crtdll enable_crtdll implib
17094 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17095 wine_fn_config_test dlls/crypt32/tests crypt32_test
17096 wine_fn_config_dll cryptdlg enable_cryptdlg po
17097 wine_fn_config_dll cryptdll enable_cryptdll implib
17098 wine_fn_config_dll cryptext enable_cryptext
17099 wine_fn_config_dll cryptnet enable_cryptnet implib
17100 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17101 wine_fn_config_dll cryptui enable_cryptui implib,po
17102 wine_fn_config_test dlls/cryptui/tests cryptui_test
17103 wine_fn_config_dll ctapi32 enable_ctapi32
17104 wine_fn_config_dll ctl3d.dll16 enable_win16
17105 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17106 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17107 wine_fn_config_dll d2d1 enable_d2d1 implib
17108 wine_fn_config_test dlls/d2d1/tests d2d1_test
17109 wine_fn_config_dll d3d10 enable_d3d10 implib
17110 wine_fn_config_test dlls/d3d10/tests d3d10_test
17111 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17112 wine_fn_config_dll d3d10core enable_d3d10core implib
17113 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17114 wine_fn_config_dll d3d11 enable_d3d11
17115 wine_fn_config_dll d3d8 enable_d3d8 implib
17116 wine_fn_config_test dlls/d3d8/tests d3d8_test
17117 wine_fn_config_dll d3d9 enable_d3d9 implib
17118 wine_fn_config_test dlls/d3d9/tests d3d9_test
17119 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17120 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17121 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17122 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17123 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17124 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17125 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17126 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17127 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17128 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17129 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17130 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17131 wine_fn_config_dll d3dim enable_d3dim implib
17132 wine_fn_config_dll d3drm enable_d3drm implib
17133 wine_fn_config_test dlls/d3drm/tests d3drm_test
17134 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17135 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17136 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17137 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17138 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17139 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17140 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17141 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17142 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17143 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17144 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17145 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17146 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17147 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17148 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17149 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17150 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17151 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17152 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17153 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17154 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17155 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17156 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17157 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17158 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17159 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17160 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17161 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17162 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17163 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17164 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17165 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17166 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17167 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17168 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17169 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17170 wine_fn_config_dll dbgeng enable_dbgeng implib
17171 wine_fn_config_dll dbghelp enable_dbghelp implib
17172 wine_fn_config_dll dciman32 enable_dciman32 implib
17173 wine_fn_config_dll ddeml.dll16 enable_win16
17174 wine_fn_config_dll ddraw enable_ddraw clean,implib
17175 wine_fn_config_test dlls/ddraw/tests ddraw_test
17176 wine_fn_config_dll ddrawex enable_ddrawex clean
17177 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17178 wine_fn_config_dll devenum enable_devenum clean,po
17179 wine_fn_config_test dlls/devenum/tests devenum_test
17180 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17181 wine_fn_config_dll difxapi enable_difxapi
17182 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17183 wine_fn_config_test dlls/dinput/tests dinput_test
17184 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17185 wine_fn_config_test dlls/dinput8/tests dinput8_test
17186 wine_fn_config_dll dispdib.dll16 enable_win16
17187 wine_fn_config_dll dispex enable_dispex clean
17188 wine_fn_config_test dlls/dispex/tests dispex_test
17189 wine_fn_config_dll display.drv16 enable_win16
17190 wine_fn_config_dll dmband enable_dmband clean
17191 wine_fn_config_test dlls/dmband/tests dmband_test
17192 wine_fn_config_dll dmcompos enable_dmcompos clean
17193 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17194 wine_fn_config_dll dmime enable_dmime clean
17195 wine_fn_config_test dlls/dmime/tests dmime_test
17196 wine_fn_config_dll dmloader enable_dmloader clean
17197 wine_fn_config_test dlls/dmloader/tests dmloader_test
17198 wine_fn_config_dll dmscript enable_dmscript clean
17199 wine_fn_config_test dlls/dmscript/tests dmscript_test
17200 wine_fn_config_dll dmstyle enable_dmstyle clean
17201 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17202 wine_fn_config_dll dmsynth enable_dmsynth clean
17203 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17204 wine_fn_config_dll dmusic enable_dmusic clean
17205 wine_fn_config_test dlls/dmusic/tests dmusic_test
17206 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17207 wine_fn_config_dll dnsapi enable_dnsapi implib
17208 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17209 wine_fn_config_dll dplay enable_dplay implib
17210 wine_fn_config_dll dplayx enable_dplayx clean,implib
17211 wine_fn_config_test dlls/dplayx/tests dplayx_test
17212 wine_fn_config_dll dpnaddr enable_dpnaddr
17213 wine_fn_config_dll dpnet enable_dpnet clean,implib
17214 wine_fn_config_test dlls/dpnet/tests dpnet_test
17215 wine_fn_config_dll dpnhpast enable_dpnhpast
17216 wine_fn_config_dll dpnlobby enable_dpnlobby
17217 wine_fn_config_dll dpvoice enable_dpvoice clean
17218 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17219 wine_fn_config_dll dpwsockx enable_dpwsockx
17220 wine_fn_config_dll drmclien enable_drmclien
17221 wine_fn_config_dll dsound enable_dsound clean,implib
17222 wine_fn_config_test dlls/dsound/tests dsound_test
17223 wine_fn_config_dll dssenh enable_dssenh
17224 wine_fn_config_test dlls/dssenh/tests dssenh_test
17225 wine_fn_config_dll dswave enable_dswave clean
17226 wine_fn_config_test dlls/dswave/tests dswave_test
17227 wine_fn_config_dll dwmapi enable_dwmapi implib
17228 wine_fn_config_dll dwrite enable_dwrite implib
17229 wine_fn_config_test dlls/dwrite/tests dwrite_test
17230 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17231 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17232 wine_fn_config_lib dxerr8
17233 wine_fn_config_lib dxerr9
17234 wine_fn_config_dll dxgi enable_dxgi implib
17235 wine_fn_config_test dlls/dxgi/tests dxgi_test
17236 wine_fn_config_lib dxguid
17237 wine_fn_config_dll dxva2 enable_dxva2
17238 wine_fn_config_dll evr enable_evr
17239 wine_fn_config_dll explorerframe enable_explorerframe clean
17240 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17241 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17242 wine_fn_config_dll faultrep enable_faultrep implib
17243 wine_fn_config_test dlls/faultrep/tests faultrep_test
17244 wine_fn_config_dll fltlib enable_fltlib
17245 wine_fn_config_dll fntcache enable_fntcache
17246 wine_fn_config_dll fontsub enable_fontsub
17247 wine_fn_config_dll fusion enable_fusion
17248 wine_fn_config_test dlls/fusion/tests fusion_test
17249 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17250 wine_fn_config_dll gameux enable_gameux clean
17251 wine_fn_config_test dlls/gameux/tests gameux_test
17252 wine_fn_config_dll gdi.exe16 enable_win16
17253 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17254 wine_fn_config_test dlls/gdi32/tests gdi32_test
17255 wine_fn_config_dll gdiplus enable_gdiplus implib
17256 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17257 wine_fn_config_dll glu32 enable_glu32 implib
17258 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17259 wine_fn_config_dll gpkcsp enable_gpkcsp
17260 wine_fn_config_dll hal enable_hal
17261 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17262 wine_fn_config_dll hid enable_hid implib
17263 wine_fn_config_dll hlink enable_hlink clean,implib
17264 wine_fn_config_test dlls/hlink/tests hlink_test
17265 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17266 wine_fn_config_dll httpapi enable_httpapi
17267 wine_fn_config_dll iccvid enable_iccvid po
17268 wine_fn_config_dll icmp enable_icmp
17269 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17270 wine_fn_config_test dlls/ieframe/tests ieframe_test
17271 wine_fn_config_dll ifsmgr.vxd enable_win16
17272 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17273 wine_fn_config_dll imagehlp enable_imagehlp implib
17274 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17275 wine_fn_config_dll imm.dll16 enable_win16
17276 wine_fn_config_dll imm32 enable_imm32 implib
17277 wine_fn_config_test dlls/imm32/tests imm32_test
17278 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17279 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17280 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17281 wine_fn_config_dll inetmib1 enable_inetmib1
17282 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17283 wine_fn_config_dll infosoft enable_infosoft clean
17284 wine_fn_config_test dlls/infosoft/tests infosoft_test
17285 wine_fn_config_dll initpki enable_initpki
17286 wine_fn_config_dll inkobj enable_inkobj
17287 wine_fn_config_dll inseng enable_inseng clean
17288 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17289 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17290 wine_fn_config_dll itircl enable_itircl
17291 wine_fn_config_dll itss enable_itss clean
17292 wine_fn_config_test dlls/itss/tests itss_test
17293 wine_fn_config_dll joy.cpl enable_joy_cpl po
17294 wine_fn_config_dll jscript enable_jscript clean,po
17295 wine_fn_config_test dlls/jscript/tests jscript_test
17296 wine_fn_config_dll jsproxy enable_jsproxy implib
17297 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17298 wine_fn_config_test dlls/kernel32/tests kernel32_test
17299 wine_fn_config_dll keyboard.drv16 enable_win16
17300 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17301 wine_fn_config_dll ksuser enable_ksuser
17302 wine_fn_config_dll ktmw32 enable_ktmw32
17303 wine_fn_config_dll loadperf enable_loadperf implib
17304 wine_fn_config_dll localspl enable_localspl po
17305 wine_fn_config_test dlls/localspl/tests localspl_test
17306 wine_fn_config_dll localui enable_localui po
17307 wine_fn_config_test dlls/localui/tests localui_test
17308 wine_fn_config_dll lz32 enable_lz32 implib
17309 wine_fn_config_test dlls/lz32/tests lz32_test
17310 wine_fn_config_dll lzexpand.dll16 enable_win16
17311 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17312 wine_fn_config_test dlls/mapi32/tests mapi32_test
17313 wine_fn_config_dll mapistub enable_mapistub
17314 wine_fn_config_dll mciavi32 enable_mciavi32
17315 wine_fn_config_dll mcicda enable_mcicda
17316 wine_fn_config_dll mciqtz32 enable_mciqtz32
17317 wine_fn_config_dll mciseq enable_mciseq
17318 wine_fn_config_dll mciwave enable_mciwave
17319 wine_fn_config_dll mf enable_mf
17320 wine_fn_config_dll mfplat enable_mfplat
17321 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17322 wine_fn_config_dll mgmtapi enable_mgmtapi
17323 wine_fn_config_dll midimap enable_midimap
17324 wine_fn_config_dll mlang enable_mlang clean,implib
17325 wine_fn_config_test dlls/mlang/tests mlang_test
17326 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17327 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17328 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17329 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17330 wine_fn_config_dll mmdevldr.vxd enable_win16
17331 wine_fn_config_dll mmsystem.dll16 enable_win16
17332 wine_fn_config_dll monodebg.vxd enable_win16
17333 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17334 wine_fn_config_dll mouse.drv16 enable_win16
17335 wine_fn_config_dll mpr enable_mpr implib,po
17336 wine_fn_config_test dlls/mpr/tests mpr_test
17337 wine_fn_config_dll mprapi enable_mprapi implib
17338 wine_fn_config_dll msacm.dll16 enable_win16
17339 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17340 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17341 wine_fn_config_test dlls/msacm32/tests msacm32_test
17342 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17343 wine_fn_config_dll msasn1 enable_msasn1 implib
17344 wine_fn_config_dll mscat32 enable_mscat32
17345 wine_fn_config_dll mscms enable_mscms implib
17346 wine_fn_config_test dlls/mscms/tests mscms_test
17347 wine_fn_config_dll mscoree enable_mscoree clean
17348 wine_fn_config_test dlls/mscoree/tests mscoree_test
17349 wine_fn_config_dll msctf enable_msctf clean
17350 wine_fn_config_test dlls/msctf/tests msctf_test
17351 wine_fn_config_dll msdaps enable_msdaps clean
17352 wine_fn_config_dll msdmo enable_msdmo implib
17353 wine_fn_config_test dlls/msdmo/tests msdmo_test
17354 wine_fn_config_dll msftedit enable_msftedit
17355 wine_fn_config_dll msg711.acm enable_msg711_acm
17356 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17357 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17358 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17359 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17360 wine_fn_config_dll msi enable_msi clean,implib,po
17361 wine_fn_config_test dlls/msi/tests msi_test
17362 wine_fn_config_dll msident enable_msident clean
17363 wine_fn_config_dll msimg32 enable_msimg32 implib
17364 wine_fn_config_dll msimsg enable_msimsg
17365 wine_fn_config_dll msimtf enable_msimtf clean
17366 wine_fn_config_dll msisip enable_msisip
17367 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17368 wine_fn_config_dll msls31 enable_msls31
17369 wine_fn_config_dll msnet32 enable_msnet32
17370 wine_fn_config_dll mspatcha enable_mspatcha
17371 wine_fn_config_dll msrle32 enable_msrle32 po
17372 wine_fn_config_test dlls/msrle32/tests msrle32_test
17373 wine_fn_config_dll mssign32 enable_mssign32
17374 wine_fn_config_dll mssip32 enable_mssip32
17375 wine_fn_config_dll mstask enable_mstask clean
17376 wine_fn_config_test dlls/mstask/tests mstask_test
17377 wine_fn_config_dll msvcirt enable_msvcirt
17378 wine_fn_config_dll msvcm80 enable_msvcm80
17379 wine_fn_config_dll msvcm90 enable_msvcm90
17380 wine_fn_config_dll msvcp100 enable_msvcp100
17381 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17382 wine_fn_config_dll msvcp110 enable_msvcp110
17383 wine_fn_config_dll msvcp120 enable_msvcp120
17384 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17385 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17386 wine_fn_config_dll msvcp60 enable_msvcp60
17387 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17388 wine_fn_config_dll msvcp70 enable_msvcp70
17389 wine_fn_config_dll msvcp71 enable_msvcp71
17390 wine_fn_config_dll msvcp80 enable_msvcp80
17391 wine_fn_config_dll msvcp90 enable_msvcp90
17392 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17393 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17394 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17395 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17396 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17397 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17398 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17399 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17400 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17401 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17402 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17403 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17404 wine_fn_config_dll msvcrt enable_msvcrt implib
17405 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17406 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17407 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17408 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17409 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17410 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17411 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17412 wine_fn_config_dll msvidc32 enable_msvidc32 po
17413 wine_fn_config_dll msvideo.dll16 enable_win16
17414 wine_fn_config_dll mswsock enable_mswsock implib
17415 wine_fn_config_dll msxml enable_msxml clean
17416 wine_fn_config_dll msxml2 enable_msxml2 clean
17417 wine_fn_config_dll msxml3 enable_msxml3 clean
17418 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17419 wine_fn_config_dll msxml4 enable_msxml4 clean
17420 wine_fn_config_dll msxml6 enable_msxml6 clean
17421 wine_fn_config_dll nddeapi enable_nddeapi implib
17422 wine_fn_config_dll ndis.sys enable_ndis_sys
17423 wine_fn_config_dll netapi32 enable_netapi32 implib
17424 wine_fn_config_test dlls/netapi32/tests netapi32_test
17425 wine_fn_config_dll netcfgx enable_netcfgx clean
17426 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17427 wine_fn_config_dll netprofm enable_netprofm clean
17428 wine_fn_config_test dlls/netprofm/tests netprofm_test
17429 wine_fn_config_dll newdev enable_newdev implib
17430 wine_fn_config_dll normaliz enable_normaliz implib
17431 wine_fn_config_dll npmshtml enable_npmshtml
17432 wine_fn_config_dll npptools enable_npptools
17433 wine_fn_config_dll ntdll enable_ntdll implib
17434 wine_fn_config_test dlls/ntdll/tests ntdll_test
17435 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17436 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17437 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17438 wine_fn_config_dll ntprint enable_ntprint
17439 wine_fn_config_test dlls/ntprint/tests ntprint_test
17440 wine_fn_config_dll objsel enable_objsel clean
17441 wine_fn_config_dll odbc32 enable_odbc32 implib
17442 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17443 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17444 wine_fn_config_dll odbccu32 enable_odbccu32
17445 wine_fn_config_dll ole2.dll16 enable_win16
17446 wine_fn_config_dll ole2conv.dll16 enable_win16
17447 wine_fn_config_dll ole2disp.dll16 enable_win16
17448 wine_fn_config_dll ole2nls.dll16 enable_win16
17449 wine_fn_config_dll ole2prox.dll16 enable_win16
17450 wine_fn_config_dll ole2thk.dll16 enable_win16
17451 wine_fn_config_dll ole32 enable_ole32 clean,implib
17452 wine_fn_config_test dlls/ole32/tests ole32_test
17453 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17454 wine_fn_config_test dlls/oleacc/tests oleacc_test
17455 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17456 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17457 wine_fn_config_dll olecli.dll16 enable_win16
17458 wine_fn_config_dll olecli32 enable_olecli32 implib
17459 wine_fn_config_dll oledb32 enable_oledb32 clean
17460 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17461 wine_fn_config_dll oledlg enable_oledlg implib,po
17462 wine_fn_config_dll olepro32 enable_olepro32 implib
17463 wine_fn_config_dll olesvr.dll16 enable_win16
17464 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17465 wine_fn_config_dll olethk32 enable_olethk32
17466 wine_fn_config_dll openal32 enable_openal32
17467 wine_fn_config_dll opencl enable_opencl
17468 wine_fn_config_dll opengl32 enable_opengl32 implib
17469 wine_fn_config_test dlls/opengl32/tests opengl32_test
17470 wine_fn_config_dll packager enable_packager clean
17471 wine_fn_config_test dlls/packager/tests packager_test
17472 wine_fn_config_dll pdh enable_pdh implib
17473 wine_fn_config_test dlls/pdh/tests pdh_test
17474 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17475 wine_fn_config_dll pidgen enable_pidgen
17476 wine_fn_config_dll powrprof enable_powrprof implib
17477 wine_fn_config_dll printui enable_printui
17478 wine_fn_config_dll prntvpt enable_prntvpt
17479 wine_fn_config_dll propsys enable_propsys clean,implib
17480 wine_fn_config_test dlls/propsys/tests propsys_test
17481 wine_fn_config_dll psapi enable_psapi implib
17482 wine_fn_config_test dlls/psapi/tests psapi_test
17483 wine_fn_config_dll pstorec enable_pstorec clean
17484 wine_fn_config_dll qcap enable_qcap
17485 wine_fn_config_test dlls/qcap/tests qcap_test
17486 wine_fn_config_dll qedit enable_qedit clean
17487 wine_fn_config_test dlls/qedit/tests qedit_test
17488 wine_fn_config_dll qmgr enable_qmgr clean
17489 wine_fn_config_test dlls/qmgr/tests qmgr_test
17490 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17491 wine_fn_config_dll quartz enable_quartz clean,implib
17492 wine_fn_config_test dlls/quartz/tests quartz_test clean
17493 wine_fn_config_dll query enable_query
17494 wine_fn_config_dll rasapi16.dll16 enable_win16
17495 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17496 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17497 wine_fn_config_dll rasdlg enable_rasdlg implib
17498 wine_fn_config_dll regapi enable_regapi
17499 wine_fn_config_dll resutils enable_resutils implib
17500 wine_fn_config_dll riched20 enable_riched20 implib
17501 wine_fn_config_test dlls/riched20/tests riched20_test
17502 wine_fn_config_dll riched32 enable_riched32
17503 wine_fn_config_test dlls/riched32/tests riched32_test
17504 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17505 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17506 wine_fn_config_dll rsabase enable_rsabase
17507 wine_fn_config_dll rsaenh enable_rsaenh implib
17508 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17509 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17510 wine_fn_config_dll rtutils enable_rtutils implib
17511 wine_fn_config_dll samlib enable_samlib
17512 wine_fn_config_dll sane.ds enable_sane_ds po
17513 wine_fn_config_dll scarddlg enable_scarddlg
17514 wine_fn_config_dll sccbase enable_sccbase
17515 wine_fn_config_dll schannel enable_schannel
17516 wine_fn_config_test dlls/schannel/tests schannel_test
17517 wine_fn_config_dll schedsvc enable_schedsvc clean
17518 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17519 wine_fn_config_dll scrrun enable_scrrun clean
17520 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17521 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17522 wine_fn_config_dll secur32 enable_secur32 implib
17523 wine_fn_config_test dlls/secur32/tests secur32_test
17524 wine_fn_config_dll security enable_security
17525 wine_fn_config_dll sensapi enable_sensapi implib
17526 wine_fn_config_dll serialui enable_serialui implib,po
17527 wine_fn_config_test dlls/serialui/tests serialui_test
17528 wine_fn_config_dll setupapi enable_setupapi implib,po
17529 wine_fn_config_test dlls/setupapi/tests setupapi_test
17530 wine_fn_config_dll setupx.dll16 enable_win16
17531 wine_fn_config_dll sfc enable_sfc implib
17532 wine_fn_config_dll sfc_os enable_sfc_os implib
17533 wine_fn_config_dll shdoclc enable_shdoclc po
17534 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17535 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17536 wine_fn_config_dll shell.dll16 enable_win16
17537 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17538 wine_fn_config_test dlls/shell32/tests shell32_test
17539 wine_fn_config_dll shfolder enable_shfolder implib
17540 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17541 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17542 wine_fn_config_dll slbcsp enable_slbcsp
17543 wine_fn_config_dll slc enable_slc implib
17544 wine_fn_config_test dlls/slc/tests slc_test
17545 wine_fn_config_dll snmpapi enable_snmpapi implib
17546 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17547 wine_fn_config_dll softpub enable_softpub
17548 wine_fn_config_dll sound.drv16 enable_win16
17549 wine_fn_config_dll spoolss enable_spoolss implib
17550 wine_fn_config_test dlls/spoolss/tests spoolss_test
17551 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17552 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17553 wine_fn_config_dll sti enable_sti clean,implib
17554 wine_fn_config_test dlls/sti/tests sti_test
17555 wine_fn_config_dll storage.dll16 enable_win16
17556 wine_fn_config_dll stress.dll16 enable_win16
17557 wine_fn_config_lib strmbase
17558 wine_fn_config_lib strmiids
17559 wine_fn_config_dll svrapi enable_svrapi
17560 wine_fn_config_dll sxs enable_sxs implib
17561 wine_fn_config_test dlls/sxs/tests sxs_test
17562 wine_fn_config_dll system.drv16 enable_win16
17563 wine_fn_config_dll t2embed enable_t2embed
17564 wine_fn_config_dll tapi32 enable_tapi32 implib
17565 wine_fn_config_dll taskschd enable_taskschd clean
17566 wine_fn_config_test dlls/taskschd/tests taskschd_test
17567 wine_fn_config_dll toolhelp.dll16 enable_win16
17568 wine_fn_config_dll traffic enable_traffic
17569 wine_fn_config_dll twain.dll16 enable_win16
17570 wine_fn_config_dll twain_32 enable_twain_32
17571 wine_fn_config_test dlls/twain_32/tests twain_32_test
17572 wine_fn_config_dll typelib.dll16 enable_win16
17573 wine_fn_config_dll unicows enable_unicows implib
17574 wine_fn_config_dll updspapi enable_updspapi
17575 wine_fn_config_dll url enable_url implib
17576 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17577 wine_fn_config_test dlls/urlmon/tests urlmon_test
17578 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17579 wine_fn_config_dll user.exe16 enable_win16
17580 wine_fn_config_dll user32 enable_user32 clean,implib,po
17581 wine_fn_config_test dlls/user32/tests user32_test
17582 wine_fn_config_dll userenv enable_userenv implib
17583 wine_fn_config_test dlls/userenv/tests userenv_test
17584 wine_fn_config_dll usp10 enable_usp10 implib
17585 wine_fn_config_test dlls/usp10/tests usp10_test
17586 wine_fn_config_lib uuid
17587 wine_fn_config_dll uxtheme enable_uxtheme implib
17588 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17589 wine_fn_config_dll vbscript enable_vbscript clean
17590 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17591 wine_fn_config_dll vcomp enable_vcomp
17592 wine_fn_config_dll vcomp100 enable_vcomp100
17593 wine_fn_config_dll vcomp90 enable_vcomp90
17594 wine_fn_config_dll vdhcp.vxd enable_win16
17595 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17596 wine_fn_config_dll ver.dll16 enable_win16
17597 wine_fn_config_dll version enable_version implib
17598 wine_fn_config_test dlls/version/tests version_test
17599 wine_fn_config_dll vmm.vxd enable_win16
17600 wine_fn_config_dll vnbt.vxd enable_win16
17601 wine_fn_config_dll vnetbios.vxd enable_win16
17602 wine_fn_config_dll vssapi enable_vssapi
17603 wine_fn_config_dll vtdapi.vxd enable_win16
17604 wine_fn_config_dll vwin32.vxd enable_win16
17605 wine_fn_config_dll w32skrnl enable_win16
17606 wine_fn_config_dll w32sys.dll16 enable_win16
17607 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17608 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17609 wine_fn_config_dll wbemprox enable_wbemprox clean
17610 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17611 wine_fn_config_dll webservices enable_webservices implib
17612 wine_fn_config_dll wer enable_wer implib
17613 wine_fn_config_test dlls/wer/tests wer_test
17614 wine_fn_config_dll wevtapi enable_wevtapi
17615 wine_fn_config_dll wiaservc enable_wiaservc clean
17616 wine_fn_config_dll win32s16.dll16 enable_win16
17617 wine_fn_config_dll win87em.dll16 enable_win16
17618 wine_fn_config_dll winaspi.dll16 enable_win16
17619 wine_fn_config_dll windebug.dll16 enable_win16
17620 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17621 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17622 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17623 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17624 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17625 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17626 wine_fn_config_lib winecrt0
17627 wine_fn_config_dll wined3d enable_wined3d implib
17628 wine_fn_config_dll winegstreamer enable_winegstreamer
17629 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17630 wine_fn_config_dll winemac.drv enable_winemac_drv
17631 wine_fn_config_dll winemapi enable_winemapi
17632 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17633 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17634 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17635 wine_fn_config_dll wineps16.drv16 enable_win16
17636 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17637 wine_fn_config_dll winex11.drv enable_winex11_drv
17638 wine_fn_config_dll wing.dll16 enable_win16
17639 wine_fn_config_dll wing32 enable_wing32
17640 wine_fn_config_dll winhttp enable_winhttp clean,implib
17641 wine_fn_config_test dlls/winhttp/tests winhttp_test
17642 wine_fn_config_dll wininet enable_wininet implib,po
17643 wine_fn_config_test dlls/wininet/tests wininet_test
17644 wine_fn_config_dll winmm enable_winmm implib,po
17645 wine_fn_config_test dlls/winmm/tests winmm_test
17646 wine_fn_config_dll winnls.dll16 enable_win16
17647 wine_fn_config_dll winnls32 enable_winnls32 implib
17648 wine_fn_config_dll winscard enable_winscard implib
17649 wine_fn_config_dll winsock.dll16 enable_win16
17650 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17651 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17652 wine_fn_config_dll winsta enable_winsta
17653 wine_fn_config_dll wintab.dll16 enable_win16
17654 wine_fn_config_dll wintab32 enable_wintab32 implib
17655 wine_fn_config_test dlls/wintab32/tests wintab32_test
17656 wine_fn_config_dll wintrust enable_wintrust implib
17657 wine_fn_config_test dlls/wintrust/tests wintrust_test
17658 wine_fn_config_dll wlanapi enable_wlanapi
17659 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17660 wine_fn_config_test dlls/wldap32/tests wldap32_test
17661 wine_fn_config_dll wmi enable_wmi
17662 wine_fn_config_dll wmiutils enable_wmiutils clean
17663 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17664 wine_fn_config_dll wmp enable_wmp clean
17665 wine_fn_config_test dlls/wmp/tests wmp_test
17666 wine_fn_config_dll wmvcore enable_wmvcore
17667 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17668 wine_fn_config_dll wow32 enable_win16 implib
17669 wine_fn_config_dll wpcap enable_wpcap
17670 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17671 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17672 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17673 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17674 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17675 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17676 wine_fn_config_dll wsock32 enable_wsock32 implib
17677 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17678 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17679 wine_fn_config_dll wuapi enable_wuapi clean
17680 wine_fn_config_dll wuaueng enable_wuaueng
17681 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17682 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17683 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17684 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17685 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17686 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17687 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17688 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17689 wine_fn_config_dll xinput1_1 enable_xinput1_1
17690 wine_fn_config_dll xinput1_2 enable_xinput1_2
17691 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17692 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17693 wine_fn_config_dll xinput1_4 enable_xinput1_4
17694 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17695 wine_fn_config_dll xmllite enable_xmllite implib
17696 wine_fn_config_test dlls/xmllite/tests xmllite_test
17697 wine_fn_config_dll xolehlp enable_xolehlp
17698 wine_fn_config_dll xpsprint enable_xpsprint
17699 wine_fn_config_dll xpssvcs enable_xpssvcs
17700 wine_fn_config_makefile documentation enable_documentation clean
17701 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17702 wine_fn_config_makefile include enable_include clean,install-dev
17703 wine_fn_config_makefile libs/port enable_libs_port
17704 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17705 wine_fn_config_makefile libs/wpp enable_libs_wpp
17706 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17707 wine_fn_config_program arp enable_arp install
17708 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17709 wine_fn_config_program attrib enable_attrib install,po
17710 wine_fn_config_program cabarc enable_cabarc install
17711 wine_fn_config_program cacls enable_cacls install
17712 wine_fn_config_program clock enable_clock install,po
17713 wine_fn_config_program cmd enable_cmd install,po
17714 wine_fn_config_test programs/cmd/tests cmd.exe_test
17715 wine_fn_config_program conhost enable_conhost install
17716 wine_fn_config_program control enable_control install
17717 wine_fn_config_program cscript enable_cscript clean,install
17718 wine_fn_config_program dpnsvr enable_dpnsvr install
17719 wine_fn_config_program dxdiag enable_dxdiag install,po
17720 wine_fn_config_program eject enable_eject install
17721 wine_fn_config_program expand enable_expand install
17722 wine_fn_config_program explorer enable_explorer install,po
17723 wine_fn_config_program extrac32 enable_extrac32 install
17724 wine_fn_config_program findstr enable_findstr install
17725 wine_fn_config_program hh enable_hh install
17726 wine_fn_config_program hostname enable_hostname install,po
17727 wine_fn_config_program icinfo enable_icinfo install
17728 wine_fn_config_program iexplore enable_iexplore install
17729 wine_fn_config_program ipconfig enable_ipconfig install,po
17730 wine_fn_config_program lodctr enable_lodctr install
17731 wine_fn_config_program mofcomp enable_mofcomp install
17732 wine_fn_config_program mshta enable_mshta install
17733 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17734 wine_fn_config_program net enable_net install,po
17735 wine_fn_config_program netsh enable_netsh install
17736 wine_fn_config_program netstat enable_netstat install,po
17737 wine_fn_config_program ngen enable_ngen install
17738 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17739 wine_fn_config_program oleview enable_oleview install,po
17740 wine_fn_config_program ping enable_ping install
17741 wine_fn_config_program plugplay enable_plugplay install
17742 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17743 wine_fn_config_program progman enable_progman install,po
17744 wine_fn_config_program reg enable_reg install,po
17745 wine_fn_config_test programs/reg/tests reg.exe_test
17746 wine_fn_config_program regasm enable_regasm install
17747 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17748 wine_fn_config_test programs/regedit/tests regedit.exe_test
17749 wine_fn_config_program regsvcs enable_regsvcs install
17750 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17751 wine_fn_config_program rpcss enable_rpcss clean,install
17752 wine_fn_config_program rundll.exe16 enable_win16 install
17753 wine_fn_config_program rundll32 enable_rundll32 install
17754 wine_fn_config_program sc enable_sc install
17755 wine_fn_config_program schtasks enable_schtasks install
17756 wine_fn_config_program sdbinst enable_sdbinst install
17757 wine_fn_config_program secedit enable_secedit install
17758 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17759 wine_fn_config_program services enable_services clean,install
17760 wine_fn_config_test programs/services/tests services.exe_test
17761 wine_fn_config_program spoolsv enable_spoolsv install
17762 wine_fn_config_program start enable_start install,po
17763 wine_fn_config_program svchost enable_svchost install
17764 wine_fn_config_program systeminfo enable_systeminfo install
17765 wine_fn_config_program taskkill enable_taskkill install,po
17766 wine_fn_config_program tasklist enable_tasklist install
17767 wine_fn_config_program taskmgr enable_taskmgr install,po
17768 wine_fn_config_program termsv enable_termsv install
17769 wine_fn_config_program uninstaller enable_uninstaller install,po
17770 wine_fn_config_program unlodctr enable_unlodctr install
17771 wine_fn_config_program view enable_view install,po
17772 wine_fn_config_program wevtutil enable_wevtutil install
17773 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17774 wine_fn_config_program winebrowser enable_winebrowser install
17775 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17776 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17777 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17778 wine_fn_config_program winedevice enable_winedevice install
17779 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17780 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17781 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17782 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17783 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17784 wine_fn_config_program winetest enable_winetest clean
17785 wine_fn_config_program winevdm enable_win16 install
17786 wine_fn_config_program winhelp.exe16 enable_win16 install
17787 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17788 wine_fn_config_program winoldap.mod16 enable_win16 install
17789 wine_fn_config_program winver enable_winver install
17790 wine_fn_config_program wmic enable_wmic install,po
17791 wine_fn_config_program wordpad enable_wordpad install,po
17792 wine_fn_config_program write enable_write install,po
17793 wine_fn_config_program wscript enable_wscript clean,install
17794 wine_fn_config_test programs/wscript/tests wscript.exe_test
17795 wine_fn_config_program wusa enable_wusa install
17796 wine_fn_config_program xcopy enable_xcopy install,po
17797 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17798 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17799 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17800 wine_fn_config_tool tools/sfnt2fon clean
17801 wine_fn_config_tool tools/widl clean,install-dev,manpage
17802 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17803 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17804 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17805 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17806 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17808 LINGUAS="\
17809 ar \
17810 bg \
17811 ca \
17812 cs \
17813 da \
17814 de \
17815 el \
17816 en \
17817 en_US \
17818 eo \
17819 es \
17820 fa \
17821 fi \
17822 fr \
17823 he \
17824 hi \
17825 hr \
17826 hu \
17827 it \
17828 ja \
17829 ko \
17830 lt \
17831 ml \
17832 nb_NO \
17833 nl \
17834 or \
17835 pa \
17836 pl \
17837 pt_BR \
17838 pt_PT \
17839 rm \
17840 ro \
17841 ru \
17842 sk \
17843 sl \
17844 sr_RS@cyrillic \
17845 sr_RS@latin \
17846 sv \
17847 te \
17848 th \
17849 tr \
17850 uk \
17851 wa \
17852 zh_CN \
17853 zh_TW"
17858 wine_fn_ignore_file ".gitignore"
17859 wine_fn_ignore_file "Makefile"
17860 wine_fn_ignore_file "TAGS"
17861 wine_fn_ignore_file "tags"
17862 wine_fn_ignore_file "autom4te.cache"
17863 wine_fn_ignore_file "config.cache"
17864 wine_fn_ignore_file "config.log"
17865 wine_fn_ignore_file "config.status"
17866 wine_fn_ignore_file "configure.lineno"
17867 wine_fn_ignore_file "include/config.h"
17868 wine_fn_ignore_file "include/stamp-h"
17869 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17871 if test "x$enable_tools" != xno
17872 then
17873 wine_fn_ignore_file "tools/makedep$ac_exeext"
17874 ac_config_commands="$ac_config_commands tools/makedep"
17878 ac_config_commands="$ac_config_commands Makefile"
17881 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17885 if test "x$enable_maintainer_mode" = xyes
17886 then
17887 wine_fn_append_rule "configure: configure.ac aclocal.m4
17888 autoconf --warnings=all
17889 include/config.h.in: include/stamp-h.in
17890 include/stamp-h.in: configure.ac aclocal.m4
17891 autoheader --warnings=all
17892 @echo timestamp > \$@"
17895 if test "x$with_gettextpo" = xyes
17896 then
17897 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17898 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17899 \$(LINGUAS:%=po/%.po): po/wine.pot
17900 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17901 po/wine.pot: \$(ALL_POT_FILES)
17902 msgcat -o \$@ \$(ALL_POT_FILES)"
17905 if test "$MSGFMT" != false
17906 then
17907 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17908 clean::
17909 \$(RM) \$(LINGUAS:%=po/%.mo)"
17911 posrc="po"
17912 test "$srcdir" = . || posrc="$srcdir/po"
17913 for i in $LINGUAS
17915 wine_fn_ignore_file "po/$i.mo"
17916 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17917 \$(MSGFMT) -o \$@ $posrc/$i.po"
17918 done
17919 else
17920 LINGUAS=
17923 if test "x$enable_tools" != xno
17924 then
17925 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17926 @./config.status tools/makedep
17927 Makefile: tools/makedep$ac_exeext
17928 distclean:: clean
17929 \$(RM) tools/makedep$ac_exeext"
17930 else
17931 wine_fn_append_rule "\$(MAKEDEP):
17932 @echo \"You need to run make in $TOOLSDIR first\" && false"
17935 if test -n "$with_wine64"
17936 then
17937 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17938 fonts server tools:
17939 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17940 $with_wine64/loader/wine:
17941 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17942 $with_wine64/loader/wine-preloader:
17943 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17944 clean::
17945 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17946 else
17947 as_fn_append LOADER_RULES "
17948 install install-lib:: wine.inf install-man-pages
17949 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17950 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17952 uninstall::
17953 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17957 if test "$srcdir" = .
17958 then
17959 ac_config_commands="$ac_config_commands .gitignore"
17963 $as_echo " done" >&6
17964 cat >confcache <<\_ACEOF
17965 # This file is a shell script that caches the results of configure
17966 # tests run on this system so they can be shared between configure
17967 # scripts and configure runs, see configure's option --config-cache.
17968 # It is not useful on other systems. If it contains results you don't
17969 # want to keep, you may remove or edit it.
17971 # config.status only pays attention to the cache file if you give it
17972 # the --recheck option to rerun configure.
17974 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17975 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17976 # following values.
17978 _ACEOF
17980 # The following way of writing the cache mishandles newlines in values,
17981 # but we know of no workaround that is simple, portable, and efficient.
17982 # So, we kill variables containing newlines.
17983 # Ultrix sh set writes to stderr and can't be redirected directly,
17984 # and sets the high bit in the cache file unless we assign to the vars.
17986 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17987 eval ac_val=\$$ac_var
17988 case $ac_val in #(
17989 *${as_nl}*)
17990 case $ac_var in #(
17991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17993 esac
17994 case $ac_var in #(
17995 _ | IFS | as_nl) ;; #(
17996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17997 *) { eval $ac_var=; unset $ac_var;} ;;
17998 esac ;;
17999 esac
18000 done
18002 (set) 2>&1 |
18003 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18004 *${as_nl}ac_space=\ *)
18005 # `set' does not quote correctly, so add quotes: double-quote
18006 # substitution turns \\\\ into \\, and sed turns \\ into \.
18007 sed -n \
18008 "s/'/'\\\\''/g;
18009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18010 ;; #(
18012 # `set' quotes correctly as required by POSIX, so do not add quotes.
18013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18015 esac |
18016 sort
18018 sed '
18019 /^ac_cv_env_/b end
18020 t clear
18021 :clear
18022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18023 t end
18024 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18025 :end' >>confcache
18026 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18027 if test -w "$cache_file"; then
18028 if test "x$cache_file" != "x/dev/null"; then
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18030 $as_echo "$as_me: updating cache $cache_file" >&6;}
18031 if test ! -f "$cache_file" || test -h "$cache_file"; then
18032 cat confcache >"$cache_file"
18033 else
18034 case $cache_file in #(
18035 */* | ?:*)
18036 mv -f confcache "$cache_file"$$ &&
18037 mv -f "$cache_file"$$ "$cache_file" ;; #(
18039 mv -f confcache "$cache_file" ;;
18040 esac
18043 else
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18045 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18048 rm -f confcache
18050 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18051 # Let make expand exec_prefix.
18052 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18054 DEFS=-DHAVE_CONFIG_H
18056 ac_libobjs=
18057 ac_ltlibobjs=
18059 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18060 # 1. Remove the extension, and $U if already installed.
18061 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18062 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18063 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18064 # will be set to the directory where LIBOBJS objects are built.
18065 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18066 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18067 done
18068 LIBOBJS=$ac_libobjs
18070 LTLIBOBJS=$ac_ltlibobjs
18074 : "${CONFIG_STATUS=./config.status}"
18075 ac_write_fail=0
18076 ac_clean_files_save=$ac_clean_files
18077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18079 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18080 as_write_fail=0
18081 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18082 #! $SHELL
18083 # Generated by $as_me.
18084 # Run this file to recreate the current configuration.
18085 # Compiler output produced by configure, useful for debugging
18086 # configure, is in config.log if it exists.
18088 debug=false
18089 ac_cs_recheck=false
18090 ac_cs_silent=false
18092 SHELL=\${CONFIG_SHELL-$SHELL}
18093 export SHELL
18094 _ASEOF
18095 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18096 ## -------------------- ##
18097 ## M4sh Initialization. ##
18098 ## -------------------- ##
18100 # Be more Bourne compatible
18101 DUALCASE=1; export DUALCASE # for MKS sh
18102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18103 emulate sh
18104 NULLCMD=:
18105 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18106 # is contrary to our usage. Disable this feature.
18107 alias -g '${1+"$@"}'='"$@"'
18108 setopt NO_GLOB_SUBST
18109 else
18110 case `(set -o) 2>/dev/null` in #(
18111 *posix*) :
18112 set -o posix ;; #(
18113 *) :
18115 esac
18119 as_nl='
18121 export as_nl
18122 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18123 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18125 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18126 # Prefer a ksh shell builtin over an external printf program on Solaris,
18127 # but without wasting forks for bash or zsh.
18128 if test -z "$BASH_VERSION$ZSH_VERSION" \
18129 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18130 as_echo='print -r --'
18131 as_echo_n='print -rn --'
18132 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18133 as_echo='printf %s\n'
18134 as_echo_n='printf %s'
18135 else
18136 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18137 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18138 as_echo_n='/usr/ucb/echo -n'
18139 else
18140 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18141 as_echo_n_body='eval
18142 arg=$1;
18143 case $arg in #(
18144 *"$as_nl"*)
18145 expr "X$arg" : "X\\(.*\\)$as_nl";
18146 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18147 esac;
18148 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18150 export as_echo_n_body
18151 as_echo_n='sh -c $as_echo_n_body as_echo'
18153 export as_echo_body
18154 as_echo='sh -c $as_echo_body as_echo'
18157 # The user is always right.
18158 if test "${PATH_SEPARATOR+set}" != set; then
18159 PATH_SEPARATOR=:
18160 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18161 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18162 PATH_SEPARATOR=';'
18167 # IFS
18168 # We need space, tab and new line, in precisely that order. Quoting is
18169 # there to prevent editors from complaining about space-tab.
18170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18171 # splitting by setting IFS to empty value.)
18172 IFS=" "" $as_nl"
18174 # Find who we are. Look in the path if we contain no directory separator.
18175 as_myself=
18176 case $0 in #((
18177 *[\\/]* ) as_myself=$0 ;;
18178 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18179 for as_dir in $PATH
18181 IFS=$as_save_IFS
18182 test -z "$as_dir" && as_dir=.
18183 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18184 done
18185 IFS=$as_save_IFS
18188 esac
18189 # We did not find ourselves, most probably we were run as `sh COMMAND'
18190 # in which case we are not to be found in the path.
18191 if test "x$as_myself" = x; then
18192 as_myself=$0
18194 if test ! -f "$as_myself"; then
18195 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18196 exit 1
18199 # Unset variables that we do not need and which cause bugs (e.g. in
18200 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18201 # suppresses any "Segmentation fault" message there. '((' could
18202 # trigger a bug in pdksh 5.2.14.
18203 for as_var in BASH_ENV ENV MAIL MAILPATH
18204 do eval test x\${$as_var+set} = xset \
18205 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18206 done
18207 PS1='$ '
18208 PS2='> '
18209 PS4='+ '
18211 # NLS nuisances.
18212 LC_ALL=C
18213 export LC_ALL
18214 LANGUAGE=C
18215 export LANGUAGE
18217 # CDPATH.
18218 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18221 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18222 # ----------------------------------------
18223 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18224 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18225 # script with STATUS, using 1 if that was 0.
18226 as_fn_error ()
18228 as_status=$1; test $as_status -eq 0 && as_status=1
18229 if test "$4"; then
18230 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18231 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18233 $as_echo "$as_me: error: $2" >&2
18234 as_fn_exit $as_status
18235 } # as_fn_error
18238 # as_fn_set_status STATUS
18239 # -----------------------
18240 # Set $? to STATUS, without forking.
18241 as_fn_set_status ()
18243 return $1
18244 } # as_fn_set_status
18246 # as_fn_exit STATUS
18247 # -----------------
18248 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18249 as_fn_exit ()
18251 set +e
18252 as_fn_set_status $1
18253 exit $1
18254 } # as_fn_exit
18256 # as_fn_unset VAR
18257 # ---------------
18258 # Portably unset VAR.
18259 as_fn_unset ()
18261 { eval $1=; unset $1;}
18263 as_unset=as_fn_unset
18264 # as_fn_append VAR VALUE
18265 # ----------------------
18266 # Append the text in VALUE to the end of the definition contained in VAR. Take
18267 # advantage of any shell optimizations that allow amortized linear growth over
18268 # repeated appends, instead of the typical quadratic growth present in naive
18269 # implementations.
18270 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18271 eval 'as_fn_append ()
18273 eval $1+=\$2
18275 else
18276 as_fn_append ()
18278 eval $1=\$$1\$2
18280 fi # as_fn_append
18282 # as_fn_arith ARG...
18283 # ------------------
18284 # Perform arithmetic evaluation on the ARGs, and store the result in the
18285 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18286 # must be portable across $(()) and expr.
18287 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18288 eval 'as_fn_arith ()
18290 as_val=$(( $* ))
18292 else
18293 as_fn_arith ()
18295 as_val=`expr "$@" || test $? -eq 1`
18297 fi # as_fn_arith
18300 if expr a : '\(a\)' >/dev/null 2>&1 &&
18301 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18302 as_expr=expr
18303 else
18304 as_expr=false
18307 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18308 as_basename=basename
18309 else
18310 as_basename=false
18313 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18314 as_dirname=dirname
18315 else
18316 as_dirname=false
18319 as_me=`$as_basename -- "$0" ||
18320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18321 X"$0" : 'X\(//\)$' \| \
18322 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18323 $as_echo X/"$0" |
18324 sed '/^.*\/\([^/][^/]*\)\/*$/{
18325 s//\1/
18328 /^X\/\(\/\/\)$/{
18329 s//\1/
18332 /^X\/\(\/\).*/{
18333 s//\1/
18336 s/.*/./; q'`
18338 # Avoid depending upon Character Ranges.
18339 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18340 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18341 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18342 as_cr_digits='0123456789'
18343 as_cr_alnum=$as_cr_Letters$as_cr_digits
18345 ECHO_C= ECHO_N= ECHO_T=
18346 case `echo -n x` in #(((((
18347 -n*)
18348 case `echo 'xy\c'` in
18349 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18350 xy) ECHO_C='\c';;
18351 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18352 ECHO_T=' ';;
18353 esac;;
18355 ECHO_N='-n';;
18356 esac
18358 rm -f conf$$ conf$$.exe conf$$.file
18359 if test -d conf$$.dir; then
18360 rm -f conf$$.dir/conf$$.file
18361 else
18362 rm -f conf$$.dir
18363 mkdir conf$$.dir 2>/dev/null
18365 if (echo >conf$$.file) 2>/dev/null; then
18366 if ln -s conf$$.file conf$$ 2>/dev/null; then
18367 as_ln_s='ln -s'
18368 # ... but there are two gotchas:
18369 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18370 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18371 # In both cases, we have to default to `cp -pR'.
18372 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18373 as_ln_s='cp -pR'
18374 elif ln conf$$.file conf$$ 2>/dev/null; then
18375 as_ln_s=ln
18376 else
18377 as_ln_s='cp -pR'
18379 else
18380 as_ln_s='cp -pR'
18382 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18383 rmdir conf$$.dir 2>/dev/null
18386 # as_fn_mkdir_p
18387 # -------------
18388 # Create "$as_dir" as a directory, including parents if necessary.
18389 as_fn_mkdir_p ()
18392 case $as_dir in #(
18393 -*) as_dir=./$as_dir;;
18394 esac
18395 test -d "$as_dir" || eval $as_mkdir_p || {
18396 as_dirs=
18397 while :; do
18398 case $as_dir in #(
18399 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18400 *) as_qdir=$as_dir;;
18401 esac
18402 as_dirs="'$as_qdir' $as_dirs"
18403 as_dir=`$as_dirname -- "$as_dir" ||
18404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18405 X"$as_dir" : 'X\(//\)[^/]' \| \
18406 X"$as_dir" : 'X\(//\)$' \| \
18407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18408 $as_echo X"$as_dir" |
18409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18410 s//\1/
18413 /^X\(\/\/\)[^/].*/{
18414 s//\1/
18417 /^X\(\/\/\)$/{
18418 s//\1/
18421 /^X\(\/\).*/{
18422 s//\1/
18425 s/.*/./; q'`
18426 test -d "$as_dir" && break
18427 done
18428 test -z "$as_dirs" || eval "mkdir $as_dirs"
18429 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18432 } # as_fn_mkdir_p
18433 if mkdir -p . 2>/dev/null; then
18434 as_mkdir_p='mkdir -p "$as_dir"'
18435 else
18436 test -d ./-p && rmdir ./-p
18437 as_mkdir_p=false
18441 # as_fn_executable_p FILE
18442 # -----------------------
18443 # Test if FILE is an executable regular file.
18444 as_fn_executable_p ()
18446 test -f "$1" && test -x "$1"
18447 } # as_fn_executable_p
18448 as_test_x='test -x'
18449 as_executable_p=as_fn_executable_p
18451 # Sed expression to map a string onto a valid CPP name.
18452 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18454 # Sed expression to map a string onto a valid variable name.
18455 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18458 exec 6>&1
18459 ## ----------------------------------- ##
18460 ## Main body of $CONFIG_STATUS script. ##
18461 ## ----------------------------------- ##
18462 _ASEOF
18463 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18466 # Save the log message, to keep $0 and so on meaningful, and to
18467 # report actual input values of CONFIG_FILES etc. instead of their
18468 # values after options handling.
18469 ac_log="
18470 This file was extended by Wine $as_me 1.7.37, which was
18471 generated by GNU Autoconf 2.69. Invocation command line was
18473 CONFIG_FILES = $CONFIG_FILES
18474 CONFIG_HEADERS = $CONFIG_HEADERS
18475 CONFIG_LINKS = $CONFIG_LINKS
18476 CONFIG_COMMANDS = $CONFIG_COMMANDS
18477 $ $0 $@
18479 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18482 _ACEOF
18484 case $ac_config_files in *"
18485 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18486 esac
18488 case $ac_config_headers in *"
18489 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18490 esac
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 # Files that config.status was made for.
18495 config_files="$ac_config_files"
18496 config_headers="$ac_config_headers"
18497 config_links="$ac_config_links"
18498 config_commands="$ac_config_commands"
18500 _ACEOF
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18503 ac_cs_usage="\
18504 \`$as_me' instantiates files and other configuration actions
18505 from templates according to the current configuration. Unless the files
18506 and actions are specified as TAGs, all are instantiated by default.
18508 Usage: $0 [OPTION]... [TAG]...
18510 -h, --help print this help, then exit
18511 -V, --version print version number and configuration settings, then exit
18512 --config print configuration, then exit
18513 -q, --quiet, --silent
18514 do not print progress messages
18515 -d, --debug don't remove temporary files
18516 --recheck update $as_me by reconfiguring in the same conditions
18517 --file=FILE[:TEMPLATE]
18518 instantiate the configuration file FILE
18519 --header=FILE[:TEMPLATE]
18520 instantiate the configuration header FILE
18522 Configuration files:
18523 $config_files
18525 Configuration headers:
18526 $config_headers
18528 Configuration links:
18529 $config_links
18531 Configuration commands:
18532 $config_commands
18534 Report bugs to <wine-devel@winehq.org>.
18535 Wine home page: <http://www.winehq.org>."
18537 _ACEOF
18538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18539 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18540 ac_cs_version="\\
18541 Wine config.status 1.7.37
18542 configured by $0, generated by GNU Autoconf 2.69,
18543 with options \\"\$ac_cs_config\\"
18545 Copyright (C) 2012 Free Software Foundation, Inc.
18546 This config.status script is free software; the Free Software Foundation
18547 gives unlimited permission to copy, distribute and modify it."
18549 ac_pwd='$ac_pwd'
18550 srcdir='$srcdir'
18551 test -n "\$AWK" || AWK=awk
18552 _ACEOF
18554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18555 # The default lists apply if the user does not specify any file.
18556 ac_need_defaults=:
18557 while test $# != 0
18559 case $1 in
18560 --*=?*)
18561 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18562 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18563 ac_shift=:
18565 --*=)
18566 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18567 ac_optarg=
18568 ac_shift=:
18571 ac_option=$1
18572 ac_optarg=$2
18573 ac_shift=shift
18575 esac
18577 case $ac_option in
18578 # Handling of the options.
18579 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18580 ac_cs_recheck=: ;;
18581 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18582 $as_echo "$ac_cs_version"; exit ;;
18583 --config | --confi | --conf | --con | --co | --c )
18584 $as_echo "$ac_cs_config"; exit ;;
18585 --debug | --debu | --deb | --de | --d | -d )
18586 debug=: ;;
18587 --file | --fil | --fi | --f )
18588 $ac_shift
18589 case $ac_optarg in
18590 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18591 '') as_fn_error $? "missing file argument" ;;
18592 esac
18593 as_fn_append CONFIG_FILES " '$ac_optarg'"
18594 ac_need_defaults=false;;
18595 --header | --heade | --head | --hea )
18596 $ac_shift
18597 case $ac_optarg in
18598 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18599 esac
18600 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18601 ac_need_defaults=false;;
18602 --he | --h)
18603 # Conflict between --help and --header
18604 as_fn_error $? "ambiguous option: \`$1'
18605 Try \`$0 --help' for more information.";;
18606 --help | --hel | -h )
18607 $as_echo "$ac_cs_usage"; exit ;;
18608 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18609 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18610 ac_cs_silent=: ;;
18612 # This is an error.
18613 -*) as_fn_error $? "unrecognized option: \`$1'
18614 Try \`$0 --help' for more information." ;;
18616 *) as_fn_append ac_config_targets " $1"
18617 ac_need_defaults=false ;;
18619 esac
18620 shift
18621 done
18623 ac_configure_extra_args=
18625 if $ac_cs_silent; then
18626 exec 6>/dev/null
18627 ac_configure_extra_args="$ac_configure_extra_args --silent"
18630 _ACEOF
18631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18632 if \$ac_cs_recheck; then
18633 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18634 shift
18635 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18636 CONFIG_SHELL='$SHELL'
18637 export CONFIG_SHELL
18638 exec "\$@"
18641 _ACEOF
18642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18643 exec 5>>config.log
18645 echo
18646 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18647 ## Running $as_me. ##
18648 _ASBOX
18649 $as_echo "$ac_log"
18650 } >&5
18652 _ACEOF
18653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18655 # INIT-COMMANDS
18657 wine_fn_output_makedep ()
18659 as_dir=tools; as_fn_mkdir_p
18660 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18662 wine_fn_output_makefile ()
18664 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18665 `cat $wine_rules_file`
18666 _WINE_EOF
18667 as_fn_error $? "could not create Makefile" "$LINENO" 5
18669 wine_fn_output_gitignore ()
18671 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18672 $GITIGNORE
18673 _WINE_EOF
18674 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18677 _ACEOF
18679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18681 # Handling of arguments.
18682 for ac_config_target in $ac_config_targets
18684 case $ac_config_target in
18685 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18686 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18687 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18688 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18689 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18690 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18691 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18692 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18693 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18694 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18695 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18696 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18697 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18698 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18700 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18701 esac
18702 done
18705 # If the user did not use the arguments to specify the items to instantiate,
18706 # then the envvar interface is used. Set only those that are not.
18707 # We use the long form for the default assignment because of an extremely
18708 # bizarre bug on SunOS 4.1.3.
18709 if $ac_need_defaults; then
18710 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18711 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18712 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18713 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18716 # Have a temporary directory for convenience. Make it in the build tree
18717 # simply because there is no reason against having it here, and in addition,
18718 # creating and moving files from /tmp can sometimes cause problems.
18719 # Hook for its removal unless debugging.
18720 # Note that there is a small window in which the directory will not be cleaned:
18721 # after its creation but before its name has been assigned to `$tmp'.
18722 $debug ||
18724 tmp= ac_tmp=
18725 trap 'exit_status=$?
18726 : "${ac_tmp:=$tmp}"
18727 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18729 trap 'as_fn_exit 1' 1 2 13 15
18731 # Create a (secure) tmp directory for tmp files.
18734 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18735 test -d "$tmp"
18736 } ||
18738 tmp=./conf$$-$RANDOM
18739 (umask 077 && mkdir "$tmp")
18740 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18741 ac_tmp=$tmp
18743 # Set up the scripts for CONFIG_FILES section.
18744 # No need to generate them if there are no CONFIG_FILES.
18745 # This happens for instance with `./config.status config.h'.
18746 if test -n "$CONFIG_FILES"; then
18749 ac_cr=`echo X | tr X '\015'`
18750 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18751 # But we know of no other shell where ac_cr would be empty at this
18752 # point, so we can use a bashism as a fallback.
18753 if test "x$ac_cr" = x; then
18754 eval ac_cr=\$\'\\r\'
18756 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18757 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18758 ac_cs_awk_cr='\\r'
18759 else
18760 ac_cs_awk_cr=$ac_cr
18763 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18764 _ACEOF
18768 echo "cat >conf$$subs.awk <<_ACEOF" &&
18769 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18770 echo "_ACEOF"
18771 } >conf$$subs.sh ||
18772 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18774 ac_delim='%!_!# '
18775 for ac_last_try in false false false false false :; do
18776 . ./conf$$subs.sh ||
18777 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18779 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18780 if test $ac_delim_n = $ac_delim_num; then
18781 break
18782 elif $ac_last_try; then
18783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18784 else
18785 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18787 done
18788 rm -f conf$$subs.sh
18790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18791 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18792 _ACEOF
18793 sed -n '
18795 s/^/S["/; s/!.*/"]=/
18798 s/^[^!]*!//
18799 :repl
18800 t repl
18801 s/'"$ac_delim"'$//
18802 t delim
18805 s/\(.\{148\}\)..*/\1/
18806 t more1
18807 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18810 b repl
18811 :more1
18812 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18815 s/.\{148\}//
18816 t nl
18817 :delim
18819 s/\(.\{148\}\)..*/\1/
18820 t more2
18821 s/["\\]/\\&/g; s/^/"/; s/$/"/
18824 :more2
18825 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18828 s/.\{148\}//
18829 t delim
18830 ' <conf$$subs.awk | sed '
18831 /^[^""]/{
18833 s/\n//
18835 ' >>$CONFIG_STATUS || ac_write_fail=1
18836 rm -f conf$$subs.awk
18837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18838 _ACAWK
18839 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18840 for (key in S) S_is_set[key] = 1
18841 FS = "\a"
18845 line = $ 0
18846 nfields = split(line, field, "@")
18847 substed = 0
18848 len = length(field[1])
18849 for (i = 2; i < nfields; i++) {
18850 key = field[i]
18851 keylen = length(key)
18852 if (S_is_set[key]) {
18853 value = S[key]
18854 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18855 len += length(value) + length(field[++i])
18856 substed = 1
18857 } else
18858 len += 1 + keylen
18861 print line
18864 _ACAWK
18865 _ACEOF
18866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18867 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18868 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18869 else
18871 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18872 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18873 _ACEOF
18875 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18876 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18877 # trailing colons and then remove the whole line if VPATH becomes empty
18878 # (actually we leave an empty line to preserve line numbers).
18879 if test "x$srcdir" = x.; then
18880 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18882 s///
18883 s/^/:/
18884 s/[ ]*$/:/
18885 s/:\$(srcdir):/:/g
18886 s/:\${srcdir}:/:/g
18887 s/:@srcdir@:/:/g
18888 s/^:*//
18889 s/:*$//
18891 s/\(=[ ]*\).*/\1/
18893 s/\n//
18894 s/^[^=]*=[ ]*$//
18898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18899 fi # test -n "$CONFIG_FILES"
18901 # Set up the scripts for CONFIG_HEADERS section.
18902 # No need to generate them if there are no CONFIG_HEADERS.
18903 # This happens for instance with `./config.status Makefile'.
18904 if test -n "$CONFIG_HEADERS"; then
18905 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18906 BEGIN {
18907 _ACEOF
18909 # Transform confdefs.h into an awk script `defines.awk', embedded as
18910 # here-document in config.status, that substitutes the proper values into
18911 # config.h.in to produce config.h.
18913 # Create a delimiter string that does not exist in confdefs.h, to ease
18914 # handling of long lines.
18915 ac_delim='%!_!# '
18916 for ac_last_try in false false :; do
18917 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18918 if test -z "$ac_tt"; then
18919 break
18920 elif $ac_last_try; then
18921 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18922 else
18923 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18925 done
18927 # For the awk script, D is an array of macro values keyed by name,
18928 # likewise P contains macro parameters if any. Preserve backslash
18929 # newline sequences.
18931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18932 sed -n '
18933 s/.\{148\}/&'"$ac_delim"'/g
18934 t rset
18935 :rset
18936 s/^[ ]*#[ ]*define[ ][ ]*/ /
18937 t def
18939 :def
18940 s/\\$//
18941 t bsnl
18942 s/["\\]/\\&/g
18943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18944 D["\1"]=" \3"/p
18945 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18947 :bsnl
18948 s/["\\]/\\&/g
18949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18950 D["\1"]=" \3\\\\\\n"\\/p
18951 t cont
18952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18953 t cont
18955 :cont
18957 s/.\{148\}/&'"$ac_delim"'/g
18958 t clear
18959 :clear
18960 s/\\$//
18961 t bsnlc
18962 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18964 :bsnlc
18965 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18966 b cont
18967 ' <confdefs.h | sed '
18968 s/'"$ac_delim"'/"\\\
18969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972 for (key in D) D_is_set[key] = 1
18973 FS = "\a"
18975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18976 line = \$ 0
18977 split(line, arg, " ")
18978 if (arg[1] == "#") {
18979 defundef = arg[2]
18980 mac1 = arg[3]
18981 } else {
18982 defundef = substr(arg[1], 2)
18983 mac1 = arg[2]
18985 split(mac1, mac2, "(") #)
18986 macro = mac2[1]
18987 prefix = substr(line, 1, index(line, defundef) - 1)
18988 if (D_is_set[macro]) {
18989 # Preserve the white space surrounding the "#".
18990 print prefix "define", macro P[macro] D[macro]
18991 next
18992 } else {
18993 # Replace #undef with comments. This is necessary, for example,
18994 # in the case of _POSIX_SOURCE, which is predefined and required
18995 # on some systems where configure will not decide to define it.
18996 if (defundef == "undef") {
18997 print "/*", prefix defundef, macro, "*/"
18998 next
19002 { print }
19003 _ACAWK
19004 _ACEOF
19005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19006 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19007 fi # test -n "$CONFIG_HEADERS"
19010 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19011 shift
19012 for ac_tag
19014 case $ac_tag in
19015 :[FHLC]) ac_mode=$ac_tag; continue;;
19016 esac
19017 case $ac_mode$ac_tag in
19018 :[FHL]*:*);;
19019 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19020 :[FH]-) ac_tag=-:-;;
19021 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19022 esac
19023 ac_save_IFS=$IFS
19024 IFS=:
19025 set x $ac_tag
19026 IFS=$ac_save_IFS
19027 shift
19028 ac_file=$1
19029 shift
19031 case $ac_mode in
19032 :L) ac_source=$1;;
19033 :[FH])
19034 ac_file_inputs=
19035 for ac_f
19037 case $ac_f in
19038 -) ac_f="$ac_tmp/stdin";;
19039 *) # Look for the file first in the build tree, then in the source tree
19040 # (if the path is not absolute). The absolute path cannot be DOS-style,
19041 # because $ac_f cannot contain `:'.
19042 test -f "$ac_f" ||
19043 case $ac_f in
19044 [\\/$]*) false;;
19045 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19046 esac ||
19047 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19048 esac
19049 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19050 as_fn_append ac_file_inputs " '$ac_f'"
19051 done
19053 # Let's still pretend it is `configure' which instantiates (i.e., don't
19054 # use $as_me), people would be surprised to read:
19055 # /* config.h. Generated by config.status. */
19056 configure_input='Generated from '`
19057 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19058 `' by configure.'
19059 if test x"$ac_file" != x-; then
19060 configure_input="$ac_file. $configure_input"
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19062 $as_echo "$as_me: creating $ac_file" >&6;}
19064 # Neutralize special characters interpreted by sed in replacement strings.
19065 case $configure_input in #(
19066 *\&* | *\|* | *\\* )
19067 ac_sed_conf_input=`$as_echo "$configure_input" |
19068 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19069 *) ac_sed_conf_input=$configure_input;;
19070 esac
19072 case $ac_tag in
19073 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19075 esac
19077 esac
19079 ac_dir=`$as_dirname -- "$ac_file" ||
19080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19081 X"$ac_file" : 'X\(//\)[^/]' \| \
19082 X"$ac_file" : 'X\(//\)$' \| \
19083 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19084 $as_echo X"$ac_file" |
19085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19086 s//\1/
19089 /^X\(\/\/\)[^/].*/{
19090 s//\1/
19093 /^X\(\/\/\)$/{
19094 s//\1/
19097 /^X\(\/\).*/{
19098 s//\1/
19101 s/.*/./; q'`
19102 as_dir="$ac_dir"; as_fn_mkdir_p
19103 ac_builddir=.
19105 case "$ac_dir" in
19106 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19108 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19109 # A ".." for each directory in $ac_dir_suffix.
19110 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19111 case $ac_top_builddir_sub in
19112 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19113 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19114 esac ;;
19115 esac
19116 ac_abs_top_builddir=$ac_pwd
19117 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19118 # for backward compatibility:
19119 ac_top_builddir=$ac_top_build_prefix
19121 case $srcdir in
19122 .) # We are building in place.
19123 ac_srcdir=.
19124 ac_top_srcdir=$ac_top_builddir_sub
19125 ac_abs_top_srcdir=$ac_pwd ;;
19126 [\\/]* | ?:[\\/]* ) # Absolute name.
19127 ac_srcdir=$srcdir$ac_dir_suffix;
19128 ac_top_srcdir=$srcdir
19129 ac_abs_top_srcdir=$srcdir ;;
19130 *) # Relative name.
19131 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19132 ac_top_srcdir=$ac_top_build_prefix$srcdir
19133 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19134 esac
19135 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19138 case $ac_mode in
19141 # CONFIG_FILE
19144 _ACEOF
19146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19147 # If the template does not know about datarootdir, expand it.
19148 # FIXME: This hack should be removed a few years after 2.60.
19149 ac_datarootdir_hack=; ac_datarootdir_seen=
19150 ac_sed_dataroot='
19151 /datarootdir/ {
19155 /@datadir@/p
19156 /@docdir@/p
19157 /@infodir@/p
19158 /@localedir@/p
19159 /@mandir@/p'
19160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19161 *datarootdir*) ac_datarootdir_seen=yes;;
19162 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19164 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19165 _ACEOF
19166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19167 ac_datarootdir_hack='
19168 s&@datadir@&$datadir&g
19169 s&@docdir@&$docdir&g
19170 s&@infodir@&$infodir&g
19171 s&@localedir@&$localedir&g
19172 s&@mandir@&$mandir&g
19173 s&\\\${datarootdir}&$datarootdir&g' ;;
19174 esac
19175 _ACEOF
19177 # Neutralize VPATH when `$srcdir' = `.'.
19178 # Shell code in configure.ac might set extrasub.
19179 # FIXME: do we really want to maintain this feature?
19180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19181 ac_sed_extra="$ac_vpsub
19182 $extrasub
19183 _ACEOF
19184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19187 s|@configure_input@|$ac_sed_conf_input|;t t
19188 s&@top_builddir@&$ac_top_builddir_sub&;t t
19189 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19190 s&@srcdir@&$ac_srcdir&;t t
19191 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19192 s&@top_srcdir@&$ac_top_srcdir&;t t
19193 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19194 s&@builddir@&$ac_builddir&;t t
19195 s&@abs_builddir@&$ac_abs_builddir&;t t
19196 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19197 $ac_datarootdir_hack
19199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19200 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19202 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19203 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19204 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19205 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19207 which seems to be undefined. Please make sure it is defined" >&5
19208 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19209 which seems to be undefined. Please make sure it is defined" >&2;}
19211 rm -f "$ac_tmp/stdin"
19212 case $ac_file in
19213 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19214 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19215 esac \
19216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19220 # CONFIG_HEADER
19222 if test x"$ac_file" != x-; then
19224 $as_echo "/* $configure_input */" \
19225 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19226 } >"$ac_tmp/config.h" \
19227 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19228 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19230 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19231 else
19232 rm -f "$ac_file"
19233 mv "$ac_tmp/config.h" "$ac_file" \
19234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19236 else
19237 $as_echo "/* $configure_input */" \
19238 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19239 || as_fn_error $? "could not create -" "$LINENO" 5
19244 # CONFIG_LINK
19247 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19249 else
19250 # Prefer the file from the source tree if names are identical.
19251 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19252 ac_source=$srcdir/$ac_source
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19256 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19258 if test ! -r "$ac_source"; then
19259 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19261 rm -f "$ac_file"
19263 # Try a relative symlink, then a hard link, then a copy.
19264 case $ac_source in
19265 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19266 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19267 esac
19268 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19269 ln "$ac_source" "$ac_file" 2>/dev/null ||
19270 cp -p "$ac_source" "$ac_file" ||
19271 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19274 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19275 $as_echo "$as_me: executing $ac_file commands" >&6;}
19277 esac
19280 case $ac_file$ac_mode in
19281 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19282 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19283 "Makefile":C) wine_fn_output_makefile Makefile ;;
19284 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19286 esac
19287 done # for ac_tag
19290 as_fn_exit 0
19291 _ACEOF
19292 ac_clean_files=$ac_clean_files_save
19294 test $ac_write_fail = 0 ||
19295 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19298 # configure is writing to config.log, and then calls config.status.
19299 # config.status does its own redirection, appending to config.log.
19300 # Unfortunately, on DOS this fails, as config.log is still kept open
19301 # by configure, so config.status won't be able to write to it; its
19302 # output is simply discarded. So we exec the FD to /dev/null,
19303 # effectively closing config.log, so it can be properly (re)opened and
19304 # appended to by config.status. When coming back to configure, we
19305 # need to make the FD available again.
19306 if test "$no_create" != yes; then
19307 ac_cs_success=:
19308 ac_config_status_args=
19309 test "$silent" = yes &&
19310 ac_config_status_args="$ac_config_status_args --quiet"
19311 exec 5>/dev/null
19312 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19313 exec 5>>config.log
19314 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19315 # would make configure fail if this is the last instruction.
19316 $ac_cs_success || as_fn_exit 1
19318 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19320 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19324 if test "$no_create" = "yes"
19325 then
19326 exit 0
19329 ac_save_IFS="$IFS"
19330 if test "x$wine_notices != "x; then
19331 echo >&6
19332 IFS="|"
19333 for msg in $wine_notices; do
19334 IFS="$ac_save_IFS"
19335 if ${msg:+false} :; then :
19337 else
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19339 $as_echo "$as_me: $msg" >&6;}
19341 done
19343 IFS="|"
19344 for msg in $wine_warnings; do
19345 IFS="$ac_save_IFS"
19346 if ${msg:+false} :; then :
19348 else
19349 echo >&2
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19351 $as_echo "$as_me: WARNING: $msg" >&2;}
19353 done
19354 IFS="$ac_save_IFS"
19356 $as_echo "
19357 $as_me: Finished. Do '${ac_make}' to compile Wine.
19358 " >&6