d3d9/tests: Move a Present out of the loops in fog_with_shader_test().
[wine/multimedia.git] / configure
blob1265c861483c3ff91be867031c160b16427e9178
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.36'
584 PACKAGE_STRING='Wine 1.7.36'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
921 enable_apphelp
922 enable_appwiz_cpl
923 enable_atl
924 enable_atl100
925 enable_atl110
926 enable_atl80
927 enable_atl90
928 enable_authz
929 enable_avicap32
930 enable_avifil32
931 enable_avrt
932 enable_bcrypt
933 enable_browseui
934 enable_cabinet
935 enable_capi2032
936 enable_cards
937 enable_cfgmgr32
938 enable_clusapi
939 enable_combase
940 enable_comcat
941 enable_comctl32
942 enable_comdlg32
943 enable_compstui
944 enable_comsvcs
945 enable_connect
946 enable_credui
947 enable_crtdll
948 enable_crypt32
949 enable_cryptdlg
950 enable_cryptdll
951 enable_cryptext
952 enable_cryptnet
953 enable_cryptui
954 enable_ctapi32
955 enable_ctl3d32
956 enable_d2d1
957 enable_d3d10
958 enable_d3d10_1
959 enable_d3d10core
960 enable_d3d11
961 enable_d3d8
962 enable_d3d9
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
974 enable_d3dim
975 enable_d3drm
976 enable_d3dx10_33
977 enable_d3dx10_34
978 enable_d3dx10_35
979 enable_d3dx10_36
980 enable_d3dx10_37
981 enable_d3dx10_38
982 enable_d3dx10_39
983 enable_d3dx10_40
984 enable_d3dx10_41
985 enable_d3dx10_42
986 enable_d3dx10_43
987 enable_d3dx11_42
988 enable_d3dx11_43
989 enable_d3dx9_24
990 enable_d3dx9_25
991 enable_d3dx9_26
992 enable_d3dx9_27
993 enable_d3dx9_28
994 enable_d3dx9_29
995 enable_d3dx9_30
996 enable_d3dx9_31
997 enable_d3dx9_32
998 enable_d3dx9_33
999 enable_d3dx9_34
1000 enable_d3dx9_35
1001 enable_d3dx9_36
1002 enable_d3dx9_37
1003 enable_d3dx9_38
1004 enable_d3dx9_39
1005 enable_d3dx9_40
1006 enable_d3dx9_41
1007 enable_d3dx9_42
1008 enable_d3dx9_43
1009 enable_d3dxof
1010 enable_dbgeng
1011 enable_dbghelp
1012 enable_dciman32
1013 enable_ddraw
1014 enable_ddrawex
1015 enable_devenum
1016 enable_dhcpcsvc
1017 enable_difxapi
1018 enable_dinput
1019 enable_dinput8
1020 enable_dispex
1021 enable_dmband
1022 enable_dmcompos
1023 enable_dmime
1024 enable_dmloader
1025 enable_dmscript
1026 enable_dmstyle
1027 enable_dmsynth
1028 enable_dmusic
1029 enable_dmusic32
1030 enable_dnsapi
1031 enable_dplay
1032 enable_dplayx
1033 enable_dpnaddr
1034 enable_dpnet
1035 enable_dpnhpast
1036 enable_dpnlobby
1037 enable_dpvoice
1038 enable_dpwsockx
1039 enable_drmclien
1040 enable_dsound
1041 enable_dssenh
1042 enable_dswave
1043 enable_dwmapi
1044 enable_dwrite
1045 enable_dxdiagn
1046 enable_dxgi
1047 enable_dxva2
1048 enable_evr
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1051 enable_faultrep
1052 enable_fltlib
1053 enable_fntcache
1054 enable_fontsub
1055 enable_fusion
1056 enable_fwpuclnt
1057 enable_gameux
1058 enable_gdi32
1059 enable_gdiplus
1060 enable_glu32
1061 enable_gphoto2_ds
1062 enable_gpkcsp
1063 enable_hal
1064 enable_hhctrl_ocx
1065 enable_hid
1066 enable_hlink
1067 enable_hnetcfg
1068 enable_httpapi
1069 enable_iccvid
1070 enable_icmp
1071 enable_ieframe
1072 enable_imaadp32_acm
1073 enable_imagehlp
1074 enable_imm32
1075 enable_inetcomm
1076 enable_inetcpl_cpl
1077 enable_inetmib1
1078 enable_infosoft
1079 enable_initpki
1080 enable_inkobj
1081 enable_inseng
1082 enable_iphlpapi
1083 enable_itircl
1084 enable_itss
1085 enable_joy_cpl
1086 enable_jscript
1087 enable_jsproxy
1088 enable_kernel32
1089 enable_ksuser
1090 enable_ktmw32
1091 enable_loadperf
1092 enable_localspl
1093 enable_localui
1094 enable_lz32
1095 enable_mapi32
1096 enable_mapistub
1097 enable_mciavi32
1098 enable_mcicda
1099 enable_mciqtz32
1100 enable_mciseq
1101 enable_mciwave
1102 enable_mf
1103 enable_mfplat
1104 enable_mfreadwrite
1105 enable_mgmtapi
1106 enable_midimap
1107 enable_mlang
1108 enable_mmcndmgr
1109 enable_mmdevapi
1110 enable_mountmgr_sys
1111 enable_mpr
1112 enable_mprapi
1113 enable_msacm32_drv
1114 enable_msacm32
1115 enable_msadp32_acm
1116 enable_msasn1
1117 enable_mscat32
1118 enable_mscms
1119 enable_mscoree
1120 enable_msctf
1121 enable_msdaps
1122 enable_msdmo
1123 enable_msftedit
1124 enable_msg711_acm
1125 enable_msgsm32_acm
1126 enable_mshtml_tlb
1127 enable_mshtml
1128 enable_msi
1129 enable_msident
1130 enable_msimg32
1131 enable_msimsg
1132 enable_msimtf
1133 enable_msisip
1134 enable_msisys_ocx
1135 enable_msls31
1136 enable_msnet32
1137 enable_mspatcha
1138 enable_msrle32
1139 enable_mssign32
1140 enable_mssip32
1141 enable_mstask
1142 enable_msvcirt
1143 enable_msvcm80
1144 enable_msvcm90
1145 enable_msvcp100
1146 enable_msvcp110
1147 enable_msvcp120
1148 enable_msvcp120_app
1149 enable_msvcp60
1150 enable_msvcp70
1151 enable_msvcp71
1152 enable_msvcp80
1153 enable_msvcp90
1154 enable_msvcr100
1155 enable_msvcr110
1156 enable_msvcr120
1157 enable_msvcr120_app
1158 enable_msvcr70
1159 enable_msvcr71
1160 enable_msvcr80
1161 enable_msvcr90
1162 enable_msvcrt
1163 enable_msvcrt20
1164 enable_msvcrt40
1165 enable_msvcrtd
1166 enable_msvfw32
1167 enable_msvidc32
1168 enable_mswsock
1169 enable_msxml
1170 enable_msxml2
1171 enable_msxml3
1172 enable_msxml4
1173 enable_msxml6
1174 enable_nddeapi
1175 enable_ndis_sys
1176 enable_netapi32
1177 enable_netcfgx
1178 enable_netprofm
1179 enable_newdev
1180 enable_normaliz
1181 enable_npmshtml
1182 enable_npptools
1183 enable_ntdll
1184 enable_ntdsapi
1185 enable_ntoskrnl_exe
1186 enable_ntprint
1187 enable_objsel
1188 enable_odbc32
1189 enable_odbccp32
1190 enable_odbccu32
1191 enable_ole32
1192 enable_oleacc
1193 enable_oleaut32
1194 enable_olecli32
1195 enable_oledb32
1196 enable_oledlg
1197 enable_olepro32
1198 enable_olesvr32
1199 enable_olethk32
1200 enable_openal32
1201 enable_opencl
1202 enable_opengl32
1203 enable_packager
1204 enable_pdh
1205 enable_photometadatahandler
1206 enable_pidgen
1207 enable_powrprof
1208 enable_printui
1209 enable_prntvpt
1210 enable_propsys
1211 enable_psapi
1212 enable_pstorec
1213 enable_qcap
1214 enable_qedit
1215 enable_qmgr
1216 enable_qmgrprxy
1217 enable_quartz
1218 enable_query
1219 enable_rasapi32
1220 enable_rasdlg
1221 enable_regapi
1222 enable_resutils
1223 enable_riched20
1224 enable_riched32
1225 enable_rpcrt4
1226 enable_rsabase
1227 enable_rsaenh
1228 enable_rstrtmgr
1229 enable_rtutils
1230 enable_samlib
1231 enable_sane_ds
1232 enable_scarddlg
1233 enable_sccbase
1234 enable_schannel
1235 enable_schedsvc
1236 enable_scrrun
1237 enable_scsiport_sys
1238 enable_secur32
1239 enable_security
1240 enable_sensapi
1241 enable_serialui
1242 enable_setupapi
1243 enable_sfc
1244 enable_sfc_os
1245 enable_shdoclc
1246 enable_shdocvw
1247 enable_shell32
1248 enable_shfolder
1249 enable_shlwapi
1250 enable_slbcsp
1251 enable_slc
1252 enable_snmpapi
1253 enable_softpub
1254 enable_spoolss
1255 enable_stdole2_tlb
1256 enable_stdole32_tlb
1257 enable_sti
1258 enable_svrapi
1259 enable_sxs
1260 enable_t2embed
1261 enable_tapi32
1262 enable_taskschd
1263 enable_traffic
1264 enable_twain_32
1265 enable_unicows
1266 enable_updspapi
1267 enable_url
1268 enable_urlmon
1269 enable_usbd_sys
1270 enable_user32
1271 enable_userenv
1272 enable_usp10
1273 enable_uxtheme
1274 enable_vbscript
1275 enable_vcomp
1276 enable_vcomp100
1277 enable_vcomp90
1278 enable_vdmdbg
1279 enable_version
1280 enable_vssapi
1281 enable_wbemdisp
1282 enable_wbemprox
1283 enable_webservices
1284 enable_wer
1285 enable_wevtapi
1286 enable_wiaservc
1287 enable_windowscodecs
1288 enable_windowscodecsext
1289 enable_winealsa_drv
1290 enable_winecoreaudio_drv
1291 enable_wined3d
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1294 enable_winemac_drv
1295 enable_winemapi
1296 enable_winemp3_acm
1297 enable_wineoss_drv
1298 enable_wineps_drv
1299 enable_wineqtdecoder
1300 enable_winex11_drv
1301 enable_wing32
1302 enable_winhttp
1303 enable_wininet
1304 enable_winmm
1305 enable_winnls32
1306 enable_winscard
1307 enable_winspool_drv
1308 enable_winsta
1309 enable_wintab32
1310 enable_wintrust
1311 enable_wlanapi
1312 enable_wldap32
1313 enable_wmi
1314 enable_wmiutils
1315 enable_wmp
1316 enable_wmvcore
1317 enable_wnaspi32
1318 enable_wpcap
1319 enable_ws2_32
1320 enable_wshom_ocx
1321 enable_wsnmp32
1322 enable_wsock32
1323 enable_wtsapi32
1324 enable_wuapi
1325 enable_wuaueng
1326 enable_x3daudio1_1
1327 enable_x3daudio1_7
1328 enable_xapofx1_1
1329 enable_xapofx1_3
1330 enable_xapofx1_4
1331 enable_xapofx1_5
1332 enable_xaudio2_7
1333 enable_xinput1_1
1334 enable_xinput1_2
1335 enable_xinput1_3
1336 enable_xinput1_4
1337 enable_xinput9_1_0
1338 enable_xmllite
1339 enable_xolehlp
1340 enable_xpsprint
1341 enable_xpssvcs
1342 enable_documentation
1343 enable_fonts
1344 enable_include
1345 enable_libs_port
1346 enable_libs_wine
1347 enable_libs_wpp
1348 enable_loader
1349 enable_arp
1350 enable_aspnet_regiis
1351 enable_attrib
1352 enable_cabarc
1353 enable_cacls
1354 enable_clock
1355 enable_cmd
1356 enable_conhost
1357 enable_control
1358 enable_cscript
1359 enable_dpnsvr
1360 enable_dxdiag
1361 enable_eject
1362 enable_expand
1363 enable_explorer
1364 enable_extrac32
1365 enable_findstr
1366 enable_hh
1367 enable_hostname
1368 enable_icinfo
1369 enable_iexplore
1370 enable_ipconfig
1371 enable_lodctr
1372 enable_mofcomp
1373 enable_mshta
1374 enable_msiexec
1375 enable_net
1376 enable_netsh
1377 enable_netstat
1378 enable_ngen
1379 enable_notepad
1380 enable_oleview
1381 enable_ping
1382 enable_plugplay
1383 enable_presentationfontcache
1384 enable_progman
1385 enable_reg
1386 enable_regasm
1387 enable_regedit
1388 enable_regsvcs
1389 enable_regsvr32
1390 enable_rpcss
1391 enable_rundll32
1392 enable_sc
1393 enable_schtasks
1394 enable_sdbinst
1395 enable_secedit
1396 enable_servicemodelreg
1397 enable_services
1398 enable_spoolsv
1399 enable_start
1400 enable_svchost
1401 enable_systeminfo
1402 enable_taskkill
1403 enable_tasklist
1404 enable_taskmgr
1405 enable_termsv
1406 enable_uninstaller
1407 enable_unlodctr
1408 enable_view
1409 enable_wevtutil
1410 enable_wineboot
1411 enable_winebrowser
1412 enable_winecfg
1413 enable_wineconsole
1414 enable_winedbg
1415 enable_winedevice
1416 enable_winefile
1417 enable_winemenubuilder
1418 enable_winemine
1419 enable_winemsibuilder
1420 enable_winepath
1421 enable_winetest
1422 enable_winhlp32
1423 enable_winver
1424 enable_wmic
1425 enable_wordpad
1426 enable_write
1427 enable_wscript
1428 enable_wusa
1429 enable_xcopy
1430 enable_server
1431 enable_tools
1433 ac_precious_vars='build_alias
1434 host_alias
1435 target_alias
1437 CFLAGS
1438 LDFLAGS
1439 LIBS
1440 CPPFLAGS
1442 CXXFLAGS
1445 XMKMF
1446 XML2_CFLAGS
1447 XML2_LIBS
1448 XSLT_CFLAGS
1449 XSLT_LIBS
1450 DBUS_CFLAGS
1451 DBUS_LIBS
1452 HAL_CFLAGS
1453 HAL_LIBS
1454 GNUTLS_CFLAGS
1455 GNUTLS_LIBS
1456 SANE_CFLAGS
1457 SANE_LIBS
1458 GPHOTO2_CFLAGS
1459 GPHOTO2_LIBS
1460 GPHOTO2_PORT_CFLAGS
1461 GPHOTO2_PORT_LIBS
1462 LCMS2_CFLAGS
1463 LCMS2_LIBS
1464 FREETYPE_CFLAGS
1465 FREETYPE_LIBS
1466 GSTREAMER_CFLAGS
1467 GSTREAMER_LIBS
1468 CAPI20_CFLAGS
1469 CAPI20_LIBS
1470 FONTCONFIG_CFLAGS
1471 FONTCONFIG_LIBS
1472 JPEG_CFLAGS
1473 JPEG_LIBS
1474 PNG_CFLAGS
1475 PNG_LIBS
1476 TIFF_CFLAGS
1477 TIFF_LIBS
1478 MPG123_CFLAGS
1479 MPG123_LIBS'
1482 # Initialize some variables set by options.
1483 ac_init_help=
1484 ac_init_version=false
1485 ac_unrecognized_opts=
1486 ac_unrecognized_sep=
1487 # The variables have the same names as the options, with
1488 # dashes changed to underlines.
1489 cache_file=/dev/null
1490 exec_prefix=NONE
1491 no_create=
1492 no_recursion=
1493 prefix=NONE
1494 program_prefix=NONE
1495 program_suffix=NONE
1496 program_transform_name=s,x,x,
1497 silent=
1498 site=
1499 srcdir=
1500 verbose=
1501 x_includes=NONE
1502 x_libraries=NONE
1504 # Installation directory options.
1505 # These are left unexpanded so users can "make install exec_prefix=/foo"
1506 # and all the variables that are supposed to be based on exec_prefix
1507 # by default will actually change.
1508 # Use braces instead of parens because sh, perl, etc. also accept them.
1509 # (The list follows the same order as the GNU Coding Standards.)
1510 bindir='${exec_prefix}/bin'
1511 sbindir='${exec_prefix}/sbin'
1512 libexecdir='${exec_prefix}/libexec'
1513 datarootdir='${prefix}/share'
1514 datadir='${datarootdir}'
1515 sysconfdir='${prefix}/etc'
1516 sharedstatedir='${prefix}/com'
1517 localstatedir='${prefix}/var'
1518 includedir='${prefix}/include'
1519 oldincludedir='/usr/include'
1520 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1521 infodir='${datarootdir}/info'
1522 htmldir='${docdir}'
1523 dvidir='${docdir}'
1524 pdfdir='${docdir}'
1525 psdir='${docdir}'
1526 libdir='${exec_prefix}/lib'
1527 localedir='${datarootdir}/locale'
1528 mandir='${datarootdir}/man'
1530 ac_prev=
1531 ac_dashdash=
1532 for ac_option
1534 # If the previous option needs an argument, assign it.
1535 if test -n "$ac_prev"; then
1536 eval $ac_prev=\$ac_option
1537 ac_prev=
1538 continue
1541 case $ac_option in
1542 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1543 *=) ac_optarg= ;;
1544 *) ac_optarg=yes ;;
1545 esac
1547 # Accept the important Cygnus configure options, so we can diagnose typos.
1549 case $ac_dashdash$ac_option in
1551 ac_dashdash=yes ;;
1553 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1554 ac_prev=bindir ;;
1555 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1556 bindir=$ac_optarg ;;
1558 -build | --build | --buil | --bui | --bu)
1559 ac_prev=build_alias ;;
1560 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1561 build_alias=$ac_optarg ;;
1563 -cache-file | --cache-file | --cache-fil | --cache-fi \
1564 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1565 ac_prev=cache_file ;;
1566 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1567 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1568 cache_file=$ac_optarg ;;
1570 --config-cache | -C)
1571 cache_file=config.cache ;;
1573 -datadir | --datadir | --datadi | --datad)
1574 ac_prev=datadir ;;
1575 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1576 datadir=$ac_optarg ;;
1578 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1579 | --dataroo | --dataro | --datar)
1580 ac_prev=datarootdir ;;
1581 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1582 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1583 datarootdir=$ac_optarg ;;
1585 -disable-* | --disable-*)
1586 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1587 # Reject names that are not valid shell variable names.
1588 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1589 as_fn_error $? "invalid feature name: $ac_useropt"
1590 ac_useropt_orig=$ac_useropt
1591 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1592 case $ac_user_opts in
1594 "enable_$ac_useropt"
1595 "*) ;;
1596 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1597 ac_unrecognized_sep=', ';;
1598 esac
1599 eval enable_$ac_useropt=no ;;
1601 -docdir | --docdir | --docdi | --doc | --do)
1602 ac_prev=docdir ;;
1603 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1604 docdir=$ac_optarg ;;
1606 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1607 ac_prev=dvidir ;;
1608 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1609 dvidir=$ac_optarg ;;
1611 -enable-* | --enable-*)
1612 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1613 # Reject names that are not valid shell variable names.
1614 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1615 as_fn_error $? "invalid feature name: $ac_useropt"
1616 ac_useropt_orig=$ac_useropt
1617 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1618 case $ac_user_opts in
1620 "enable_$ac_useropt"
1621 "*) ;;
1622 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1623 ac_unrecognized_sep=', ';;
1624 esac
1625 eval enable_$ac_useropt=\$ac_optarg ;;
1627 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1628 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1629 | --exec | --exe | --ex)
1630 ac_prev=exec_prefix ;;
1631 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1632 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1633 | --exec=* | --exe=* | --ex=*)
1634 exec_prefix=$ac_optarg ;;
1636 -gas | --gas | --ga | --g)
1637 # Obsolete; use --with-gas.
1638 with_gas=yes ;;
1640 -help | --help | --hel | --he | -h)
1641 ac_init_help=long ;;
1642 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1643 ac_init_help=recursive ;;
1644 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1645 ac_init_help=short ;;
1647 -host | --host | --hos | --ho)
1648 ac_prev=host_alias ;;
1649 -host=* | --host=* | --hos=* | --ho=*)
1650 host_alias=$ac_optarg ;;
1652 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1653 ac_prev=htmldir ;;
1654 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1655 | --ht=*)
1656 htmldir=$ac_optarg ;;
1658 -includedir | --includedir | --includedi | --included | --include \
1659 | --includ | --inclu | --incl | --inc)
1660 ac_prev=includedir ;;
1661 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1662 | --includ=* | --inclu=* | --incl=* | --inc=*)
1663 includedir=$ac_optarg ;;
1665 -infodir | --infodir | --infodi | --infod | --info | --inf)
1666 ac_prev=infodir ;;
1667 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1668 infodir=$ac_optarg ;;
1670 -libdir | --libdir | --libdi | --libd)
1671 ac_prev=libdir ;;
1672 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1673 libdir=$ac_optarg ;;
1675 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1676 | --libexe | --libex | --libe)
1677 ac_prev=libexecdir ;;
1678 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1679 | --libexe=* | --libex=* | --libe=*)
1680 libexecdir=$ac_optarg ;;
1682 -localedir | --localedir | --localedi | --localed | --locale)
1683 ac_prev=localedir ;;
1684 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1685 localedir=$ac_optarg ;;
1687 -localstatedir | --localstatedir | --localstatedi | --localstated \
1688 | --localstate | --localstat | --localsta | --localst | --locals)
1689 ac_prev=localstatedir ;;
1690 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1691 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1692 localstatedir=$ac_optarg ;;
1694 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1695 ac_prev=mandir ;;
1696 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1697 mandir=$ac_optarg ;;
1699 -nfp | --nfp | --nf)
1700 # Obsolete; use --without-fp.
1701 with_fp=no ;;
1703 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1704 | --no-cr | --no-c | -n)
1705 no_create=yes ;;
1707 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1708 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1709 no_recursion=yes ;;
1711 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1712 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1713 | --oldin | --oldi | --old | --ol | --o)
1714 ac_prev=oldincludedir ;;
1715 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1716 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1717 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1718 oldincludedir=$ac_optarg ;;
1720 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1721 ac_prev=prefix ;;
1722 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1723 prefix=$ac_optarg ;;
1725 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1726 | --program-pre | --program-pr | --program-p)
1727 ac_prev=program_prefix ;;
1728 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1729 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1730 program_prefix=$ac_optarg ;;
1732 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1733 | --program-suf | --program-su | --program-s)
1734 ac_prev=program_suffix ;;
1735 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1736 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1737 program_suffix=$ac_optarg ;;
1739 -program-transform-name | --program-transform-name \
1740 | --program-transform-nam | --program-transform-na \
1741 | --program-transform-n | --program-transform- \
1742 | --program-transform | --program-transfor \
1743 | --program-transfo | --program-transf \
1744 | --program-trans | --program-tran \
1745 | --progr-tra | --program-tr | --program-t)
1746 ac_prev=program_transform_name ;;
1747 -program-transform-name=* | --program-transform-name=* \
1748 | --program-transform-nam=* | --program-transform-na=* \
1749 | --program-transform-n=* | --program-transform-=* \
1750 | --program-transform=* | --program-transfor=* \
1751 | --program-transfo=* | --program-transf=* \
1752 | --program-trans=* | --program-tran=* \
1753 | --progr-tra=* | --program-tr=* | --program-t=*)
1754 program_transform_name=$ac_optarg ;;
1756 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1757 ac_prev=pdfdir ;;
1758 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1759 pdfdir=$ac_optarg ;;
1761 -psdir | --psdir | --psdi | --psd | --ps)
1762 ac_prev=psdir ;;
1763 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1764 psdir=$ac_optarg ;;
1766 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1767 | -silent | --silent | --silen | --sile | --sil)
1768 silent=yes ;;
1770 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1771 ac_prev=sbindir ;;
1772 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1773 | --sbi=* | --sb=*)
1774 sbindir=$ac_optarg ;;
1776 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1777 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1778 | --sharedst | --shareds | --shared | --share | --shar \
1779 | --sha | --sh)
1780 ac_prev=sharedstatedir ;;
1781 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1782 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1783 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1784 | --sha=* | --sh=*)
1785 sharedstatedir=$ac_optarg ;;
1787 -site | --site | --sit)
1788 ac_prev=site ;;
1789 -site=* | --site=* | --sit=*)
1790 site=$ac_optarg ;;
1792 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1793 ac_prev=srcdir ;;
1794 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1795 srcdir=$ac_optarg ;;
1797 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1798 | --syscon | --sysco | --sysc | --sys | --sy)
1799 ac_prev=sysconfdir ;;
1800 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1801 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1802 sysconfdir=$ac_optarg ;;
1804 -target | --target | --targe | --targ | --tar | --ta | --t)
1805 ac_prev=target_alias ;;
1806 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1807 target_alias=$ac_optarg ;;
1809 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1810 verbose=yes ;;
1812 -version | --version | --versio | --versi | --vers | -V)
1813 ac_init_version=: ;;
1815 -with-* | --with-*)
1816 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1817 # Reject names that are not valid shell variable names.
1818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1819 as_fn_error $? "invalid package name: $ac_useropt"
1820 ac_useropt_orig=$ac_useropt
1821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1822 case $ac_user_opts in
1824 "with_$ac_useropt"
1825 "*) ;;
1826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1827 ac_unrecognized_sep=', ';;
1828 esac
1829 eval with_$ac_useropt=\$ac_optarg ;;
1831 -without-* | --without-*)
1832 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1833 # Reject names that are not valid shell variable names.
1834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1835 as_fn_error $? "invalid package name: $ac_useropt"
1836 ac_useropt_orig=$ac_useropt
1837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1838 case $ac_user_opts in
1840 "with_$ac_useropt"
1841 "*) ;;
1842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1843 ac_unrecognized_sep=', ';;
1844 esac
1845 eval with_$ac_useropt=no ;;
1847 --x)
1848 # Obsolete; use --with-x.
1849 with_x=yes ;;
1851 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1852 | --x-incl | --x-inc | --x-in | --x-i)
1853 ac_prev=x_includes ;;
1854 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1855 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1856 x_includes=$ac_optarg ;;
1858 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1859 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1860 ac_prev=x_libraries ;;
1861 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1862 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1863 x_libraries=$ac_optarg ;;
1865 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1866 Try \`$0 --help' for more information"
1869 *=*)
1870 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1871 # Reject names that are not valid shell variable names.
1872 case $ac_envvar in #(
1873 '' | [0-9]* | *[!_$as_cr_alnum]* )
1874 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1875 esac
1876 eval $ac_envvar=\$ac_optarg
1877 export $ac_envvar ;;
1880 # FIXME: should be removed in autoconf 3.0.
1881 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1882 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1883 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1884 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1887 esac
1888 done
1890 if test -n "$ac_prev"; then
1891 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1892 as_fn_error $? "missing argument to $ac_option"
1895 if test -n "$ac_unrecognized_opts"; then
1896 case $enable_option_checking in
1897 no) ;;
1898 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1899 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1900 esac
1903 # Check all directory arguments for consistency.
1904 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1905 datadir sysconfdir sharedstatedir localstatedir includedir \
1906 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1907 libdir localedir mandir
1909 eval ac_val=\$$ac_var
1910 # Remove trailing slashes.
1911 case $ac_val in
1912 */ )
1913 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1914 eval $ac_var=\$ac_val;;
1915 esac
1916 # Be sure to have absolute directory names.
1917 case $ac_val in
1918 [\\/$]* | ?:[\\/]* ) continue;;
1919 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1920 esac
1921 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1922 done
1924 # There might be people who depend on the old broken behavior: `$host'
1925 # used to hold the argument of --host etc.
1926 # FIXME: To remove some day.
1927 build=$build_alias
1928 host=$host_alias
1929 target=$target_alias
1931 # FIXME: To remove some day.
1932 if test "x$host_alias" != x; then
1933 if test "x$build_alias" = x; then
1934 cross_compiling=maybe
1935 elif test "x$build_alias" != "x$host_alias"; then
1936 cross_compiling=yes
1940 ac_tool_prefix=
1941 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1943 test "$silent" = yes && exec 6>/dev/null
1946 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1947 ac_ls_di=`ls -di .` &&
1948 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1949 as_fn_error $? "working directory cannot be determined"
1950 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1951 as_fn_error $? "pwd does not report name of working directory"
1954 # Find the source files, if location was not specified.
1955 if test -z "$srcdir"; then
1956 ac_srcdir_defaulted=yes
1957 # Try the directory containing this script, then the parent directory.
1958 ac_confdir=`$as_dirname -- "$as_myself" ||
1959 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1960 X"$as_myself" : 'X\(//\)[^/]' \| \
1961 X"$as_myself" : 'X\(//\)$' \| \
1962 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1963 $as_echo X"$as_myself" |
1964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1965 s//\1/
1968 /^X\(\/\/\)[^/].*/{
1969 s//\1/
1972 /^X\(\/\/\)$/{
1973 s//\1/
1976 /^X\(\/\).*/{
1977 s//\1/
1980 s/.*/./; q'`
1981 srcdir=$ac_confdir
1982 if test ! -r "$srcdir/$ac_unique_file"; then
1983 srcdir=..
1985 else
1986 ac_srcdir_defaulted=no
1988 if test ! -r "$srcdir/$ac_unique_file"; then
1989 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1990 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1992 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1993 ac_abs_confdir=`(
1994 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1995 pwd)`
1996 # When building in place, set srcdir=.
1997 if test "$ac_abs_confdir" = "$ac_pwd"; then
1998 srcdir=.
2000 # Remove unnecessary trailing slashes from srcdir.
2001 # Double slashes in file names in object file debugging info
2002 # mess up M-x gdb in Emacs.
2003 case $srcdir in
2004 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2005 esac
2006 for ac_var in $ac_precious_vars; do
2007 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2008 eval ac_env_${ac_var}_value=\$${ac_var}
2009 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2010 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2011 done
2014 # Report the --help message.
2016 if test "$ac_init_help" = "long"; then
2017 # Omit some internal or obsolete options to make the list less imposing.
2018 # This message is too long to be a string in the A/UX 3.1 sh.
2019 cat <<_ACEOF
2020 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2022 Usage: $0 [OPTION]... [VAR=VALUE]...
2024 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2025 VAR=VALUE. See below for descriptions of some of the useful variables.
2027 Defaults for the options are specified in brackets.
2029 Configuration:
2030 -h, --help display this help and exit
2031 --help=short display options specific to this package
2032 --help=recursive display the short help of all the included packages
2033 -V, --version display version information and exit
2034 -q, --quiet, --silent do not print \`checking ...' messages
2035 --cache-file=FILE cache test results in FILE [disabled]
2036 -C, --config-cache alias for \`--cache-file=config.cache'
2037 -n, --no-create do not create output files
2038 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2040 Installation directories:
2041 --prefix=PREFIX install architecture-independent files in PREFIX
2042 [$ac_default_prefix]
2043 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2044 [PREFIX]
2046 By default, \`make install' will install all the files in
2047 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2048 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2049 for instance \`--prefix=\$HOME'.
2051 For better control, use the options below.
2053 Fine tuning of the installation directories:
2054 --bindir=DIR user executables [EPREFIX/bin]
2055 --sbindir=DIR system admin executables [EPREFIX/sbin]
2056 --libexecdir=DIR program executables [EPREFIX/libexec]
2057 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2058 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2059 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2060 --libdir=DIR object code libraries [EPREFIX/lib]
2061 --includedir=DIR C header files [PREFIX/include]
2062 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2063 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2064 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2065 --infodir=DIR info documentation [DATAROOTDIR/info]
2066 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2067 --mandir=DIR man documentation [DATAROOTDIR/man]
2068 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2069 --htmldir=DIR html documentation [DOCDIR]
2070 --dvidir=DIR dvi documentation [DOCDIR]
2071 --pdfdir=DIR pdf documentation [DOCDIR]
2072 --psdir=DIR ps documentation [DOCDIR]
2073 _ACEOF
2075 cat <<\_ACEOF
2077 X features:
2078 --x-includes=DIR X include files are in DIR
2079 --x-libraries=DIR X library files are in DIR
2081 System types:
2082 --build=BUILD configure for building on BUILD [guessed]
2083 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2084 _ACEOF
2087 if test -n "$ac_init_help"; then
2088 case $ac_init_help in
2089 short | recursive ) echo "Configuration of Wine 1.7.36:";;
2090 esac
2091 cat <<\_ACEOF
2093 Optional Features:
2094 --disable-option-checking ignore unrecognized --enable/--with options
2095 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2096 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2097 --disable-win16 do not include Win16 support
2098 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2099 binaries)
2100 --disable-tests do not build the regression tests
2101 --enable-maintainer-mode
2102 enable maintainer-specific build rules
2103 --disable-largefile omit support for large files
2105 Optional Packages:
2106 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2107 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2108 --without-alsa do not use the Alsa sound support
2109 --without-capi do not use CAPI (ISDN support)
2110 --without-cms do not use CMS (color management support)
2111 --without-coreaudio do not use the CoreAudio sound support
2112 --without-cups do not use CUPS
2113 --without-curses do not use (n)curses
2114 --without-dbus do not use DBus (dynamic device support)
2115 --without-fontconfig do not use fontconfig
2116 --without-freetype do not use the FreeType library
2117 --without-gettext do not use gettext
2118 --with-gettextpo use the GetTextPO library to rebuild po files
2119 --without-gphoto do not use gphoto (Digital Camera support)
2120 --without-glu do not use the GLU library
2121 --without-gnutls do not use GnuTLS (schannel support)
2122 --without-gsm do not use libgsm (GSM 06.10 codec support)
2123 --without-gstreamer do not use GStreamer (codecs support)
2124 --without-hal do not use HAL (dynamic device support)
2125 --without-jpeg do not use JPEG
2126 --without-ldap do not use LDAP
2127 --without-mpg123 do not use the mpg123 library
2128 --without-netapi do not use the Samba NetAPI library
2129 --without-openal do not use OpenAL
2130 --without-opencl do not use OpenCL
2131 --without-opengl do not use OpenGL
2132 --without-osmesa do not use the OSMesa library
2133 --without-oss do not use the OSS sound support
2134 --without-pcap do not use the Packet Capture library
2135 --without-png do not use PNG
2136 --without-pthread do not use the pthread library
2137 --without-sane do not use SANE (scanner support)
2138 --without-tiff do not use TIFF
2139 --without-v4l do not use v4l1 (v4l support)
2140 --without-xcomposite do not use the Xcomposite extension
2141 --without-xcursor do not use the Xcursor extension
2142 --without-xinerama do not use Xinerama (multi-monitor support)
2143 --without-xinput do not use the Xinput extension
2144 --without-xinput2 do not use the Xinput 2 extension
2145 --without-xml do not use XML
2146 --without-xrandr do not use Xrandr (resolution changes)
2147 --without-xrender do not use the Xrender extension
2148 --without-xshape do not use the Xshape extension
2149 --without-xshm do not use XShm (shared memory extension)
2150 --without-xslt do not use XSLT
2151 --without-xxf86vm do not use XFree video mode extension
2152 --without-zlib do not use Zlib (data compression)
2153 --with-wine-tools=DIR use Wine tools from directory DIR
2154 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2155 --with-x use the X Window System
2157 Some influential environment variables:
2158 CC C compiler command
2159 CFLAGS C compiler flags
2160 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2161 nonstandard directory <lib dir>
2162 LIBS libraries to pass to the linker, e.g. -l<library>
2163 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2164 you have headers in a nonstandard directory <include dir>
2165 CXX C++ compiler command
2166 CXXFLAGS C++ compiler flags
2167 CPP C preprocessor
2168 XMKMF Path to xmkmf, Makefile generator for X Window System
2169 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2170 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2171 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2172 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2173 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2174 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2175 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2176 HAL_LIBS Linker flags for hal, overriding pkg-config
2177 GNUTLS_CFLAGS
2178 C compiler flags for gnutls, overriding pkg-config
2179 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2180 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2181 SANE_LIBS Linker flags for libsane, overriding pkg-config
2182 GPHOTO2_CFLAGS
2183 C compiler flags for libgphoto2, overriding pkg-config
2184 GPHOTO2_LIBS
2185 Linker flags for libgphoto2, overriding pkg-config
2186 GPHOTO2_PORT_CFLAGS
2187 C compiler flags for libgphoto2_port, overriding pkg-config
2188 GPHOTO2_PORT_LIBS
2189 Linker flags for libgphoto2_port, overriding pkg-config
2190 LCMS2_CFLAGS
2191 C compiler flags for lcms2, overriding pkg-config
2192 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2193 FREETYPE_CFLAGS
2194 C compiler flags for freetype2, overriding pkg-config
2195 FREETYPE_LIBS
2196 Linker flags for freetype2, overriding pkg-config
2197 GSTREAMER_CFLAGS
2198 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2199 GSTREAMER_LIBS
2200 Linker flags for gstreamer-app-0.10, overriding pkg-config
2201 CAPI20_CFLAGS
2202 C compiler flags for capi20, overriding pkg-config
2203 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2204 FONTCONFIG_CFLAGS
2205 C compiler flags for fontconfig, overriding pkg-config
2206 FONTCONFIG_LIBS
2207 Linker flags for fontconfig, overriding pkg-config
2208 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2209 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2210 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2211 PNG_LIBS Linker flags for libpng, overriding pkg-config
2212 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2213 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2214 MPG123_CFLAGS
2215 C compiler flags for libmpg123, overriding pkg-config
2216 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2218 Use these variables to override the choices made by `configure' or to help
2219 it to find libraries and programs with nonstandard names/locations.
2221 Report bugs to <wine-devel@winehq.org>.
2222 Wine home page: <http://www.winehq.org>.
2223 _ACEOF
2224 ac_status=$?
2227 if test "$ac_init_help" = "recursive"; then
2228 # If there are subdirs, report their specific --help.
2229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2230 test -d "$ac_dir" ||
2231 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2232 continue
2233 ac_builddir=.
2235 case "$ac_dir" in
2236 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2238 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2239 # A ".." for each directory in $ac_dir_suffix.
2240 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2241 case $ac_top_builddir_sub in
2242 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2243 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2244 esac ;;
2245 esac
2246 ac_abs_top_builddir=$ac_pwd
2247 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2248 # for backward compatibility:
2249 ac_top_builddir=$ac_top_build_prefix
2251 case $srcdir in
2252 .) # We are building in place.
2253 ac_srcdir=.
2254 ac_top_srcdir=$ac_top_builddir_sub
2255 ac_abs_top_srcdir=$ac_pwd ;;
2256 [\\/]* | ?:[\\/]* ) # Absolute name.
2257 ac_srcdir=$srcdir$ac_dir_suffix;
2258 ac_top_srcdir=$srcdir
2259 ac_abs_top_srcdir=$srcdir ;;
2260 *) # Relative name.
2261 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2262 ac_top_srcdir=$ac_top_build_prefix$srcdir
2263 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2264 esac
2265 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2267 cd "$ac_dir" || { ac_status=$?; continue; }
2268 # Check for guested configure.
2269 if test -f "$ac_srcdir/configure.gnu"; then
2270 echo &&
2271 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2272 elif test -f "$ac_srcdir/configure"; then
2273 echo &&
2274 $SHELL "$ac_srcdir/configure" --help=recursive
2275 else
2276 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2277 fi || ac_status=$?
2278 cd "$ac_pwd" || { ac_status=$?; break; }
2279 done
2282 test -n "$ac_init_help" && exit $ac_status
2283 if $ac_init_version; then
2284 cat <<\_ACEOF
2285 Wine configure 1.7.36
2286 generated by GNU Autoconf 2.69
2288 Copyright (C) 2012 Free Software Foundation, Inc.
2289 This configure script is free software; the Free Software Foundation
2290 gives unlimited permission to copy, distribute and modify it.
2291 _ACEOF
2292 exit
2295 ## ------------------------ ##
2296 ## Autoconf initialization. ##
2297 ## ------------------------ ##
2299 # ac_fn_c_try_compile LINENO
2300 # --------------------------
2301 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2302 ac_fn_c_try_compile ()
2304 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2305 rm -f conftest.$ac_objext
2306 if { { ac_try="$ac_compile"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_compile") 2>conftest.err
2314 ac_status=$?
2315 if test -s conftest.err; then
2316 grep -v '^ *+' conftest.err >conftest.er1
2317 cat conftest.er1 >&5
2318 mv -f conftest.er1 conftest.err
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; } && {
2322 test -z "$ac_c_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.$ac_objext; then :
2325 ac_retval=0
2326 else
2327 $as_echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2330 ac_retval=1
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 as_fn_set_status $ac_retval
2335 } # ac_fn_c_try_compile
2337 # ac_fn_cxx_try_compile LINENO
2338 # ----------------------------
2339 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2340 ac_fn_cxx_try_compile ()
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 rm -f conftest.$ac_objext
2344 if { { ac_try="$ac_compile"
2345 case "(($ac_try" in
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2348 esac
2349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_compile") 2>conftest.err
2352 ac_status=$?
2353 if test -s conftest.err; then
2354 grep -v '^ *+' conftest.err >conftest.er1
2355 cat conftest.er1 >&5
2356 mv -f conftest.er1 conftest.err
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; } && {
2360 test -z "$ac_cxx_werror_flag" ||
2361 test ! -s conftest.err
2362 } && test -s conftest.$ac_objext; then :
2363 ac_retval=0
2364 else
2365 $as_echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 ac_retval=1
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371 as_fn_set_status $ac_retval
2373 } # ac_fn_cxx_try_compile
2375 # ac_fn_c_try_link LINENO
2376 # -----------------------
2377 # Try to link conftest.$ac_ext, and return whether this succeeded.
2378 ac_fn_c_try_link ()
2380 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2381 rm -f conftest.$ac_objext conftest$ac_exeext
2382 if { { ac_try="$ac_link"
2383 case "(($ac_try" in
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2386 esac
2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$ac_try_echo"; } >&5
2389 (eval "$ac_link") 2>conftest.err
2390 ac_status=$?
2391 if test -s conftest.err; then
2392 grep -v '^ *+' conftest.err >conftest.er1
2393 cat conftest.er1 >&5
2394 mv -f conftest.er1 conftest.err
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; } && {
2398 test -z "$ac_c_werror_flag" ||
2399 test ! -s conftest.err
2400 } && test -s conftest$ac_exeext && {
2401 test "$cross_compiling" = yes ||
2402 test -x conftest$ac_exeext
2403 }; then :
2404 ac_retval=0
2405 else
2406 $as_echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2409 ac_retval=1
2411 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2412 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2413 # interfere with the next link command; also delete a directory that is
2414 # left behind by Apple's compiler. We do this before executing the actions.
2415 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2417 as_fn_set_status $ac_retval
2419 } # ac_fn_c_try_link
2421 # ac_fn_c_try_cpp LINENO
2422 # ----------------------
2423 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2424 ac_fn_c_try_cpp ()
2426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2427 if { { ac_try="$ac_cpp conftest.$ac_ext"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433 $as_echo "$ac_try_echo"; } >&5
2434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2435 ac_status=$?
2436 if test -s conftest.err; then
2437 grep -v '^ *+' conftest.err >conftest.er1
2438 cat conftest.er1 >&5
2439 mv -f conftest.er1 conftest.err
2441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2442 test $ac_status = 0; } > conftest.i && {
2443 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2444 test ! -s conftest.err
2445 }; then :
2446 ac_retval=0
2447 else
2448 $as_echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 ac_retval=1
2453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 as_fn_set_status $ac_retval
2456 } # ac_fn_c_try_cpp
2458 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2459 # -------------------------------------------------------
2460 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2461 # the include files in INCLUDES and setting the cache variable VAR
2462 # accordingly.
2463 ac_fn_c_check_header_mongrel ()
2465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2466 if eval \${$3+:} false; then :
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2468 $as_echo_n "checking for $2... " >&6; }
2469 if eval \${$3+:} false; then :
2470 $as_echo_n "(cached) " >&6
2472 eval ac_res=\$$3
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2474 $as_echo "$ac_res" >&6; }
2475 else
2476 # Is the header compilable?
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2478 $as_echo_n "checking $2 usability... " >&6; }
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2482 #include <$2>
2483 _ACEOF
2484 if ac_fn_c_try_compile "$LINENO"; then :
2485 ac_header_compiler=yes
2486 else
2487 ac_header_compiler=no
2489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2491 $as_echo "$ac_header_compiler" >&6; }
2493 # Is the header present?
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2495 $as_echo_n "checking $2 presence... " >&6; }
2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2498 #include <$2>
2499 _ACEOF
2500 if ac_fn_c_try_cpp "$LINENO"; then :
2501 ac_header_preproc=yes
2502 else
2503 ac_header_preproc=no
2505 rm -f conftest.err conftest.i conftest.$ac_ext
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2507 $as_echo "$ac_header_preproc" >&6; }
2509 # So? What about this header?
2510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2511 yes:no: )
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2513 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2515 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2517 no:yes:* )
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2519 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2521 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2523 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2525 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2527 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2528 ( $as_echo "## ------------------------------------ ##
2529 ## Report this to wine-devel@winehq.org ##
2530 ## ------------------------------------ ##"
2531 ) | sed "s/^/$as_me: WARNING: /" >&2
2533 esac
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \${$3+:} false; then :
2537 $as_echo_n "(cached) " >&6
2538 else
2539 eval "$3=\$ac_header_compiler"
2541 eval ac_res=\$$3
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2543 $as_echo "$ac_res" >&6; }
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2547 } # ac_fn_c_check_header_mongrel
2549 # ac_fn_c_try_run LINENO
2550 # ----------------------
2551 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2552 # that executables *can* be run.
2553 ac_fn_c_try_run ()
2555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2556 if { { ac_try="$ac_link"
2557 case "(($ac_try" in
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2560 esac
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_link") 2>&5
2564 ac_status=$?
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2567 { { case "(($ac_try" in
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_try") 2>&5
2574 ac_status=$?
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; }; }; then :
2577 ac_retval=0
2578 else
2579 $as_echo "$as_me: program exited with status $ac_status" >&5
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2583 ac_retval=$ac_status
2585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status $ac_retval
2589 } # ac_fn_c_try_run
2591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2592 # -------------------------------------------------------
2593 # Tests whether HEADER exists and can be compiled using the include files in
2594 # INCLUDES, setting the cache variable VAR accordingly.
2595 ac_fn_c_check_header_compile ()
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2599 $as_echo_n "checking for $2... " >&6; }
2600 if eval \${$3+:} false; then :
2601 $as_echo_n "(cached) " >&6
2602 else
2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604 /* end confdefs.h. */
2606 #include <$2>
2607 _ACEOF
2608 if ac_fn_c_try_compile "$LINENO"; then :
2609 eval "$3=yes"
2610 else
2611 eval "$3=no"
2613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2615 eval ac_res=\$$3
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2620 } # ac_fn_c_check_header_compile
2622 # ac_fn_c_check_func LINENO FUNC VAR
2623 # ----------------------------------
2624 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2625 ac_fn_c_check_func ()
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2629 $as_echo_n "checking for $2... " >&6; }
2630 if eval \${$3+:} false; then :
2631 $as_echo_n "(cached) " >&6
2632 else
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2635 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2637 #define $2 innocuous_$2
2639 /* System header to define __stub macros and hopefully few prototypes,
2640 which can conflict with char $2 (); below.
2641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2642 <limits.h> exists even on freestanding compilers. */
2644 #ifdef __STDC__
2645 # include <limits.h>
2646 #else
2647 # include <assert.h>
2648 #endif
2650 #undef $2
2652 /* Override any GCC internal prototype to avoid an error.
2653 Use char because int might match the return type of a GCC
2654 builtin and then its argument prototype would still apply. */
2655 #ifdef __cplusplus
2656 extern "C"
2657 #endif
2658 char $2 ();
2659 /* The GNU C library defines this for functions which it implements
2660 to always fail with ENOSYS. Some functions are actually named
2661 something starting with __ and the normal name is an alias. */
2662 #if defined __stub_$2 || defined __stub___$2
2663 choke me
2664 #endif
2667 main ()
2669 return $2 ();
2671 return 0;
2673 _ACEOF
2674 if ac_fn_c_try_link "$LINENO"; then :
2675 eval "$3=yes"
2676 else
2677 eval "$3=no"
2679 rm -f core conftest.err conftest.$ac_objext \
2680 conftest$ac_exeext conftest.$ac_ext
2682 eval ac_res=\$$3
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2684 $as_echo "$ac_res" >&6; }
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 } # ac_fn_c_check_func
2689 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2690 # ----------------------------------------------------
2691 # Tries to find if the field MEMBER exists in type AGGR, after including
2692 # INCLUDES, setting cache variable VAR accordingly.
2693 ac_fn_c_check_member ()
2695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2697 $as_echo_n "checking for $2.$3... " >&6; }
2698 if eval \${$4+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2705 main ()
2707 static $2 ac_aggr;
2708 if (ac_aggr.$3)
2709 return 0;
2711 return 0;
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2715 eval "$4=yes"
2716 else
2717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2721 main ()
2723 static $2 ac_aggr;
2724 if (sizeof ac_aggr.$3)
2725 return 0;
2727 return 0;
2729 _ACEOF
2730 if ac_fn_c_try_compile "$LINENO"; then :
2731 eval "$4=yes"
2732 else
2733 eval "$4=no"
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 eval ac_res=\$$4
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_member
2746 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2747 # -------------------------------------------
2748 # Tests whether TYPE exists after having included INCLUDES, setting cache
2749 # variable VAR accordingly.
2750 ac_fn_c_check_type ()
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval \${$3+:} false; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 eval "$3=no"
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2763 main ()
2765 if (sizeof ($2))
2766 return 0;
2768 return 0;
2770 _ACEOF
2771 if ac_fn_c_try_compile "$LINENO"; then :
2772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2776 main ()
2778 if (sizeof (($2)))
2779 return 0;
2781 return 0;
2783 _ACEOF
2784 if ac_fn_c_try_compile "$LINENO"; then :
2786 else
2787 eval "$3=yes"
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 eval ac_res=\$$3
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 $as_echo "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 } # ac_fn_c_check_type
2799 cat >config.log <<_ACEOF
2800 This file contains any messages produced by compilers while
2801 running configure, to aid debugging if configure makes a mistake.
2803 It was created by Wine $as_me 1.7.36, which was
2804 generated by GNU Autoconf 2.69. Invocation command line was
2806 $ $0 $@
2808 _ACEOF
2809 exec 5>>config.log
2811 cat <<_ASUNAME
2812 ## --------- ##
2813 ## Platform. ##
2814 ## --------- ##
2816 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2817 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2818 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2819 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2820 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2822 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2823 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2825 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2826 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2827 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2828 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2829 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2830 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2831 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2833 _ASUNAME
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 for as_dir in $PATH
2838 IFS=$as_save_IFS
2839 test -z "$as_dir" && as_dir=.
2840 $as_echo "PATH: $as_dir"
2841 done
2842 IFS=$as_save_IFS
2844 } >&5
2846 cat >&5 <<_ACEOF
2849 ## ----------- ##
2850 ## Core tests. ##
2851 ## ----------- ##
2853 _ACEOF
2856 # Keep a trace of the command line.
2857 # Strip out --no-create and --no-recursion so they do not pile up.
2858 # Strip out --silent because we don't want to record it for future runs.
2859 # Also quote any args containing shell meta-characters.
2860 # Make two passes to allow for proper duplicate-argument suppression.
2861 ac_configure_args=
2862 ac_configure_args0=
2863 ac_configure_args1=
2864 ac_must_keep_next=false
2865 for ac_pass in 1 2
2867 for ac_arg
2869 case $ac_arg in
2870 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2871 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2872 | -silent | --silent | --silen | --sile | --sil)
2873 continue ;;
2874 *\'*)
2875 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2876 esac
2877 case $ac_pass in
2878 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2880 as_fn_append ac_configure_args1 " '$ac_arg'"
2881 if test $ac_must_keep_next = true; then
2882 ac_must_keep_next=false # Got value, back to normal.
2883 else
2884 case $ac_arg in
2885 *=* | --config-cache | -C | -disable-* | --disable-* \
2886 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2887 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2888 | -with-* | --with-* | -without-* | --without-* | --x)
2889 case "$ac_configure_args0 " in
2890 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2891 esac
2893 -* ) ac_must_keep_next=true ;;
2894 esac
2896 as_fn_append ac_configure_args " '$ac_arg'"
2898 esac
2899 done
2900 done
2901 { ac_configure_args0=; unset ac_configure_args0;}
2902 { ac_configure_args1=; unset ac_configure_args1;}
2904 # When interrupted or exit'd, cleanup temporary files, and complete
2905 # config.log. We remove comments because anyway the quotes in there
2906 # would cause problems or look ugly.
2907 # WARNING: Use '\'' to represent an apostrophe within the trap.
2908 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2909 trap 'exit_status=$?
2910 # Save into config.log some information that might help in debugging.
2912 echo
2914 $as_echo "## ---------------- ##
2915 ## Cache variables. ##
2916 ## ---------------- ##"
2917 echo
2918 # The following way of writing the cache mishandles newlines in values,
2920 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2921 eval ac_val=\$$ac_var
2922 case $ac_val in #(
2923 *${as_nl}*)
2924 case $ac_var in #(
2925 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2927 esac
2928 case $ac_var in #(
2929 _ | IFS | as_nl) ;; #(
2930 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2931 *) { eval $ac_var=; unset $ac_var;} ;;
2932 esac ;;
2933 esac
2934 done
2935 (set) 2>&1 |
2936 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2937 *${as_nl}ac_space=\ *)
2938 sed -n \
2939 "s/'\''/'\''\\\\'\'''\''/g;
2940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2941 ;; #(
2943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2945 esac |
2946 sort
2948 echo
2950 $as_echo "## ----------------- ##
2951 ## Output variables. ##
2952 ## ----------------- ##"
2953 echo
2954 for ac_var in $ac_subst_vars
2956 eval ac_val=\$$ac_var
2957 case $ac_val in
2958 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2959 esac
2960 $as_echo "$ac_var='\''$ac_val'\''"
2961 done | sort
2962 echo
2964 if test -n "$ac_subst_files"; then
2965 $as_echo "## ------------------- ##
2966 ## File substitutions. ##
2967 ## ------------------- ##"
2968 echo
2969 for ac_var in $ac_subst_files
2971 eval ac_val=\$$ac_var
2972 case $ac_val in
2973 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2974 esac
2975 $as_echo "$ac_var='\''$ac_val'\''"
2976 done | sort
2977 echo
2980 if test -s confdefs.h; then
2981 $as_echo "## ----------- ##
2982 ## confdefs.h. ##
2983 ## ----------- ##"
2984 echo
2985 cat confdefs.h
2986 echo
2988 test "$ac_signal" != 0 &&
2989 $as_echo "$as_me: caught signal $ac_signal"
2990 $as_echo "$as_me: exit $exit_status"
2991 } >&5
2992 rm -f core *.core core.conftest.* &&
2993 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2994 exit $exit_status
2996 for ac_signal in 1 2 13 15; do
2997 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2998 done
2999 ac_signal=0
3001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3002 rm -f -r conftest* confdefs.h
3004 $as_echo "/* confdefs.h */" > confdefs.h
3006 # Predefined preprocessor variables.
3008 cat >>confdefs.h <<_ACEOF
3009 #define PACKAGE_NAME "$PACKAGE_NAME"
3010 _ACEOF
3012 cat >>confdefs.h <<_ACEOF
3013 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3014 _ACEOF
3016 cat >>confdefs.h <<_ACEOF
3017 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3018 _ACEOF
3020 cat >>confdefs.h <<_ACEOF
3021 #define PACKAGE_STRING "$PACKAGE_STRING"
3022 _ACEOF
3024 cat >>confdefs.h <<_ACEOF
3025 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3026 _ACEOF
3028 cat >>confdefs.h <<_ACEOF
3029 #define PACKAGE_URL "$PACKAGE_URL"
3030 _ACEOF
3033 # Let the site file select an alternate cache file if it wants to.
3034 # Prefer an explicitly selected file to automatically selected ones.
3035 ac_site_file1=NONE
3036 ac_site_file2=NONE
3037 if test -n "$CONFIG_SITE"; then
3038 # We do not want a PATH search for config.site.
3039 case $CONFIG_SITE in #((
3040 -*) ac_site_file1=./$CONFIG_SITE;;
3041 */*) ac_site_file1=$CONFIG_SITE;;
3042 *) ac_site_file1=./$CONFIG_SITE;;
3043 esac
3044 elif test "x$prefix" != xNONE; then
3045 ac_site_file1=$prefix/share/config.site
3046 ac_site_file2=$prefix/etc/config.site
3047 else
3048 ac_site_file1=$ac_default_prefix/share/config.site
3049 ac_site_file2=$ac_default_prefix/etc/config.site
3051 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3053 test "x$ac_site_file" = xNONE && continue
3054 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3056 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3057 sed 's/^/| /' "$ac_site_file" >&5
3058 . "$ac_site_file" \
3059 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3061 as_fn_error $? "failed to load site script $ac_site_file
3062 See \`config.log' for more details" "$LINENO" 5; }
3064 done
3066 if test -r "$cache_file"; then
3067 # Some versions of bash will fail to source /dev/null (special files
3068 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3069 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3071 $as_echo "$as_me: loading cache $cache_file" >&6;}
3072 case $cache_file in
3073 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3074 *) . "./$cache_file";;
3075 esac
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3079 $as_echo "$as_me: creating cache $cache_file" >&6;}
3080 >$cache_file
3083 # Check that the precious variables saved in the cache have kept the same
3084 # value.
3085 ac_cache_corrupted=false
3086 for ac_var in $ac_precious_vars; do
3087 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3088 eval ac_new_set=\$ac_env_${ac_var}_set
3089 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3090 eval ac_new_val=\$ac_env_${ac_var}_value
3091 case $ac_old_set,$ac_new_set in
3092 set,)
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3094 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3095 ac_cache_corrupted=: ;;
3096 ,set)
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3098 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3099 ac_cache_corrupted=: ;;
3100 ,);;
3102 if test "x$ac_old_val" != "x$ac_new_val"; then
3103 # differences in whitespace do not lead to failure.
3104 ac_old_val_w=`echo x $ac_old_val`
3105 ac_new_val_w=`echo x $ac_new_val`
3106 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3108 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3109 ac_cache_corrupted=:
3110 else
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3112 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3113 eval $ac_var=\$ac_old_val
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3116 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3118 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3119 fi;;
3120 esac
3121 # Pass precious variables to config.status.
3122 if test "$ac_new_set" = set; then
3123 case $ac_new_val in
3124 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 *) ac_arg=$ac_var=$ac_new_val ;;
3126 esac
3127 case " $ac_configure_args " in
3128 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3129 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3130 esac
3132 done
3133 if $ac_cache_corrupted; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3137 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3138 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3140 ## -------------------- ##
3141 ## Main body of script. ##
3142 ## -------------------- ##
3144 ac_ext=c
3145 ac_cpp='$CPP $CPPFLAGS'
3146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 ac_config_headers="$ac_config_headers include/config.h"
3154 ac_aux_dir=
3155 for ac_dir in tools "$srcdir"/tools; do
3156 if test -f "$ac_dir/install-sh"; then
3157 ac_aux_dir=$ac_dir
3158 ac_install_sh="$ac_aux_dir/install-sh -c"
3159 break
3160 elif test -f "$ac_dir/install.sh"; then
3161 ac_aux_dir=$ac_dir
3162 ac_install_sh="$ac_aux_dir/install.sh -c"
3163 break
3164 elif test -f "$ac_dir/shtool"; then
3165 ac_aux_dir=$ac_dir
3166 ac_install_sh="$ac_aux_dir/shtool install -c"
3167 break
3169 done
3170 if test -z "$ac_aux_dir"; then
3171 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3174 # These three variables are undocumented and unsupported,
3175 # and are intended to be withdrawn in a future Autoconf release.
3176 # They can cause serious problems if a builder's source tree is in a directory
3177 # whose full name contains unusual characters.
3178 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3179 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3180 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3184 libwine_version="1.0"
3188 # Check whether --enable-win16 was given.
3189 if test "${enable_win16+set}" = set; then :
3190 enableval=$enable_win16;
3193 # Check whether --enable-win64 was given.
3194 if test "${enable_win64+set}" = set; then :
3195 enableval=$enable_win64;
3198 # Check whether --enable-tests was given.
3199 if test "${enable_tests+set}" = set; then :
3200 enableval=$enable_tests;
3203 # Check whether --enable-maintainer-mode was given.
3204 if test "${enable_maintainer_mode+set}" = set; then :
3205 enableval=$enable_maintainer_mode;
3210 # Check whether --with-alsa was given.
3211 if test "${with_alsa+set}" = set; then :
3212 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3216 # Check whether --with-capi was given.
3217 if test "${with_capi+set}" = set; then :
3218 withval=$with_capi;
3222 # Check whether --with-cms was given.
3223 if test "${with_cms+set}" = set; then :
3224 withval=$with_cms;
3228 # Check whether --with-coreaudio was given.
3229 if test "${with_coreaudio+set}" = set; then :
3230 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3234 # Check whether --with-cups was given.
3235 if test "${with_cups+set}" = set; then :
3236 withval=$with_cups;
3240 # Check whether --with-curses was given.
3241 if test "${with_curses+set}" = set; then :
3242 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3246 # Check whether --with-dbus was given.
3247 if test "${with_dbus+set}" = set; then :
3248 withval=$with_dbus;
3252 # Check whether --with-fontconfig was given.
3253 if test "${with_fontconfig+set}" = set; then :
3254 withval=$with_fontconfig;
3258 # Check whether --with-freetype was given.
3259 if test "${with_freetype+set}" = set; then :
3260 withval=$with_freetype;
3264 # Check whether --with-gettext was given.
3265 if test "${with_gettext+set}" = set; then :
3266 withval=$with_gettext;
3270 # Check whether --with-gettextpo was given.
3271 if test "${with_gettextpo+set}" = set; then :
3272 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3276 # Check whether --with-gphoto was given.
3277 if test "${with_gphoto+set}" = set; then :
3278 withval=$with_gphoto;
3282 # Check whether --with-glu was given.
3283 if test "${with_glu+set}" = set; then :
3284 withval=$with_glu;
3288 # Check whether --with-gnutls was given.
3289 if test "${with_gnutls+set}" = set; then :
3290 withval=$with_gnutls;
3294 # Check whether --with-gsm was given.
3295 if test "${with_gsm+set}" = set; then :
3296 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3300 # Check whether --with-gstreamer was given.
3301 if test "${with_gstreamer+set}" = set; then :
3302 withval=$with_gstreamer;
3306 # Check whether --with-hal was given.
3307 if test "${with_hal+set}" = set; then :
3308 withval=$with_hal;
3312 # Check whether --with-jpeg was given.
3313 if test "${with_jpeg+set}" = set; then :
3314 withval=$with_jpeg;
3318 # Check whether --with-ldap was given.
3319 if test "${with_ldap+set}" = set; then :
3320 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3324 # Check whether --with-mpg123 was given.
3325 if test "${with_mpg123+set}" = set; then :
3326 withval=$with_mpg123;
3330 # Check whether --with-netapi was given.
3331 if test "${with_netapi+set}" = set; then :
3332 withval=$with_netapi;
3336 # Check whether --with-openal was given.
3337 if test "${with_openal+set}" = set; then :
3338 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3342 # Check whether --with-opencl was given.
3343 if test "${with_opencl+set}" = set; then :
3344 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3348 # Check whether --with-opengl was given.
3349 if test "${with_opengl+set}" = set; then :
3350 withval=$with_opengl;
3354 # Check whether --with-osmesa was given.
3355 if test "${with_osmesa+set}" = set; then :
3356 withval=$with_osmesa;
3360 # Check whether --with-oss was given.
3361 if test "${with_oss+set}" = set; then :
3362 withval=$with_oss;
3366 # Check whether --with-pcap was given.
3367 if test "${with_pcap+set}" = set; then :
3368 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3372 # Check whether --with-png was given.
3373 if test "${with_png+set}" = set; then :
3374 withval=$with_png;
3378 # Check whether --with-pthread was given.
3379 if test "${with_pthread+set}" = set; then :
3380 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3384 # Check whether --with-sane was given.
3385 if test "${with_sane+set}" = set; then :
3386 withval=$with_sane;
3390 # Check whether --with-tiff was given.
3391 if test "${with_tiff+set}" = set; then :
3392 withval=$with_tiff;
3396 # Check whether --with-v4l was given.
3397 if test "${with_v4l+set}" = set; then :
3398 withval=$with_v4l;
3402 # Check whether --with-xcomposite was given.
3403 if test "${with_xcomposite+set}" = set; then :
3404 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3408 # Check whether --with-xcursor was given.
3409 if test "${with_xcursor+set}" = set; then :
3410 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3414 # Check whether --with-xinerama was given.
3415 if test "${with_xinerama+set}" = set; then :
3416 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3420 # Check whether --with-xinput was given.
3421 if test "${with_xinput+set}" = set; then :
3422 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3426 # Check whether --with-xinput2 was given.
3427 if test "${with_xinput2+set}" = set; then :
3428 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3432 # Check whether --with-xml was given.
3433 if test "${with_xml+set}" = set; then :
3434 withval=$with_xml;
3438 # Check whether --with-xrandr was given.
3439 if test "${with_xrandr+set}" = set; then :
3440 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3444 # Check whether --with-xrender was given.
3445 if test "${with_xrender+set}" = set; then :
3446 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3450 # Check whether --with-xshape was given.
3451 if test "${with_xshape+set}" = set; then :
3452 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3456 # Check whether --with-xshm was given.
3457 if test "${with_xshm+set}" = set; then :
3458 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3462 # Check whether --with-xslt was given.
3463 if test "${with_xslt+set}" = set; then :
3464 withval=$with_xslt;
3468 # Check whether --with-xxf86vm was given.
3469 if test "${with_xxf86vm+set}" = set; then :
3470 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
3474 # Check whether --with-zlib was given.
3475 if test "${with_zlib+set}" = set; then :
3476 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3481 # Check whether --with-wine-tools was given.
3482 if test "${with_wine_tools+set}" = set; then :
3483 withval=$with_wine_tools;
3487 # Check whether --with-wine64 was given.
3488 if test "${with_wine64+set}" = set; then :
3489 withval=$with_wine64;
3493 # Make sure we can run config.sub.
3494 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3495 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3498 $as_echo_n "checking build system type... " >&6; }
3499 if ${ac_cv_build+:} false; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 ac_build_alias=$build_alias
3503 test "x$ac_build_alias" = x &&
3504 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3505 test "x$ac_build_alias" = x &&
3506 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3507 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3508 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3512 $as_echo "$ac_cv_build" >&6; }
3513 case $ac_cv_build in
3514 *-*-*) ;;
3515 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3516 esac
3517 build=$ac_cv_build
3518 ac_save_IFS=$IFS; IFS='-'
3519 set x $ac_cv_build
3520 shift
3521 build_cpu=$1
3522 build_vendor=$2
3523 shift; shift
3524 # Remember, the first character of IFS is used to create $*,
3525 # except with old shells:
3526 build_os=$*
3527 IFS=$ac_save_IFS
3528 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3532 $as_echo_n "checking host system type... " >&6; }
3533 if ${ac_cv_host+:} false; then :
3534 $as_echo_n "(cached) " >&6
3535 else
3536 if test "x$host_alias" = x; then
3537 ac_cv_host=$ac_cv_build
3538 else
3539 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3540 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3545 $as_echo "$ac_cv_host" >&6; }
3546 case $ac_cv_host in
3547 *-*-*) ;;
3548 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3549 esac
3550 host=$ac_cv_host
3551 ac_save_IFS=$IFS; IFS='-'
3552 set x $ac_cv_host
3553 shift
3554 host_cpu=$1
3555 host_vendor=$2
3556 shift; shift
3557 # Remember, the first character of IFS is used to create $*,
3558 # except with old shells:
3559 host_os=$*
3560 IFS=$ac_save_IFS
3561 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3565 case "$srcdir" in
3566 .) ;;
3567 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3568 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3569 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3570 fi ;;
3571 esac
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3575 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3576 set x ${MAKE-make}
3577 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3578 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3579 $as_echo_n "(cached) " >&6
3580 else
3581 cat >conftest.make <<\_ACEOF
3582 SHELL = /bin/sh
3583 all:
3584 @echo '@@@%%%=$(MAKE)=@@@%%%'
3585 _ACEOF
3586 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3587 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3588 *@@@%%%=?*=@@@%%%*)
3589 eval ac_cv_prog_make_${ac_make}_set=yes;;
3591 eval ac_cv_prog_make_${ac_make}_set=no;;
3592 esac
3593 rm -f conftest.make
3595 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3598 SET_MAKE=
3599 else
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3602 SET_MAKE="MAKE=${MAKE-make}"
3605 ac_ext=c
3606 ac_cpp='$CPP $CPPFLAGS'
3607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3610 if test -n "$ac_tool_prefix"; then
3611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3612 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_CC+:} false; then :
3616 $as_echo_n "(cached) " >&6
3617 else
3618 if test -n "$CC"; then
3619 ac_cv_prog_CC="$CC" # Let the user override the test.
3620 else
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 for as_dir in $PATH
3624 IFS=$as_save_IFS
3625 test -z "$as_dir" && as_dir=.
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 break 2
3632 done
3633 done
3634 IFS=$as_save_IFS
3638 CC=$ac_cv_prog_CC
3639 if test -n "$CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3641 $as_echo "$CC" >&6; }
3642 else
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3649 if test -z "$ac_cv_prog_CC"; then
3650 ac_ct_CC=$CC
3651 # Extract the first word of "gcc", so it can be a program name with args.
3652 set dummy gcc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if test -n "$ac_ct_CC"; then
3659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_ac_ct_CC="gcc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3679 if test -n "$ac_ct_CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3681 $as_echo "$ac_ct_CC" >&6; }
3682 else
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3687 if test "x$ac_ct_CC" = x; then
3688 CC=""
3689 else
3690 case $cross_compiling:$ac_tool_warned in
3691 yes:)
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694 ac_tool_warned=yes ;;
3695 esac
3696 CC=$ac_ct_CC
3698 else
3699 CC="$ac_cv_prog_CC"
3702 if test -z "$CC"; then
3703 if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3705 set dummy ${ac_tool_prefix}cc; ac_word=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false; then :
3709 $as_echo_n "(cached) " >&6
3710 else
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC="$CC" # Let the user override the test.
3713 else
3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 for as_dir in $PATH
3717 IFS=$as_save_IFS
3718 test -z "$as_dir" && as_dir=.
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC="${ac_tool_prefix}cc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 break 2
3725 done
3726 done
3727 IFS=$as_save_IFS
3731 CC=$ac_cv_prog_CC
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3743 if test -z "$CC"; then
3744 # Extract the first word of "cc", so it can be a program name with args.
3745 set dummy cc; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_CC+:} false; then :
3749 $as_echo_n "(cached) " >&6
3750 else
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 ac_prog_rejected=no
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3763 ac_prog_rejected=yes
3764 continue
3766 ac_cv_prog_CC="cc"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3774 if test $ac_prog_rejected = yes; then
3775 # We found a bogon in the path, so make sure we never use it.
3776 set dummy $ac_cv_prog_CC
3777 shift
3778 if test $# != 0; then
3779 # We chose a different compiler from the bogus one.
3780 # However, it has the same basename, so the bogon will be chosen
3781 # first if we set CC to just the basename; use the full file name.
3782 shift
3783 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3799 if test -z "$CC"; then
3800 if test -n "$ac_tool_prefix"; then
3801 for ac_prog in cl.exe
3803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC="$CC" # Let the user override the test.
3812 else
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 for as_dir in $PATH
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 break 2
3824 done
3825 done
3826 IFS=$as_save_IFS
3830 CC=$ac_cv_prog_CC
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3834 else
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3840 test -n "$CC" && break
3841 done
3843 if test -z "$CC"; then
3844 ac_ct_CC=$CC
3845 for ac_prog in cl.exe
3847 # Extract the first word of "$ac_prog", so it can be a program name with args.
3848 set dummy $ac_prog; ac_word=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 if test -n "$ac_ct_CC"; then
3855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3856 else
3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858 for as_dir in $PATH
3860 IFS=$as_save_IFS
3861 test -z "$as_dir" && as_dir=.
3862 for ac_exec_ext in '' $ac_executable_extensions; do
3863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_CC="$ac_prog"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 break 2
3868 done
3869 done
3870 IFS=$as_save_IFS
3874 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3875 if test -n "$ac_ct_CC"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3877 $as_echo "$ac_ct_CC" >&6; }
3878 else
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3884 test -n "$ac_ct_CC" && break
3885 done
3887 if test "x$ac_ct_CC" = x; then
3888 CC=""
3889 else
3890 case $cross_compiling:$ac_tool_warned in
3891 yes:)
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned=yes ;;
3895 esac
3896 CC=$ac_ct_CC
3903 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3905 as_fn_error $? "no acceptable C compiler found in \$PATH
3906 See \`config.log' for more details" "$LINENO" 5; }
3908 # Provide some information about the compiler.
3909 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3910 set X $ac_compile
3911 ac_compiler=$2
3912 for ac_option in --version -v -V -qversion; do
3913 { { ac_try="$ac_compiler $ac_option >&5"
3914 case "(($ac_try" in
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3921 ac_status=$?
3922 if test -s conftest.err; then
3923 sed '10a\
3924 ... rest of stderr output deleted ...
3925 10q' conftest.err >conftest.er1
3926 cat conftest.er1 >&5
3928 rm -f conftest.er1 conftest.err
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }
3931 done
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3937 main ()
3941 return 0;
3943 _ACEOF
3944 ac_clean_files_save=$ac_clean_files
3945 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3946 # Try to create an executable without -o first, disregard a.out.
3947 # It will help us diagnose broken compilers, and finding out an intuition
3948 # of exeext.
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3950 $as_echo_n "checking whether the C compiler works... " >&6; }
3951 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3953 # The possible output files:
3954 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3956 ac_rmfiles=
3957 for ac_file in $ac_files
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3961 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3962 esac
3963 done
3964 rm -f $ac_rmfiles
3966 if { { ac_try="$ac_link_default"
3967 case "(($ac_try" in
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3970 esac
3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973 (eval "$ac_link_default") 2>&5
3974 ac_status=$?
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; then :
3977 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3978 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3979 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3980 # so that the user can short-circuit this test for compilers unknown to
3981 # Autoconf.
3982 for ac_file in $ac_files ''
3984 test -f "$ac_file" || continue
3985 case $ac_file in
3986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3988 [ab].out )
3989 # We found the default executable, but exeext='' is most
3990 # certainly right.
3991 break;;
3992 *.* )
3993 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3994 then :; else
3995 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3997 # We set ac_cv_exeext here because the later test for it is not
3998 # safe: cross compilers may not add the suffix if given an `-o'
3999 # argument, so we may need to know it at that point already.
4000 # Even if this section looks crufty: it has the advantage of
4001 # actually working.
4002 break;;
4004 break;;
4005 esac
4006 done
4007 test "$ac_cv_exeext" = no && ac_cv_exeext=
4009 else
4010 ac_file=''
4012 if test -z "$ac_file"; then :
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4015 $as_echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.$ac_ext >&5
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error 77 "C compiler cannot create executables
4021 See \`config.log' for more details" "$LINENO" 5; }
4022 else
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4027 $as_echo_n "checking for C compiler default output file name... " >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4029 $as_echo "$ac_file" >&6; }
4030 ac_exeext=$ac_cv_exeext
4032 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4033 ac_clean_files=$ac_clean_files_save
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4035 $as_echo_n "checking for suffix of executables... " >&6; }
4036 if { { ac_try="$ac_link"
4037 case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4040 esac
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_link") 2>&5
4044 ac_status=$?
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }; then :
4047 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4048 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4049 # work properly (i.e., refer to `conftest.exe'), while it won't with
4050 # `rm'.
4051 for ac_file in conftest.exe conftest conftest.*; do
4052 test -f "$ac_file" || continue
4053 case $ac_file in
4054 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4055 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4056 break;;
4057 * ) break;;
4058 esac
4059 done
4060 else
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4064 See \`config.log' for more details" "$LINENO" 5; }
4066 rm -f conftest conftest$ac_cv_exeext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4068 $as_echo "$ac_cv_exeext" >&6; }
4070 rm -f conftest.$ac_ext
4071 EXEEXT=$ac_cv_exeext
4072 ac_exeext=$EXEEXT
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4075 #include <stdio.h>
4077 main ()
4079 FILE *f = fopen ("conftest.out", "w");
4080 return ferror (f) || fclose (f) != 0;
4083 return 0;
4085 _ACEOF
4086 ac_clean_files="$ac_clean_files conftest.out"
4087 # Check that the compiler produces executables we can run. If not, either
4088 # the compiler is broken, or we cross compile.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4090 $as_echo_n "checking whether we are cross compiling... " >&6; }
4091 if test "$cross_compiling" != yes; then
4092 { { ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }
4103 if { ac_try='./conftest$ac_cv_exeext'
4104 { { case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_try") 2>&5
4111 ac_status=$?
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; }; then
4114 cross_compiling=no
4115 else
4116 if test "$cross_compiling" = maybe; then
4117 cross_compiling=yes
4118 else
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $? "cannot run C compiled programs.
4122 If you meant to cross compile, use \`--host'.
4123 See \`config.log' for more details" "$LINENO" 5; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4130 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4131 ac_clean_files=$ac_clean_files_save
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4133 $as_echo_n "checking for suffix of object files... " >&6; }
4134 if ${ac_cv_objext+:} false; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4145 return 0;
4147 _ACEOF
4148 rm -f conftest.o conftest.obj
4149 if { { ac_try="$ac_compile"
4150 case "(($ac_try" in
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4153 esac
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_compile") 2>&5
4157 ac_status=$?
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }; then :
4160 for ac_file in conftest.o conftest.obj conftest.*; do
4161 test -f "$ac_file" || continue;
4162 case $ac_file in
4163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4164 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4165 break;;
4166 esac
4167 done
4168 else
4169 $as_echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4174 as_fn_error $? "cannot compute suffix of object files: cannot compile
4175 See \`config.log' for more details" "$LINENO" 5; }
4177 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4180 $as_echo "$ac_cv_objext" >&6; }
4181 OBJEXT=$ac_cv_objext
4182 ac_objext=$OBJEXT
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4184 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4185 if ${ac_cv_c_compiler_gnu+:} false; then :
4186 $as_echo_n "(cached) " >&6
4187 else
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4192 main ()
4194 #ifndef __GNUC__
4195 choke me
4196 #endif
4199 return 0;
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_compiler_gnu=yes
4204 else
4205 ac_compiler_gnu=no
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4212 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4213 if test $ac_compiler_gnu = yes; then
4214 GCC=yes
4215 else
4216 GCC=
4218 ac_test_CFLAGS=${CFLAGS+set}
4219 ac_save_CFLAGS=$CFLAGS
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4221 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4222 if ${ac_cv_prog_cc_g+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 ac_save_c_werror_flag=$ac_c_werror_flag
4226 ac_c_werror_flag=yes
4227 ac_cv_prog_cc_g=no
4228 CFLAGS="-g"
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4233 main ()
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_cv_prog_cc_g=yes
4242 else
4243 CFLAGS=""
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4248 main ()
4252 return 0;
4254 _ACEOF
4255 if ac_fn_c_try_compile "$LINENO"; then :
4257 else
4258 ac_c_werror_flag=$ac_save_c_werror_flag
4259 CFLAGS="-g"
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4264 main ()
4268 return 0;
4270 _ACEOF
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_g=yes
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 ac_c_werror_flag=$ac_save_c_werror_flag
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4282 $as_echo "$ac_cv_prog_cc_g" >&6; }
4283 if test "$ac_test_CFLAGS" = set; then
4284 CFLAGS=$ac_save_CFLAGS
4285 elif test $ac_cv_prog_cc_g = yes; then
4286 if test "$GCC" = yes; then
4287 CFLAGS="-g -O2"
4288 else
4289 CFLAGS="-g"
4291 else
4292 if test "$GCC" = yes; then
4293 CFLAGS="-O2"
4294 else
4295 CFLAGS=
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4299 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4300 if ${ac_cv_prog_cc_c89+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 ac_cv_prog_cc_c89=no
4304 ac_save_CC=$CC
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4307 #include <stdarg.h>
4308 #include <stdio.h>
4309 struct stat;
4310 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4311 struct buf { int x; };
4312 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4313 static char *e (p, i)
4314 char **p;
4315 int i;
4317 return p[i];
4319 static char *f (char * (*g) (char **, int), char **p, ...)
4321 char *s;
4322 va_list v;
4323 va_start (v,p);
4324 s = g (p, va_arg (v,int));
4325 va_end (v);
4326 return s;
4329 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4330 function prototypes and stuff, but not '\xHH' hex character constants.
4331 These don't provoke an error unfortunately, instead are silently treated
4332 as 'x'. The following induces an error, until -std is added to get
4333 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4334 array size at least. It's necessary to write '\x00'==0 to get something
4335 that's true only with -std. */
4336 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4338 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4339 inside strings and character constants. */
4340 #define FOO(x) 'x'
4341 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4343 int test (int i, double x);
4344 struct s1 {int (*f) (int a);};
4345 struct s2 {int (*f) (double a);};
4346 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4347 int argc;
4348 char **argv;
4350 main ()
4352 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4354 return 0;
4356 _ACEOF
4357 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4358 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4360 CC="$ac_save_CC $ac_arg"
4361 if ac_fn_c_try_compile "$LINENO"; then :
4362 ac_cv_prog_cc_c89=$ac_arg
4364 rm -f core conftest.err conftest.$ac_objext
4365 test "x$ac_cv_prog_cc_c89" != "xno" && break
4366 done
4367 rm -f conftest.$ac_ext
4368 CC=$ac_save_CC
4371 # AC_CACHE_VAL
4372 case "x$ac_cv_prog_cc_c89" in
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4375 $as_echo "none needed" >&6; } ;;
4376 xno)
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4378 $as_echo "unsupported" >&6; } ;;
4380 CC="$CC $ac_cv_prog_cc_c89"
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4382 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4383 esac
4384 if test "x$ac_cv_prog_cc_c89" != xno; then :
4388 ac_ext=c
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394 ac_ext=cpp
4395 ac_cpp='$CXXCPP $CPPFLAGS'
4396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4399 if test -z "$CXX"; then
4400 if test -n "$CCC"; then
4401 CXX=$CCC
4402 else
4403 if test -n "$ac_tool_prefix"; then
4404 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4407 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_CXX+:} false; then :
4411 $as_echo_n "(cached) " >&6
4412 else
4413 if test -n "$CXX"; then
4414 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4415 else
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 for as_dir in $PATH
4419 IFS=$as_save_IFS
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 break 2
4427 done
4428 done
4429 IFS=$as_save_IFS
4433 CXX=$ac_cv_prog_CXX
4434 if test -n "$CXX"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4436 $as_echo "$CXX" >&6; }
4437 else
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$CXX" && break
4444 done
4446 if test -z "$CXX"; then
4447 ac_ct_CXX=$CXX
4448 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4450 # Extract the first word of "$ac_prog", so it can be a program name with args.
4451 set dummy $ac_prog; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$ac_ct_CXX"; then
4458 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_CXX="$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4478 if test -n "$ac_ct_CXX"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4480 $as_echo "$ac_ct_CXX" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4487 test -n "$ac_ct_CXX" && break
4488 done
4490 if test "x$ac_ct_CXX" = x; then
4491 CXX="g++"
4492 else
4493 case $cross_compiling:$ac_tool_warned in
4494 yes:)
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned=yes ;;
4498 esac
4499 CXX=$ac_ct_CXX
4505 # Provide some information about the compiler.
4506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4507 set X $ac_compile
4508 ac_compiler=$2
4509 for ac_option in --version -v -V -qversion; do
4510 { { ac_try="$ac_compiler $ac_option >&5"
4511 case "(($ac_try" in
4512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4514 esac
4515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4518 ac_status=$?
4519 if test -s conftest.err; then
4520 sed '10a\
4521 ... rest of stderr output deleted ...
4522 10q' conftest.err >conftest.er1
4523 cat conftest.er1 >&5
4525 rm -f conftest.er1 conftest.err
4526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4527 test $ac_status = 0; }
4528 done
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4531 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4532 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4539 main ()
4541 #ifndef __GNUC__
4542 choke me
4543 #endif
4546 return 0;
4548 _ACEOF
4549 if ac_fn_cxx_try_compile "$LINENO"; then :
4550 ac_compiler_gnu=yes
4551 else
4552 ac_compiler_gnu=no
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4559 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4560 if test $ac_compiler_gnu = yes; then
4561 GXX=yes
4562 else
4563 GXX=
4565 ac_test_CXXFLAGS=${CXXFLAGS+set}
4566 ac_save_CXXFLAGS=$CXXFLAGS
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4568 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4569 if ${ac_cv_prog_cxx_g+:} false; then :
4570 $as_echo_n "(cached) " >&6
4571 else
4572 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4573 ac_cxx_werror_flag=yes
4574 ac_cv_prog_cxx_g=no
4575 CXXFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 ac_cv_prog_cxx_g=yes
4589 else
4590 CXXFLAGS=""
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4595 main ()
4599 return 0;
4601 _ACEOF
4602 if ac_fn_cxx_try_compile "$LINENO"; then :
4604 else
4605 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4606 CXXFLAGS="-g"
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4611 main ()
4615 return 0;
4617 _ACEOF
4618 if ac_fn_cxx_try_compile "$LINENO"; then :
4619 ac_cv_prog_cxx_g=yes
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4629 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4630 if test "$ac_test_CXXFLAGS" = set; then
4631 CXXFLAGS=$ac_save_CXXFLAGS
4632 elif test $ac_cv_prog_cxx_g = yes; then
4633 if test "$GXX" = yes; then
4634 CXXFLAGS="-g -O2"
4635 else
4636 CXXFLAGS="-g"
4638 else
4639 if test "$GXX" = yes; then
4640 CXXFLAGS="-O2"
4641 else
4642 CXXFLAGS=
4645 ac_ext=c
4646 ac_cpp='$CPP $CPPFLAGS'
4647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4651 if test -n "$ac_tool_prefix"; then
4652 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4653 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if ${ac_cv_prog_CPPBIN+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 if test -n "$CPPBIN"; then
4660 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 CPPBIN=$ac_cv_prog_CPPBIN
4680 if test -n "$CPPBIN"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4682 $as_echo "$CPPBIN" >&6; }
4683 else
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4690 if test -z "$ac_cv_prog_CPPBIN"; then
4691 ac_ct_CPPBIN=$CPPBIN
4692 # Extract the first word of "cpp", so it can be a program name with args.
4693 set dummy cpp; ac_word=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 if test -n "$ac_ct_CPPBIN"; then
4700 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4701 else
4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH
4705 IFS=$as_save_IFS
4706 test -z "$as_dir" && as_dir=.
4707 for ac_exec_ext in '' $ac_executable_extensions; do
4708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CPPBIN="cpp"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 break 2
4713 done
4714 done
4715 IFS=$as_save_IFS
4719 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4720 if test -n "$ac_ct_CPPBIN"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4722 $as_echo "$ac_ct_CPPBIN" >&6; }
4723 else
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4728 if test "x$ac_ct_CPPBIN" = x; then
4729 CPPBIN="cpp"
4730 else
4731 case $cross_compiling:$ac_tool_warned in
4732 yes:)
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4735 ac_tool_warned=yes ;;
4736 esac
4737 CPPBIN=$ac_ct_CPPBIN
4739 else
4740 CPPBIN="$ac_cv_prog_CPPBIN"
4744 cat >>confdefs.h <<_ACEOF
4745 #define EXEEXT "$ac_exeext"
4746 _ACEOF
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}ld; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_LD+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 if test -n "$LD"; then
4757 ac_cv_prog_LD="$LD" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4762 IFS=$as_save_IFS
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_LD="${ac_tool_prefix}ld"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 break 2
4770 done
4771 done
4772 IFS=$as_save_IFS
4776 LD=$ac_cv_prog_LD
4777 if test -n "$LD"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4779 $as_echo "$LD" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4787 if test -z "$ac_cv_prog_LD"; then
4788 ac_ct_LD=$LD
4789 # Extract the first word of "ld", so it can be a program name with args.
4790 set dummy ld; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if test -n "$ac_ct_LD"; then
4797 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4802 IFS=$as_save_IFS
4803 test -z "$as_dir" && as_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4806 ac_cv_prog_ac_ct_LD="ld"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 break 2
4810 done
4811 done
4812 IFS=$as_save_IFS
4816 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4817 if test -n "$ac_ct_LD"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4819 $as_echo "$ac_ct_LD" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4825 if test "x$ac_ct_LD" = x; then
4826 LD=""
4827 else
4828 case $cross_compiling:$ac_tool_warned in
4829 yes:)
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4832 ac_tool_warned=yes ;;
4833 esac
4834 LD=$ac_ct_LD
4836 else
4837 LD="$ac_cv_prog_LD"
4841 case $host in
4842 *-darwin*)
4843 if test "x$enable_win64" = "xyes"
4844 then
4845 CC="$CC -m64"
4846 CXX="$CXX -m64"
4847 host_cpu="x86_64"
4848 notice_platform="64-bit "
4849 TARGETFLAGS="-m64"
4851 else
4852 CC="$CC -m32"
4853 CXX="$CXX -m32"
4854 host_cpu="i386"
4855 notice_platform="32-bit "
4856 TARGETFLAGS="-m32"
4858 enable_win16=${enable_win16:-yes}
4860 with_fontconfig=${with_fontconfig:-no}
4862 x86_64*)
4863 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4864 then
4865 CC="$CC -m32"
4866 CXX="$CXX -m32"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4868 $as_echo_n "checking whether $CC works... " >&6; }
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4874 main ()
4878 return 0;
4880 _ACEOF
4881 if ac_fn_c_try_link "$LINENO"; then :
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4884 else
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4889 rm -f core conftest.err conftest.$ac_objext \
4890 conftest$ac_exeext conftest.$ac_ext
4891 host_cpu="i386"
4892 notice_platform="32-bit "
4893 TARGETFLAGS="-m32"
4895 enable_win16=${enable_win16:-yes}
4896 else
4897 if test "x${GCC}" = "xyes"
4898 then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4900 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4903 #include <stdarg.h>
4905 main ()
4907 void func(__builtin_ms_va_list *args);
4909 return 0;
4911 _ACEOF
4912 if ac_fn_c_try_compile "$LINENO"; then :
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4914 $as_echo "yes" >&6; }
4915 else
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4922 TARGETFLAGS="-m64"
4926 arm*)
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4928 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4931 int ac_test(int i) { return i; }
4933 main ()
4935 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4937 return 0;
4939 _ACEOF
4940 if ac_fn_c_try_link "$LINENO"; then :
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4942 $as_echo "yes" >&6; }
4943 else
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4946 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4948 rm -f core conftest.err conftest.$ac_objext \
4949 conftest$ac_exeext conftest.$ac_ext
4950 CFLAGS="$CFLAGS -marm"
4951 TARGETFLAGS="-marm"
4954 *-mingw32*|*-cygwin*)
4955 enable_win16=${enable_win16:-no}
4956 CFLAGS="$CFLAGS -D_WIN32"
4958 i[3456789]86*)
4959 enable_win16=${enable_win16:-yes}
4961 esac
4963 enable_win16=${enable_win16:-no}
4964 enable_win64=${enable_win64:-no}
4966 enable_winetest=${enable_winetest:-$enable_tests}
4968 if test -n "$with_wine64"
4969 then
4970 if test "x$enable_win64" = "xyes"
4971 then
4972 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4973 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4975 enable_fonts=${enable_fonts:-no}
4976 enable_server=${enable_server:-no}
4977 elif test "x$enable_win64" = "xyes"
4978 then
4979 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4983 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4984 if ${wine_cv_toolsdir+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 wine_cv_toolsdir="$with_wine_tools"
4988 if test -z "$with_wine_tools"; then
4989 if test "$cross_compiling" = "yes"; then
4990 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4991 elif test -n "$with_wine64"; then
4992 wine_cv_toolsdir="$with_wine64"
4995 if test -z "$wine_cv_toolsdir"; then
4996 wine_makedep=tools/makedep
4997 wine_cv_toolsdir="\$(top_builddir)"
4998 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4999 wine_makedep=$wine_cv_toolsdir/tools/makedep
5000 case "$wine_cv_toolsdir" in
5001 /*) ;;
5002 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5003 esac
5004 enable_tools=${enable_tools:-no}
5005 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5006 else
5007 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5011 $as_echo "$wine_cv_toolsdir" >&6; }
5012 TOOLSDIR=$wine_cv_toolsdir
5014 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5015 then
5016 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5020 for ac_prog in flex
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy $ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_FLEX+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 if test -n "$FLEX"; then
5030 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_FLEX="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 break 2
5043 done
5044 done
5045 IFS=$as_save_IFS
5049 FLEX=$ac_cv_prog_FLEX
5050 if test -n "$FLEX"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5052 $as_echo "$FLEX" >&6; }
5053 else
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$FLEX" && break
5060 done
5061 test -n "$FLEX" || FLEX="none"
5063 if test "$FLEX" = "none"
5064 then
5065 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5068 $as_echo_n "checking whether flex is recent enough... " >&6; }
5069 cat >conftest.l <<EOF
5070 %top{
5071 #include "prediluvian.h"
5075 if $FLEX -t conftest.l >/dev/null 2>&5
5076 then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5078 $as_echo "yes" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5082 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5085 for ac_prog in bison
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy $ac_prog; ac_word=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_BISON+:} false; then :
5092 $as_echo_n "(cached) " >&6
5093 else
5094 if test -n "$BISON"; then
5095 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5096 else
5097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 for as_dir in $PATH
5100 IFS=$as_save_IFS
5101 test -z "$as_dir" && as_dir=.
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_BISON="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 break 2
5108 done
5109 done
5110 IFS=$as_save_IFS
5114 BISON=$ac_cv_prog_BISON
5115 if test -n "$BISON"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5117 $as_echo "$BISON" >&6; }
5118 else
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$BISON" && break
5125 done
5126 test -n "$BISON" || BISON="none"
5128 if test "$BISON" = "none"
5129 then
5130 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5133 if test -n "$ac_tool_prefix"; then
5134 for ac_prog in ar gar
5136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5137 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_AR+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 if test -n "$AR"; then
5144 ac_cv_prog_AR="$AR" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5159 IFS=$as_save_IFS
5163 AR=$ac_cv_prog_AR
5164 if test -n "$AR"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5166 $as_echo "$AR" >&6; }
5167 else
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$AR" && break
5174 done
5176 if test -z "$AR"; then
5177 ac_ct_AR=$AR
5178 for ac_prog in ar gar
5180 # Extract the first word of "$ac_prog", so it can be a program name with args.
5181 set dummy $ac_prog; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5185 $as_echo_n "(cached) " >&6
5186 else
5187 if test -n "$ac_ct_AR"; then
5188 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5189 else
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_AR="$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 break 2
5201 done
5202 done
5203 IFS=$as_save_IFS
5207 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5208 if test -n "$ac_ct_AR"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5210 $as_echo "$ac_ct_AR" >&6; }
5211 else
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$ac_ct_AR" && break
5218 done
5220 if test "x$ac_ct_AR" = x; then
5221 AR="ar"
5222 else
5223 case $cross_compiling:$ac_tool_warned in
5224 yes:)
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned=yes ;;
5228 esac
5229 AR=$ac_ct_AR
5233 if test -n "$ac_tool_prefix"; then
5234 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5235 set dummy ${ac_tool_prefix}strip; ac_word=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_STRIP+:} false; then :
5239 $as_echo_n "(cached) " >&6
5240 else
5241 if test -n "$STRIP"; then
5242 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5247 IFS=$as_save_IFS
5248 test -z "$as_dir" && as_dir=.
5249 for ac_exec_ext in '' $ac_executable_extensions; do
5250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 break 2
5255 done
5256 done
5257 IFS=$as_save_IFS
5261 STRIP=$ac_cv_prog_STRIP
5262 if test -n "$STRIP"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5264 $as_echo "$STRIP" >&6; }
5265 else
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5272 if test -z "$ac_cv_prog_STRIP"; then
5273 ac_ct_STRIP=$STRIP
5274 # Extract the first word of "strip", so it can be a program name with args.
5275 set dummy strip; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 if test -n "$ac_ct_STRIP"; then
5282 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_STRIP="strip"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 break 2
5295 done
5296 done
5297 IFS=$as_save_IFS
5301 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5302 if test -n "$ac_ct_STRIP"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5304 $as_echo "$ac_ct_STRIP" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5310 if test "x$ac_ct_STRIP" = x; then
5311 STRIP="strip"
5312 else
5313 case $cross_compiling:$ac_tool_warned in
5314 yes:)
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned=yes ;;
5318 esac
5319 STRIP=$ac_ct_STRIP
5321 else
5322 STRIP="$ac_cv_prog_STRIP"
5325 ARFLAGS=rc
5327 if test -n "$ac_tool_prefix"; then
5328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5329 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_RANLIB+:} false; then :
5333 $as_echo_n "(cached) " >&6
5334 else
5335 if test -n "$RANLIB"; then
5336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5351 IFS=$as_save_IFS
5355 RANLIB=$ac_cv_prog_RANLIB
5356 if test -n "$RANLIB"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5358 $as_echo "$RANLIB" >&6; }
5359 else
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5366 if test -z "$ac_cv_prog_RANLIB"; then
5367 ac_ct_RANLIB=$RANLIB
5368 # Extract the first word of "ranlib", so it can be a program name with args.
5369 set dummy ranlib; ac_word=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 if test -n "$ac_ct_RANLIB"; then
5376 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_ac_ct_RANLIB="ranlib"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 break 2
5389 done
5390 done
5391 IFS=$as_save_IFS
5395 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5396 if test -n "$ac_ct_RANLIB"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5398 $as_echo "$ac_ct_RANLIB" >&6; }
5399 else
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5404 if test "x$ac_ct_RANLIB" = x; then
5405 RANLIB=":"
5406 else
5407 case $cross_compiling:$ac_tool_warned in
5408 yes:)
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5411 ac_tool_warned=yes ;;
5412 esac
5413 RANLIB=$ac_ct_RANLIB
5415 else
5416 RANLIB="$ac_cv_prog_RANLIB"
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5420 $as_echo_n "checking whether ln -s works... " >&6; }
5421 LN_S=$as_ln_s
5422 if test "$LN_S" = "ln -s"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5424 $as_echo "yes" >&6; }
5425 else
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5427 $as_echo "no, using $LN_S" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5432 if ${ac_cv_path_GREP+:} false; then :
5433 $as_echo_n "(cached) " >&6
5434 else
5435 if test -z "$GREP"; then
5436 ac_path_GREP_found=false
5437 # Loop through the user's path and test for each of PROGNAME-LIST
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5441 IFS=$as_save_IFS
5442 test -z "$as_dir" && as_dir=.
5443 for ac_prog in grep ggrep; do
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5446 as_fn_executable_p "$ac_path_GREP" || continue
5447 # Check for GNU ac_path_GREP and select it if it is found.
5448 # Check for GNU $ac_path_GREP
5449 case `"$ac_path_GREP" --version 2>&1` in
5450 *GNU*)
5451 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5453 ac_count=0
5454 $as_echo_n 0123456789 >"conftest.in"
5455 while :
5457 cat "conftest.in" "conftest.in" >"conftest.tmp"
5458 mv "conftest.tmp" "conftest.in"
5459 cp "conftest.in" "conftest.nl"
5460 $as_echo 'GREP' >> "conftest.nl"
5461 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463 as_fn_arith $ac_count + 1 && ac_count=$as_val
5464 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5465 # Best one so far, save it but keep looking for a better one
5466 ac_cv_path_GREP="$ac_path_GREP"
5467 ac_path_GREP_max=$ac_count
5469 # 10*(2^10) chars as input seems more than enough
5470 test $ac_count -gt 10 && break
5471 done
5472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5473 esac
5475 $ac_path_GREP_found && break 3
5476 done
5477 done
5478 done
5479 IFS=$as_save_IFS
5480 if test -z "$ac_cv_path_GREP"; then
5481 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5483 else
5484 ac_cv_path_GREP=$GREP
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5489 $as_echo "$ac_cv_path_GREP" >&6; }
5490 GREP="$ac_cv_path_GREP"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5494 $as_echo_n "checking for egrep... " >&6; }
5495 if ${ac_cv_path_EGREP+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5499 then ac_cv_path_EGREP="$GREP -E"
5500 else
5501 if test -z "$EGREP"; then
5502 ac_path_EGREP_found=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_prog in egrep; do
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5512 as_fn_executable_p "$ac_path_EGREP" || continue
5513 # Check for GNU ac_path_EGREP and select it if it is found.
5514 # Check for GNU $ac_path_EGREP
5515 case `"$ac_path_EGREP" --version 2>&1` in
5516 *GNU*)
5517 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5519 ac_count=0
5520 $as_echo_n 0123456789 >"conftest.in"
5521 while :
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'EGREP' >> "conftest.nl"
5527 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529 as_fn_arith $ac_count + 1 && ac_count=$as_val
5530 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_EGREP="$ac_path_EGREP"
5533 ac_path_EGREP_max=$ac_count
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5537 done
5538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539 esac
5541 $ac_path_EGREP_found && break 3
5542 done
5543 done
5544 done
5545 IFS=$as_save_IFS
5546 if test -z "$ac_cv_path_EGREP"; then
5547 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549 else
5550 ac_cv_path_EGREP=$EGREP
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5556 $as_echo "$ac_cv_path_EGREP" >&6; }
5557 EGREP="$ac_cv_path_EGREP"
5560 # Extract the first word of "ldconfig", so it can be a program name with args.
5561 set dummy ldconfig; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_path_LDCONFIG+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 case $LDCONFIG in
5568 [\\/]* | ?:[\\/]*)
5569 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in /sbin /usr/sbin $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5587 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5589 esac
5591 LDCONFIG=$ac_cv_path_LDCONFIG
5592 if test -n "$LDCONFIG"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5594 $as_echo "$LDCONFIG" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 for ac_prog in msgfmt
5603 # Extract the first word of "$ac_prog", so it can be a program name with args.
5604 set dummy $ac_prog; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_MSGFMT+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$MSGFMT"; then
5611 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_MSGFMT="$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 MSGFMT=$ac_cv_prog_MSGFMT
5631 if test -n "$MSGFMT"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5633 $as_echo "$MSGFMT" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$MSGFMT" && break
5641 done
5642 test -n "$MSGFMT" || MSGFMT="false"
5644 if ${ac_tool_prefix+:} false; then :
5645 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5646 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5650 $as_echo_n "(cached) " >&6
5651 else
5652 if test -n "$PKG_CONFIG"; then
5653 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5668 IFS=$as_save_IFS
5672 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5673 if test -n "$PKG_CONFIG"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5675 $as_echo "$PKG_CONFIG" >&6; }
5676 else
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5683 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5684 if test "x$cross_compiling" = xyes; then :
5686 else
5687 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5688 # Extract the first word of "pkg-config", so it can be a program name with args.
5689 set dummy pkg-config; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -n "$PKG_CONFIG"; then
5696 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5697 else
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_PKG_CONFIG="pkg-config"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5716 if test -n "$PKG_CONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5718 $as_echo "$PKG_CONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5726 else
5727 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5730 if test "x$enable_maintainer_mode" != "xyes"
5731 then
5732 FONTFORGE=""
5733 RSVG=""
5734 CONVERT=""
5735 ICOTOOL=""
5736 else
5737 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5738 for ac_prog in fontforge
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy $ac_prog; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_FONTFORGE+:} false; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -n "$FONTFORGE"; then
5748 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_FONTFORGE="$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5761 done
5762 done
5763 IFS=$as_save_IFS
5767 FONTFORGE=$ac_cv_prog_FONTFORGE
5768 if test -n "$FONTFORGE"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5770 $as_echo "$FONTFORGE" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$FONTFORGE" && break
5778 done
5779 test -n "$FONTFORGE" || FONTFORGE="false"
5781 for ac_prog in rsvg-convert rsvg
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_RSVG+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$RSVG"; then
5791 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_RSVG="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 RSVG=$ac_cv_prog_RSVG
5811 if test -n "$RSVG"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5813 $as_echo "$RSVG" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$RSVG" && break
5821 done
5822 test -n "$RSVG" || RSVG="false"
5824 for ac_prog in convert
5826 # Extract the first word of "$ac_prog", so it can be a program name with args.
5827 set dummy $ac_prog; ac_word=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_CONVERT+:} false; then :
5831 $as_echo_n "(cached) " >&6
5832 else
5833 if test -n "$CONVERT"; then
5834 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_CONVERT="$ac_prog"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 CONVERT=$ac_cv_prog_CONVERT
5854 if test -n "$CONVERT"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5856 $as_echo "$CONVERT" >&6; }
5857 else
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5863 test -n "$CONVERT" && break
5864 done
5865 test -n "$CONVERT" || CONVERT="false"
5867 for ac_prog in icotool
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ICOTOOL+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$ICOTOOL"; then
5877 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ICOTOOL="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 ICOTOOL=$ac_cv_prog_ICOTOOL
5897 if test -n "$ICOTOOL"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5899 $as_echo "$ICOTOOL" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ICOTOOL" && break
5907 done
5908 test -n "$ICOTOOL" || ICOTOOL="false"
5910 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5911 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5913 if test "$CONVERT" = false
5914 then
5915 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5918 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5919 convert_version=`convert --version | head -n1`
5920 if test "x$convert_version" != "x"
5921 then
5922 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5923 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5924 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5925 then
5926 CONVERT=false
5929 if test "$CONVERT" = false
5930 then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5932 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5933 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5936 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5940 if test "$ICOTOOL" = false
5941 then
5942 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5945 $as_echo_n "checking for recent enough icotool... " >&6; }
5946 icotool_version=`icotool --version | head -n1`
5947 if test "x$icotool_version" != "x"
5948 then
5949 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5950 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5951 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5952 then
5953 ICOTOOL=false
5954 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5957 if test "$ICOTOOL" = false
5958 then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5960 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5961 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5964 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5968 with_gettext=yes
5969 with_gettextpo=yes
5970 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5973 test "x$with_gettext" != xno || MSGFMT=false
5974 if test "$MSGFMT" != "false"
5975 then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5977 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5978 cat >conftest.po <<EOF
5979 # comment
5980 msgctxt "ctxt"
5981 msgid "id"
5982 msgstr "str"
5984 if $MSGFMT -o /dev/null conftest.po 2>&5
5985 then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5987 $as_echo "yes" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5991 MSGFMT=false
5994 if test "$MSGFMT" = false; then :
5995 case "x$with_gettext" in
5996 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5997 xno) ;;
5998 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5999 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6000 esac
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6005 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6006 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 ac_check_lib_save_LIBS=$LIBS
6010 LIBS="-li386 $LIBS"
6011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6014 /* Override any GCC internal prototype to avoid an error.
6015 Use char because int might match the return type of a GCC
6016 builtin and then its argument prototype would still apply. */
6017 #ifdef __cplusplus
6018 extern "C"
6019 #endif
6020 char i386_set_ldt ();
6022 main ()
6024 return i386_set_ldt ();
6026 return 0;
6028 _ACEOF
6029 if ac_fn_c_try_link "$LINENO"; then :
6030 ac_cv_lib_i386_i386_set_ldt=yes
6031 else
6032 ac_cv_lib_i386_i386_set_ldt=no
6034 rm -f core conftest.err conftest.$ac_objext \
6035 conftest$ac_exeext conftest.$ac_ext
6036 LIBS=$ac_check_lib_save_LIBS
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6039 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6040 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6041 cat >>confdefs.h <<_ACEOF
6042 #define HAVE_LIBI386 1
6043 _ACEOF
6045 LIBS="-li386 $LIBS"
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6050 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6051 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 ac_check_lib_save_LIBS=$LIBS
6055 LIBS="-lossaudio $LIBS"
6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6059 /* Override any GCC internal prototype to avoid an error.
6060 Use char because int might match the return type of a GCC
6061 builtin and then its argument prototype would still apply. */
6062 #ifdef __cplusplus
6063 extern "C"
6064 #endif
6065 char _oss_ioctl ();
6067 main ()
6069 return _oss_ioctl ();
6071 return 0;
6073 _ACEOF
6074 if ac_fn_c_try_link "$LINENO"; then :
6075 ac_cv_lib_ossaudio__oss_ioctl=yes
6076 else
6077 ac_cv_lib_ossaudio__oss_ioctl=no
6079 rm -f core conftest.err conftest.$ac_objext \
6080 conftest$ac_exeext conftest.$ac_ext
6081 LIBS=$ac_check_lib_save_LIBS
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6084 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6085 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6086 cat >>confdefs.h <<_ACEOF
6087 #define HAVE_LIBOSSAUDIO 1
6088 _ACEOF
6090 LIBS="-lossaudio $LIBS"
6095 OPENGL_LIBS=""
6099 # Check whether --enable-largefile was given.
6100 if test "${enable_largefile+set}" = set; then :
6101 enableval=$enable_largefile;
6104 if test "$enable_largefile" != no; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6107 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6108 if ${ac_cv_sys_largefile_CC+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 ac_cv_sys_largefile_CC=no
6112 if test "$GCC" != yes; then
6113 ac_save_CC=$CC
6114 while :; do
6115 # IRIX 6.2 and later do not support large files by default,
6116 # so use the C compiler's -n32 option if that helps.
6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 #include <sys/types.h>
6120 /* Check that off_t can represent 2**63 - 1 correctly.
6121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6122 since some C++ compilers masquerading as C compilers
6123 incorrectly reject 9223372036854775807. */
6124 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6126 && LARGE_OFF_T % 2147483647 == 1)
6127 ? 1 : -1];
6129 main ()
6133 return 0;
6135 _ACEOF
6136 if ac_fn_c_try_compile "$LINENO"; then :
6137 break
6139 rm -f core conftest.err conftest.$ac_objext
6140 CC="$CC -n32"
6141 if ac_fn_c_try_compile "$LINENO"; then :
6142 ac_cv_sys_largefile_CC=' -n32'; break
6144 rm -f core conftest.err conftest.$ac_objext
6145 break
6146 done
6147 CC=$ac_save_CC
6148 rm -f conftest.$ac_ext
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6152 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6153 if test "$ac_cv_sys_largefile_CC" != no; then
6154 CC=$CC$ac_cv_sys_largefile_CC
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6158 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6159 if ${ac_cv_sys_file_offset_bits+:} false; then :
6160 $as_echo_n "(cached) " >&6
6161 else
6162 while :; do
6163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6165 #include <sys/types.h>
6166 /* Check that off_t can represent 2**63 - 1 correctly.
6167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6168 since some C++ compilers masquerading as C compilers
6169 incorrectly reject 9223372036854775807. */
6170 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6172 && LARGE_OFF_T % 2147483647 == 1)
6173 ? 1 : -1];
6175 main ()
6179 return 0;
6181 _ACEOF
6182 if ac_fn_c_try_compile "$LINENO"; then :
6183 ac_cv_sys_file_offset_bits=no; break
6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #define _FILE_OFFSET_BITS 64
6189 #include <sys/types.h>
6190 /* Check that off_t can represent 2**63 - 1 correctly.
6191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6192 since some C++ compilers masquerading as C compilers
6193 incorrectly reject 9223372036854775807. */
6194 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6196 && LARGE_OFF_T % 2147483647 == 1)
6197 ? 1 : -1];
6199 main ()
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_compile "$LINENO"; then :
6207 ac_cv_sys_file_offset_bits=64; break
6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 ac_cv_sys_file_offset_bits=unknown
6211 break
6212 done
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6215 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6216 case $ac_cv_sys_file_offset_bits in #(
6217 no | unknown) ;;
6219 cat >>confdefs.h <<_ACEOF
6220 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6221 _ACEOF
6223 esac
6224 rm -rf conftest*
6225 if test $ac_cv_sys_file_offset_bits = unknown; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6227 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6228 if ${ac_cv_sys_large_files+:} false; then :
6229 $as_echo_n "(cached) " >&6
6230 else
6231 while :; do
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <sys/types.h>
6235 /* Check that off_t can represent 2**63 - 1 correctly.
6236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6237 since some C++ compilers masquerading as C compilers
6238 incorrectly reject 9223372036854775807. */
6239 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6241 && LARGE_OFF_T % 2147483647 == 1)
6242 ? 1 : -1];
6244 main ()
6248 return 0;
6250 _ACEOF
6251 if ac_fn_c_try_compile "$LINENO"; then :
6252 ac_cv_sys_large_files=no; break
6254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #define _LARGE_FILES 1
6258 #include <sys/types.h>
6259 /* Check that off_t can represent 2**63 - 1 correctly.
6260 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6261 since some C++ compilers masquerading as C compilers
6262 incorrectly reject 9223372036854775807. */
6263 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6264 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6265 && LARGE_OFF_T % 2147483647 == 1)
6266 ? 1 : -1];
6268 main ()
6272 return 0;
6274 _ACEOF
6275 if ac_fn_c_try_compile "$LINENO"; then :
6276 ac_cv_sys_large_files=1; break
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 ac_cv_sys_large_files=unknown
6280 break
6281 done
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6284 $as_echo "$ac_cv_sys_large_files" >&6; }
6285 case $ac_cv_sys_large_files in #(
6286 no | unknown) ;;
6288 cat >>confdefs.h <<_ACEOF
6289 #define _LARGE_FILES $ac_cv_sys_large_files
6290 _ACEOF
6292 esac
6293 rm -rf conftest*
6300 ac_ext=c
6301 ac_cpp='$CPP $CPPFLAGS'
6302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6306 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6307 # On Suns, sometimes $CPP names a directory.
6308 if test -n "$CPP" && test -d "$CPP"; then
6309 CPP=
6311 if test -z "$CPP"; then
6312 if ${ac_cv_prog_CPP+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 # Double quotes because CPP needs to be expanded
6316 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6318 ac_preproc_ok=false
6319 for ac_c_preproc_warn_flag in '' yes
6321 # Use a header file that comes with gcc, so configuring glibc
6322 # with a fresh cross-compiler works.
6323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6324 # <limits.h> exists even on freestanding compilers.
6325 # On the NeXT, cc -E runs the code through the compiler's parser,
6326 # not just through cpp. "Syntax error" is here to catch this case.
6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6329 #ifdef __STDC__
6330 # include <limits.h>
6331 #else
6332 # include <assert.h>
6333 #endif
6334 Syntax error
6335 _ACEOF
6336 if ac_fn_c_try_cpp "$LINENO"; then :
6338 else
6339 # Broken: fails on valid input.
6340 continue
6342 rm -f conftest.err conftest.i conftest.$ac_ext
6344 # OK, works on sane cases. Now check whether nonexistent headers
6345 # can be detected and how.
6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6348 #include <ac_nonexistent.h>
6349 _ACEOF
6350 if ac_fn_c_try_cpp "$LINENO"; then :
6351 # Broken: success on invalid input.
6352 continue
6353 else
6354 # Passes both tests.
6355 ac_preproc_ok=:
6356 break
6358 rm -f conftest.err conftest.i conftest.$ac_ext
6360 done
6361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6362 rm -f conftest.i conftest.err conftest.$ac_ext
6363 if $ac_preproc_ok; then :
6364 break
6367 done
6368 ac_cv_prog_CPP=$CPP
6371 CPP=$ac_cv_prog_CPP
6372 else
6373 ac_cv_prog_CPP=$CPP
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6376 $as_echo "$CPP" >&6; }
6377 ac_preproc_ok=false
6378 for ac_c_preproc_warn_flag in '' yes
6380 # Use a header file that comes with gcc, so configuring glibc
6381 # with a fresh cross-compiler works.
6382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6383 # <limits.h> exists even on freestanding compilers.
6384 # On the NeXT, cc -E runs the code through the compiler's parser,
6385 # not just through cpp. "Syntax error" is here to catch this case.
6386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6388 #ifdef __STDC__
6389 # include <limits.h>
6390 #else
6391 # include <assert.h>
6392 #endif
6393 Syntax error
6394 _ACEOF
6395 if ac_fn_c_try_cpp "$LINENO"; then :
6397 else
6398 # Broken: fails on valid input.
6399 continue
6401 rm -f conftest.err conftest.i conftest.$ac_ext
6403 # OK, works on sane cases. Now check whether nonexistent headers
6404 # can be detected and how.
6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6407 #include <ac_nonexistent.h>
6408 _ACEOF
6409 if ac_fn_c_try_cpp "$LINENO"; then :
6410 # Broken: success on invalid input.
6411 continue
6412 else
6413 # Passes both tests.
6414 ac_preproc_ok=:
6415 break
6417 rm -f conftest.err conftest.i conftest.$ac_ext
6419 done
6420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6421 rm -f conftest.i conftest.err conftest.$ac_ext
6422 if $ac_preproc_ok; then :
6424 else
6425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6427 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6428 See \`config.log' for more details" "$LINENO" 5; }
6431 ac_ext=c
6432 ac_cpp='$CPP $CPPFLAGS'
6433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6439 $as_echo_n "checking for ANSI C header files... " >&6; }
6440 if ${ac_cv_header_stdc+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 #include <stdlib.h>
6446 #include <stdarg.h>
6447 #include <string.h>
6448 #include <float.h>
6451 main ()
6455 return 0;
6457 _ACEOF
6458 if ac_fn_c_try_compile "$LINENO"; then :
6459 ac_cv_header_stdc=yes
6460 else
6461 ac_cv_header_stdc=no
6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6465 if test $ac_cv_header_stdc = yes; then
6466 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #include <string.h>
6471 _ACEOF
6472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6473 $EGREP "memchr" >/dev/null 2>&1; then :
6475 else
6476 ac_cv_header_stdc=no
6478 rm -f conftest*
6482 if test $ac_cv_header_stdc = yes; then
6483 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6485 /* end confdefs.h. */
6486 #include <stdlib.h>
6488 _ACEOF
6489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6490 $EGREP "free" >/dev/null 2>&1; then :
6492 else
6493 ac_cv_header_stdc=no
6495 rm -f conftest*
6499 if test $ac_cv_header_stdc = yes; then
6500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6501 if test "$cross_compiling" = yes; then :
6503 else
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #include <ctype.h>
6507 #include <stdlib.h>
6508 #if ((' ' & 0x0FF) == 0x020)
6509 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6510 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6511 #else
6512 # define ISLOWER(c) \
6513 (('a' <= (c) && (c) <= 'i') \
6514 || ('j' <= (c) && (c) <= 'r') \
6515 || ('s' <= (c) && (c) <= 'z'))
6516 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6517 #endif
6519 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6521 main ()
6523 int i;
6524 for (i = 0; i < 256; i++)
6525 if (XOR (islower (i), ISLOWER (i))
6526 || toupper (i) != TOUPPER (i))
6527 return 2;
6528 return 0;
6530 _ACEOF
6531 if ac_fn_c_try_run "$LINENO"; then :
6533 else
6534 ac_cv_header_stdc=no
6536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6537 conftest.$ac_objext conftest.beam conftest.$ac_ext
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6543 $as_echo "$ac_cv_header_stdc" >&6; }
6544 if test $ac_cv_header_stdc = yes; then
6546 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6550 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6551 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6552 inttypes.h stdint.h unistd.h
6553 do :
6554 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6555 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6558 cat >>confdefs.h <<_ACEOF
6559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6560 _ACEOF
6564 done
6567 for ac_header in \
6568 AL/al.h \
6569 ApplicationServices/ApplicationServices.h \
6570 AudioToolbox/AudioConverter.h \
6571 AudioUnit/AudioUnit.h \
6572 AudioUnit/AudioComponent.h \
6573 CL/cl.h \
6574 Carbon/Carbon.h \
6575 CoreAudio/CoreAudio.h \
6576 CoreServices/CoreServices.h \
6577 DiskArbitration/DiskArbitration.h \
6578 IOKit/IOKitLib.h \
6579 IOKit/hid/IOHIDLib.h \
6580 OpenAL/al.h \
6581 OpenCL/opencl.h \
6582 QuickTime/ImageCompression.h \
6583 Security/Security.h \
6584 alias.h \
6585 alsa/asoundlib.h \
6586 arpa/inet.h \
6587 arpa/nameser.h \
6588 asm/types.h \
6589 asm/user.h \
6590 curses.h \
6591 direct.h \
6592 dirent.h \
6593 dlfcn.h \
6594 elf.h \
6595 float.h \
6596 fnmatch.h \
6597 getopt.h \
6598 gettext-po.h \
6599 grp.h \
6600 gsm.h \
6601 gsm/gsm.h \
6602 ieeefp.h \
6603 inet/mib2.h \
6604 io.h \
6605 kstat.h \
6606 lber.h \
6607 ldap.h \
6608 libproc.h \
6609 link.h \
6610 linux/cdrom.h \
6611 linux/compiler.h \
6612 linux/filter.h \
6613 linux/hdreg.h \
6614 linux/input.h \
6615 linux/ioctl.h \
6616 linux/joystick.h \
6617 linux/major.h \
6618 linux/param.h \
6619 linux/serial.h \
6620 linux/types.h \
6621 linux/ucdrom.h \
6622 lwp.h \
6623 mach-o/nlist.h \
6624 mach-o/loader.h \
6625 mach/mach.h \
6626 mach/machine.h \
6627 machine/cpu.h \
6628 machine/limits.h \
6629 machine/sysarch.h \
6630 mntent.h \
6631 ncurses.h \
6632 netdb.h \
6633 netinet/in.h \
6634 netinet/in_systm.h \
6635 netinet/tcp.h \
6636 netinet/tcp_fsm.h \
6637 pcap/pcap.h \
6638 poll.h \
6639 port.h \
6640 process.h \
6641 pthread.h \
6642 pwd.h \
6643 sched.h \
6644 scsi/scsi.h \
6645 scsi/scsi_ioctl.h \
6646 scsi/sg.h \
6647 stdbool.h \
6648 stdint.h \
6649 stropts.h \
6650 sys/asoundlib.h \
6651 sys/attr.h \
6652 sys/cdio.h \
6653 sys/elf32.h \
6654 sys/epoll.h \
6655 sys/event.h \
6656 sys/exec_elf.h \
6657 sys/filio.h \
6658 sys/inotify.h \
6659 sys/ioctl.h \
6660 sys/ipc.h \
6661 sys/limits.h \
6662 sys/link.h \
6663 sys/mman.h \
6664 sys/modem.h \
6665 sys/msg.h \
6666 sys/mtio.h \
6667 sys/param.h \
6668 sys/poll.h \
6669 sys/prctl.h \
6670 sys/protosw.h \
6671 sys/ptrace.h \
6672 sys/queue.h \
6673 sys/resource.h \
6674 sys/scsiio.h \
6675 sys/shm.h \
6676 sys/signal.h \
6677 sys/socket.h \
6678 sys/socketvar.h \
6679 sys/sockio.h \
6680 sys/statvfs.h \
6681 sys/strtio.h \
6682 sys/syscall.h \
6683 sys/tihdr.h \
6684 sys/time.h \
6685 sys/timeout.h \
6686 sys/times.h \
6687 sys/uio.h \
6688 sys/user.h \
6689 sys/utsname.h \
6690 sys/vm86.h \
6691 sys/wait.h \
6692 syscall.h \
6693 termios.h \
6694 unistd.h \
6695 utime.h \
6696 valgrind/memcheck.h \
6697 valgrind/valgrind.h \
6698 zlib.h
6700 do :
6701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6704 cat >>confdefs.h <<_ACEOF
6705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6713 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6714 if ${ac_cv_header_stat_broken+:} false; then :
6715 $as_echo_n "(cached) " >&6
6716 else
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <sys/types.h>
6720 #include <sys/stat.h>
6722 #if defined S_ISBLK && defined S_IFDIR
6723 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6724 #endif
6726 #if defined S_ISBLK && defined S_IFCHR
6727 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6728 #endif
6730 #if defined S_ISLNK && defined S_IFREG
6731 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6732 #endif
6734 #if defined S_ISSOCK && defined S_IFREG
6735 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6736 #endif
6738 _ACEOF
6739 if ac_fn_c_try_compile "$LINENO"; then :
6740 ac_cv_header_stat_broken=no
6741 else
6742 ac_cv_header_stat_broken=yes
6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6747 $as_echo "$ac_cv_header_stat_broken" >&6; }
6748 if test $ac_cv_header_stat_broken = yes; then
6750 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6756 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6757 do :
6758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6760 #ifdef HAVE_SYS_PARAM_H
6761 # include <sys/param.h>
6762 #endif
6764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6767 _ACEOF
6771 done
6774 for ac_header in \
6775 netinet/ip.h \
6776 net/if.h \
6777 net/if_arp.h \
6778 net/if_dl.h \
6779 net/if_types.h \
6780 net/route.h \
6781 netinet/if_ether.h \
6782 netinet/if_inarp.h \
6783 netinet/in_pcb.h \
6784 netinet/ip_icmp.h \
6785 netinet/ip_var.h \
6786 netinet/udp.h \
6787 netipx/ipx.h \
6788 sys/un.h \
6790 do :
6791 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6793 #ifdef HAVE_SYS_SOCKET_H
6794 # include <sys/socket.h>
6795 #endif
6796 #ifdef HAVE_SYS_SOCKETVAR_H
6797 # include <sys/socketvar.h>
6798 #endif
6799 #ifdef HAVE_NET_ROUTE_H
6800 # include <net/route.h>
6801 #endif
6802 #ifdef HAVE_NETINET_IN_H
6803 # include <netinet/in.h>
6804 #endif
6805 #ifdef HAVE_NETINET_IN_SYSTM_H
6806 # include <netinet/in_systm.h>
6807 #endif
6808 #ifdef HAVE_NET_IF_H
6809 # include <net/if.h>
6810 #endif
6811 #ifdef HAVE_NETINET_IP_H
6812 # include <netinet/ip.h>
6813 #endif
6815 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6816 cat >>confdefs.h <<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6818 _ACEOF
6822 done
6825 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6826 do :
6827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6829 #ifdef HAVE_ALIAS_H
6830 # include <alias.h>
6831 #endif
6832 #ifdef HAVE_SYS_SOCKET_H
6833 # include <sys/socket.h>
6834 #endif
6835 #ifdef HAVE_SYS_SOCKETVAR_H
6836 # include <sys/socketvar.h>
6837 #endif
6838 #ifdef HAVE_SYS_TIMEOUT_H
6839 # include <sys/timeout.h>
6840 #endif
6841 #ifdef HAVE_NETINET_IN_H
6842 # include <netinet/in.h>
6843 #endif
6844 #ifdef HAVE_NETINET_IN_SYSTM_H
6845 # include <netinet/in_systm.h>
6846 #endif
6847 #ifdef HAVE_NETINET_IP_H
6848 # include <netinet/ip.h>
6849 #endif
6850 #ifdef HAVE_NETINET_IP_VAR_H
6851 # include <netinet/ip_var.h>
6852 #endif
6853 #ifdef HAVE_NETINET_IP_ICMP_H
6854 # include <netinet/ip_icmp.h>
6855 #endif
6856 #ifdef HAVE_NETINET_UDP_H
6857 # include <netinet/udp.h>
6858 #endif
6859 #ifdef HAVE_NETINET_TCP_H
6860 # include <netinet/tcp.h>
6861 #endif
6862 #ifdef HAVE_NETINET_TCP_TIMER_H
6863 #include <netinet/tcp_timer.h>
6864 #endif
6866 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6867 cat >>confdefs.h <<_ACEOF
6868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 _ACEOF
6873 done
6876 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6877 do :
6878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6880 #ifdef HAVE_ASM_TYPES_H
6881 # include <asm/types.h>
6882 #endif
6883 #ifdef HAVE_SYS_SOCKET_H
6884 # include <sys/socket.h>
6885 #endif
6886 #ifdef HAVE_LINUX_TYPES_H
6887 # include <linux/types.h>
6888 #endif
6890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 _ACEOF
6897 done
6900 for ac_header in mach-o/dyld_images.h
6901 do :
6902 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6903 # include <stdbool.h>
6904 #endif
6905 #ifdef HAVE_STDINT_H
6906 # include <stdint.h>
6907 #endif
6909 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6910 cat >>confdefs.h <<_ACEOF
6911 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6912 _ACEOF
6916 done
6919 for ac_header in resolv.h
6920 do :
6921 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6922 #ifdef HAVE_SYS_SOCKET_H
6923 # include <sys/socket.h>
6924 #endif
6925 #ifdef HAVE_NETINET_IN_H
6926 # include <netinet/in.h>
6927 #endif
6928 #ifdef HAVE_ARPA_NAMESER_H
6929 # include <arpa/nameser.h>
6930 #endif
6932 if test "x$ac_cv_header_resolv_h" = xyes; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define HAVE_RESOLV_H 1
6935 _ACEOF
6939 done
6942 for ac_header in ifaddrs.h
6943 do :
6944 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6946 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6947 cat >>confdefs.h <<_ACEOF
6948 #define HAVE_IFADDRS_H 1
6949 _ACEOF
6953 done
6956 for ac_header in sys/ucontext.h
6957 do :
6958 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6960 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6961 cat >>confdefs.h <<_ACEOF
6962 #define HAVE_SYS_UCONTEXT_H 1
6963 _ACEOF
6967 done
6970 for ac_header in sys/thr.h
6971 do :
6972 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6973 #ifdef HAVE_SYS_UCONTEXT_H
6974 #include <sys/ucontext.h>
6975 #endif
6977 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6978 cat >>confdefs.h <<_ACEOF
6979 #define HAVE_SYS_THR_H 1
6980 _ACEOF
6984 done
6987 for ac_header in pthread_np.h
6988 do :
6989 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6990 #include <pthread.h>
6991 #endif
6993 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define HAVE_PTHREAD_NP_H 1
6996 _ACEOF
7000 done
7003 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7007 #include <sys/time.h>
7008 #endif
7009 #include <sys/types.h>
7010 #ifdef HAVE_ASM_TYPES_H
7011 #include <asm/types.h>
7012 #endif
7014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7015 cat >>confdefs.h <<_ACEOF
7016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 _ACEOF
7021 done
7024 for ac_header in libprocstat.h
7025 do :
7026 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7027 #include <sys/param.h>
7028 #endif
7029 #ifdef HAVE_SYS_QUEUE_H
7030 #include <sys/queue.h>
7031 #endif
7032 #ifdef HAVE_SYS_SOCKET_H
7033 #include <sys/socket.h>
7034 #endif
7036 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define HAVE_LIBPROCSTAT_H 1
7039 _ACEOF
7043 done
7047 dlldir="\${libdir}/wine"
7049 DLLPREFIX=""
7051 DLLFLAGS="-D_REENTRANT"
7053 LDRPATH_INSTALL=""
7055 LDRPATH_LOCAL=""
7057 LIBEXT="so"
7058 DLLEXT=".so"
7059 IMPLIBEXT="def"
7060 STATIC_IMPLIBEXT="def.a"
7061 # Extract the first word of "ldd", so it can be a program name with args.
7062 set dummy ldd; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if ${ac_cv_path_LDD+:} false; then :
7066 $as_echo_n "(cached) " >&6
7067 else
7068 case $LDD in
7069 [\\/]* | ?:[\\/]*)
7070 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 as_dummy="/sbin:/usr/sbin:$PATH"
7075 for as_dir in $as_dummy
7077 IFS=$as_save_IFS
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 break 2
7085 done
7086 done
7087 IFS=$as_save_IFS
7089 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7091 esac
7093 LDD=$ac_cv_path_LDD
7094 if test -n "$LDD"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7096 $as_echo "$LDD" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_READELF+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 if test -n "$READELF"; then
7112 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7117 IFS=$as_save_IFS
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 break 2
7125 done
7126 done
7127 IFS=$as_save_IFS
7131 READELF=$ac_cv_prog_READELF
7132 if test -n "$READELF"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7134 $as_echo "$READELF" >&6; }
7135 else
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_READELF"; then
7143 ac_ct_READELF=$READELF
7144 # Extract the first word of "readelf", so it can be a program name with args.
7145 set dummy readelf; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 if test -n "$ac_ct_READELF"; then
7152 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7157 IFS=$as_save_IFS
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_READELF="readelf"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 break 2
7165 done
7166 done
7167 IFS=$as_save_IFS
7171 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7172 if test -n "$ac_ct_READELF"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7174 $as_echo "$ac_ct_READELF" >&6; }
7175 else
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_READELF" = x; then
7181 READELF="true"
7182 else
7183 case $cross_compiling:$ac_tool_warned in
7184 yes:)
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7188 esac
7189 READELF=$ac_ct_READELF
7191 else
7192 READELF="$ac_cv_prog_READELF"
7195 wine_rules_file=conf$$rules.make
7196 rm -f $wine_rules_file
7197 ALL_POT_FILES=""
7198 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7199 ALL_TEST_RESOURCES=""
7202 wine_fn_append_file ()
7204 as_fn_append $1 " \\$as_nl $2"
7207 wine_fn_ignore_file ()
7209 case "$1" in
7210 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7211 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7212 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7213 esac
7216 wine_fn_append_rule ()
7218 $as_echo "$1" >>$wine_rules_file
7221 wine_fn_has_flag ()
7223 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7226 wine_fn_depend_rules ()
7228 wine_fn_append_rule \
7229 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7230 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7231 depend: $ac_dir/depend
7232 .PHONY: $ac_dir/depend
7233 $ac_dir/depend: \$(MAKEDEP) dummy
7234 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7237 wine_fn_pot_rules ()
7239 test "x$with_gettextpo" = xyes || return
7241 if wine_fn_has_flag mc
7242 then
7243 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7244 wine_fn_append_rule \
7245 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7246 @cd $ac_dir && \$(MAKE) msg.pot
7247 $ac_dir/msg.pot: tools/wmc include"
7249 if wine_fn_has_flag po
7250 then
7251 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7252 wine_fn_append_rule \
7253 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7254 @cd $ac_dir && \$(MAKE) rsrc.pot
7255 $ac_dir/rsrc.pot: tools/wrc include"
7259 wine_fn_all_rules ()
7261 wine_fn_depend_rules
7262 wine_fn_append_rule \
7263 "all: $ac_dir
7264 .PHONY: $ac_dir
7265 $ac_dir: $ac_dir/Makefile dummy
7266 @cd $ac_dir && \$(MAKE)"
7269 wine_fn_install_rules ()
7271 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7273 wine_fn_append_rule \
7274 ".PHONY: $ac_dir/install $ac_dir/uninstall
7275 $ac_dir/install:: $ac_dir
7276 @cd $ac_dir && \$(MAKE) install
7277 $ac_dir/uninstall:: $ac_dir/Makefile
7278 @cd $ac_dir && \$(MAKE) uninstall
7279 install:: $ac_dir/install
7280 __uninstall__: $ac_dir/uninstall"
7282 if wine_fn_has_flag install-lib
7283 then
7284 wine_fn_append_rule \
7285 ".PHONY: $ac_dir/install-lib
7286 $ac_dir/install-lib:: $ac_dir
7287 @cd $ac_dir && \$(MAKE) install-lib
7288 install-lib:: $ac_dir/install-lib"
7291 if wine_fn_has_flag install-dev
7292 then
7293 wine_fn_append_rule \
7294 ".PHONY: $ac_dir/install-dev
7295 $ac_dir/install-dev:: $ac_dir
7296 @cd $ac_dir && \$(MAKE) install-dev
7297 install-dev:: $ac_dir/install-dev"
7301 wine_fn_clean_rules ()
7303 ac_clean=$@
7304 ac_extraclean="$ac_dir/Makefile"
7305 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7306 case $ac_dir in
7307 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7308 esac
7310 if wine_fn_has_flag clean
7311 then
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: $ac_dir/Makefile
7316 @cd $ac_dir && \$(MAKE) clean
7317 \$(RM) $ac_extraclean"
7318 else
7319 wine_fn_append_rule \
7320 "__clean__: $ac_dir/clean
7321 .PHONY: $ac_dir/clean
7322 $ac_dir/clean: dummy
7323 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7327 wine_fn_disabled_rules ()
7329 ac_clean=$@
7330 ac_extraclean="$ac_dir/Makefile"
7331 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7333 wine_fn_append_rule \
7334 "__clean__: $ac_dir/clean
7335 .PHONY: $ac_dir/clean
7336 $ac_dir/clean: dummy
7337 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7340 wine_fn_config_makefile ()
7342 ac_dir=$1
7343 ac_enable=$2
7344 ac_flags=$3
7346 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7347 wine_fn_disabled_rules; return
7349 wine_fn_all_rules
7350 wine_fn_install_rules
7351 wine_fn_clean_rules
7354 wine_fn_config_lib ()
7356 ac_name=$1
7357 ac_flags=$2
7358 ac_dir=dlls/$ac_name
7359 ac_deps="include"
7361 if test "x$enable_tools" = xno; then :
7363 else
7364 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7366 wine_fn_all_rules
7367 wine_fn_clean_rules
7369 wine_fn_append_rule \
7370 ".PHONY: $ac_dir/install $ac_dir/uninstall
7371 $ac_dir/install:: $ac_dir
7372 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7373 $ac_dir/uninstall::
7374 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7375 install install-dev:: $ac_dir/install
7376 __uninstall__: $ac_dir/uninstall
7377 __builddeps__: $ac_dir
7378 $ac_dir: $ac_deps"
7381 wine_fn_config_dll ()
7383 ac_name=$1
7384 ac_dir=dlls/$ac_name
7385 ac_enable=$2
7386 ac_flags=$3
7387 ac_implib=${4:-$ac_name}
7388 ac_file=$ac_dir/lib$ac_implib
7389 ac_dll=$ac_name
7390 ac_deps="include"
7391 ac_implibflags=""
7393 if test "x$enable_tools" = xno; then :
7395 else
7396 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7398 case $ac_name in
7399 *16) ac_implibflags=" -m16" ;;
7400 *.*) ;;
7401 *) ac_dll=$ac_dll.dll ;;
7402 esac
7404 ac_clean=
7405 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7406 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7407 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7408 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7410 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7411 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7412 then
7413 wine_fn_depend_rules
7414 wine_fn_clean_rules $ac_clean
7415 else
7416 wine_fn_disabled_rules $ac_clean
7417 return
7419 else
7420 wine_fn_all_rules
7421 wine_fn_clean_rules $ac_clean
7422 wine_fn_append_rule \
7423 "$ac_dir: __builddeps__
7424 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7425 @cd $ac_dir && \$(MAKE) \$@
7426 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7427 install install-lib:: $ac_dir/install-lib
7428 __uninstall__: $ac_dir/uninstall"
7429 if test -n "$DLLEXT"
7430 then
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7434 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7435 $ac_dir/uninstall::
7436 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7437 else
7438 wine_fn_append_rule \
7439 "$ac_dir/install-lib:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7441 $ac_dir/uninstall::
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7445 wine_fn_pot_rules
7448 if wine_fn_has_flag staticimplib
7449 then
7450 wine_fn_append_rule \
7451 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7452 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7453 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7454 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7455 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7456 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7457 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7458 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7459 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7462 install install-dev:: $ac_dir/install-dev
7463 __uninstall__: $ac_dir/uninstall"
7465 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7466 then
7467 wine_fn_append_rule \
7468 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7469 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7470 $ac_dir/uninstall::
7471 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7474 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7475 then
7476 wine_fn_append_rule \
7477 "__builddeps__: $ac_file.cross.a
7478 $ac_file.cross.a: $ac_dir/Makefile dummy
7479 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7482 elif wine_fn_has_flag implib
7483 then
7484 wine_fn_append_rule \
7485 "__builddeps__: $ac_file.$IMPLIBEXT
7486 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7487 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7488 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7489 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7490 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7491 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7492 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7493 $ac_dir/uninstall::
7494 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7495 install install-dev:: $ac_dir/install-dev
7496 __uninstall__: $ac_dir/uninstall"
7497 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7498 then
7499 wine_fn_append_rule \
7500 "__builddeps__: $ac_file.cross.a
7501 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7502 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7505 if test "$ac_name" != "$ac_implib"
7506 then
7507 wine_fn_append_rule \
7508 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7509 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7510 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7511 clean::
7512 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7513 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7514 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7515 then
7516 wine_fn_append_rule \
7517 "__builddeps__: dlls/lib$ac_implib.cross.a
7518 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7519 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7520 clean::
7521 \$(RM) dlls/lib$ac_implib.cross.a"
7522 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7528 wine_fn_config_program ()
7530 ac_name=$1
7531 ac_dir=programs/$ac_name
7532 ac_enable=$2
7533 ac_flags=$3
7534 ac_program=$ac_name
7536 case $ac_name in
7537 *.*) ;;
7538 *) ac_program=$ac_program.exe ;;
7539 esac
7541 ac_clean=
7542 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7543 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7544 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7545 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7547 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7548 wine_fn_disabled_rules $ac_clean; return
7551 wine_fn_all_rules
7552 wine_fn_clean_rules $ac_clean
7553 wine_fn_append_rule "$ac_dir: __builddeps__"
7554 wine_fn_pot_rules
7556 wine_fn_has_flag install || return
7557 wine_fn_append_rule \
7558 ".PHONY: $ac_dir/install $ac_dir/uninstall
7559 install install-lib:: $ac_dir/install
7560 __uninstall__: $ac_dir/uninstall"
7562 if test -n "$DLLEXT"
7563 then
7564 wine_fn_append_rule \
7565 "$ac_dir/install:: $ac_dir
7566 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7567 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7568 $ac_dir/uninstall::
7569 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7571 if test -z "$with_wine64" && wine_fn_has_flag installbin
7572 then
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: __tooldeps__
7575 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7576 $ac_dir/uninstall::
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7579 else
7580 wine_fn_append_rule \
7581 "$ac_dir/install:: $ac_dir
7582 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7583 $ac_dir/uninstall::
7584 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7587 if test -z "$with_wine64" && wine_fn_has_flag manpage
7588 then
7589 wine_fn_append_rule \
7590 "$ac_dir/install:: $ac_dir
7591 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7592 $ac_dir/uninstall::
7593 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7597 wine_fn_config_test ()
7599 ac_dir=$1
7600 ac_name=$2
7601 ac_flags=$3
7603 ac_clean=
7604 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7605 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7607 if test "x$enable_tests" = xno; then :
7608 wine_fn_disabled_rules $ac_clean; return
7611 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7612 wine_fn_all_rules
7613 wine_fn_clean_rules $ac_clean
7615 wine_fn_append_rule \
7616 "$ac_dir: programs/winetest/Makefile __builddeps__
7617 programs/winetest: $ac_dir
7618 check test: $ac_dir/test
7619 .PHONY: $ac_dir/test
7620 $ac_dir/test: dummy
7621 @cd $ac_dir && \$(MAKE) test
7622 testclean::
7623 \$(RM) $ac_dir/*.ok"
7625 if test -n "$CROSSTARGET"
7626 then
7627 wine_fn_append_rule \
7628 "crosstest: $ac_dir/crosstest
7629 .PHONY: $ac_dir/crosstest
7630 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7631 @cd $ac_dir && \$(MAKE) crosstest"
7635 wine_fn_config_tool ()
7637 ac_dir=$1
7638 ac_flags=$2
7639 if test "x$enable_tools" = xno; then :
7640 return
7643 wine_fn_all_rules
7644 wine_fn_install_rules
7645 wine_fn_clean_rules
7647 wine_fn_append_rule "__tooldeps__: $ac_dir"
7648 wine_fn_append_rule "$ac_dir: libs/port"
7649 case $ac_dir in
7650 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7651 esac
7654 wine_fn_config_symlink ()
7656 ac_linkdir=
7657 if test "x$1" = "x-d"
7658 then
7659 ac_linkdir=$2
7660 shift; shift
7662 ac_links=$@
7663 wine_fn_append_rule \
7664 "$ac_links:
7665 @./config.status \$@
7666 distclean::
7667 \$(RM) $ac_links"
7668 for f in $ac_links; do wine_fn_ignore_file $f; done
7669 test -n "$ac_linkdir" || return
7670 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7673 wine_binary="wine"
7674 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7675 loader_programs="$wine_binary wine-installed"
7676 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7678 LOADER_RULES="
7679 all: wine.inf
7681 install install-lib:: wine-installed
7682 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7684 uninstall::
7685 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7689 case $host_os in
7690 cygwin*|mingw32*)
7691 if test -n "$ac_tool_prefix"; then
7692 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7693 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_prog_DLLTOOL+:} false; then :
7697 $as_echo_n "(cached) " >&6
7698 else
7699 if test -n "$DLLTOOL"; then
7700 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7701 else
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 for as_dir in $PATH
7705 IFS=$as_save_IFS
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 break 2
7713 done
7714 done
7715 IFS=$as_save_IFS
7719 DLLTOOL=$ac_cv_prog_DLLTOOL
7720 if test -n "$DLLTOOL"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7722 $as_echo "$DLLTOOL" >&6; }
7723 else
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7730 if test -z "$ac_cv_prog_DLLTOOL"; then
7731 ac_ct_DLLTOOL=$DLLTOOL
7732 # Extract the first word of "dlltool", so it can be a program name with args.
7733 set dummy dlltool; ac_word=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7737 $as_echo_n "(cached) " >&6
7738 else
7739 if test -n "$ac_ct_DLLTOOL"; then
7740 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7741 else
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 for as_dir in $PATH
7745 IFS=$as_save_IFS
7746 test -z "$as_dir" && as_dir=.
7747 for ac_exec_ext in '' $ac_executable_extensions; do
7748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7751 break 2
7753 done
7754 done
7755 IFS=$as_save_IFS
7759 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7760 if test -n "$ac_ct_DLLTOOL"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7762 $as_echo "$ac_ct_DLLTOOL" >&6; }
7763 else
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7768 if test "x$ac_ct_DLLTOOL" = x; then
7769 DLLTOOL="false"
7770 else
7771 case $cross_compiling:$ac_tool_warned in
7772 yes:)
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7775 ac_tool_warned=yes ;;
7776 esac
7777 DLLTOOL=$ac_ct_DLLTOOL
7779 else
7780 DLLTOOL="$ac_cv_prog_DLLTOOL"
7783 LIBEXT="dll"
7784 DLLEXT=""
7785 IMPLIBEXT="a"
7786 STATIC_IMPLIBEXT="a"
7787 enable_iphlpapi=${enable_iphlpapi:-no}
7788 enable_kernel32=${enable_kernel32:-no}
7789 enable_msvcrt=${enable_msvcrt:-no}
7790 enable_ntdll=${enable_ntdll:-no}
7791 enable_ws2_32=${enable_ws2_32:-no}
7792 enable_loader=${enable_loader:-no}
7793 enable_server=${enable_server:-no}
7794 with_x=${with_x:-no}
7795 with_pthread=${with_pthread:-no}
7797 crtlibs=""
7798 case $host_os in
7799 mingw32*)
7800 crtlibs="-lmsvcrt"
7801 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7803 esac
7805 libwine_targets="libwine.dll libwine.a"
7806 LIBWINE_RULES="
7807 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7809 all: libwine.dll libwine.a
7811 libwine.a: \$(srcdir)/wine.def
7812 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7814 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7815 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7817 install install-lib:: libwine.dll
7818 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7820 install install-dev:: libwine.a
7821 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7823 uninstall::
7824 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7829 darwin*|macosx*)
7830 LIBEXT="dylib"
7831 DLLFLAGS="$DLLFLAGS -fPIC"
7832 LIBWINE_LDFLAGS="-multiply_defined suppress"
7833 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7834 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7835 COREFOUNDATION_LIBS="-framework CoreFoundation"
7837 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7839 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7841 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7843 CORESERVICES_LIBS="-framework CoreServices"
7845 APPKIT_LIBS="-framework AppKit"
7847 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7849 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7850 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 ac_wine_try_cflags_saved=$CFLAGS
7854 CFLAGS="$CFLAGS -Wl,-no_pie"
7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7856 /* end confdefs.h. */
7857 int main(int argc, char **argv) { return 0; }
7858 _ACEOF
7859 if ac_fn_c_try_link "$LINENO"; then :
7860 ac_cv_cflags__Wl__no_pie=yes
7861 else
7862 ac_cv_cflags__Wl__no_pie=no
7864 rm -f core conftest.err conftest.$ac_objext \
7865 conftest$ac_exeext conftest.$ac_ext
7866 CFLAGS=$ac_wine_try_cflags_saved
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7869 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7870 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7871 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7873 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7874 then
7875 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7878 if test "$ac_cv_header_Security_Security_h" = "yes"
7879 then
7880 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7882 ac_save_LIBS="$LIBS"
7883 LIBS="$LIBS $SECURITY_LIBS"
7884 for ac_func in SSLCopyPeerCertificates
7885 do :
7886 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7887 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7890 _ACEOF
7893 done
7895 LIBS="$ac_save_LIBS"
7896 with_gnutls=${with_gnutls:-no}
7898 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7899 then
7900 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7901 then
7902 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7904 else
7905 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7908 ac_save_LIBS="$LIBS"
7909 LIBS="$LIBS $COREAUDIO_LIBS"
7910 for ac_func in AUGraphAddNode
7911 do :
7912 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7913 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7914 cat >>confdefs.h <<_ACEOF
7915 #define HAVE_AUGRAPHADDNODE 1
7916 _ACEOF
7919 done
7921 LIBS="$ac_save_LIBS"
7923 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7924 then
7925 OPENAL_LIBS="-framework OpenAL"
7928 cat >>confdefs.h <<_ACEOF
7929 #define HAVE_OPENAL 1
7930 _ACEOF
7932 ac_cv_lib_openal=yes
7934 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7935 then
7936 OPENCL_LIBS="-framework OpenCL"
7938 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7940 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7941 then
7942 ac_save_LIBS="$LIBS"
7943 LIBS="$LIBS $IOKIT_LIBS"
7944 for ac_func in IOHIDManagerCreate
7945 do :
7946 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7947 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7948 cat >>confdefs.h <<_ACEOF
7949 #define HAVE_IOHIDMANAGERCREATE 1
7950 _ACEOF
7953 done
7955 LIBS="$ac_save_LIBS"
7957 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7958 then
7959 ac_save_LIBS="$LIBS"
7960 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7962 $as_echo_n "checking for the QuickTime framework... " >&6; }
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7965 #include <QuickTime/ImageCompression.h>
7967 main ()
7969 CodecManagerVersion(NULL);
7971 return 0;
7973 _ACEOF
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7976 $as_echo "yes" >&6; }
7977 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7979 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7980 else
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7983 ac_cv_header_QuickTime_ImageCompression_h=no
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 LIBS="$ac_save_LIBS"
7989 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7990 then
7991 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7993 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7994 then
7995 CARBON_LIBS="-framework Carbon"
7999 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8000 then
8001 ac_save_LIBS="$LIBS"
8002 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8003 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8004 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8005 enable_winemac_drv=${enable_winemac_drv:-yes}
8008 LIBS="$ac_save_LIBS"
8011 if test "x$enable_win16" = "xyes"
8012 then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8014 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8015 if test "$cross_compiling" = yes; then :
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8017 $as_echo "cross-compiling, assuming yes" >&6; }
8018 else
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 asm(".text\n"
8022 "bad:\tnop;nop\n"
8023 "good:\tnop;nop\n\t"
8024 ".globl _testfunc\n"
8025 "_testfunc:\tcallw good");
8026 extern void testfunc();
8028 main ()
8030 unsigned short *p = (unsigned short *)testfunc;
8031 return p[0] != 0xe866 || p[1] != 0xfffa
8033 return 0;
8035 _ACEOF
8036 if ac_fn_c_try_run "$LINENO"; then :
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8038 $as_echo "yes" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8042 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
8044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8045 conftest.$ac_objext conftest.beam conftest.$ac_ext
8050 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8051 LIBWINE_RULES="
8052 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8054 all: libwine.dylib
8056 libwine.$libwine_version.dylib: \$(OBJS)
8057 \$(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 \$@
8059 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8060 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8062 libwine.dylib: libwine.$libwine_soversion.dylib
8063 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8065 install install-lib:: libwine.$libwine_version.dylib
8066 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8067 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8069 install install-dev::
8070 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8072 uninstall::
8073 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8077 as_fn_append LOADER_RULES "
8078 $wine_binary: main.o wine_info.plist
8079 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8081 wine-installed: main.o wine_info.plist
8082 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8086 linux-android*)
8087 DLLFLAGS="$DLLFLAGS -fPIC"
8088 DLLPREFIX="lib"
8089 LDEXECFLAGS=""
8090 dlldir="\${libdir}"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8092 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8093 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 ac_wine_try_cflags_saved=$CFLAGS
8097 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100 int main(int argc, char **argv) { return 0; }
8101 _ACEOF
8102 if ac_fn_c_try_link "$LINENO"; then :
8103 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8104 else
8105 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8107 rm -f core conftest.err conftest.$ac_objext \
8108 conftest$ac_exeext conftest.$ac_ext
8109 CFLAGS=$ac_wine_try_cflags_saved
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8112 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8113 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8114 LDEXECFLAGS="-Wl,--export-dynamic"
8116 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8118 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8119 if eval \${$as_ac_var+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 ac_wine_try_cflags_saved=$CFLAGS
8123 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8126 int main(int argc, char **argv) { return 0; }
8127 _ACEOF
8128 if ac_fn_c_try_link "$LINENO"; then :
8129 eval "$as_ac_var=yes"
8130 else
8131 eval "$as_ac_var=no"
8133 rm -f core conftest.err conftest.$ac_objext \
8134 conftest$ac_exeext conftest.$ac_ext
8135 CFLAGS=$ac_wine_try_cflags_saved
8137 eval ac_res=\$$as_ac_var
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8139 $as_echo "$ac_res" >&6; }
8140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8141 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8142 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8143 else
8144 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8146 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8147 if eval \${$as_ac_var+:} false; then :
8148 $as_echo_n "(cached) " >&6
8149 else
8150 ac_wine_try_cflags_saved=$CFLAGS
8151 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8154 int main(int argc, char **argv) { return 0; }
8155 _ACEOF
8156 if ac_fn_c_try_link "$LINENO"; then :
8157 eval "$as_ac_var=yes"
8158 else
8159 eval "$as_ac_var=no"
8161 rm -f core conftest.err conftest.$ac_objext \
8162 conftest$ac_exeext conftest.$ac_ext
8163 CFLAGS=$ac_wine_try_cflags_saved
8165 eval ac_res=\$$as_ac_var
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8167 $as_echo "$ac_res" >&6; }
8168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8169 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8170 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8175 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8176 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8177 $as_echo_n "(cached) " >&6
8178 else
8179 ac_wine_try_cflags_saved=$CFLAGS
8180 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8184 _ACEOF
8185 if ac_fn_c_try_link "$LINENO"; then :
8186 ac_cv_cflags__Wl___enable_new_dtags=yes
8187 else
8188 ac_cv_cflags__Wl___enable_new_dtags=no
8190 rm -f core conftest.err conftest.$ac_objext \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8195 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8196 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8197 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8200 case $host_cpu in
8201 *i[3456789]86* | x86_64)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8203 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8204 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 ac_wine_try_cflags_saved=$CFLAGS
8208 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 int main(int argc, char **argv) { return 0; }
8212 _ACEOF
8213 if ac_fn_c_try_link "$LINENO"; then :
8214 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8215 else
8216 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8218 rm -f core conftest.err conftest.$ac_objext \
8219 conftest$ac_exeext conftest.$ac_ext
8220 CFLAGS=$ac_wine_try_cflags_saved
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8223 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8224 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8225 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8228 esac
8230 libwine_targets="libwine.so"
8231 LIBWINE_RULES="
8232 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8234 all: libwine.so
8236 libwine.so: \$(OBJS)
8237 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8239 install install-lib:: libwine.so
8240 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8242 uninstall::
8243 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8247 as_fn_append LOADER_RULES "
8248 $wine_binary: main.o
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8251 wine-installed: main.o
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8257 DLLFLAGS="$DLLFLAGS -fPIC"
8258 LDEXECFLAGS=""
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8260 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8261 if ${ac_cv_c_dll_gnuelf+:} false; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 ac_wine_try_cflags_saved=$CFLAGS
8265 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 void myfunc() {}
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 ac_cv_c_dll_gnuelf="yes"
8272 else
8273 ac_cv_c_dll_gnuelf="no"
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 CFLAGS=$ac_wine_try_cflags_saved
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8280 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8281 if test "$ac_cv_c_dll_gnuelf" = "yes"
8282 then
8283 LDSHARED="\$(CC) -shared"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8285 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8286 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 ac_wine_try_cflags_saved=$CFLAGS
8290 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 int main(int argc, char **argv) { return 0; }
8294 _ACEOF
8295 if ac_fn_c_try_link "$LINENO"; then :
8296 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8297 else
8298 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8300 rm -f core conftest.err conftest.$ac_objext \
8301 conftest$ac_exeext conftest.$ac_ext
8302 CFLAGS=$ac_wine_try_cflags_saved
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8305 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8306 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8307 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8311 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 ac_wine_try_cflags_saved=$CFLAGS
8315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8322 else
8323 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8330 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8331 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8332 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8336 echo '{ global: *; };' >conftest.map
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8338 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8339 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 ac_wine_try_cflags_saved=$CFLAGS
8343 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8350 else
8351 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 CFLAGS=$ac_wine_try_cflags_saved
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8358 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8359 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8360 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8362 rm -f conftest.map
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8365 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8366 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8377 else
8378 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8380 rm -f core conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 CFLAGS=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8385 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8386 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8387 LDEXECFLAGS="-Wl,--export-dynamic"
8390 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8392 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8393 if eval \${$as_ac_var+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 eval "$as_ac_var=yes"
8404 else
8405 eval "$as_ac_var=no"
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 eval ac_res=\$$as_ac_var
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8413 $as_echo "$ac_res" >&6; }
8414 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8415 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8416 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8417 else
8418 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8421 if eval \${$as_ac_var+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 eval "$as_ac_var=yes"
8432 else
8433 eval "$as_ac_var=no"
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 eval ac_res=\$$as_ac_var
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8441 $as_echo "$ac_res" >&6; }
8442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8443 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8444 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8449 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8450 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_cflags__Wl___enable_new_dtags=yes
8461 else
8462 ac_cv_cflags__Wl___enable_new_dtags=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8469 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8470 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8471 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8474 case $host_cpu in
8475 *i[3456789]86* | x86_64)
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8477 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8478 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 ac_wine_try_cflags_saved=$CFLAGS
8482 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8489 else
8490 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8492 rm -f core conftest.err conftest.$ac_objext \
8493 conftest$ac_exeext conftest.$ac_ext
8494 CFLAGS=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8497 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8498 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8499 case $host_os in
8500 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8501 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8502 esac
8505 # Extract the first word of "prelink", so it can be a program name with args.
8506 set dummy prelink; ac_word=$2
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508 $as_echo_n "checking for $ac_word... " >&6; }
8509 if ${ac_cv_path_PRELINK+:} false; then :
8510 $as_echo_n "(cached) " >&6
8511 else
8512 case $PRELINK in
8513 [\\/]* | ?:[\\/]*)
8514 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 for as_dir in /sbin /usr/sbin $PATH
8520 IFS=$as_save_IFS
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 break 2
8528 done
8529 done
8530 IFS=$as_save_IFS
8532 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8534 esac
8536 PRELINK=$ac_cv_path_PRELINK
8537 if test -n "$PRELINK"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8539 $as_echo "$PRELINK" >&6; }
8540 else
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8546 if test "x$PRELINK" = xfalse
8547 then
8548 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8551 esac
8553 else
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8555 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8556 if ${ac_cv_c_dll_unixware+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 void myfunc() {}
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_c_dll_unixware="yes"
8567 else
8568 ac_cv_c_dll_unixware="no"
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8575 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8576 if test "$ac_cv_c_dll_unixware" = "yes"
8577 then
8578 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8581 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8582 LIBWINE_RULES="
8583 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8585 all: libwine.so
8587 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8588 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8590 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8591 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8593 libwine.so: libwine.so.$libwine_soversion
8594 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8596 install install-lib:: libwine.so.$libwine_version
8597 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8598 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8600 install install-dev::
8601 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8603 uninstall::
8604 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8608 as_fn_append LOADER_RULES "
8609 $wine_binary: main.o
8610 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8612 wine-installed: main.o
8613 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8616 esac
8618 as_fn_append LIBWINE_RULES "
8619 EXTRA_TARGETS = $libwine_targets
8622 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8623 enable_winemac_drv=${enable_winemac_drv:-no}
8625 CROSSTARGET=""
8627 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8628 then
8629 case "$host_cpu" in
8630 i[3456789]86*)
8631 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
8632 mingw32-gcc" ;;
8633 x86_64)
8634 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 " ;;
8636 ac_prefix_list="" ;;
8637 esac
8638 for ac_prog in $ac_prefix_list
8640 # Extract the first word of "$ac_prog", so it can be a program name with args.
8641 set dummy $ac_prog; ac_word=$2
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8643 $as_echo_n "checking for $ac_word... " >&6; }
8644 if ${ac_cv_prog_CROSSCC+:} false; then :
8645 $as_echo_n "(cached) " >&6
8646 else
8647 if test -n "$CROSSCC"; then
8648 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8649 else
8650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 for as_dir in $PATH
8653 IFS=$as_save_IFS
8654 test -z "$as_dir" && as_dir=.
8655 for ac_exec_ext in '' $ac_executable_extensions; do
8656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8657 ac_cv_prog_CROSSCC="$ac_prog"
8658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8659 break 2
8661 done
8662 done
8663 IFS=$as_save_IFS
8667 CROSSCC=$ac_cv_prog_CROSSCC
8668 if test -n "$CROSSCC"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8670 $as_echo "$CROSSCC" >&6; }
8671 else
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8677 test -n "$CROSSCC" && break
8678 done
8679 test -n "$CROSSCC" || CROSSCC="false"
8681 if test "$CROSSCC" != "false"
8682 then
8683 ac_save_CC="$CC"
8684 CC="$CROSSCC"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8686 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8691 main ()
8695 return 0;
8697 _ACEOF
8698 if ac_fn_c_try_compile "$LINENO"; then :
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8700 $as_echo "yes" >&6; }
8701 set x $CROSSCC
8702 shift
8703 while test $# -ge 1
8705 case "$1" in
8706 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8707 esac
8708 shift
8709 done
8710 else
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8715 CC="$ac_save_CC"
8720 if test "$ac_cv_header_pthread_h" = "yes"
8721 then
8722 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8723 if test "x$ac_cv_func_pthread_create" = xyes; then :
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8727 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8728 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_check_lib_save_LIBS=$LIBS
8732 LIBS="-lpthread $LIBS"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8736 /* Override any GCC internal prototype to avoid an error.
8737 Use char because int might match the return type of a GCC
8738 builtin and then its argument prototype would still apply. */
8739 #ifdef __cplusplus
8740 extern "C"
8741 #endif
8742 char pthread_create ();
8744 main ()
8746 return pthread_create ();
8748 return 0;
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_lib_pthread_pthread_create=yes
8753 else
8754 ac_cv_lib_pthread_pthread_create=no
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 LIBS=$ac_check_lib_save_LIBS
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8761 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8762 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8763 PTHREAD_LIBS="-lpthread"
8770 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8771 case "x$with_pthread" in
8772 xno) ;;
8773 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8774 Wine cannot support threads without libpthread.
8775 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8776 esac
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8781 $as_echo_n "checking for X... " >&6; }
8784 # Check whether --with-x was given.
8785 if test "${with_x+set}" = set; then :
8786 withval=$with_x;
8789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8790 if test "x$with_x" = xno; then
8791 # The user explicitly disabled X.
8792 have_x=disabled
8793 else
8794 case $x_includes,$x_libraries in #(
8795 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8796 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8797 $as_echo_n "(cached) " >&6
8798 else
8799 # One or both of the vars are not set, and there is no cached value.
8800 ac_x_includes=no ac_x_libraries=no
8801 rm -f -r conftest.dir
8802 if mkdir conftest.dir; then
8803 cd conftest.dir
8804 cat >Imakefile <<'_ACEOF'
8805 incroot:
8806 @echo incroot='${INCROOT}'
8807 usrlibdir:
8808 @echo usrlibdir='${USRLIBDIR}'
8809 libdir:
8810 @echo libdir='${LIBDIR}'
8811 _ACEOF
8812 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8814 for ac_var in incroot usrlibdir libdir; do
8815 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8816 done
8817 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8818 for ac_extension in a so sl dylib la dll; do
8819 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8820 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8821 ac_im_usrlibdir=$ac_im_libdir; break
8823 done
8824 # Screen out bogus values from the imake configuration. They are
8825 # bogus both because they are the default anyway, and because
8826 # using them would break gcc on systems where it needs fixed includes.
8827 case $ac_im_incroot in
8828 /usr/include) ac_x_includes= ;;
8829 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8830 esac
8831 case $ac_im_usrlibdir in
8832 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8833 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8834 esac
8836 cd ..
8837 rm -f -r conftest.dir
8840 # Standard set of common directories for X headers.
8841 # Check X11 before X11Rn because it is often a symlink to the current release.
8842 ac_x_header_dirs='
8843 /usr/X11/include
8844 /usr/X11R7/include
8845 /usr/X11R6/include
8846 /usr/X11R5/include
8847 /usr/X11R4/include
8849 /usr/include/X11
8850 /usr/include/X11R7
8851 /usr/include/X11R6
8852 /usr/include/X11R5
8853 /usr/include/X11R4
8855 /usr/local/X11/include
8856 /usr/local/X11R7/include
8857 /usr/local/X11R6/include
8858 /usr/local/X11R5/include
8859 /usr/local/X11R4/include
8861 /usr/local/include/X11
8862 /usr/local/include/X11R7
8863 /usr/local/include/X11R6
8864 /usr/local/include/X11R5
8865 /usr/local/include/X11R4
8867 /usr/X386/include
8868 /usr/x386/include
8869 /usr/XFree86/include/X11
8871 /usr/include
8872 /usr/local/include
8873 /usr/unsupported/include
8874 /usr/athena/include
8875 /usr/local/x11r5/include
8876 /usr/lpp/Xamples/include
8878 /usr/openwin/include
8879 /usr/openwin/share/include'
8881 if test "$ac_x_includes" = no; then
8882 # Guess where to find include files, by looking for Xlib.h.
8883 # First, try using that file with no special directory specified.
8884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8886 #include <X11/Xlib.h>
8887 _ACEOF
8888 if ac_fn_c_try_cpp "$LINENO"; then :
8889 # We can compile using X headers with no special include directory.
8890 ac_x_includes=
8891 else
8892 for ac_dir in $ac_x_header_dirs; do
8893 if test -r "$ac_dir/X11/Xlib.h"; then
8894 ac_x_includes=$ac_dir
8895 break
8897 done
8899 rm -f conftest.err conftest.i conftest.$ac_ext
8900 fi # $ac_x_includes = no
8902 if test "$ac_x_libraries" = no; then
8903 # Check for the libraries.
8904 # See if we find them without any special options.
8905 # Don't add to $LIBS permanently.
8906 ac_save_LIBS=$LIBS
8907 LIBS="-lX11 $LIBS"
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 #include <X11/Xlib.h>
8912 main ()
8914 XrmInitialize ()
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 LIBS=$ac_save_LIBS
8921 # We can link X programs with no special library path.
8922 ac_x_libraries=
8923 else
8924 LIBS=$ac_save_LIBS
8925 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8927 # Don't even attempt the hair of trying to link an X program!
8928 for ac_extension in a so sl dylib la dll; do
8929 if test -r "$ac_dir/libX11.$ac_extension"; then
8930 ac_x_libraries=$ac_dir
8931 break 2
8933 done
8934 done
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 fi # $ac_x_libraries = no
8940 case $ac_x_includes,$ac_x_libraries in #(
8941 no,* | *,no | *\'*)
8942 # Didn't find X, or a directory has "'" in its name.
8943 ac_cv_have_x="have_x=no";; #(
8945 # Record where we found X for the cache.
8946 ac_cv_have_x="have_x=yes\
8947 ac_x_includes='$ac_x_includes'\
8948 ac_x_libraries='$ac_x_libraries'"
8949 esac
8951 ;; #(
8952 *) have_x=yes;;
8953 esac
8954 eval "$ac_cv_have_x"
8955 fi # $with_x != no
8957 if test "$have_x" != yes; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8959 $as_echo "$have_x" >&6; }
8960 no_x=yes
8961 else
8962 # If each of the values was on the command line, it overrides each guess.
8963 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8964 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8965 # Update the cache value to reflect the command line values.
8966 ac_cv_have_x="have_x=yes\
8967 ac_x_includes='$x_includes'\
8968 ac_x_libraries='$x_libraries'"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8970 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8973 if test "$no_x" = yes; then
8974 # Not all programs may use this symbol, but it does not hurt to define it.
8976 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8978 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8979 else
8980 if test -n "$x_includes"; then
8981 X_CFLAGS="$X_CFLAGS -I$x_includes"
8984 # It would also be nice to do this for all -L options, not just this one.
8985 if test -n "$x_libraries"; then
8986 X_LIBS="$X_LIBS -L$x_libraries"
8987 # For Solaris; some versions of Sun CC require a space after -R and
8988 # others require no space. Words are not sufficient . . . .
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8990 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8991 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8992 ac_xsave_c_werror_flag=$ac_c_werror_flag
8993 ac_c_werror_flag=yes
8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
8998 main ()
9002 return 0;
9004 _ACEOF
9005 if ac_fn_c_try_link "$LINENO"; then :
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9007 $as_echo "no" >&6; }
9008 X_LIBS="$X_LIBS -R$x_libraries"
9009 else
9010 LIBS="$ac_xsave_LIBS -R $x_libraries"
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9015 main ()
9019 return 0;
9021 _ACEOF
9022 if ac_fn_c_try_link "$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9024 $as_echo "yes" >&6; }
9025 X_LIBS="$X_LIBS -R $x_libraries"
9026 else
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9028 $as_echo "neither works" >&6; }
9030 rm -f core conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9033 rm -f core conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 ac_c_werror_flag=$ac_xsave_c_werror_flag
9036 LIBS=$ac_xsave_LIBS
9039 # Check for system-dependent libraries X programs must link with.
9040 # Do this before checking for the system-independent R6 libraries
9041 # (-lICE), since we may need -lsocket or whatever for X linking.
9043 if test "$ISC" = yes; then
9044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9045 else
9046 # Martyn Johnson says this is needed for Ultrix, if the X
9047 # libraries were built with DECnet support. And Karl Berry says
9048 # the Alpha needs dnet_stub (dnet does not exist).
9049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9056 #ifdef __cplusplus
9057 extern "C"
9058 #endif
9059 char XOpenDisplay ();
9061 main ()
9063 return XOpenDisplay ();
9065 return 0;
9067 _ACEOF
9068 if ac_fn_c_try_link "$LINENO"; then :
9070 else
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9072 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9073 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 ac_check_lib_save_LIBS=$LIBS
9077 LIBS="-ldnet $LIBS"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9084 #ifdef __cplusplus
9085 extern "C"
9086 #endif
9087 char dnet_ntoa ();
9089 main ()
9091 return dnet_ntoa ();
9093 return 0;
9095 _ACEOF
9096 if ac_fn_c_try_link "$LINENO"; then :
9097 ac_cv_lib_dnet_dnet_ntoa=yes
9098 else
9099 ac_cv_lib_dnet_dnet_ntoa=no
9101 rm -f core conftest.err conftest.$ac_objext \
9102 conftest$ac_exeext conftest.$ac_ext
9103 LIBS=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9106 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9107 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9108 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9111 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9113 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9114 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 ac_check_lib_save_LIBS=$LIBS
9118 LIBS="-ldnet_stub $LIBS"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char dnet_ntoa ();
9130 main ()
9132 return dnet_ntoa ();
9134 return 0;
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9139 else
9140 ac_cv_lib_dnet_stub_dnet_ntoa=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 LIBS=$ac_check_lib_save_LIBS
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9147 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9148 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9149 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS="$ac_xsave_LIBS"
9158 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9159 # to get the SysV transport functions.
9160 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9161 # needs -lnsl.
9162 # The nsl library prevents programs from opening the X display
9163 # on Irix 5.2, according to T.E. Dickey.
9164 # The functions gethostbyname, getservbyname, and inet_addr are
9165 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9166 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9167 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9171 if test $ac_cv_func_gethostbyname = no; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9173 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9174 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 ac_check_lib_save_LIBS=$LIBS
9178 LIBS="-lnsl $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9185 #ifdef __cplusplus
9186 extern "C"
9187 #endif
9188 char gethostbyname ();
9190 main ()
9192 return gethostbyname ();
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 ac_cv_lib_nsl_gethostbyname=yes
9199 else
9200 ac_cv_lib_nsl_gethostbyname=no
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9207 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9208 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9212 if test $ac_cv_lib_nsl_gethostbyname = no; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9214 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9215 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_check_lib_save_LIBS=$LIBS
9219 LIBS="-lbsd $LIBS"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char gethostbyname ();
9231 main ()
9233 return gethostbyname ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 ac_cv_lib_bsd_gethostbyname=yes
9240 else
9241 ac_cv_lib_bsd_gethostbyname=no
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9248 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9249 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9256 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9257 # socket/setsockopt and other routines are undefined under SCO ODT
9258 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9259 # on later versions), says Simon Leinen: it contains gethostby*
9260 # variants that don't use the name server (or something). -lsocket
9261 # must be given before -lnsl if both are needed. We assume that
9262 # if connect needs -lnsl, so does gethostbyname.
9263 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9264 if test "x$ac_cv_func_connect" = xyes; then :
9268 if test $ac_cv_func_connect = no; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9270 $as_echo_n "checking for connect in -lsocket... " >&6; }
9271 if ${ac_cv_lib_socket_connect+:} false; then :
9272 $as_echo_n "(cached) " >&6
9273 else
9274 ac_check_lib_save_LIBS=$LIBS
9275 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 char connect ();
9287 main ()
9289 return connect ();
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9295 ac_cv_lib_socket_connect=yes
9296 else
9297 ac_cv_lib_socket_connect=no
9299 rm -f core conftest.err conftest.$ac_objext \
9300 conftest$ac_exeext conftest.$ac_ext
9301 LIBS=$ac_check_lib_save_LIBS
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9304 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9305 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9306 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9311 # Guillermo Gomez says -lposix is necessary on A/UX.
9312 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9313 if test "x$ac_cv_func_remove" = xyes; then :
9317 if test $ac_cv_func_remove = no; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9319 $as_echo_n "checking for remove in -lposix... " >&6; }
9320 if ${ac_cv_lib_posix_remove+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_check_lib_save_LIBS=$LIBS
9324 LIBS="-lposix $LIBS"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9331 #ifdef __cplusplus
9332 extern "C"
9333 #endif
9334 char remove ();
9336 main ()
9338 return remove ();
9340 return 0;
9342 _ACEOF
9343 if ac_fn_c_try_link "$LINENO"; then :
9344 ac_cv_lib_posix_remove=yes
9345 else
9346 ac_cv_lib_posix_remove=no
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 LIBS=$ac_check_lib_save_LIBS
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9353 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9354 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9360 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9361 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9362 if test "x$ac_cv_func_shmat" = xyes; then :
9366 if test $ac_cv_func_shmat = no; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9368 $as_echo_n "checking for shmat in -lipc... " >&6; }
9369 if ${ac_cv_lib_ipc_shmat+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_check_lib_save_LIBS=$LIBS
9373 LIBS="-lipc $LIBS"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9380 #ifdef __cplusplus
9381 extern "C"
9382 #endif
9383 char shmat ();
9385 main ()
9387 return shmat ();
9389 return 0;
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_lib_ipc_shmat=yes
9394 else
9395 ac_cv_lib_ipc_shmat=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 LIBS=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9402 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9403 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9410 # Check for libraries that X11R6 Xt/Xaw programs need.
9411 ac_save_LDFLAGS=$LDFLAGS
9412 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9413 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9414 # check for ICE first), but we must link in the order -lSM -lICE or
9415 # we get undefined symbols. So assume we have SM if we have ICE.
9416 # These have to be linked with before -lX11, unlike the other
9417 # libraries we check for below, so use a different variable.
9418 # John Interrante, Karl Berry
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9420 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9421 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9432 #ifdef __cplusplus
9433 extern "C"
9434 #endif
9435 char IceConnectionNumber ();
9437 main ()
9439 return IceConnectionNumber ();
9441 return 0;
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_lib_ICE_IceConnectionNumber=yes
9446 else
9447 ac_cv_lib_ICE_IceConnectionNumber=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 LIBS=$ac_check_lib_save_LIBS
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9454 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9455 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9456 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9459 LDFLAGS=$ac_save_LDFLAGS
9464 if test "$have_x" = "yes"
9465 then
9466 ac_save_CPPFLAGS="$CPPFLAGS"
9467 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9470 $as_echo_n "checking for -lX11... " >&6; }
9471 if ${ac_cv_lib_soname_X11+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_check_soname_save_LIBS=$LIBS
9475 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9482 #ifdef __cplusplus
9483 extern "C"
9484 #endif
9485 char XCreateWindow ();
9487 main ()
9489 return XCreateWindow ();
9491 return 0;
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 case "$LIBEXT" in
9496 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9497 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'` ;;
9498 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9499 if ${ac_cv_lib_soname_X11:+false} :; then :
9500 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9501 fi ;;
9502 esac
9504 rm -f core conftest.err conftest.$ac_objext \
9505 conftest$ac_exeext conftest.$ac_ext
9506 LIBS=$ac_check_soname_save_LIBS
9508 if ${ac_cv_lib_soname_X11:+false} :; then :
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9510 $as_echo "not found" >&6; }
9512 else
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9514 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9516 cat >>confdefs.h <<_ACEOF
9517 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9518 _ACEOF
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9523 $as_echo_n "checking for -lXext... " >&6; }
9524 if ${ac_cv_lib_soname_Xext+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_check_soname_save_LIBS=$LIBS
9528 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char XextCreateExtension ();
9540 main ()
9542 return XextCreateExtension ();
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 case "$LIBEXT" in
9549 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9550 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'` ;;
9551 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9552 if ${ac_cv_lib_soname_Xext:+false} :; then :
9553 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9554 fi ;;
9555 esac
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_soname_save_LIBS
9561 if ${ac_cv_lib_soname_Xext:+false} :; then :
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9563 $as_echo "not found" >&6; }
9565 else
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9567 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9569 cat >>confdefs.h <<_ACEOF
9570 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9571 _ACEOF
9573 X_LIBS="$X_LIBS -lXext"
9575 X_LIBS="$X_LIBS -lX11"
9577 for ac_header in X11/Xlib.h \
9578 X11/XKBlib.h \
9579 X11/Xutil.h \
9580 X11/Xcursor/Xcursor.h \
9581 X11/extensions/shape.h \
9582 X11/extensions/XInput.h \
9583 X11/extensions/XInput2.h \
9584 X11/extensions/XShm.h \
9585 X11/extensions/Xcomposite.h \
9586 X11/extensions/Xinerama.h \
9587 X11/extensions/Xrandr.h \
9588 X11/extensions/Xrender.h \
9589 X11/extensions/xf86vmode.h \
9590 X11/extensions/xf86vmproto.h
9591 do :
9592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9594 # include <X11/Xlib.h>
9595 #endif
9596 #ifdef HAVE_X11_XUTIL_H
9597 # include <X11/Xutil.h>
9598 #endif
9600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9601 cat >>confdefs.h <<_ACEOF
9602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9603 _ACEOF
9607 done
9610 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9611 then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9613 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9614 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9615 $as_echo_n "(cached) " >&6
9616 else
9617 ac_check_lib_save_LIBS=$LIBS
9618 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9625 #ifdef __cplusplus
9626 extern "C"
9627 #endif
9628 char XkbQueryExtension ();
9630 main ()
9632 return XkbQueryExtension ();
9634 return 0;
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_lib_X11_XkbQueryExtension=yes
9639 else
9640 ac_cv_lib_X11_XkbQueryExtension=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9647 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9648 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9650 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9656 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9657 then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9659 $as_echo_n "checking for -lXcursor... " >&6; }
9660 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char XcursorImageLoadCursor ();
9676 main ()
9678 return XcursorImageLoadCursor ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 case "$LIBEXT" in
9685 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9689 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9690 fi ;;
9691 esac
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9701 else
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9703 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9705 cat >>confdefs.h <<_ACEOF
9706 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9707 _ACEOF
9712 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9713 case "x$with_xcursor" in
9714 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9715 xno) ;;
9716 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9717 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9718 esac
9721 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9722 then
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9724 $as_echo_n "checking for -lXi... " >&6; }
9725 if ${ac_cv_lib_soname_Xi+:} false; then :
9726 $as_echo_n "(cached) " >&6
9727 else
9728 ac_check_soname_save_LIBS=$LIBS
9729 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XOpenDevice ();
9741 main ()
9743 return XOpenDevice ();
9745 return 0;
9747 _ACEOF
9748 if ac_fn_c_try_link "$LINENO"; then :
9749 case "$LIBEXT" in
9750 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9751 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'` ;;
9752 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9753 if ${ac_cv_lib_soname_Xi:+false} :; then :
9754 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9755 fi ;;
9756 esac
9758 rm -f core conftest.err conftest.$ac_objext \
9759 conftest$ac_exeext conftest.$ac_ext
9760 LIBS=$ac_check_soname_save_LIBS
9762 if ${ac_cv_lib_soname_Xi:+false} :; then :
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9764 $as_echo "not found" >&6; }
9766 else
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9768 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9770 cat >>confdefs.h <<_ACEOF
9771 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9772 _ACEOF
9777 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9778 case "x$with_xinput" in
9779 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9780 xno) ;;
9781 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9782 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9783 esac
9786 if test "x$ac_cv_lib_soname_Xi" != x
9787 then
9788 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9789 case "x$with_xinput2" in
9790 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9791 xno) ;;
9792 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9793 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9794 esac
9798 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9799 then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9801 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9802 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9803 $as_echo_n "(cached) " >&6
9804 else
9805 ac_check_lib_save_LIBS=$LIBS
9806 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9813 #ifdef __cplusplus
9814 extern "C"
9815 #endif
9816 char XShmQueryExtension ();
9818 main ()
9820 return XShmQueryExtension ();
9822 return 0;
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 ac_cv_lib_Xext_XShmQueryExtension=yes
9827 else
9828 ac_cv_lib_Xext_XShmQueryExtension=no
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_lib_save_LIBS
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9835 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9836 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9838 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9843 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9844 case "x$with_xshm" in
9845 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9846 xno) ;;
9847 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9848 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9849 esac
9852 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9853 then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9855 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9856 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_check_lib_save_LIBS=$LIBS
9860 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9867 #ifdef __cplusplus
9868 extern "C"
9869 #endif
9870 char XShapeQueryExtension ();
9872 main ()
9874 return XShapeQueryExtension ();
9876 return 0;
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_lib_Xext_XShapeQueryExtension=yes
9881 else
9882 ac_cv_lib_Xext_XShapeQueryExtension=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 LIBS=$ac_check_lib_save_LIBS
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9889 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9890 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9892 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9897 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9898 case "x$with_xshape" in
9899 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9900 xno) ;;
9901 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9902 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9903 esac
9906 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9907 then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9909 $as_echo_n "checking for -lXxf86vm... " >&6; }
9910 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_check_soname_save_LIBS=$LIBS
9914 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char XF86VidModeQueryExtension ();
9926 main ()
9928 return XF86VidModeQueryExtension ();
9930 return 0;
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 case "$LIBEXT" in
9935 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9936 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'` ;;
9937 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9938 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9939 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9940 fi ;;
9941 esac
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_soname_save_LIBS
9947 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9949 $as_echo "not found" >&6; }
9951 else
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9953 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9955 cat >>confdefs.h <<_ACEOF
9956 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9957 _ACEOF
9962 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9963 case "x$with_xxf86vm" in
9964 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9965 xno) ;;
9966 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9967 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9968 esac
9971 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9972 then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9974 $as_echo_n "checking for -lXrender... " >&6; }
9975 if ${ac_cv_lib_soname_Xrender+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_check_soname_save_LIBS=$LIBS
9979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9983 /* Override any GCC internal prototype to avoid an error.
9984 Use char because int might match the return type of a GCC
9985 builtin and then its argument prototype would still apply. */
9986 #ifdef __cplusplus
9987 extern "C"
9988 #endif
9989 char XRenderQueryExtension ();
9991 main ()
9993 return XRenderQueryExtension ();
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"; then :
9999 case "$LIBEXT" in
10000 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10004 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10005 fi ;;
10006 esac
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_soname_save_LIBS
10012 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10014 $as_echo "not found" >&6; }
10016 else
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10018 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10020 cat >>confdefs.h <<_ACEOF
10021 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10022 _ACEOF
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10025 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10026 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XRenderSetPictureTransform ();
10042 main ()
10044 return XRenderSetPictureTransform ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10051 else
10052 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10059 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10060 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10062 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10067 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10068 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_check_lib_save_LIBS=$LIBS
10072 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 char XRenderCreateLinearGradient ();
10084 main ()
10086 return XRenderCreateLinearGradient ();
10088 return 0;
10090 _ACEOF
10091 if ac_fn_c_try_link "$LINENO"; then :
10092 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10093 else
10094 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10096 rm -f core conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10098 LIBS=$ac_check_lib_save_LIBS
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10101 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10102 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10104 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10111 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10112 case "x$with_xrender" in
10113 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10114 xno) ;;
10115 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10116 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10117 esac
10120 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10121 then
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 #include <X11/Xlib.h>
10125 #include <X11/extensions/Xrandr.h>
10127 main ()
10129 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_compile "$LINENO"; then :
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10136 $as_echo_n "checking for -lXrandr... " >&6; }
10137 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10138 $as_echo_n "(cached) " >&6
10139 else
10140 ac_check_soname_save_LIBS=$LIBS
10141 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10148 #ifdef __cplusplus
10149 extern "C"
10150 #endif
10151 char XRRQueryExtension ();
10153 main ()
10155 return XRRQueryExtension ();
10157 return 0;
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 case "$LIBEXT" in
10162 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10166 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10167 fi ;;
10168 esac
10170 rm -f core conftest.err conftest.$ac_objext \
10171 conftest$ac_exeext conftest.$ac_ext
10172 LIBS=$ac_check_soname_save_LIBS
10174 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10176 $as_echo "not found" >&6; }
10178 else
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10180 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10182 cat >>confdefs.h <<_ACEOF
10183 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10184 _ACEOF
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 #include <X11/Xlib.h>
10189 #include <X11/extensions/Xrandr.h>
10191 main ()
10193 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_compile "$LINENO"; then :
10200 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10208 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10209 case "x$with_xrandr" in
10210 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10211 xno) ;;
10212 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10213 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10214 esac
10217 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10218 then
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 #include <X11/Xlib.h>
10222 #include <X11/extensions/Xinerama.h>
10224 main ()
10226 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_compile "$LINENO"; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10233 $as_echo_n "checking for -lXinerama... " >&6; }
10234 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_check_soname_save_LIBS=$LIBS
10238 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 char XineramaQueryScreens ();
10250 main ()
10252 return XineramaQueryScreens ();
10254 return 0;
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 case "$LIBEXT" in
10259 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10260 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'` ;;
10261 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10262 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10263 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10264 fi ;;
10265 esac
10267 rm -f core conftest.err conftest.$ac_objext \
10268 conftest$ac_exeext conftest.$ac_ext
10269 LIBS=$ac_check_soname_save_LIBS
10271 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10273 $as_echo "not found" >&6; }
10275 else
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10277 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10279 cat >>confdefs.h <<_ACEOF
10280 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10281 _ACEOF
10286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10288 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10289 case "x$with_xinerama" in
10290 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10291 xno) ;;
10292 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10293 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10294 esac
10297 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10298 then
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10300 $as_echo_n "checking for -lXcomposite... " >&6; }
10301 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_soname_save_LIBS=$LIBS
10305 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10312 #ifdef __cplusplus
10313 extern "C"
10314 #endif
10315 char XCompositeRedirectWindow ();
10317 main ()
10319 return XCompositeRedirectWindow ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 case "$LIBEXT" in
10326 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10330 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10331 fi ;;
10332 esac
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 LIBS=$ac_check_soname_save_LIBS
10338 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10342 else
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10344 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10346 cat >>confdefs.h <<_ACEOF
10347 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10348 _ACEOF
10353 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10354 case "x$with_xcomposite" in
10355 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10356 xno) ;;
10357 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10358 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10359 esac
10362 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10363 #include <X11/Xlib.h>
10364 #endif
10366 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10368 cat >>confdefs.h <<_ACEOF
10369 #define HAVE_XICCALLBACK_CALLBACK 1
10370 _ACEOF
10374 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10375 #include <X11/Xlib.h>
10376 #endif
10378 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10380 cat >>confdefs.h <<_ACEOF
10381 #define HAVE_XEVENT_XCOOKIE 1
10382 _ACEOF
10389 opengl_msg=""
10390 if test "x$with_opengl" != "xno"
10391 then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10393 $as_echo_n "checking for -lGL... " >&6; }
10394 if ${ac_cv_lib_soname_GL+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_soname_save_LIBS=$LIBS
10398 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char glXCreateContext ();
10410 main ()
10412 return glXCreateContext ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 case "$LIBEXT" in
10419 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_GL:+false} :; then :
10423 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 fi ;;
10425 esac
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_GL:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10435 $as_echo_n "checking for -lGL... " >&6; }
10436 if ${ac_cv_lib_soname_GL+:} false; then :
10437 $as_echo_n "(cached) " >&6
10438 else
10439 ac_check_soname_save_LIBS=$LIBS
10440 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"
10441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 char glXCreateContext ();
10452 main ()
10454 return glXCreateContext ();
10456 return 0;
10458 _ACEOF
10459 if ac_fn_c_try_link "$LINENO"; then :
10460 case "$LIBEXT" in
10461 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if ${ac_cv_lib_soname_GL:+false} :; then :
10465 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10466 fi ;;
10467 esac
10469 rm -f core conftest.err conftest.$ac_objext \
10470 conftest$ac_exeext conftest.$ac_ext
10471 LIBS=$ac_check_soname_save_LIBS
10473 if ${ac_cv_lib_soname_GL:+false} :; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10476 if test -f /usr/X11R6/lib/libGL.a
10477 then
10478 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10479 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10480 else
10481 opengl_msg="No OpenGL library found on this system."
10483 else
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10485 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10487 cat >>confdefs.h <<_ACEOF
10488 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10489 _ACEOF
10491 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"
10493 else
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10495 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10497 cat >>confdefs.h <<_ACEOF
10498 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10499 _ACEOF
10501 OPENGL_LIBS="-lGL"
10503 if test "x$with_glu" != "xno"
10504 then
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10506 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10507 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_check_lib_save_LIBS=$LIBS
10511 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10515 /* Override any GCC internal prototype to avoid an error.
10516 Use char because int might match the return type of a GCC
10517 builtin and then its argument prototype would still apply. */
10518 #ifdef __cplusplus
10519 extern "C"
10520 #endif
10521 char gluLookAt ();
10523 main ()
10525 return gluLookAt ();
10527 return 0;
10529 _ACEOF
10530 if ac_fn_c_try_link "$LINENO"; then :
10531 ac_cv_lib_GLU_gluLookAt=yes
10532 else
10533 ac_cv_lib_GLU_gluLookAt=no
10535 rm -f core conftest.err conftest.$ac_objext \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_lib_save_LIBS
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10540 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10541 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10545 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10546 case "x$with_glu" in
10547 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10548 xno) ;;
10549 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10550 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10551 esac
10555 if test "x$with_osmesa" != "xno"
10556 then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10558 $as_echo_n "checking for -lOSMesa... " >&6; }
10559 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10560 $as_echo_n "(cached) " >&6
10561 else
10562 ac_check_soname_save_LIBS=$LIBS
10563 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10570 #ifdef __cplusplus
10571 extern "C"
10572 #endif
10573 char glAccum ();
10575 main ()
10577 return glAccum ();
10579 return 0;
10581 _ACEOF
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 case "$LIBEXT" in
10584 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10585 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'` ;;
10586 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10587 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10588 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10589 fi ;;
10590 esac
10592 rm -f core conftest.err conftest.$ac_objext \
10593 conftest$ac_exeext conftest.$ac_ext
10594 LIBS=$ac_check_soname_save_LIBS
10596 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10598 $as_echo "not found" >&6; }
10600 else
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10602 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10604 cat >>confdefs.h <<_ACEOF
10605 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10606 _ACEOF
10610 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10611 case "x$with_osmesa" in
10612 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10613 xno) ;;
10614 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10615 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10616 esac
10620 if test -n "$opengl_msg"; then :
10621 case "x$with_opengl" in
10622 x) as_fn_append wine_warnings "|$opengl_msg
10623 OpenGL and Direct3D won't be supported." ;;
10624 xno) ;;
10625 *) as_fn_error $? "$opengl_msg
10626 OpenGL and Direct3D won't be supported.
10627 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10628 esac
10631 CPPFLAGS="$ac_save_CPPFLAGS"
10632 else
10633 X_CFLAGS=""
10634 X_LIBS=""
10635 enable_winex11_drv=${enable_winex11_drv:-no}
10637 if test "x$X_LIBS" = "x"; then :
10638 case "x$with_x" in
10639 xno) ;;
10640 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10641 without X support, which probably isn't what you want. You will need
10642 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10643 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10644 esac
10647 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10649 if test "$ac_cv_header_CL_cl_h" = "yes"
10650 then
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10652 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10653 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10654 $as_echo_n "(cached) " >&6
10655 else
10656 ac_check_lib_save_LIBS=$LIBS
10657 LIBS="-lOpenCL $LIBS"
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10661 /* Override any GCC internal prototype to avoid an error.
10662 Use char because int might match the return type of a GCC
10663 builtin and then its argument prototype would still apply. */
10664 #ifdef __cplusplus
10665 extern "C"
10666 #endif
10667 char clGetPlatformInfo ();
10669 main ()
10671 return clGetPlatformInfo ();
10673 return 0;
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10678 else
10679 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 LIBS=$ac_check_lib_save_LIBS
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10686 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10688 OPENCL_LIBS="-lOpenCL"
10693 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10694 case "x$with_opencl" in
10695 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10696 xno) ;;
10697 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10698 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10699 esac
10701 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10703 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10704 then
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10706 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10707 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10708 $as_echo_n "(cached) " >&6
10709 else
10710 ac_check_lib_save_LIBS=$LIBS
10711 LIBS="-lpcap $LIBS"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10718 #ifdef __cplusplus
10719 extern "C"
10720 #endif
10721 char pcap_create ();
10723 main ()
10725 return pcap_create ();
10727 return 0;
10729 _ACEOF
10730 if ac_fn_c_try_link "$LINENO"; then :
10731 ac_cv_lib_pcap_pcap_create=yes
10732 else
10733 ac_cv_lib_pcap_pcap_create=no
10735 rm -f core conftest.err conftest.$ac_objext \
10736 conftest$ac_exeext conftest.$ac_ext
10737 LIBS=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10740 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10741 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10742 LIBPCAP="-lpcap"
10747 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10748 case "x$with_pcap" in
10749 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10750 xno) ;;
10751 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10752 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10753 esac
10755 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10758 if test "x$with_xml" != "xno"
10759 then
10760 if ${XML2_CFLAGS:+false} :; then :
10761 if ${PKG_CONFIG+:} false; then :
10762 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10765 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10766 if ${XML2_LIBS:+false} :; then :
10767 if ${PKG_CONFIG+:} false; then :
10768 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10771 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10772 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10773 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10774 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10775 ac_save_CPPFLAGS=$CPPFLAGS
10776 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10777 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10778 do :
10779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10780 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10781 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10782 cat >>confdefs.h <<_ACEOF
10783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10784 _ACEOF
10788 done
10790 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"
10791 then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10793 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10794 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10795 $as_echo_n "(cached) " >&6
10796 else
10797 ac_check_lib_save_LIBS=$LIBS
10798 LIBS="-lxml2 $XML2_LIBS $LIBS"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10805 #ifdef __cplusplus
10806 extern "C"
10807 #endif
10808 char xmlParseMemory ();
10810 main ()
10812 return xmlParseMemory ();
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 ac_cv_lib_xml2_xmlParseMemory=yes
10819 else
10820 ac_cv_lib_xml2_xmlParseMemory=no
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10827 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10828 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10830 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10832 else
10833 XML2_LIBS=""
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10837 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10838 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 ac_check_lib_save_LIBS=$LIBS
10842 LIBS="-lxml2 $XML2_LIBS $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char xmlReadMemory ();
10854 main ()
10856 return xmlReadMemory ();
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 ac_cv_lib_xml2_xmlReadMemory=yes
10863 else
10864 ac_cv_lib_xml2_xmlReadMemory=no
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 LIBS=$ac_check_lib_save_LIBS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10871 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10872 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10874 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10879 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10880 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lxml2 $XML2_LIBS $LIBS"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10891 #ifdef __cplusplus
10892 extern "C"
10893 #endif
10894 char xmlNewDocPI ();
10896 main ()
10898 return xmlNewDocPI ();
10900 return 0;
10902 _ACEOF
10903 if ac_fn_c_try_link "$LINENO"; then :
10904 ac_cv_lib_xml2_xmlNewDocPI=yes
10905 else
10906 ac_cv_lib_xml2_xmlNewDocPI=no
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10913 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10914 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10916 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10921 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10922 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10923 $as_echo_n "(cached) " >&6
10924 else
10925 ac_check_lib_save_LIBS=$LIBS
10926 LIBS="-lxml2 $XML2_LIBS $LIBS"
10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10933 #ifdef __cplusplus
10934 extern "C"
10935 #endif
10936 char xmlSchemaSetParserStructuredErrors ();
10938 main ()
10940 return xmlSchemaSetParserStructuredErrors ();
10942 return 0;
10944 _ACEOF
10945 if ac_fn_c_try_link "$LINENO"; then :
10946 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10947 else
10948 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10950 rm -f core conftest.err conftest.$ac_objext \
10951 conftest$ac_exeext conftest.$ac_ext
10952 LIBS=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10955 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10956 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10958 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10963 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10964 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10965 $as_echo_n "(cached) " >&6
10966 else
10967 ac_check_lib_save_LIBS=$LIBS
10968 LIBS="-lxml2 $XML2_LIBS $LIBS"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char xmlSchemaSetValidStructuredErrors ();
10980 main ()
10982 return xmlSchemaSetValidStructuredErrors ();
10984 return 0;
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10989 else
10990 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10997 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10998 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11000 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11005 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11006 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11007 $as_echo_n "(cached) " >&6
11008 else
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lxml2 $XML2_LIBS $LIBS"
11011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11017 #ifdef __cplusplus
11018 extern "C"
11019 #endif
11020 char xmlFirstElementChild ();
11022 main ()
11024 return xmlFirstElementChild ();
11026 return 0;
11028 _ACEOF
11029 if ac_fn_c_try_link "$LINENO"; then :
11030 ac_cv_lib_xml2_xmlFirstElementChild=yes
11031 else
11032 ac_cv_lib_xml2_xmlFirstElementChild=no
11034 rm -f core conftest.err conftest.$ac_objext \
11035 conftest$ac_exeext conftest.$ac_ext
11036 LIBS=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11039 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11040 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11042 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11046 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11048 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11050 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11054 else
11055 XML2_CFLAGS=""
11056 XML2_LIBS=""
11058 CPPFLAGS=$ac_save_CPPFLAGS
11059 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11060 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11063 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11064 case "x$with_xml" in
11065 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11066 xno) ;;
11067 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11068 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11069 esac
11072 if test "x$with_xslt" != "xno"
11073 then
11074 if ${XSLT_CFLAGS:+false} :; then :
11075 if ${PKG_CONFIG+:} false; then :
11076 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11079 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11080 if ${XSLT_LIBS:+false} :; then :
11081 if ${PKG_CONFIG+:} false; then :
11082 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11085 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11086 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11087 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11089 ac_save_CPPFLAGS=$CPPFLAGS
11090 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11091 for ac_header in libxslt/pattern.h libxslt/transform.h
11092 do :
11093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11094 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11095 # include <libxslt/pattern.h>
11096 #endif
11098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11099 cat >>confdefs.h <<_ACEOF
11100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11101 _ACEOF
11105 done
11107 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11108 then
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11110 $as_echo_n "checking for -lxslt... " >&6; }
11111 if ${ac_cv_lib_soname_xslt+:} false; then :
11112 $as_echo_n "(cached) " >&6
11113 else
11114 ac_check_soname_save_LIBS=$LIBS
11115 LIBS="-lxslt $XSLT_LIBS $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char xsltCompilePattern ();
11127 main ()
11129 return xsltCompilePattern ();
11131 return 0;
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135 case "$LIBEXT" in
11136 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11137 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'` ;;
11138 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11139 if ${ac_cv_lib_soname_xslt:+false} :; then :
11140 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11141 fi ;;
11142 esac
11144 rm -f core conftest.err conftest.$ac_objext \
11145 conftest$ac_exeext conftest.$ac_ext
11146 LIBS=$ac_check_soname_save_LIBS
11148 if ${ac_cv_lib_soname_xslt:+false} :; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11150 $as_echo "not found" >&6; }
11152 else
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11154 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11156 cat >>confdefs.h <<_ACEOF
11157 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11158 _ACEOF
11162 else
11163 XSLT_CFLAGS=""
11165 CPPFLAGS=$ac_save_CPPFLAGS
11166 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11167 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11170 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11171 case "x$with_xslt" in
11172 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11173 xno) ;;
11174 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11175 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11176 esac
11179 if test "x$with_dbus" != "xno"
11180 then
11181 if ${DBUS_CFLAGS:+false} :; then :
11182 if ${PKG_CONFIG+:} false; then :
11183 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11187 if ${DBUS_LIBS:+false} :; then :
11188 if ${PKG_CONFIG+:} false; then :
11189 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11194 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11195 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11196 ac_save_CPPFLAGS=$CPPFLAGS
11197 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11198 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11199 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11201 $as_echo_n "checking for -ldbus-1... " >&6; }
11202 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11203 $as_echo_n "(cached) " >&6
11204 else
11205 ac_check_soname_save_LIBS=$LIBS
11206 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11213 #ifdef __cplusplus
11214 extern "C"
11215 #endif
11216 char dbus_connection_close ();
11218 main ()
11220 return dbus_connection_close ();
11222 return 0;
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"; then :
11226 case "$LIBEXT" in
11227 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11228 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'` ;;
11229 *) 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'`
11230 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11231 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11232 fi ;;
11233 esac
11235 rm -f core conftest.err conftest.$ac_objext \
11236 conftest$ac_exeext conftest.$ac_ext
11237 LIBS=$ac_check_soname_save_LIBS
11239 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11241 $as_echo "not found" >&6; }
11242 DBUS_CFLAGS=""
11243 else
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11245 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11247 cat >>confdefs.h <<_ACEOF
11248 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11249 _ACEOF
11253 else
11254 DBUS_CFLAGS=""
11258 CPPFLAGS=$ac_save_CPPFLAGS
11259 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11260 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11263 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11264 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11265 case "x$with_dbus" in
11266 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11267 xno) ;;
11268 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11269 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11270 esac
11273 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11274 then
11275 if ${HAL_CFLAGS:+false} :; then :
11276 if ${PKG_CONFIG+:} false; then :
11277 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11281 if ${HAL_LIBS:+false} :; then :
11282 if ${PKG_CONFIG+:} false; then :
11283 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11287 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11288 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11289 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11290 ac_save_CPPFLAGS=$CPPFLAGS
11291 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11292 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11293 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11295 $as_echo_n "checking for -lhal... " >&6; }
11296 if ${ac_cv_lib_soname_hal+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_soname_save_LIBS=$LIBS
11300 LIBS="-lhal $HAL_LIBS $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char libhal_ctx_new ();
11312 main ()
11314 return libhal_ctx_new ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 case "$LIBEXT" in
11321 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11322 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'` ;;
11323 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11324 if ${ac_cv_lib_soname_hal:+false} :; then :
11325 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11326 fi ;;
11327 esac
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_soname_save_LIBS
11333 if ${ac_cv_lib_soname_hal:+false} :; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11335 $as_echo "not found" >&6; }
11336 HAL_CFLAGS=""
11337 else
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11339 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11341 cat >>confdefs.h <<_ACEOF
11342 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11343 _ACEOF
11347 else
11348 HAL_CFLAGS=""
11352 CPPFLAGS=$ac_save_CPPFLAGS
11353 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11354 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11356 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11357 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11358 case "x$with_hal" in
11359 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11360 xno) ;;
11361 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11362 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11363 esac
11367 if test "x$with_gnutls" != "xno"
11368 then
11369 if ${GNUTLS_CFLAGS:+false} :; then :
11370 if ${PKG_CONFIG+:} false; then :
11371 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11375 if ${GNUTLS_LIBS:+false} :; then :
11376 if ${PKG_CONFIG+:} false; then :
11377 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11382 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11383 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11384 ac_save_CPPFLAGS=$CPPFLAGS
11385 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11386 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11387 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 #include <gnutls/gnutls.h>
11391 #include <gnutls/crypto.h>
11393 main ()
11395 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_compile "$LINENO"; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11402 $as_echo_n "checking for -lgnutls... " >&6; }
11403 if ${ac_cv_lib_soname_gnutls+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_soname_save_LIBS=$LIBS
11407 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char gnutls_global_init ();
11419 main ()
11421 return gnutls_global_init ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 case "$LIBEXT" in
11428 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) 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'`
11431 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11432 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'`
11433 fi ;;
11434 esac
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_soname_save_LIBS
11440 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11442 $as_echo "not found" >&6; }
11443 GNUTLS_CFLAGS=""
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11446 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11448 cat >>confdefs.h <<_ACEOF
11449 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11450 _ACEOF
11455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11456 else
11457 GNUTLS_CFLAGS=""
11461 CPPFLAGS=$ac_save_CPPFLAGS
11462 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11463 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11466 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11467 case "x$with_gnutls" in
11468 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11469 xno) ;;
11470 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11471 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11472 esac
11475 CURSES_LIBS=""
11476 if test "$ac_cv_header_ncurses_h" = "yes"
11477 then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11479 $as_echo_n "checking for -lncurses... " >&6; }
11480 if ${ac_cv_lib_soname_ncurses+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_soname_save_LIBS=$LIBS
11484 LIBS="-lncurses $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char waddch ();
11496 main ()
11498 return waddch ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 case "$LIBEXT" in
11505 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) 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'`
11508 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11509 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11510 fi ;;
11511 esac
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_soname_save_LIBS
11517 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11523 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11525 cat >>confdefs.h <<_ACEOF
11526 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11527 _ACEOF
11529 CURSES_LIBS="-lncurses"
11531 elif test "$ac_cv_header_curses_h" = "yes"
11532 then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11534 $as_echo_n "checking for -lcurses... " >&6; }
11535 if ${ac_cv_lib_soname_curses+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lcurses $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char waddch ();
11551 main ()
11553 return waddch ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 case "$LIBEXT" in
11560 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_curses:+false} :; then :
11564 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11565 fi ;;
11566 esac
11568 rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570 LIBS=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_curses:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11576 else
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11578 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11580 cat >>confdefs.h <<_ACEOF
11581 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11582 _ACEOF
11584 CURSES_LIBS="-lcurses"
11587 ac_save_LIBS="$LIBS"
11588 LIBS="$LIBS $CURSES_LIBS"
11589 for ac_func in mousemask
11590 do :
11591 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11592 if test "x$ac_cv_func_mousemask" = xyes; then :
11593 cat >>confdefs.h <<_ACEOF
11594 #define HAVE_MOUSEMASK 1
11595 _ACEOF
11598 done
11600 LIBS="$ac_save_LIBS"
11601 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11602 case "x$with_curses" in
11603 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11604 xno) ;;
11605 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11606 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11607 esac
11610 if test "x$with_sane" != "xno"
11611 then
11612 if ${SANE_CFLAGS:+false} :; then :
11613 if ${PKG_CONFIG+:} false; then :
11614 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11617 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11618 if ${SANE_LIBS:+false} :; then :
11619 if ${PKG_CONFIG+:} false; then :
11620 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11623 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11625 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11627 ac_save_CPPFLAGS=$CPPFLAGS
11628 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11629 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11630 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11632 $as_echo_n "checking for -lsane... " >&6; }
11633 if ${ac_cv_lib_soname_sane+:} false; then :
11634 $as_echo_n "(cached) " >&6
11635 else
11636 ac_check_soname_save_LIBS=$LIBS
11637 LIBS="-lsane $SANE_LIBS $LIBS"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11644 #ifdef __cplusplus
11645 extern "C"
11646 #endif
11647 char sane_init ();
11649 main ()
11651 return sane_init ();
11653 return 0;
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657 case "$LIBEXT" in
11658 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11661 if ${ac_cv_lib_soname_sane:+false} :; then :
11662 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11663 fi ;;
11664 esac
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_soname_save_LIBS
11670 if ${ac_cv_lib_soname_sane:+false} :; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11672 $as_echo "not found" >&6; }
11673 SANE_CFLAGS=""
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11676 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11678 cat >>confdefs.h <<_ACEOF
11679 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11680 _ACEOF
11684 else
11685 SANE_CFLAGS=""
11689 CPPFLAGS=$ac_save_CPPFLAGS
11690 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11695 case "x$with_sane" in
11696 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11697 xno) ;;
11698 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11699 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11700 esac
11703 if test "x$with_v4l" != "xno"
11704 then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11706 $as_echo_n "checking for -lv4l1... " >&6; }
11707 if ${ac_cv_lib_soname_v4l1+:} false; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 ac_check_soname_save_LIBS=$LIBS
11711 LIBS="-lv4l1 $LIBS"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11718 #ifdef __cplusplus
11719 extern "C"
11720 #endif
11721 char v4l1_open ();
11723 main ()
11725 return v4l1_open ();
11727 return 0;
11729 _ACEOF
11730 if ac_fn_c_try_link "$LINENO"; then :
11731 case "$LIBEXT" in
11732 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11733 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'` ;;
11734 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11735 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11736 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11737 fi ;;
11738 esac
11740 rm -f core conftest.err conftest.$ac_objext \
11741 conftest$ac_exeext conftest.$ac_ext
11742 LIBS=$ac_check_soname_save_LIBS
11744 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11746 $as_echo "not found" >&6; }
11748 else
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11750 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11752 cat >>confdefs.h <<_ACEOF
11753 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11754 _ACEOF
11759 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11760 case "x$with_v4l" in
11761 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11762 xno) ;;
11763 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11764 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11765 esac
11768 if test "x$with_gphoto" != "xno"
11769 then
11770 if ${GPHOTO2_CFLAGS:+false} :; then :
11771 if ${PKG_CONFIG+:} false; then :
11772 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11775 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11776 if ${GPHOTO2_LIBS:+false} :; then :
11777 if ${PKG_CONFIG+:} false; then :
11778 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11781 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11782 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11783 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11784 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11785 ac_save_CPPFLAGS=$CPPFLAGS
11786 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11787 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11788 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11790 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11791 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_lib_save_LIBS=$LIBS
11795 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char gp_camera_new ();
11807 main ()
11809 return gp_camera_new ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 ac_cv_lib_gphoto2_gp_camera_new=yes
11816 else
11817 ac_cv_lib_gphoto2_gp_camera_new=no
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_lib_save_LIBS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11824 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11825 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11827 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11829 else
11830 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11833 else
11834 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11838 CPPFLAGS=$ac_save_CPPFLAGS
11839 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11840 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11842 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11843 if ${PKG_CONFIG+:} false; then :
11844 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11847 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11848 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11849 if ${PKG_CONFIG+:} false; then :
11850 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11853 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11854 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11855 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11857 ac_save_CPPFLAGS=$CPPFLAGS
11858 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11859 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11862 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11863 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 ac_check_lib_save_LIBS=$LIBS
11867 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char gp_port_info_list_new ();
11879 main ()
11881 return gp_port_info_list_new ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11888 else
11889 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11896 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11897 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11899 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11901 else
11902 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11905 else
11906 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11910 CPPFLAGS=$ac_save_CPPFLAGS
11911 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11912 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11915 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11916 case "x$with_gphoto" in
11917 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11918 xno) ;;
11919 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11920 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11921 esac
11923 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11924 case "x$with_gphoto" in
11925 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11926 xno) ;;
11927 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11928 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11929 esac
11933 if test "$ac_cv_header_resolv_h" = "yes"
11934 then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11936 $as_echo_n "checking for resolver library... " >&6; }
11937 if ${ac_cv_have_resolv+:} false; then :
11938 $as_echo_n "(cached) " >&6
11939 else
11940 ac_save_LIBS="$LIBS"
11941 for lib in '' -lresolv
11943 LIBS="$lib $ac_save_LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #ifdef HAVE_NETINET_IN_H
11947 #include <netinet/in.h>
11948 #endif
11949 #include <resolv.h>
11951 main ()
11953 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 ac_cv_have_resolv=${lib:-"none required"}
11960 else
11961 ac_cv_have_resolv="not found"
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 test "x$ac_cv_have_resolv" = "xnot found" || break
11966 done
11967 LIBS="$ac_save_LIBS"
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11970 $as_echo "$ac_cv_have_resolv" >&6; }
11972 case "$ac_cv_have_resolv" in
11973 "not found") ;;
11974 "none required")
11976 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11979 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11981 RESOLV_LIBS=$ac_cv_have_resolv
11983 esac
11986 if test "x$with_cms" != "xno"
11987 then
11988 if ${LCMS2_CFLAGS:+false} :; then :
11989 if ${PKG_CONFIG+:} false; then :
11990 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11994 if ${LCMS2_LIBS:+false} :; then :
11995 if ${PKG_CONFIG+:} false; then :
11996 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12000 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12001 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12002 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12003 ac_save_CPPFLAGS=$CPPFLAGS
12004 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12005 for ac_header in lcms2.h
12006 do :
12007 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12008 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12009 cat >>confdefs.h <<_ACEOF
12010 #define HAVE_LCMS2_H 1
12011 _ACEOF
12015 done
12017 if test "$ac_cv_header_lcms2_h" = "yes"
12018 then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12020 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12021 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 ac_check_lib_save_LIBS=$LIBS
12025 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12032 #ifdef __cplusplus
12033 extern "C"
12034 #endif
12035 char cmsOpenProfileFromFile ();
12037 main ()
12039 return cmsOpenProfileFromFile ();
12041 return 0;
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"; then :
12045 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12046 else
12047 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_lib_save_LIBS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12054 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12055 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12057 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12059 else
12060 LCMS2_LIBS=""
12063 else
12064 LCMS2_CFLAGS=""
12065 LCMS2_LIBS=""
12067 CPPFLAGS=$ac_save_CPPFLAGS
12068 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12069 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12072 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12073 case "x$with_cms" in
12074 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12075 xno) ;;
12076 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12077 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12078 esac
12081 if test "x$with_freetype" != "xno"
12082 then
12083 if ${FREETYPE_CFLAGS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12088 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12089 if ${FREETYPE_LIBS:+false} :; then :
12090 if ${PKG_CONFIG+:} false; then :
12091 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12094 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12095 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12096 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12097 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12098 ac_save_CPPFLAGS=$CPPFLAGS
12099 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12100 for ac_header in ft2build.h
12101 do :
12102 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12103 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12104 cat >>confdefs.h <<_ACEOF
12105 #define HAVE_FT2BUILD_H 1
12106 _ACEOF
12110 done
12112 if test "$ac_cv_header_ft2build_h" = "yes"
12113 then
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12115 $as_echo_n "checking for -lfreetype... " >&6; }
12116 if ${ac_cv_lib_soname_freetype+:} false; then :
12117 $as_echo_n "(cached) " >&6
12118 else
12119 ac_check_soname_save_LIBS=$LIBS
12120 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12127 #ifdef __cplusplus
12128 extern "C"
12129 #endif
12130 char FT_Init_FreeType ();
12132 main ()
12134 return FT_Init_FreeType ();
12136 return 0;
12138 _ACEOF
12139 if ac_fn_c_try_link "$LINENO"; then :
12140 case "$LIBEXT" in
12141 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12142 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'` ;;
12143 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12144 if ${ac_cv_lib_soname_freetype:+false} :; then :
12145 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12146 fi ;;
12147 esac
12149 rm -f core conftest.err conftest.$ac_objext \
12150 conftest$ac_exeext conftest.$ac_ext
12151 LIBS=$ac_check_soname_save_LIBS
12153 if ${ac_cv_lib_soname_freetype:+false} :; then :
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12155 $as_echo "not found" >&6; }
12156 FREETYPE_LIBS=""
12157 else
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12159 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12161 cat >>confdefs.h <<_ACEOF
12162 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12163 _ACEOF
12166 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12168 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12169 #include FT_MODULE_H
12171 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12173 cat >>confdefs.h <<_ACEOF
12174 #define HAVE_FT_TRUETYPEENGINETYPE 1
12175 _ACEOF
12181 else
12182 FREETYPE_CFLAGS=""
12183 FREETYPE_LIBS=""
12185 CPPFLAGS=$ac_save_CPPFLAGS
12186 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12187 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12190 if test "x$ac_cv_lib_soname_freetype" = x; then :
12191 case "x$with_freetype" in
12192 xno) ;;
12193 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12194 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12195 esac
12197 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12200 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12201 if ${ac_cv_c_ppdev+:} false; then :
12202 $as_echo_n "(cached) " >&6
12203 else
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12206 #ifdef HAVE_SYS_IOCTL_H
12207 # include <sys/ioctl.h>
12208 #endif
12209 #include <linux/ppdev.h>
12211 main ()
12213 ioctl (1,PPCLAIM,0)
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_compile "$LINENO"; then :
12219 ac_cv_c_ppdev="yes"
12220 else
12221 ac_cv_c_ppdev="no"
12223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12226 $as_echo "$ac_cv_c_ppdev" >&6; }
12227 if test "$ac_cv_c_ppdev" = "yes"
12228 then
12230 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12234 ac_wine_check_funcs_save_LIBS="$LIBS"
12235 LIBS="$LIBS $PTHREAD_LIBS"
12236 for ac_func in \
12237 pthread_attr_get_np \
12238 pthread_getattr_np \
12239 pthread_getthreadid_np \
12240 pthread_get_stackaddr_np \
12241 pthread_get_stacksize_np
12242 do :
12243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12246 cat >>confdefs.h <<_ACEOF
12247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12248 _ACEOF
12251 done
12253 LIBS="$ac_wine_check_funcs_save_LIBS"
12255 if test "$ac_cv_header_zlib_h" = "yes"
12256 then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12258 $as_echo_n "checking for inflate in -lz... " >&6; }
12259 if ${ac_cv_lib_z_inflate+:} false; then :
12260 $as_echo_n "(cached) " >&6
12261 else
12262 ac_check_lib_save_LIBS=$LIBS
12263 LIBS="-lz $LIBS"
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 char inflate ();
12275 main ()
12277 return inflate ();
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_link "$LINENO"; then :
12283 ac_cv_lib_z_inflate=yes
12284 else
12285 ac_cv_lib_z_inflate=no
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_lib_save_LIBS
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12292 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12293 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12295 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12297 Z_LIBS="-lz"
12302 if test "x$Z_LIBS" = "x"; then :
12303 case "x$with_zlib" in
12304 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12305 xno) ;;
12306 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12307 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12308 esac
12311 if test "x$enable_tools" != xno
12312 then
12313 if test "$ac_cv_header_gettext_po_h" = "yes"
12314 then
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12316 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12317 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_lib_save_LIBS=$LIBS
12321 LIBS="-lgettextpo $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char po_message_msgctxt ();
12333 main ()
12335 return po_message_msgctxt ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12342 else
12343 ac_cv_lib_gettextpo_po_message_msgctxt=no
12345 rm -f core conftest.err conftest.$ac_objext \
12346 conftest$ac_exeext conftest.$ac_ext
12347 LIBS=$ac_check_lib_save_LIBS
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12350 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12351 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12353 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12355 GETTEXTPO_LIBS="-lgettextpo"
12360 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12361 case "x$with_gettextpo" in
12362 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12363 xno) ;;
12364 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12365 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12366 esac
12370 if test "x$with_gstreamer" != "xno"
12371 then
12372 if ${GSTREAMER_CFLAGS:+false} :; then :
12373 if ${PKG_CONFIG+:} false; then :
12374 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12378 if ${GSTREAMER_LIBS:+false} :; then :
12379 if ${PKG_CONFIG+:} false; then :
12380 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12385 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12386 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12387 ac_save_CPPFLAGS=$CPPFLAGS
12388 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12389 ac_gst_incl=""
12390 for i in $GSTREAMER_CFLAGS
12392 case "$i" in
12393 -I*) ac_gst_incl="$ac_gst_incl $i";;
12394 esac
12395 done
12396 GSTREAMER_CFLAGS=$ac_gst_incl
12397 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12398 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12399 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12400 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12401 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12403 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #include <gst/app/gstappsink.h>
12408 main ()
12410 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_compile "$LINENO"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12417 $as_echo "yes" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12419 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12420 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 ac_check_lib_save_LIBS=$LIBS
12424 LIBS="-lgstreamer-0.10 $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12431 #ifdef __cplusplus
12432 extern "C"
12433 #endif
12434 char gst_pad_get_caps_reffed ();
12436 main ()
12438 return gst_pad_get_caps_reffed ();
12440 return 0;
12442 _ACEOF
12443 if ac_fn_c_try_link "$LINENO"; then :
12444 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12445 else
12446 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12448 rm -f core conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450 LIBS=$ac_check_lib_save_LIBS
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12453 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12454 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12456 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12457 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_check_lib_save_LIBS=$LIBS
12461 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 #ifdef __cplusplus
12469 extern "C"
12470 #endif
12471 char gst_app_buffer_new ();
12473 main ()
12475 return gst_app_buffer_new ();
12477 return 0;
12479 _ACEOF
12480 if ac_fn_c_try_link "$LINENO"; then :
12481 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12482 else
12483 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_lib_save_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12490 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12491 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12497 else
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12505 else
12506 GSTREAMER_CFLAGS=""
12510 CPPFLAGS=$ac_save_CPPFLAGS
12511 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12512 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12515 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12516 case "x$with_gstreamer" in
12517 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12518 xno) ;;
12519 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12520 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12521 esac
12523 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12525 ALSA_LIBS=""
12527 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12528 then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12530 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12531 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12532 $as_echo_n "(cached) " >&6
12533 else
12534 ac_check_lib_save_LIBS=$LIBS
12535 LIBS="-lasound $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 #ifdef __cplusplus
12543 extern "C"
12544 #endif
12545 char snd_pcm_hw_params_get_access_mask ();
12547 main ()
12549 return snd_pcm_hw_params_get_access_mask ();
12551 return 0;
12553 _ACEOF
12554 if ac_fn_c_try_link "$LINENO"; then :
12555 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12556 else
12557 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12559 rm -f core conftest.err conftest.$ac_objext \
12560 conftest$ac_exeext conftest.$ac_ext
12561 LIBS=$ac_check_lib_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12564 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12565 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #ifdef HAVE_ALSA_ASOUNDLIB_H
12569 #include <alsa/asoundlib.h>
12570 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12571 #include <sys/asoundlib.h>
12572 #endif
12574 main ()
12576 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_compile "$LINENO"; then :
12582 ALSA_LIBS="-lasound"
12584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12589 if test "x$with_oss" != xno
12590 then
12591 ac_save_CPPFLAGS="$CPPFLAGS"
12592 if test -f /etc/oss.conf
12593 then
12594 . /etc/oss.conf
12596 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12597 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12598 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12599 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12600 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12602 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12606 _ACEOF
12608 OSS4_CFLAGS="$ac_oss_incl"
12615 CPPFLAGS="$ac_save_CPPFLAGS"
12616 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12617 then
12618 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12622 if test "x$with_capi" != "xno"
12623 then
12624 if ${CAPI20_CFLAGS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12630 if ${CAPI20_LIBS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12637 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12638 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12639 ac_save_CPPFLAGS=$CPPFLAGS
12640 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12641 for ac_header in capi20.h linux/capi.h
12642 do :
12643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12644 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12646 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12647 cat >>confdefs.h <<_ACEOF
12648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12649 _ACEOF
12653 done
12655 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12656 then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12658 $as_echo_n "checking for -lcapi20... " >&6; }
12659 if ${ac_cv_lib_soname_capi20+:} false; then :
12660 $as_echo_n "(cached) " >&6
12661 else
12662 ac_check_soname_save_LIBS=$LIBS
12663 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char capi20_register ();
12675 main ()
12677 return capi20_register ();
12679 return 0;
12681 _ACEOF
12682 if ac_fn_c_try_link "$LINENO"; then :
12683 case "$LIBEXT" in
12684 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_capi20:+false} :; then :
12688 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12689 fi ;;
12690 esac
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if ${ac_cv_lib_soname_capi20:+false} :; then :
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12698 $as_echo "not found" >&6; }
12700 else
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12702 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12704 cat >>confdefs.h <<_ACEOF
12705 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12706 _ACEOF
12711 CPPFLAGS=$ac_save_CPPFLAGS
12712 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12713 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12716 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12717 case "x$with_capi" in
12718 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12719 xno) ;;
12720 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12721 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12722 esac
12725 CUPS_CFLAGS=""
12727 if test "x$with_cups" != "xno"
12728 then
12729 ac_save_CPPFLAGS="$CPPFLAGS"
12730 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12731 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12732 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12733 for ac_header in cups/cups.h
12734 do :
12735 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12736 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12737 cat >>confdefs.h <<_ACEOF
12738 #define HAVE_CUPS_CUPS_H 1
12739 _ACEOF
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12741 $as_echo_n "checking for -lcups... " >&6; }
12742 if ${ac_cv_lib_soname_cups+:} false; then :
12743 $as_echo_n "(cached) " >&6
12744 else
12745 ac_check_soname_save_LIBS=$LIBS
12746 LIBS="-lcups $ac_cups_libs $LIBS"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12753 #ifdef __cplusplus
12754 extern "C"
12755 #endif
12756 char cupsGetDefault ();
12758 main ()
12760 return cupsGetDefault ();
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_link "$LINENO"; then :
12766 case "$LIBEXT" in
12767 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12768 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'` ;;
12769 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12770 if ${ac_cv_lib_soname_cups:+false} :; then :
12771 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12772 fi ;;
12773 esac
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_soname_save_LIBS
12779 if ${ac_cv_lib_soname_cups:+false} :; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12781 $as_echo "not found" >&6; }
12783 else
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12785 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12787 cat >>confdefs.h <<_ACEOF
12788 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12789 _ACEOF
12791 CUPS_CFLAGS="$ac_cups_cflags"
12795 done
12797 CPPFLAGS="$ac_save_CPPFLAGS"
12799 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12800 case "x$with_cups" in
12801 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12802 xno) ;;
12803 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12804 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12805 esac
12808 if test "x$with_fontconfig" != "xno"
12809 then
12810 if ${FONTCONFIG_CFLAGS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12815 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12816 if ${FONTCONFIG_LIBS:+false} :; then :
12817 if ${PKG_CONFIG+:} false; then :
12818 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12821 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12823 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12824 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12827 for ac_header in fontconfig/fontconfig.h
12828 do :
12829 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12830 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12833 _ACEOF
12837 done
12839 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12842 $as_echo_n "checking for -lfontconfig... " >&6; }
12843 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_soname_save_LIBS=$LIBS
12847 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char FcInit ();
12859 main ()
12861 return FcInit ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 case "$LIBEXT" in
12868 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12871 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12872 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 fi ;;
12874 esac
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12883 FONTCONFIG_CFLAGS=""
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12886 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12888 cat >>confdefs.h <<_ACEOF
12889 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12890 _ACEOF
12894 else
12895 FONTCONFIG_CFLAGS=""
12897 CPPFLAGS=$ac_save_CPPFLAGS
12898 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12899 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12902 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12903 case "x$with_fontconfig" in
12904 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12905 xno) ;;
12906 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12907 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12908 esac
12911 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12912 then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12914 $as_echo_n "checking for -lgsm... " >&6; }
12915 if ${ac_cv_lib_soname_gsm+:} false; then :
12916 $as_echo_n "(cached) " >&6
12917 else
12918 ac_check_soname_save_LIBS=$LIBS
12919 LIBS="-lgsm $LIBS"
12920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 /* Override any GCC internal prototype to avoid an error.
12924 Use char because int might match the return type of a GCC
12925 builtin and then its argument prototype would still apply. */
12926 #ifdef __cplusplus
12927 extern "C"
12928 #endif
12929 char gsm_create ();
12931 main ()
12933 return gsm_create ();
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_link "$LINENO"; then :
12939 case "$LIBEXT" in
12940 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12941 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'` ;;
12942 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12943 if ${ac_cv_lib_soname_gsm:+false} :; then :
12944 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12945 fi ;;
12946 esac
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12950 LIBS=$ac_check_soname_save_LIBS
12952 if ${ac_cv_lib_soname_gsm:+false} :; then :
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12954 $as_echo "not found" >&6; }
12956 else
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12958 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12960 cat >>confdefs.h <<_ACEOF
12961 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12962 _ACEOF
12967 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12968 case "x$with_gsm" in
12969 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12970 xno) ;;
12971 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12972 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12973 esac
12976 if test "x$with_jpeg" != "xno"
12977 then
12978 if ${JPEG_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false; then :
12980 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12984 if ${JPEG_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false; then :
12986 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12993 ac_save_CPPFLAGS=$CPPFLAGS
12994 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12995 for ac_header in jpeglib.h
12996 do :
12997 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define HAVE_JPEGLIB_H 1
13001 _ACEOF
13005 done
13007 if test "$ac_cv_header_jpeglib_h" = "yes"
13008 then
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13010 $as_echo_n "checking for -ljpeg... " >&6; }
13011 if ${ac_cv_lib_soname_jpeg+:} false; then :
13012 $as_echo_n "(cached) " >&6
13013 else
13014 ac_check_soname_save_LIBS=$LIBS
13015 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13022 #ifdef __cplusplus
13023 extern "C"
13024 #endif
13025 char jpeg_start_decompress ();
13027 main ()
13029 return jpeg_start_decompress ();
13031 return 0;
13033 _ACEOF
13034 if ac_fn_c_try_link "$LINENO"; then :
13035 case "$LIBEXT" in
13036 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13037 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'` ;;
13038 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13039 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13040 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13041 fi ;;
13042 esac
13044 rm -f core conftest.err conftest.$ac_objext \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_soname_save_LIBS
13048 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13050 $as_echo "not found" >&6; }
13051 JPEG_CFLAGS=""
13052 else
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13054 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13056 cat >>confdefs.h <<_ACEOF
13057 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13058 _ACEOF
13062 else
13063 JPEG_CFLAGS=""
13065 CPPFLAGS=$ac_save_CPPFLAGS
13066 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13067 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13070 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13071 case "x$with_jpeg" in
13072 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13073 xno) ;;
13074 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13075 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13076 esac
13079 if test "x$with_png" != "xno"
13080 then
13081 if ${PNG_CFLAGS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13086 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13087 if ${PNG_LIBS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13092 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13094 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13095 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13096 ac_save_CPPFLAGS=$CPPFLAGS
13097 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13098 for ac_header in png.h
13099 do :
13100 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13101 if test "x$ac_cv_header_png_h" = xyes; then :
13102 cat >>confdefs.h <<_ACEOF
13103 #define HAVE_PNG_H 1
13104 _ACEOF
13108 done
13110 if test "$ac_cv_header_png_h" = "yes"
13111 then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13113 $as_echo_n "checking for -lpng... " >&6; }
13114 if ${ac_cv_lib_soname_png+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char png_create_read_struct ();
13130 main ()
13132 return png_create_read_struct ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) 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'`
13142 if ${ac_cv_lib_soname_png:+false} :; then :
13143 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_png:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13154 PNG_CFLAGS=""
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13157 $as_echo "$ac_cv_lib_soname_png" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13161 _ACEOF
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13165 #include <png.h>
13167 main ()
13169 typeof(png_set_expand_gray_1_2_4_to_8) *p
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_compile "$LINENO"; then :
13176 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13181 else
13182 PNG_CFLAGS=""
13184 CPPFLAGS=$ac_save_CPPFLAGS
13185 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13186 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13189 if test "x$ac_cv_lib_soname_png" = "x"; then :
13190 case "x$with_png" in
13191 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13192 xno) ;;
13193 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13194 This is an error since --with-png was requested." "$LINENO" 5 ;;
13195 esac
13198 if test "x$with_tiff" != "xno"
13199 then
13200 if ${TIFF_CFLAGS:+false} :; then :
13201 if ${PKG_CONFIG+:} false; then :
13202 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13206 if ${TIFF_LIBS:+false} :; then :
13207 if ${PKG_CONFIG+:} false; then :
13208 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13213 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13215 ac_save_CPPFLAGS=$CPPFLAGS
13216 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13217 for ac_header in tiffio.h
13218 do :
13219 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13220 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_TIFFIO_H 1
13223 _ACEOF
13227 done
13229 if test "$ac_cv_header_tiffio_h" = "yes"
13230 then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13232 $as_echo_n "checking for -ltiff... " >&6; }
13233 if ${ac_cv_lib_soname_tiff+:} false; then :
13234 $as_echo_n "(cached) " >&6
13235 else
13236 ac_check_soname_save_LIBS=$LIBS
13237 LIBS="-ltiff $TIFF_LIBS $LIBS"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13241 /* Override any GCC internal prototype to avoid an error.
13242 Use char because int might match the return type of a GCC
13243 builtin and then its argument prototype would still apply. */
13244 #ifdef __cplusplus
13245 extern "C"
13246 #endif
13247 char TIFFClientOpen ();
13249 main ()
13251 return TIFFClientOpen ();
13253 return 0;
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 case "$LIBEXT" in
13258 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13259 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'` ;;
13260 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13261 if ${ac_cv_lib_soname_tiff:+false} :; then :
13262 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13263 fi ;;
13264 esac
13266 rm -f core conftest.err conftest.$ac_objext \
13267 conftest$ac_exeext conftest.$ac_ext
13268 LIBS=$ac_check_soname_save_LIBS
13270 if ${ac_cv_lib_soname_tiff:+false} :; then :
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13272 $as_echo "not found" >&6; }
13274 else
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13276 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13278 cat >>confdefs.h <<_ACEOF
13279 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13280 _ACEOF
13285 CPPFLAGS=$ac_save_CPPFLAGS
13286 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13287 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13290 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13291 case "x$with_tiff" in
13292 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13295 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13296 esac
13299 if test "x$with_mpg123" != "xno"
13300 then
13301 if ${MPG123_CFLAGS:+false} :; then :
13302 if ${PKG_CONFIG+:} false; then :
13303 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13307 if ${MPG123_LIBS:+false} :; then :
13308 if ${PKG_CONFIG+:} false; then :
13309 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13313 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13316 ac_save_CPPFLAGS=$CPPFLAGS
13317 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13318 for ac_header in mpg123.h
13319 do :
13320 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13321 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13322 cat >>confdefs.h <<_ACEOF
13323 #define HAVE_MPG123_H 1
13324 _ACEOF
13328 done
13330 if test "$ac_cv_header_mpg123_h" = "yes"
13331 then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13333 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13334 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13335 $as_echo_n "(cached) " >&6
13336 else
13337 ac_check_lib_save_LIBS=$LIBS
13338 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13345 #ifdef __cplusplus
13346 extern "C"
13347 #endif
13348 char mpg123_feed ();
13350 main ()
13352 return mpg123_feed ();
13354 return 0;
13356 _ACEOF
13357 if ac_fn_c_try_link "$LINENO"; then :
13358 ac_cv_lib_mpg123_mpg123_feed=yes
13359 else
13360 ac_cv_lib_mpg123_mpg123_feed=no
13362 rm -f core conftest.err conftest.$ac_objext \
13363 conftest$ac_exeext conftest.$ac_ext
13364 LIBS=$ac_check_lib_save_LIBS
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13367 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13368 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13370 else
13371 MPG123_LIBS=""
13374 else
13375 MPG123_CFLAGS=""
13376 MPG123_LIBS=""
13378 CPPFLAGS=$ac_save_CPPFLAGS
13379 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13380 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13383 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13384 case "x$with_mpg123" in
13385 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13386 xno) ;;
13387 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13388 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13389 esac
13391 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}
13393 if test "$ac_cv_header_AL_al_h" = "yes"
13394 then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13396 $as_echo_n "checking for -lopenal... " >&6; }
13397 if ${ac_cv_lib_soname_openal+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_soname_save_LIBS=$LIBS
13401 LIBS="-lopenal $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char alGetSource3i ();
13413 main ()
13415 return alGetSource3i ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 case "$LIBEXT" in
13422 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 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'` ;;
13424 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13425 if ${ac_cv_lib_soname_openal:+false} :; then :
13426 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13427 fi ;;
13428 esac
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_openal:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13438 else
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13440 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13444 _ACEOF
13446 OPENAL_LIBS="-lopenal"
13448 ac_cv_lib_openal=yes
13450 cat >>confdefs.h <<_ACEOF
13451 #define HAVE_OPENAL 1
13452 _ACEOF
13456 if test "x$ac_cv_lib_openal" != xyes; then :
13457 case "x$with_openal" in
13458 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13459 xno) ;;
13460 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13461 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13462 esac
13464 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13466 if test "$ac_cv_header_kstat_h" = "yes"
13467 then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13469 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13470 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13471 $as_echo_n "(cached) " >&6
13472 else
13473 ac_check_lib_save_LIBS=$LIBS
13474 LIBS="-lkstat $LIBS"
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13481 #ifdef __cplusplus
13482 extern "C"
13483 #endif
13484 char kstat_open ();
13486 main ()
13488 return kstat_open ();
13490 return 0;
13492 _ACEOF
13493 if ac_fn_c_try_link "$LINENO"; then :
13494 ac_cv_lib_kstat_kstat_open=yes
13495 else
13496 ac_cv_lib_kstat_kstat_open=no
13498 rm -f core conftest.err conftest.$ac_objext \
13499 conftest$ac_exeext conftest.$ac_ext
13500 LIBS=$ac_check_lib_save_LIBS
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13503 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13504 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13506 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13508 KSTAT_LIBS="-lkstat"
13514 if test "$ac_cv_header_libprocstat_h" = "yes"
13515 then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13517 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13518 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_lib_save_LIBS=$LIBS
13522 LIBS="-lprocstat $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char procstat_open_sysctl ();
13534 main ()
13536 return procstat_open_sysctl ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 ac_cv_lib_procstat_procstat_open_sysctl=yes
13543 else
13544 ac_cv_lib_procstat_procstat_open_sysctl=no
13546 rm -f core conftest.err conftest.$ac_objext \
13547 conftest$ac_exeext conftest.$ac_ext
13548 LIBS=$ac_check_lib_save_LIBS
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13551 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13552 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13554 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13556 PROCSTAT_LIBS="-lprocstat"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13563 $as_echo_n "checking for -lodbc... " >&6; }
13564 if ${ac_cv_lib_soname_odbc+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 ac_check_soname_save_LIBS=$LIBS
13568 LIBS="-lodbc $LIBS"
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13575 #ifdef __cplusplus
13576 extern "C"
13577 #endif
13578 char SQLConnect ();
13580 main ()
13582 return SQLConnect ();
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_link "$LINENO"; then :
13588 case "$LIBEXT" in
13589 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13590 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'` ;;
13591 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13592 if ${ac_cv_lib_soname_odbc:+false} :; then :
13593 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13594 fi ;;
13595 esac
13597 rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS=$ac_check_soname_save_LIBS
13601 if ${ac_cv_lib_soname_odbc:+false} :; then :
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13603 $as_echo "not found" >&6; }
13604 cat >>confdefs.h <<_ACEOF
13605 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13606 _ACEOF
13608 else
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13610 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13612 cat >>confdefs.h <<_ACEOF
13613 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13614 _ACEOF
13619 if test "x$with_netapi" != "xno"
13620 then
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13622 $as_echo_n "checking for -lnetapi... " >&6; }
13623 if ${ac_cv_lib_soname_netapi+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_check_soname_save_LIBS=$LIBS
13627 LIBS="-lnetapi $LIBS"
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13634 #ifdef __cplusplus
13635 extern "C"
13636 #endif
13637 char libnetapi_init ();
13639 main ()
13641 return libnetapi_init ();
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_link "$LINENO"; then :
13647 case "$LIBEXT" in
13648 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13649 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'` ;;
13650 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13651 if ${ac_cv_lib_soname_netapi:+false} :; then :
13652 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13653 fi ;;
13654 esac
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_soname_save_LIBS
13660 if ${ac_cv_lib_soname_netapi:+false} :; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13662 $as_echo "not found" >&6; }
13663 cat >>confdefs.h <<_ACEOF
13664 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13665 _ACEOF
13667 else
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13669 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13671 cat >>confdefs.h <<_ACEOF
13672 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13673 _ACEOF
13679 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13680 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13681 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13682 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13684 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13685 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13686 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13687 then
13688 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13692 EXTRACFLAGS=""
13694 if test "x${GCC}" = "xyes"
13695 then
13696 EXTRACFLAGS="-Wall -pipe"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13699 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13700 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13701 $as_echo_n "(cached) " >&6
13702 else
13703 if test "$cross_compiling" = yes; then :
13704 ac_cv_c_gcc_strength_bug="yes"
13705 else
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 int L[4] = {0,1,2,3};
13710 main ()
13712 static int Array[3];
13713 unsigned int B = 3;
13714 int i;
13715 for(i=0; i<B; i++) Array[i] = i - 3;
13716 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13717 L[i] = 4;
13718 return (Array[1] != -2 || L[2] != 3)
13720 return 0;
13722 _ACEOF
13723 if ac_fn_c_try_run "$LINENO"; then :
13724 ac_cv_c_gcc_strength_bug="no"
13725 else
13726 ac_cv_c_gcc_strength_bug="yes"
13728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13729 conftest.$ac_objext conftest.beam conftest.$ac_ext
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13734 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13735 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13736 then
13737 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13741 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13742 if ${ac_cv_cflags__fno_builtin+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_wine_try_cflags_saved=$CFLAGS
13746 CFLAGS="$CFLAGS -fno-builtin"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 ac_cv_cflags__fno_builtin=yes
13753 else
13754 ac_cv_cflags__fno_builtin=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 CFLAGS=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13761 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13762 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13763 BUILTINFLAG="-fno-builtin"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13767 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13768 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 ac_wine_try_cflags_saved=$CFLAGS
13772 CFLAGS="$CFLAGS -fno-strict-aliasing"
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778 ac_cv_cflags__fno_strict_aliasing=yes
13779 else
13780 ac_cv_cflags__fno_strict_aliasing=no
13782 rm -f core conftest.err conftest.$ac_objext \
13783 conftest$ac_exeext conftest.$ac_ext
13784 CFLAGS=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13787 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13788 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13789 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13791 saved_CFLAGS=$CFLAGS
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13793 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13794 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13795 $as_echo_n "(cached) " >&6
13796 else
13797 ac_wine_try_cflags_saved=$CFLAGS
13798 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 int main(int argc, char **argv) { return 0; }
13802 _ACEOF
13803 if ac_fn_c_try_link "$LINENO"; then :
13804 ac_cv_cflags__Werror_unknown_warning_option=yes
13805 else
13806 ac_cv_cflags__Werror_unknown_warning_option=no
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13810 CFLAGS=$ac_wine_try_cflags_saved
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13813 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13814 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13815 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13818 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13819 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_wine_try_cflags_saved=$CFLAGS
13823 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826 int main(int argc, char **argv) { return 0; }
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"; then :
13829 ac_cv_cflags__Wdeclaration_after_statement=yes
13830 else
13831 ac_cv_cflags__Wdeclaration_after_statement=no
13833 rm -f core conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 CFLAGS=$ac_wine_try_cflags_saved
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13838 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13839 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13840 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13843 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13844 if ${ac_cv_cflags__Wempty_body+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_wine_try_cflags_saved=$CFLAGS
13848 CFLAGS="$CFLAGS -Wempty-body"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13851 int main(int argc, char **argv) { return 0; }
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 ac_cv_cflags__Wempty_body=yes
13855 else
13856 ac_cv_cflags__Wempty_body=no
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 CFLAGS=$ac_wine_try_cflags_saved
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13863 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13864 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13865 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13868 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13869 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_wine_try_cflags_saved=$CFLAGS
13873 CFLAGS="$CFLAGS -Wignored-qualifiers"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13877 _ACEOF
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_cflags__Wignored_qualifiers=yes
13880 else
13881 ac_cv_cflags__Wignored_qualifiers=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 CFLAGS=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13888 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13889 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13890 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13893 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13894 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_wine_try_cflags_saved=$CFLAGS
13898 CFLAGS="$CFLAGS -Wstrict-prototypes"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13902 _ACEOF
13903 if ac_fn_c_try_link "$LINENO"; then :
13904 ac_cv_cflags__Wstrict_prototypes=yes
13905 else
13906 ac_cv_cflags__Wstrict_prototypes=no
13908 rm -f core conftest.err conftest.$ac_objext \
13909 conftest$ac_exeext conftest.$ac_ext
13910 CFLAGS=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13913 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13914 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13915 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13918 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13919 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 ac_wine_try_cflags_saved=$CFLAGS
13923 CFLAGS="$CFLAGS -Wtype-limits"
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 ac_cv_cflags__Wtype_limits=yes
13930 else
13931 ac_cv_cflags__Wtype_limits=no
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 CFLAGS=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13938 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13939 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13940 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13943 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13944 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 ac_wine_try_cflags_saved=$CFLAGS
13948 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 int main(int argc, char **argv) { return 0; }
13952 _ACEOF
13953 if ac_fn_c_try_link "$LINENO"; then :
13954 ac_cv_cflags__Wunused_but_set_parameter=yes
13955 else
13956 ac_cv_cflags__Wunused_but_set_parameter=no
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13960 CFLAGS=$ac_wine_try_cflags_saved
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13963 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13964 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13965 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13968 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13969 if ${ac_cv_cflags__Wvla+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_wine_try_cflags_saved=$CFLAGS
13973 CFLAGS="$CFLAGS -Wvla"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_cflags__Wvla=yes
13980 else
13981 ac_cv_cflags__Wvla=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13988 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13989 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13990 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13993 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13994 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_wine_try_cflags_saved=$CFLAGS
13998 CFLAGS="$CFLAGS -Wwrite-strings"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int main(int argc, char **argv) { return 0; }
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 ac_cv_cflags__Wwrite_strings=yes
14005 else
14006 ac_cv_cflags__Wwrite_strings=no
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 CFLAGS=$ac_wine_try_cflags_saved
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14013 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14014 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14015 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14019 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14020 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -Wpointer-arith"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14028 _ACEOF
14029 if ac_fn_c_try_link "$LINENO"; then :
14030 ac_cv_cflags__Wpointer_arith=yes
14031 else
14032 ac_cv_cflags__Wpointer_arith=no
14034 rm -f core conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14039 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14040 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14041 saved_string_h_CFLAGS=$CFLAGS
14042 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14044 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14045 if ${ac_cv_c_string_h_warnings+:} false; then :
14046 $as_echo_n "(cached) " >&6
14047 else
14048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14050 #include <string.h>
14052 main ()
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_compile "$LINENO"; then :
14060 ac_cv_c_string_h_warnings=no
14061 else
14062 ac_cv_c_string_h_warnings=yes
14064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14067 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14068 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14069 CFLAGS=$saved_string_h_CFLAGS
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14073 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14074 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_wine_try_cflags_saved=$CFLAGS
14078 CFLAGS="$CFLAGS -Wlogical-op"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_cflags__Wlogical_op=yes
14085 else
14086 ac_cv_cflags__Wlogical_op=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 CFLAGS=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14093 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14094 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14095 saved_string_h_CFLAGS=$CFLAGS
14096 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14098 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14099 if ${ac_cv_c_logicalop_noisy+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 #include <string.h>
14105 char*f(const char *h,char n) {return strchr(h,n);}
14107 main ()
14111 return 0;
14113 _ACEOF
14114 if ac_fn_c_try_compile "$LINENO"; then :
14115 ac_cv_c_logicalop_noisy=no
14116 else
14117 ac_cv_c_logicalop_noisy=yes
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14122 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14123 CFLAGS=$saved_string_h_CFLAGS
14124 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14127 CFLAGS=$saved_CFLAGS
14129 for ac_flag in $CFLAGS; do
14130 case $ac_flag in
14131 -g) case $host_os in
14132 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14133 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14134 if ${ac_cv_cflags__gstabsp+:} false; then :
14135 $as_echo_n "(cached) " >&6
14136 else
14137 ac_wine_try_cflags_saved=$CFLAGS
14138 CFLAGS="$CFLAGS -gstabs+"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 int main(int argc, char **argv) { return 0; }
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 ac_cv_cflags__gstabsp=yes
14145 else
14146 ac_cv_cflags__gstabsp=no
14148 rm -f core conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 CFLAGS=$ac_wine_try_cflags_saved
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14153 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14154 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14155 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14156 fi ;;
14157 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14158 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14159 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14160 $as_echo_n "(cached) " >&6
14161 else
14162 ac_wine_try_cflags_saved=$CFLAGS
14163 CFLAGS="$CFLAGS -gdwarf-2"
14164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14166 int main(int argc, char **argv) { return 0; }
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"; then :
14169 ac_cv_cflags__gdwarf_2=yes
14170 else
14171 ac_cv_cflags__gdwarf_2=no
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 CFLAGS=$ac_wine_try_cflags_saved
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14178 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14179 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14180 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14183 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14184 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 ac_wine_try_cflags_saved=$CFLAGS
14188 CFLAGS="$CFLAGS -gstrict-dwarf"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 int main(int argc, char **argv) { return 0; }
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 ac_cv_cflags__gstrict_dwarf=yes
14195 else
14196 ac_cv_cflags__gstrict_dwarf=no
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14200 CFLAGS=$ac_wine_try_cflags_saved
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14203 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14204 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14205 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14206 fi ;;
14207 esac ;;
14208 esac
14209 done
14211 case $host_cpu in
14212 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14213 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14214 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_wine_try_cflags_saved=$CFLAGS
14218 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int main(int argc, char **argv) { return 0; }
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"; then :
14224 ac_cv_cflags__fno_omit_frame_pointer=yes
14225 else
14226 ac_cv_cflags__fno_omit_frame_pointer=no
14228 rm -f core conftest.err conftest.$ac_objext \
14229 conftest$ac_exeext conftest.$ac_ext
14230 CFLAGS=$ac_wine_try_cflags_saved
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14233 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14234 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14235 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14236 fi ;;
14237 esac
14239 case $host in
14240 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14241 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14242 if ${ac_cv_cflags__Wno_format+:} false; then :
14243 $as_echo_n "(cached) " >&6
14244 else
14245 ac_wine_try_cflags_saved=$CFLAGS
14246 CFLAGS="$CFLAGS -Wno-format"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14249 int main(int argc, char **argv) { return 0; }
14250 _ACEOF
14251 if ac_fn_c_try_link "$LINENO"; then :
14252 ac_cv_cflags__Wno_format=yes
14253 else
14254 ac_cv_cflags__Wno_format=no
14256 rm -f core conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 CFLAGS=$ac_wine_try_cflags_saved
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14261 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14262 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14263 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14264 fi ;;
14265 esac
14267 if test "x$enable_maintainer_mode" = "xyes"
14268 then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14270 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14271 if ${ac_cv_cflags__Werror+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 ac_wine_try_cflags_saved=$CFLAGS
14275 CFLAGS="$CFLAGS -Werror"
14276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 int main(int argc, char **argv) { return 0; }
14279 _ACEOF
14280 if ac_fn_c_try_link "$LINENO"; then :
14281 ac_cv_cflags__Werror=yes
14282 else
14283 ac_cv_cflags__Werror=no
14285 rm -f core conftest.err conftest.$ac_objext \
14286 conftest$ac_exeext conftest.$ac_ext
14287 CFLAGS=$ac_wine_try_cflags_saved
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14290 $as_echo "$ac_cv_cflags__Werror" >&6; }
14291 if test "x$ac_cv_cflags__Werror" = xyes; then :
14292 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14296 saved_CFLAGS="$CFLAGS"
14297 CFLAGS="$CFLAGS -Werror"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14299 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14300 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14301 $as_echo_n "(cached) " >&6
14302 else
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14307 main ()
14311 return 0;
14313 _ACEOF
14314 if ac_fn_c_try_compile "$LINENO"; then :
14315 ac_cv_have_ms_hook_prologue="yes"
14316 else
14317 ac_cv_have_ms_hook_prologue="no"
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14322 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14323 CFLAGS="$saved_CFLAGS"
14324 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14325 then
14327 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14329 else
14330 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14337 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14338 if ${ac_cv_c_fortify_enabled+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 #include <string.h>
14345 main ()
14347 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14348 #error Fortify enabled
14349 #endif
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_compile "$LINENO"; then :
14355 ac_cv_c_fortify_enabled=no
14356 else
14357 ac_cv_c_fortify_enabled=yes
14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14362 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14363 if test "$ac_cv_c_fortify_enabled" = yes
14364 then
14365 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14370 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14371 if ${ac_cv_c_extern_prefix+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 extern int ac_test;
14378 main ()
14380 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14382 return 0;
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 ac_cv_c_extern_prefix="yes"
14387 else
14388 ac_cv_c_extern_prefix="no"
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14394 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14396 case $host_cpu in
14397 *i[3456789]86*)
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14399 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14400 if ${ac_cv_c_stdcall_suffix+:} false; then :
14401 $as_echo_n "(cached) " >&6
14402 else
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14405 #ifndef _MSC_VER
14406 #define __stdcall __attribute__((__stdcall__))
14407 #endif
14408 int __stdcall ac_test(int i) { return i; }
14410 main ()
14412 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14414 return 0;
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_c_stdcall_suffix="yes"
14419 else
14420 ac_cv_c_stdcall_suffix="no"
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14426 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14427 *) ac_cv_c_stdcall_suffix="no" ;;
14428 esac
14431 if test "$ac_cv_c_extern_prefix" = "yes"
14432 then
14433 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14435 asm_name_prefix="_"
14436 else
14437 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14439 asm_name_prefix=""
14443 if test "$ac_cv_c_stdcall_suffix" = "yes"
14444 then
14445 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14447 else
14448 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14454 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14455 if ${ac_cv_asm_func_def+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14462 main ()
14464 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_asm_func_def=".def"
14471 else
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14476 main ()
14478 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14480 return 0;
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_asm_func_def=".type @function"
14485 else
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14490 main ()
14492 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14494 return 0;
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_asm_func_def=".type 2"
14499 else
14500 ac_cv_asm_func_def="unknown"
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14508 rm -f core conftest.err conftest.$ac_objext \
14509 conftest$ac_exeext conftest.$ac_ext
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14512 $as_echo "$ac_cv_asm_func_def" >&6; }
14515 case "$ac_cv_asm_func_def" in
14516 ".def")
14517 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14519 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14520 ".type @function")
14521 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14523 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14524 ".type 2")
14525 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14527 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14529 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14531 asm_func_header="" ;;
14532 esac
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14535 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14536 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 asm(".text\n\t.long 0");
14543 main ()
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_compile "$LINENO"; then :
14551 ac_cv_c_asm_outside_funcs="yes"
14552 else
14553 ac_cv_c_asm_outside_funcs="no"
14555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14558 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14561 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14562 if ${ac_cv_c_dot_previous+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14569 main ()
14571 asm(".text\nac_test:\t.long 0\n\t.previous");
14573 return 0;
14575 _ACEOF
14576 if ac_fn_c_try_link "$LINENO"; then :
14577 ac_cv_c_dot_previous="yes"
14578 else
14579 ac_cv_c_dot_previous="no"
14581 rm -f core conftest.err conftest.$ac_objext \
14582 conftest$ac_exeext conftest.$ac_ext
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14585 $as_echo "$ac_cv_c_dot_previous" >&6; }
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14588 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14589 if ${ac_cv_c_cfi_support+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14596 main ()
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_compile "$LINENO"; then :
14604 ac_cv_c_cfi_support="yes"
14605 else
14606 ac_cv_c_cfi_support="no"
14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14611 $as_echo "$ac_cv_c_cfi_support" >&6; }
14613 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14614 asm_func_trailer=""
14615 if test "$ac_cv_c_dot_previous" = "yes"
14616 then
14617 asm_func_trailer="\\n\\t.previous"
14619 if test "$ac_cv_c_cfi_support" = "yes"
14620 then
14621 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14622 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14624 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14626 UNWINDFLAGS=-fasynchronous-unwind-tables
14628 else
14629 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14633 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14636 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14637 then
14638 cat >>confdefs.h <<_ACEOF
14639 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14640 _ACEOF
14642 else
14643 cat >>confdefs.h <<_ACEOF
14644 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14645 _ACEOF
14649 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14652 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14656 case $build_os in
14657 cygwin*|mingw32*) TOOLSEXT=".exe"
14659 esac
14661 case $host_os in
14662 linux*)
14663 case $host_cpu in
14664 *i[3456789]86*|x86_64*)
14665 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14666 loader_programs="$loader_programs $wine_binary-preloader"
14667 as_fn_append LOADER_RULES "
14668 $wine_binary-preloader: preloader.o
14669 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14671 install install-lib:: $wine_binary-preloader
14672 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14674 uninstall::
14675 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14677 preloader_EXTRADEFS = $BUILTINFLAG
14678 " ;;
14679 esac
14681 esac
14682 as_fn_append LOADER_RULES "
14683 PROGRAMS = $loader_programs
14687 ac_save_CFLAGS="$CFLAGS"
14688 CFLAGS="$CFLAGS $BUILTINFLAG"
14689 for ac_func in \
14690 __res_get_state \
14691 __res_getservers \
14692 _finite \
14693 _isnan \
14694 _pclose \
14695 _popen \
14696 _snprintf \
14697 _spawnvp \
14698 _strdup \
14699 _stricmp \
14700 _strnicmp \
14701 _strtoi64 \
14702 _strtoui64 \
14703 _vsnprintf \
14704 asctime_r \
14705 chsize \
14706 dlopen \
14707 epoll_create \
14708 ffs \
14709 finitef \
14710 fnmatch \
14711 fork \
14712 fpclass \
14713 fstatfs \
14714 fstatvfs \
14715 ftruncate \
14716 futimens \
14717 futimes \
14718 futimesat \
14719 getattrlist \
14720 getdirentries \
14721 getopt_long_only \
14722 getpwuid \
14723 gettimeofday \
14724 getuid \
14725 if_nameindex \
14726 isnanf \
14727 kqueue \
14728 lstat \
14729 memmove \
14730 mmap \
14731 pclose \
14732 pipe2 \
14733 poll \
14734 popen \
14735 port_create \
14736 prctl \
14737 pread \
14738 proc_pidinfo \
14739 pwrite \
14740 readdir \
14741 readlink \
14742 sched_yield \
14743 select \
14744 setproctitle \
14745 setrlimit \
14746 settimeofday \
14747 sigaltstack \
14748 sigprocmask \
14749 snprintf \
14750 statfs \
14751 statvfs \
14752 strcasecmp \
14753 strdup \
14754 strerror \
14755 strncasecmp \
14756 strtold \
14757 strtoll \
14758 strtoull \
14759 symlink \
14760 tcdrain \
14761 thr_kill2 \
14762 timegm \
14763 usleep \
14764 vsnprintf
14766 do :
14767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14770 cat >>confdefs.h <<_ACEOF
14771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14772 _ACEOF
14775 done
14777 CFLAGS="$ac_save_CFLAGS"
14779 if test "$ac_cv_func_dlopen" = no
14780 then
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14783 if ${ac_cv_lib_dl_dlopen+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 ac_check_lib_save_LIBS=$LIBS
14787 LIBS="-ldl $LIBS"
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14794 #ifdef __cplusplus
14795 extern "C"
14796 #endif
14797 char dlopen ();
14799 main ()
14801 return dlopen ();
14803 return 0;
14805 _ACEOF
14806 if ac_fn_c_try_link "$LINENO"; then :
14807 ac_cv_lib_dl_dlopen=yes
14808 else
14809 ac_cv_lib_dl_dlopen=no
14811 rm -f core conftest.err conftest.$ac_objext \
14812 conftest$ac_exeext conftest.$ac_ext
14813 LIBS=$ac_check_lib_save_LIBS
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14816 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14817 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14818 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14819 DL_LIBS="-ldl"
14824 ac_wine_check_funcs_save_LIBS="$LIBS"
14825 LIBS="$LIBS $DL_LIBS"
14826 for ac_func in dladdr
14827 do :
14828 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14829 if test "x$ac_cv_func_dladdr" = xyes; then :
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_DLADDR 1
14832 _ACEOF
14835 done
14837 LIBS="$ac_wine_check_funcs_save_LIBS"
14839 if test "$ac_cv_func_poll" = no
14840 then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14842 $as_echo_n "checking for poll in -lpoll... " >&6; }
14843 if ${ac_cv_lib_poll_poll+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_check_lib_save_LIBS=$LIBS
14847 LIBS="-lpoll $LIBS"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 #ifdef __cplusplus
14855 extern "C"
14856 #endif
14857 char poll ();
14859 main ()
14861 return poll ();
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_lib_poll_poll=yes
14868 else
14869 ac_cv_lib_poll_poll=no
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 LIBS=$ac_check_lib_save_LIBS
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14876 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14877 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14878 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14879 POLL_LIBS="-lpoll"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14886 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14887 if ${ac_cv_search_gethostbyname+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 ac_func_search_save_LIBS=$LIBS
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14897 #ifdef __cplusplus
14898 extern "C"
14899 #endif
14900 char gethostbyname ();
14902 main ()
14904 return gethostbyname ();
14906 return 0;
14908 _ACEOF
14909 for ac_lib in '' nsl; do
14910 if test -z "$ac_lib"; then
14911 ac_res="none required"
14912 else
14913 ac_res=-l$ac_lib
14914 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_search_gethostbyname=$ac_res
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext
14921 if ${ac_cv_search_gethostbyname+:} false; then :
14922 break
14924 done
14925 if ${ac_cv_search_gethostbyname+:} false; then :
14927 else
14928 ac_cv_search_gethostbyname=no
14930 rm conftest.$ac_ext
14931 LIBS=$ac_func_search_save_LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14934 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14935 ac_res=$ac_cv_search_gethostbyname
14936 if test "$ac_res" != no; then :
14937 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14943 $as_echo_n "checking for library containing connect... " >&6; }
14944 if ${ac_cv_search_connect+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 ac_func_search_save_LIBS=$LIBS
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14954 #ifdef __cplusplus
14955 extern "C"
14956 #endif
14957 char connect ();
14959 main ()
14961 return connect ();
14963 return 0;
14965 _ACEOF
14966 for ac_lib in '' socket; do
14967 if test -z "$ac_lib"; then
14968 ac_res="none required"
14969 else
14970 ac_res=-l$ac_lib
14971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 ac_cv_search_connect=$ac_res
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext
14978 if ${ac_cv_search_connect+:} false; then :
14979 break
14981 done
14982 if ${ac_cv_search_connect+:} false; then :
14984 else
14985 ac_cv_search_connect=no
14987 rm conftest.$ac_ext
14988 LIBS=$ac_func_search_save_LIBS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14991 $as_echo "$ac_cv_search_connect" >&6; }
14992 ac_res=$ac_cv_search_connect
14993 if test "$ac_res" != no; then :
14994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15000 $as_echo_n "checking for library containing inet_aton... " >&6; }
15001 if ${ac_cv_search_inet_aton+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 ac_func_search_save_LIBS=$LIBS
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 #ifdef __cplusplus
15012 extern "C"
15013 #endif
15014 char inet_aton ();
15016 main ()
15018 return inet_aton ();
15020 return 0;
15022 _ACEOF
15023 for ac_lib in '' resolv; do
15024 if test -z "$ac_lib"; then
15025 ac_res="none required"
15026 else
15027 ac_res=-l$ac_lib
15028 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15030 if ac_fn_c_try_link "$LINENO"; then :
15031 ac_cv_search_inet_aton=$ac_res
15033 rm -f core conftest.err conftest.$ac_objext \
15034 conftest$ac_exeext
15035 if ${ac_cv_search_inet_aton+:} false; then :
15036 break
15038 done
15039 if ${ac_cv_search_inet_aton+:} false; then :
15041 else
15042 ac_cv_search_inet_aton=no
15044 rm conftest.$ac_ext
15045 LIBS=$ac_func_search_save_LIBS
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15048 $as_echo "$ac_cv_search_inet_aton" >&6; }
15049 ac_res=$ac_cv_search_inet_aton
15050 if test "$ac_res" != no; then :
15051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15056 for ac_func in \
15057 getaddrinfo \
15058 getnameinfo \
15059 getnetbyname \
15060 getprotobyname \
15061 getprotobynumber \
15062 getservbyport \
15063 inet_addr \
15064 inet_network \
15065 inet_ntop \
15066 inet_pton \
15067 sendmsg \
15068 socketpair \
15070 do :
15071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15074 cat >>confdefs.h <<_ACEOF
15075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15076 _ACEOF
15079 done
15082 ac_save_LIBS=$LIBS
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15084 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15085 if ${ac_cv_search_clock_gettime+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_func_search_save_LIBS=$LIBS
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15092 /* Override any GCC internal prototype to avoid an error.
15093 Use char because int might match the return type of a GCC
15094 builtin and then its argument prototype would still apply. */
15095 #ifdef __cplusplus
15096 extern "C"
15097 #endif
15098 char clock_gettime ();
15100 main ()
15102 return clock_gettime ();
15104 return 0;
15106 _ACEOF
15107 for ac_lib in '' rt; do
15108 if test -z "$ac_lib"; then
15109 ac_res="none required"
15110 else
15111 ac_res=-l$ac_lib
15112 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15114 if ac_fn_c_try_link "$LINENO"; then :
15115 ac_cv_search_clock_gettime=$ac_res
15117 rm -f core conftest.err conftest.$ac_objext \
15118 conftest$ac_exeext
15119 if ${ac_cv_search_clock_gettime+:} false; then :
15120 break
15122 done
15123 if ${ac_cv_search_clock_gettime+:} false; then :
15125 else
15126 ac_cv_search_clock_gettime=no
15128 rm conftest.$ac_ext
15129 LIBS=$ac_func_search_save_LIBS
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15132 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15133 ac_res=$ac_cv_search_clock_gettime
15134 if test "$ac_res" != no; then :
15135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15137 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15139 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15143 LIBS=$ac_save_LIBS
15145 LDAP_LIBS=""
15147 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15148 then
15149 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15151 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15153 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15154 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15155 $as_echo_n "(cached) " >&6
15156 else
15157 ac_check_lib_save_LIBS=$LIBS
15158 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 #ifdef __cplusplus
15166 extern "C"
15167 #endif
15168 char ldap_initialize ();
15170 main ()
15172 return ldap_initialize ();
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_link "$LINENO"; then :
15178 ac_cv_lib_ldap_r_ldap_initialize=yes
15179 else
15180 ac_cv_lib_ldap_r_ldap_initialize=no
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext conftest.$ac_ext
15184 LIBS=$ac_check_lib_save_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15187 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15188 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15190 $as_echo_n "checking for ber_init in -llber... " >&6; }
15191 if ${ac_cv_lib_lber_ber_init+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_check_lib_save_LIBS=$LIBS
15195 LIBS="-llber $PTHREAD_LIBS $LIBS"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 #ifdef __cplusplus
15203 extern "C"
15204 #endif
15205 char ber_init ();
15207 main ()
15209 return ber_init ();
15211 return 0;
15213 _ACEOF
15214 if ac_fn_c_try_link "$LINENO"; then :
15215 ac_cv_lib_lber_ber_init=yes
15216 else
15217 ac_cv_lib_lber_ber_init=no
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_lib_save_LIBS
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15224 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15225 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15227 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15229 LDAP_LIBS="-lldap_r -llber"
15236 ac_wine_check_funcs_save_LIBS="$LIBS"
15237 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15238 for ac_func in \
15239 ldap_count_references \
15240 ldap_first_reference \
15241 ldap_next_reference \
15242 ldap_parse_reference \
15243 ldap_parse_sort_control \
15244 ldap_parse_sortresponse_control \
15245 ldap_parse_vlv_control \
15246 ldap_parse_vlvresponse_control
15247 do :
15248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15250 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15251 cat >>confdefs.h <<_ACEOF
15252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15253 _ACEOF
15256 done
15258 LIBS="$ac_wine_check_funcs_save_LIBS"
15260 if test "x$LDAP_LIBS" = "x"; then :
15261 case "x$with_ldap" in
15262 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15263 xno) ;;
15264 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15265 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15266 esac
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15270 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15271 if ${wine_cv_one_arg_mkdir+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 #include <sys/stat.h>
15278 main ()
15280 mkdir("foo");
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_compile "$LINENO"; then :
15286 wine_cv_one_arg_mkdir=yes
15287 else
15288 wine_cv_one_arg_mkdir=no
15290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15293 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15294 if test "$wine_cv_one_arg_mkdir" = "yes"
15295 then
15297 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15302 $as_echo_n "checking for sched_setaffinity... " >&6; }
15303 if ${wine_cv_have_sched_setaffinity+:} false; then :
15304 $as_echo_n "(cached) " >&6
15305 else
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 #define _GNU_SOURCE
15309 #include <sched.h>
15311 main ()
15313 sched_setaffinity(0, 0, 0);
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 wine_cv_have_sched_setaffinity=yes
15320 else
15321 wine_cv_have_sched_setaffinity=no
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15327 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15328 if test "$wine_cv_have_sched_setaffinity" = "yes"
15329 then
15331 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15336 $as_echo_n "checking for fallocate... " >&6; }
15337 if ${wine_cv_have_fallocate+:} false; then :
15338 $as_echo_n "(cached) " >&6
15339 else
15340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 #define _GNU_SOURCE
15343 #include <fcntl.h>
15345 main ()
15347 fallocate(-1, 0, 0, 0);
15349 return 0;
15351 _ACEOF
15352 if ac_fn_c_try_link "$LINENO"; then :
15353 wine_cv_have_fallocate=yes
15354 else
15355 wine_cv_have_fallocate=no
15357 rm -f core conftest.err conftest.$ac_objext \
15358 conftest$ac_exeext conftest.$ac_ext
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15361 $as_echo "$wine_cv_have_fallocate" >&6; }
15362 if test "$wine_cv_have_fallocate" = "yes"
15363 then
15365 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15371 $as_echo_n "checking for inline... " >&6; }
15372 if ${ac_cv_c_inline+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 ac_cv_c_inline=no
15376 for ac_kw in inline __inline__ __inline; do
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #ifndef __cplusplus
15380 typedef int foo_t;
15381 static $ac_kw foo_t static_foo () {return 0; }
15382 $ac_kw foo_t foo () {return 0; }
15383 #endif
15385 _ACEOF
15386 if ac_fn_c_try_compile "$LINENO"; then :
15387 ac_cv_c_inline=$ac_kw
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 test "$ac_cv_c_inline" != no && break
15391 done
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15395 $as_echo "$ac_cv_c_inline" >&6; }
15397 case $ac_cv_c_inline in
15398 inline | yes) ;;
15400 case $ac_cv_c_inline in
15401 no) ac_val=;;
15402 *) ac_val=$ac_cv_c_inline;;
15403 esac
15404 cat >>confdefs.h <<_ACEOF
15405 #ifndef __cplusplus
15406 #define inline $ac_val
15407 #endif
15408 _ACEOF
15410 esac
15412 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15413 if test "x$ac_cv_type_mode_t" = xyes; then :
15415 cat >>confdefs.h <<_ACEOF
15416 #define HAVE_MODE_T 1
15417 _ACEOF
15421 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15422 if test "x$ac_cv_type_off_t" = xyes; then :
15424 cat >>confdefs.h <<_ACEOF
15425 #define HAVE_OFF_T 1
15426 _ACEOF
15430 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15431 if test "x$ac_cv_type_pid_t" = xyes; then :
15433 cat >>confdefs.h <<_ACEOF
15434 #define HAVE_PID_T 1
15435 _ACEOF
15439 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15440 if test "x$ac_cv_type_size_t" = xyes; then :
15442 cat >>confdefs.h <<_ACEOF
15443 #define HAVE_SIZE_T 1
15444 _ACEOF
15448 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15449 if test "x$ac_cv_type_ssize_t" = xyes; then :
15451 cat >>confdefs.h <<_ACEOF
15452 #define HAVE_SSIZE_T 1
15453 _ACEOF
15457 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15458 if test "x$ac_cv_type_long_long" = xyes; then :
15460 cat >>confdefs.h <<_ACEOF
15461 #define HAVE_LONG_LONG 1
15462 _ACEOF
15466 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15467 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15469 cat >>confdefs.h <<_ACEOF
15470 #define HAVE_FSBLKCNT_T 1
15471 _ACEOF
15475 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15476 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15478 cat >>confdefs.h <<_ACEOF
15479 #define HAVE_FSFILCNT_T 1
15480 _ACEOF
15485 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15486 #include <signal.h>
15488 if test "x$ac_cv_type_sigset_t" = xyes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_SIGSET_T 1
15492 _ACEOF
15497 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15499 if test "x$ac_cv_type_request_sense" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_REQUEST_SENSE 1
15503 _ACEOF
15509 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15510 #ifdef HAVE_SYS_SOCKET_H
15511 #include <sys/socket.h>
15512 #endif
15513 #ifdef HAVE_SYS_SOCKETVAR_H
15514 #include <sys/socketvar.h>
15515 #endif
15516 #ifdef HAVE_NET_ROUTE_H
15517 #include <net/route.h>
15518 #endif
15519 #ifdef HAVE_NETINET_IN_H
15520 #include <netinet/in.h>
15521 #endif
15522 #ifdef HAVE_NETINET_IN_SYSTM_H
15523 #include <netinet/in_systm.h>
15524 #endif
15525 #ifdef HAVE_NETINET_IP_H
15526 #include <netinet/ip.h>
15527 #endif
15528 #ifdef HAVE_NETINET_IN_PCB_H
15529 #include <netinet/in_pcb.h>
15530 #endif
15532 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15534 cat >>confdefs.h <<_ACEOF
15535 #define HAVE_STRUCT_XINPGEN 1
15536 _ACEOF
15542 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15543 #include <link.h>
15544 #endif
15545 #ifdef HAVE_SYS_LINK_H
15546 #include <sys/link.h>
15547 #endif
15549 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_STRUCT_R_DEBUG 1
15553 _ACEOF
15557 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15558 #include <link.h>
15559 #endif
15560 #ifdef HAVE_SYS_LINK_H
15561 #include <sys/link.h>
15562 #endif
15564 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define HAVE_STRUCT_LINK_MAP 1
15568 _ACEOF
15574 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15575 #include <linux/input.h>
15576 #endif
15578 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15582 _ACEOF
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15589 $as_echo_n "checking for sigaddset... " >&6; }
15590 if ${wine_cv_have_sigaddset+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595 #include <signal.h>
15597 main ()
15599 sigset_t set; sigaddset(&set,SIGTERM);
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 wine_cv_have_sigaddset=yes
15606 else
15607 wine_cv_have_sigaddset=no
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15613 $as_echo "$wine_cv_have_sigaddset" >&6; }
15614 if test "$wine_cv_have_sigaddset" = "yes"
15615 then
15617 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15623 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15624 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15625 $as_echo_n "(cached) " >&6
15626 else
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15629 #include <netdb.h>
15631 main ()
15634 char *name=0;
15635 struct hostent he;
15636 struct hostent *result;
15637 char *buf=0;
15638 int bufsize=0;
15639 int errnr;
15640 char *addr=0;
15641 int addrlen=0;
15642 int addrtype=0;
15643 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15644 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15647 return 0;
15649 _ACEOF
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 wine_cv_linux_gethostbyname_r_6=yes
15652 else
15653 wine_cv_linux_gethostbyname_r_6=no
15656 rm -f core conftest.err conftest.$ac_objext \
15657 conftest$ac_exeext conftest.$ac_ext
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15661 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15662 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15663 then
15665 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15669 if test "$ac_cv_header_linux_joystick_h" = "yes"
15670 then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15672 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15673 if ${wine_cv_linux_joystick_22_api+:} false; then :
15674 $as_echo_n "(cached) " >&6
15675 else
15676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h. */
15679 #include <sys/ioctl.h>
15680 #include <sys/types.h>
15681 #include <linux/joystick.h>
15683 struct js_event blub;
15684 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15685 #error "no 2.2 header"
15686 #endif
15689 main ()
15691 /*empty*/
15693 return 0;
15695 _ACEOF
15696 if ac_fn_c_try_compile "$LINENO"; then :
15697 wine_cv_linux_joystick_22_api=yes
15698 else
15699 wine_cv_linux_joystick_22_api=no
15701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15705 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15706 if test "$wine_cv_linux_joystick_22_api" = "yes"
15707 then
15709 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15715 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15716 #ifdef HAVE_SYS_PARAM_H
15717 # include <sys/param.h>
15718 #endif
15719 #ifdef HAVE_SYS_MOUNT_H
15720 # include <sys/mount.h>
15721 #endif
15722 #ifdef HAVE_SYS_VFS_H
15723 # include <sys/vfs.h>
15724 #endif
15725 #ifdef HAVE_SYS_STATFS_H
15726 # include <sys/statfs.h>
15727 #endif
15729 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_STRUCT_STATFS_F_BFREE 1
15733 _ACEOF
15737 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_PARAM_H
15739 # include <sys/param.h>
15740 #endif
15741 #ifdef HAVE_SYS_MOUNT_H
15742 # include <sys/mount.h>
15743 #endif
15744 #ifdef HAVE_SYS_VFS_H
15745 # include <sys/vfs.h>
15746 #endif
15747 #ifdef HAVE_SYS_STATFS_H
15748 # include <sys/statfs.h>
15749 #endif
15751 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15755 _ACEOF
15759 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_PARAM_H
15761 # include <sys/param.h>
15762 #endif
15763 #ifdef HAVE_SYS_MOUNT_H
15764 # include <sys/mount.h>
15765 #endif
15766 #ifdef HAVE_SYS_VFS_H
15767 # include <sys/vfs.h>
15768 #endif
15769 #ifdef HAVE_SYS_STATFS_H
15770 # include <sys/statfs.h>
15771 #endif
15773 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15777 _ACEOF
15781 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15782 #ifdef HAVE_SYS_PARAM_H
15783 # include <sys/param.h>
15784 #endif
15785 #ifdef HAVE_SYS_MOUNT_H
15786 # include <sys/mount.h>
15787 #endif
15788 #ifdef HAVE_SYS_VFS_H
15789 # include <sys/vfs.h>
15790 #endif
15791 #ifdef HAVE_SYS_STATFS_H
15792 # include <sys/statfs.h>
15793 #endif
15795 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15797 cat >>confdefs.h <<_ACEOF
15798 #define HAVE_STRUCT_STATFS_F_FFREE 1
15799 _ACEOF
15803 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15804 #ifdef HAVE_SYS_PARAM_H
15805 # include <sys/param.h>
15806 #endif
15807 #ifdef HAVE_SYS_MOUNT_H
15808 # include <sys/mount.h>
15809 #endif
15810 #ifdef HAVE_SYS_VFS_H
15811 # include <sys/vfs.h>
15812 #endif
15813 #ifdef HAVE_SYS_STATFS_H
15814 # include <sys/statfs.h>
15815 #endif
15817 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15821 _ACEOF
15825 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_PARAM_H
15827 # include <sys/param.h>
15828 #endif
15829 #ifdef HAVE_SYS_MOUNT_H
15830 # include <sys/mount.h>
15831 #endif
15832 #ifdef HAVE_SYS_VFS_H
15833 # include <sys/vfs.h>
15834 #endif
15835 #ifdef HAVE_SYS_STATFS_H
15836 # include <sys/statfs.h>
15837 #endif
15839 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15843 _ACEOF
15849 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15850 #include <sys/statvfs.h>
15851 #endif
15853 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15857 _ACEOF
15863 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15864 #include <dirent.h>
15865 #endif
15867 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15871 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15878 #ifdef HAVE_SYS_SOCKET_H
15879 # include <sys/socket.h>
15880 #endif
15881 #ifdef HAVE_SYS_UN_H
15882 # include <sys/un.h>
15883 #endif
15885 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15889 _ACEOF
15893 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15894 #ifdef HAVE_SYS_SOCKET_H
15895 # include <sys/socket.h>
15896 #endif
15897 #ifdef HAVE_SYS_UN_H
15898 # include <sys/un.h>
15899 #endif
15901 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15903 cat >>confdefs.h <<_ACEOF
15904 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15905 _ACEOF
15909 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15910 #ifdef HAVE_SYS_SOCKET_H
15911 # include <sys/socket.h>
15912 #endif
15913 #ifdef HAVE_SYS_UN_H
15914 # include <sys/un.h>
15915 #endif
15917 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15921 _ACEOF
15927 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15928 #ifdef HAVE_SCSI_SG_H
15929 #include <scsi/sg.h>
15930 #endif
15932 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15934 cat >>confdefs.h <<_ACEOF
15935 #define HAVE_SCSIREQ_T_CMD 1
15936 _ACEOF
15940 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>
15941 #ifdef HAVE_SCSI_SG_H
15942 #include <scsi/sg.h>
15943 #endif
15945 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15949 _ACEOF
15955 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15957 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_SIGINFO_T_SI_FD 1
15961 _ACEOF
15967 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15968 #ifdef HAVE_SYS_MTIO_H
15969 #include <sys/mtio.h>
15970 #endif
15972 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15976 _ACEOF
15980 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_MTIO_H
15982 #include <sys/mtio.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15989 _ACEOF
15993 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_MTIO_H
15995 #include <sys/mtio.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16002 _ACEOF
16008 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16009 #include <getopt.h>
16010 #endif
16012 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_STRUCT_OPTION_NAME 1
16016 _ACEOF
16022 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16023 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16027 _ACEOF
16031 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16032 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_STRUCT_STAT_ST_MTIM 1
16036 _ACEOF
16040 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16041 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16043 cat >>confdefs.h <<_ACEOF
16044 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16045 _ACEOF
16049 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16050 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16052 cat >>confdefs.h <<_ACEOF
16053 #define HAVE_STRUCT_STAT_ST_CTIM 1
16054 _ACEOF
16058 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16059 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16063 _ACEOF
16067 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16068 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_STAT_ST_ATIM 1
16072 _ACEOF
16076 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16077 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16081 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16086 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16090 _ACEOF
16094 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16095 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16099 _ACEOF
16103 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16104 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16108 _ACEOF
16112 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16113 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16117 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16122 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16126 _ACEOF
16132 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
16133 #include <sys/types.h>
16134 #endif
16135 #ifdef HAVE_NETINET_IN_H
16136 #include <netinet/in.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16143 _ACEOF
16149 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16150 #include <resolv.h>
16151 #endif
16153 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT___RES_STATE 1
16157 _ACEOF
16163 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
16164 #include <resolv.h>
16165 #endif
16167 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16171 _ACEOF
16177 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16178 #include <sys/types.h>
16179 #endif
16180 #ifdef HAVE_NETINET_IN_H
16181 # include <netinet/in.h>
16182 #endif
16183 #ifdef HAVE_ARPA_NAMESER_H
16184 # include <arpa/nameser.h>
16185 #endif
16187 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_NS_MSG__MSG_PTR 1
16191 _ACEOF
16197 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16198 #include <sys/types.h>
16199 #endif
16200 #ifdef HAVE_NETINET_IP_H
16201 #include <netinet/ip.h>
16202 #endif
16203 #ifdef HAVE_NETINET_IP_ICMP_H
16204 #include <netinet/ip_icmp.h>
16205 #endif
16206 #ifdef HAVE_NETINET_ICMP_VAR_H
16207 #include <netinet/icmp_var.h>
16208 #endif
16210 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16212 cat >>confdefs.h <<_ACEOF
16213 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16214 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16221 #include <sys/types.h>
16222 #endif
16223 #ifdef HAVE_ALIAS_H
16224 #include <alias.h>
16225 #endif
16226 #ifdef HAVE_SYS_SOCKET_H
16227 #include <sys/socket.h>
16228 #endif
16229 #ifdef HAVE_SYS_SOCKETVAR_H
16230 #include <sys/socketvar.h>
16231 #endif
16232 #ifdef HAVE_SYS_TIMEOUT_H
16233 #include <sys/timeout.h>
16234 #endif
16235 #ifdef HAVE_NETINET_IN_H
16236 #include <netinet/in.h>
16237 #endif
16238 #ifdef HAVE_NETINET_IN_SYSTM_H
16239 #include <netinet/in_systm.h>
16240 #endif
16241 #ifdef HAVE_NETINET_IP_H
16242 #include <netinet/ip.h>
16243 #endif
16244 #ifdef HAVE_NETINET_IP_VAR_H
16245 #include <netinet/ip_var.h>
16246 #endif
16247 #ifdef HAVE_NETINET_IP_ICMP_H
16248 #include <netinet/ip_icmp.h>
16249 #endif
16250 #ifdef HAVE_NETINET_ICMP_VAR_H
16251 #include <netinet/icmp_var.h>
16252 #endif
16254 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16256 cat >>confdefs.h <<_ACEOF
16257 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16258 _ACEOF
16264 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16265 #include <sys/types.h>
16266 #endif
16267 #ifdef HAVE_SYS_SOCKETVAR_H
16268 #include <sys/socketvar.h>
16269 #endif
16270 #ifdef HAVE_NETINET_IN_H
16271 #include <netinet/in.h>
16272 #endif
16273 #ifdef HAVE_NETINET_IP_VAR_H
16274 #include <netinet/ip_var.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16281 _ACEOF
16287 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
16288 #include <netinet/ip_var.h>
16289 #endif
16291 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16295 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16302 #include <sys/types.h>
16303 #endif
16304 #ifdef HAVE_SYS_SOCKETVAR_H
16305 #include <sys/socketvar.h>
16306 #endif
16307 #ifdef HAVE_NETINET_IN_H
16308 #include <netinet/in.h>
16309 #endif
16310 #ifdef HAVE_NETINET_TCP_H
16311 #include <netinet/tcp.h>
16312 #endif
16313 #ifdef HAVE_NETINET_TCP_VAR_H
16314 #include <netinet/tcp_var.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16321 _ACEOF
16327 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
16328 #include <netinet/tcp_var.h>
16329 #endif
16331 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16335 _ACEOF
16341 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16342 #include <sys/types.h>
16343 #endif
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16346 #endif
16347 #ifdef HAVE_NETINET_IP_VAR_H
16348 #include <netinet/ip_var.h>
16349 #endif
16350 #ifdef HAVE_NETINET_UDP_H
16351 #include <netinet/udp.h>
16352 #endif
16353 #ifdef HAVE_NETINET_UDP_VAR_H
16354 #include <netinet/udp_var.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16361 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16368 #include <sys/types.h>
16369 #endif
16370 #ifdef HAVE_NET_IF_H
16371 # include <net/if.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16378 _ACEOF
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16385 $as_echo_n "checking for timezone variable... " >&6; }
16386 if ${ac_cv_have_timezone+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16391 #include <time.h>
16393 main ()
16395 timezone = 1
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"; then :
16401 ac_cv_have_timezone="yes"
16402 else
16403 ac_cv_have_timezone="no"
16405 rm -f core conftest.err conftest.$ac_objext \
16406 conftest$ac_exeext conftest.$ac_ext
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16409 $as_echo "$ac_cv_have_timezone" >&6; }
16410 if test "$ac_cv_have_timezone" = "yes"
16411 then
16413 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16417 $as_echo_n "checking for daylight variable... " >&6; }
16418 if ${ac_cv_have_daylight+:} false; then :
16419 $as_echo_n "(cached) " >&6
16420 else
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16423 #include <time.h>
16425 main ()
16427 daylight = 1
16429 return 0;
16431 _ACEOF
16432 if ac_fn_c_try_link "$LINENO"; then :
16433 ac_cv_have_daylight="yes"
16434 else
16435 ac_cv_have_daylight="no"
16437 rm -f core conftest.err conftest.$ac_objext \
16438 conftest$ac_exeext conftest.$ac_ext
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16441 $as_echo "$ac_cv_have_daylight" >&6; }
16442 if test "$ac_cv_have_daylight" = "yes"
16443 then
16445 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16449 ac_save_LIBS="$LIBS"
16450 LIBS="$LIBS -lm"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16452 $as_echo_n "checking for isfinite... " >&6; }
16453 if ${ac_cv_have_isfinite+:} false; then :
16454 $as_echo_n "(cached) " >&6
16455 else
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 #define _GNU_SOURCE
16459 #include <math.h>
16461 main ()
16463 float f = 0.0; return isfinite(f)
16465 return 0;
16467 _ACEOF
16468 if ac_fn_c_try_link "$LINENO"; then :
16469 ac_cv_have_isfinite="yes"
16470 else
16471 ac_cv_have_isfinite="no"
16473 rm -f core conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16477 $as_echo "$ac_cv_have_isfinite" >&6; }
16478 if test "$ac_cv_have_isfinite" = "yes"
16479 then
16481 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16486 $as_echo_n "checking for isinf... " >&6; }
16487 if ${ac_cv_have_isinf+:} false; then :
16488 $as_echo_n "(cached) " >&6
16489 else
16490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16492 #include <math.h>
16494 main ()
16496 float f = 0.0; return isinf(f)
16498 return 0;
16500 _ACEOF
16501 if ac_fn_c_try_link "$LINENO"; then :
16502 ac_cv_have_isinf="yes"
16503 else
16504 ac_cv_have_isinf="no"
16506 rm -f core conftest.err conftest.$ac_objext \
16507 conftest$ac_exeext conftest.$ac_ext
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16510 $as_echo "$ac_cv_have_isinf" >&6; }
16511 if test "$ac_cv_have_isinf" = "yes"
16512 then
16514 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16519 $as_echo_n "checking for isnan... " >&6; }
16520 if ${ac_cv_have_isnan+:} false; then :
16521 $as_echo_n "(cached) " >&6
16522 else
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16525 #include <math.h>
16527 main ()
16529 float f = 0.0; return isnan(f)
16531 return 0;
16533 _ACEOF
16534 if ac_fn_c_try_link "$LINENO"; then :
16535 ac_cv_have_isnan="yes"
16536 else
16537 ac_cv_have_isnan="no"
16539 rm -f core conftest.err conftest.$ac_objext \
16540 conftest$ac_exeext conftest.$ac_ext
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16543 $as_echo "$ac_cv_have_isnan" >&6; }
16544 if test "$ac_cv_have_isnan" = "yes"
16545 then
16547 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16551 for ac_func in \
16552 cbrt \
16553 cbrtf \
16554 exp2 \
16555 exp2f \
16556 llrint \
16557 llrintf \
16558 llround \
16559 llroundf \
16560 log2 \
16561 log2f \
16562 lrint \
16563 lrintf \
16564 lround \
16565 lroundf \
16566 rint \
16567 rintf \
16568 round \
16569 roundf \
16570 trunc \
16571 truncf
16573 do :
16574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16579 _ACEOF
16582 done
16584 LIBS="$ac_save_LIBS"
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16587 $as_echo_n "checking for __builtin_clz... " >&6; }
16588 if ${ac_cv_have___builtin_clz+:} false; then :
16589 $as_echo_n "(cached) " >&6
16590 else
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16595 main ()
16597 return __builtin_clz(1)
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"; then :
16603 ac_cv_have___builtin_clz="yes"
16604 else
16605 ac_cv_have___builtin_clz="no"
16607 rm -f core conftest.err conftest.$ac_objext \
16608 conftest$ac_exeext conftest.$ac_ext
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16611 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16612 if test "$ac_cv_have___builtin_clz" = "yes"
16613 then
16615 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16620 case $host_cpu in
16621 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16622 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16623 if ${ac_cv_cpp_def___i386__+:} false; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16628 #ifndef __i386__
16630 #endif
16631 _ACEOF
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev/null 2>&1; then :
16634 ac_cv_cpp_def___i386__=yes
16635 else
16636 ac_cv_cpp_def___i386__=no
16638 rm -f conftest*
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16642 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16643 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16644 CFLAGS="$CFLAGS -D__i386__"
16645 LINTFLAGS="$LINTFLAGS -D__i386__"
16646 fi ;;
16647 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16648 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16649 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16650 $as_echo_n "(cached) " >&6
16651 else
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #ifndef __x86_64__
16656 #endif
16657 _ACEOF
16658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16659 $EGREP "yes" >/dev/null 2>&1; then :
16660 ac_cv_cpp_def___x86_64__=yes
16661 else
16662 ac_cv_cpp_def___x86_64__=no
16664 rm -f conftest*
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16668 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16669 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16670 CFLAGS="$CFLAGS -D__x86_64__"
16671 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16672 fi ;;
16673 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16674 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16675 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16676 $as_echo_n "(cached) " >&6
16677 else
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #ifndef __sparc64__
16682 #endif
16683 _ACEOF
16684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16685 $EGREP "yes" >/dev/null 2>&1; then :
16686 ac_cv_cpp_def___sparc64__=yes
16687 else
16688 ac_cv_cpp_def___sparc64__=no
16690 rm -f conftest*
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16694 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16695 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16696 CFLAGS="$CFLAGS -D__sparc64__"
16697 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16698 fi ;;
16699 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16700 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16701 if ${ac_cv_cpp_def___sparc__+:} false; then :
16702 $as_echo_n "(cached) " >&6
16703 else
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706 #ifndef __sparc__
16708 #endif
16709 _ACEOF
16710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16711 $EGREP "yes" >/dev/null 2>&1; then :
16712 ac_cv_cpp_def___sparc__=yes
16713 else
16714 ac_cv_cpp_def___sparc__=no
16716 rm -f conftest*
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16720 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16721 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16722 CFLAGS="$CFLAGS -D__sparc__"
16723 LINTFLAGS="$LINTFLAGS -D__sparc__"
16724 fi ;;
16725 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16726 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16727 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #ifndef __powerpc64__
16734 #endif
16735 _ACEOF
16736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16737 $EGREP "yes" >/dev/null 2>&1; then :
16738 ac_cv_cpp_def___powerpc64__=yes
16739 else
16740 ac_cv_cpp_def___powerpc64__=no
16742 rm -f conftest*
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16746 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16747 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16748 CFLAGS="$CFLAGS -D__powerpc64__"
16749 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16750 fi ;;
16751 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16752 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16753 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #ifndef __powerpc__
16760 #endif
16761 _ACEOF
16762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16763 $EGREP "yes" >/dev/null 2>&1; then :
16764 ac_cv_cpp_def___powerpc__=yes
16765 else
16766 ac_cv_cpp_def___powerpc__=no
16768 rm -f conftest*
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16772 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16773 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16774 CFLAGS="$CFLAGS -D__powerpc__"
16775 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16776 fi ;;
16777 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16778 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16779 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16780 $as_echo_n "(cached) " >&6
16781 else
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16784 #ifndef __aarch64__
16786 #endif
16787 _ACEOF
16788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16789 $EGREP "yes" >/dev/null 2>&1; then :
16790 ac_cv_cpp_def___aarch64__=yes
16791 else
16792 ac_cv_cpp_def___aarch64__=no
16794 rm -f conftest*
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16798 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16799 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16800 CFLAGS="$CFLAGS -D__aarch64__"
16801 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16802 fi ;;
16803 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16804 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16805 if ${ac_cv_cpp_def___arm__+:} false; then :
16806 $as_echo_n "(cached) " >&6
16807 else
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #ifndef __arm__
16812 #endif
16813 _ACEOF
16814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16815 $EGREP "yes" >/dev/null 2>&1; then :
16816 ac_cv_cpp_def___arm__=yes
16817 else
16818 ac_cv_cpp_def___arm__=no
16820 rm -f conftest*
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16824 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16825 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16826 CFLAGS="$CFLAGS -D__arm__"
16827 LINTFLAGS="$LINTFLAGS -D__arm__"
16828 fi ;;
16829 esac
16831 case $host_vendor in
16832 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16833 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16834 if ${ac_cv_cpp_def___sun__+:} false; then :
16835 $as_echo_n "(cached) " >&6
16836 else
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 #ifndef __sun__
16841 #endif
16842 _ACEOF
16843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16844 $EGREP "yes" >/dev/null 2>&1; then :
16845 ac_cv_cpp_def___sun__=yes
16846 else
16847 ac_cv_cpp_def___sun__=no
16849 rm -f conftest*
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16853 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16854 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16855 CFLAGS="$CFLAGS -D__sun__"
16856 LINTFLAGS="$LINTFLAGS -D__sun__"
16857 fi ;;
16858 esac
16864 ac_config_commands="$ac_config_commands include/stamp-h"
16866 $as_echo_n "creating Makefile rules..." >&6
16868 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16869 SOCKET_LIBS = $SOCKET_LIBS
16870 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16871 IOKIT_LIBS = $IOKIT_LIBS
16872 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16873 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16874 CORESERVICES_LIBS = $CORESERVICES_LIBS
16875 APPKIT_LIBS = $APPKIT_LIBS
16876 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16877 SECURITY_LIBS = $SECURITY_LIBS
16878 COREAUDIO_LIBS = $COREAUDIO_LIBS
16879 OPENAL_LIBS = $OPENAL_LIBS
16880 OPENCL_LIBS = $OPENCL_LIBS
16881 QUICKTIME_LIBS = $QUICKTIME_LIBS
16882 CARBON_LIBS = $CARBON_LIBS
16883 PTHREAD_LIBS = $PTHREAD_LIBS
16884 X_CFLAGS = $X_CFLAGS
16885 X_PRE_LIBS = $X_PRE_LIBS
16886 X_LIBS = $X_LIBS
16887 X_EXTRA_LIBS = $X_EXTRA_LIBS
16888 XML2_CFLAGS = $XML2_CFLAGS
16889 XML2_LIBS = $XML2_LIBS
16890 XSLT_CFLAGS = $XSLT_CFLAGS
16891 XSLT_LIBS = $XSLT_LIBS
16892 DBUS_CFLAGS = $DBUS_CFLAGS
16893 DBUS_LIBS = $DBUS_LIBS
16894 HAL_CFLAGS = $HAL_CFLAGS
16895 HAL_LIBS = $HAL_LIBS
16896 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16897 GNUTLS_LIBS = $GNUTLS_LIBS
16898 SANE_CFLAGS = $SANE_CFLAGS
16899 SANE_LIBS = $SANE_LIBS
16900 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16901 GPHOTO2_LIBS = $GPHOTO2_LIBS
16902 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16903 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16904 RESOLV_LIBS = $RESOLV_LIBS
16905 LCMS2_CFLAGS = $LCMS2_CFLAGS
16906 LCMS2_LIBS = $LCMS2_LIBS
16907 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16908 FREETYPE_LIBS = $FREETYPE_LIBS
16909 Z_LIBS = $Z_LIBS
16910 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16911 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16912 GSTREAMER_LIBS = $GSTREAMER_LIBS
16913 ALSA_LIBS = $ALSA_LIBS
16914 OSS4_CFLAGS = $OSS4_CFLAGS
16915 CAPI20_CFLAGS = $CAPI20_CFLAGS
16916 CAPI20_LIBS = $CAPI20_LIBS
16917 CUPS_CFLAGS = $CUPS_CFLAGS
16918 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16919 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16920 JPEG_CFLAGS = $JPEG_CFLAGS
16921 JPEG_LIBS = $JPEG_LIBS
16922 PNG_CFLAGS = $PNG_CFLAGS
16923 PNG_LIBS = $PNG_LIBS
16924 TIFF_CFLAGS = $TIFF_CFLAGS
16925 TIFF_LIBS = $TIFF_LIBS
16926 MPG123_CFLAGS = $MPG123_CFLAGS
16927 MPG123_LIBS = $MPG123_LIBS
16928 KSTAT_LIBS = $KSTAT_LIBS
16929 PROCSTAT_LIBS = $PROCSTAT_LIBS
16930 DL_LIBS = $DL_LIBS
16931 POLL_LIBS = $POLL_LIBS
16932 RT_LIBS = $RT_LIBS
16933 LDAP_LIBS = $LDAP_LIBS
16938 wine_fn_append_rule "
16939 # Rules automatically generated by configure
16941 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16943 .INIT: Makefile
16944 .MAKEFILEDEPS:
16945 all: Makefile
16946 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16947 @./config.status Make.tmp Makefile"
16949 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16950 .gitignore: config.status
16951 @./config.status .gitignore"
16953 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16954 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16956 if test "x$enable_fonts" != xno; then
16957 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16958 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16959 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16960 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16961 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16963 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16964 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16965 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16966 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16967 ac_config_links="$ac_config_links wine:tools/winewrapper"
16968 wine_fn_config_symlink wine
16969 if test "x$enable_win64" != xno; then
16970 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16971 wine_fn_config_symlink wine64
16974 wine_fn_config_dll acledit enable_acledit
16975 wine_fn_config_dll aclui enable_aclui implib
16976 wine_fn_config_dll activeds enable_activeds implib
16977 wine_fn_config_dll actxprxy enable_actxprxy clean
16978 wine_fn_config_lib adsiid
16979 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16980 wine_fn_config_test dlls/advapi32/tests advapi32_test
16981 wine_fn_config_dll advpack enable_advpack implib
16982 wine_fn_config_test dlls/advpack/tests advpack_test
16983 wine_fn_config_dll amstream enable_amstream clean
16984 wine_fn_config_test dlls/amstream/tests amstream_test
16985 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16988 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16989 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16992 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16996 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16997 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16998 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17004 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17010 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17013 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17014 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17021 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17023 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17029 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17041 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17042 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17043 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17044 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17045 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17046 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17047 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17048 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17049 wine_fn_config_dll apphelp enable_apphelp
17050 wine_fn_config_test dlls/apphelp/tests apphelp_test
17051 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17052 wine_fn_config_dll atl enable_atl clean,implib
17053 wine_fn_config_test dlls/atl/tests atl_test
17054 wine_fn_config_dll atl100 enable_atl100 clean,implib
17055 wine_fn_config_test dlls/atl100/tests atl100_test
17056 wine_fn_config_dll atl110 enable_atl110 clean
17057 wine_fn_config_dll atl80 enable_atl80 clean,implib
17058 wine_fn_config_test dlls/atl80/tests atl80_test
17059 wine_fn_config_dll atl90 enable_atl90 clean
17060 wine_fn_config_dll authz enable_authz
17061 wine_fn_config_dll avicap32 enable_avicap32 implib
17062 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17063 wine_fn_config_test dlls/avifil32/tests avifil32_test
17064 wine_fn_config_dll avifile.dll16 enable_win16
17065 wine_fn_config_dll avrt enable_avrt implib
17066 wine_fn_config_dll bcrypt enable_bcrypt
17067 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17068 wine_fn_config_dll browseui enable_browseui clean,po
17069 wine_fn_config_test dlls/browseui/tests browseui_test
17070 wine_fn_config_dll cabinet enable_cabinet implib
17071 wine_fn_config_test dlls/cabinet/tests cabinet_test
17072 wine_fn_config_dll capi2032 enable_capi2032 implib
17073 wine_fn_config_dll cards enable_cards implib
17074 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17075 wine_fn_config_dll clusapi enable_clusapi implib
17076 wine_fn_config_dll combase enable_combase
17077 wine_fn_config_test dlls/combase/tests combase_test
17078 wine_fn_config_dll comcat enable_comcat
17079 wine_fn_config_test dlls/comcat/tests comcat_test
17080 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17081 wine_fn_config_test dlls/comctl32/tests comctl32_test
17082 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17083 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17084 wine_fn_config_dll comm.drv16 enable_win16
17085 wine_fn_config_dll commdlg.dll16 enable_win16
17086 wine_fn_config_dll compobj.dll16 enable_win16
17087 wine_fn_config_dll compstui enable_compstui implib
17088 wine_fn_config_dll comsvcs enable_comsvcs implib
17089 wine_fn_config_dll connect enable_connect
17090 wine_fn_config_dll credui enable_credui implib,po
17091 wine_fn_config_test dlls/credui/tests credui_test
17092 wine_fn_config_dll crtdll enable_crtdll implib
17093 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17094 wine_fn_config_test dlls/crypt32/tests crypt32_test
17095 wine_fn_config_dll cryptdlg enable_cryptdlg po
17096 wine_fn_config_dll cryptdll enable_cryptdll implib
17097 wine_fn_config_dll cryptext enable_cryptext
17098 wine_fn_config_dll cryptnet enable_cryptnet implib
17099 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17100 wine_fn_config_dll cryptui enable_cryptui implib,po
17101 wine_fn_config_test dlls/cryptui/tests cryptui_test
17102 wine_fn_config_dll ctapi32 enable_ctapi32
17103 wine_fn_config_dll ctl3d.dll16 enable_win16
17104 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17105 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17106 wine_fn_config_dll d2d1 enable_d2d1 implib
17107 wine_fn_config_test dlls/d2d1/tests d2d1_test
17108 wine_fn_config_dll d3d10 enable_d3d10 implib
17109 wine_fn_config_test dlls/d3d10/tests d3d10_test
17110 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17111 wine_fn_config_dll d3d10core enable_d3d10core implib
17112 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17113 wine_fn_config_dll d3d11 enable_d3d11
17114 wine_fn_config_dll d3d8 enable_d3d8 implib
17115 wine_fn_config_test dlls/d3d8/tests d3d8_test
17116 wine_fn_config_dll d3d9 enable_d3d9 implib
17117 wine_fn_config_test dlls/d3d9/tests d3d9_test
17118 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17119 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17120 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17121 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17122 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17123 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17124 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17125 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17126 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17127 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17128 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17129 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17130 wine_fn_config_dll d3dim enable_d3dim implib
17131 wine_fn_config_dll d3drm enable_d3drm implib
17132 wine_fn_config_test dlls/d3drm/tests d3drm_test
17133 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17134 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17135 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17136 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17137 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17138 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17139 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17140 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17141 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17142 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17143 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17144 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17145 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17146 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17147 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17148 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17149 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17150 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17151 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17152 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17153 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17154 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17155 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17156 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17157 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17158 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17159 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17160 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17161 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17162 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17163 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17164 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17165 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17166 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17167 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17168 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17169 wine_fn_config_dll dbgeng enable_dbgeng implib
17170 wine_fn_config_dll dbghelp enable_dbghelp implib
17171 wine_fn_config_dll dciman32 enable_dciman32 implib
17172 wine_fn_config_dll ddeml.dll16 enable_win16
17173 wine_fn_config_dll ddraw enable_ddraw clean,implib
17174 wine_fn_config_test dlls/ddraw/tests ddraw_test
17175 wine_fn_config_dll ddrawex enable_ddrawex clean
17176 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17177 wine_fn_config_dll devenum enable_devenum clean,po
17178 wine_fn_config_test dlls/devenum/tests devenum_test
17179 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17180 wine_fn_config_dll difxapi enable_difxapi
17181 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17182 wine_fn_config_test dlls/dinput/tests dinput_test
17183 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17184 wine_fn_config_test dlls/dinput8/tests dinput8_test
17185 wine_fn_config_dll dispdib.dll16 enable_win16
17186 wine_fn_config_dll dispex enable_dispex clean
17187 wine_fn_config_test dlls/dispex/tests dispex_test
17188 wine_fn_config_dll display.drv16 enable_win16
17189 wine_fn_config_dll dmband enable_dmband clean
17190 wine_fn_config_test dlls/dmband/tests dmband_test
17191 wine_fn_config_dll dmcompos enable_dmcompos clean
17192 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17193 wine_fn_config_dll dmime enable_dmime clean
17194 wine_fn_config_test dlls/dmime/tests dmime_test
17195 wine_fn_config_dll dmloader enable_dmloader clean
17196 wine_fn_config_test dlls/dmloader/tests dmloader_test
17197 wine_fn_config_dll dmscript enable_dmscript clean
17198 wine_fn_config_test dlls/dmscript/tests dmscript_test
17199 wine_fn_config_dll dmstyle enable_dmstyle clean
17200 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17201 wine_fn_config_dll dmsynth enable_dmsynth clean
17202 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17203 wine_fn_config_dll dmusic enable_dmusic clean
17204 wine_fn_config_test dlls/dmusic/tests dmusic_test
17205 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17206 wine_fn_config_dll dnsapi enable_dnsapi implib
17207 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17208 wine_fn_config_dll dplay enable_dplay implib
17209 wine_fn_config_dll dplayx enable_dplayx clean,implib
17210 wine_fn_config_test dlls/dplayx/tests dplayx_test
17211 wine_fn_config_dll dpnaddr enable_dpnaddr
17212 wine_fn_config_dll dpnet enable_dpnet clean,implib
17213 wine_fn_config_test dlls/dpnet/tests dpnet_test
17214 wine_fn_config_dll dpnhpast enable_dpnhpast
17215 wine_fn_config_dll dpnlobby enable_dpnlobby
17216 wine_fn_config_dll dpvoice enable_dpvoice clean
17217 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17218 wine_fn_config_dll dpwsockx enable_dpwsockx
17219 wine_fn_config_dll drmclien enable_drmclien
17220 wine_fn_config_dll dsound enable_dsound clean,implib
17221 wine_fn_config_test dlls/dsound/tests dsound_test
17222 wine_fn_config_dll dssenh enable_dssenh
17223 wine_fn_config_test dlls/dssenh/tests dssenh_test
17224 wine_fn_config_dll dswave enable_dswave clean
17225 wine_fn_config_test dlls/dswave/tests dswave_test
17226 wine_fn_config_dll dwmapi enable_dwmapi implib
17227 wine_fn_config_dll dwrite enable_dwrite implib
17228 wine_fn_config_test dlls/dwrite/tests dwrite_test
17229 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17230 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17231 wine_fn_config_lib dxerr8
17232 wine_fn_config_lib dxerr9
17233 wine_fn_config_dll dxgi enable_dxgi implib
17234 wine_fn_config_test dlls/dxgi/tests dxgi_test
17235 wine_fn_config_lib dxguid
17236 wine_fn_config_dll dxva2 enable_dxva2
17237 wine_fn_config_dll evr enable_evr
17238 wine_fn_config_dll explorerframe enable_explorerframe clean
17239 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17240 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17241 wine_fn_config_dll faultrep enable_faultrep implib
17242 wine_fn_config_test dlls/faultrep/tests faultrep_test
17243 wine_fn_config_dll fltlib enable_fltlib
17244 wine_fn_config_dll fntcache enable_fntcache
17245 wine_fn_config_dll fontsub enable_fontsub
17246 wine_fn_config_dll fusion enable_fusion
17247 wine_fn_config_test dlls/fusion/tests fusion_test
17248 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17249 wine_fn_config_dll gameux enable_gameux clean
17250 wine_fn_config_test dlls/gameux/tests gameux_test
17251 wine_fn_config_dll gdi.exe16 enable_win16
17252 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17253 wine_fn_config_test dlls/gdi32/tests gdi32_test
17254 wine_fn_config_dll gdiplus enable_gdiplus implib
17255 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17256 wine_fn_config_dll glu32 enable_glu32 implib
17257 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17258 wine_fn_config_dll gpkcsp enable_gpkcsp
17259 wine_fn_config_dll hal enable_hal
17260 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17261 wine_fn_config_dll hid enable_hid implib
17262 wine_fn_config_dll hlink enable_hlink clean,implib
17263 wine_fn_config_test dlls/hlink/tests hlink_test
17264 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17265 wine_fn_config_dll httpapi enable_httpapi
17266 wine_fn_config_dll iccvid enable_iccvid po
17267 wine_fn_config_dll icmp enable_icmp
17268 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17269 wine_fn_config_test dlls/ieframe/tests ieframe_test
17270 wine_fn_config_dll ifsmgr.vxd enable_win16
17271 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17272 wine_fn_config_dll imagehlp enable_imagehlp implib
17273 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17274 wine_fn_config_dll imm.dll16 enable_win16
17275 wine_fn_config_dll imm32 enable_imm32 implib
17276 wine_fn_config_test dlls/imm32/tests imm32_test
17277 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17278 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17279 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17280 wine_fn_config_dll inetmib1 enable_inetmib1
17281 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17282 wine_fn_config_dll infosoft enable_infosoft clean
17283 wine_fn_config_test dlls/infosoft/tests infosoft_test
17284 wine_fn_config_dll initpki enable_initpki
17285 wine_fn_config_dll inkobj enable_inkobj
17286 wine_fn_config_dll inseng enable_inseng clean
17287 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17288 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17289 wine_fn_config_dll itircl enable_itircl
17290 wine_fn_config_dll itss enable_itss clean
17291 wine_fn_config_test dlls/itss/tests itss_test
17292 wine_fn_config_dll joy.cpl enable_joy_cpl po
17293 wine_fn_config_dll jscript enable_jscript clean,po
17294 wine_fn_config_test dlls/jscript/tests jscript_test
17295 wine_fn_config_dll jsproxy enable_jsproxy implib
17296 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17297 wine_fn_config_test dlls/kernel32/tests kernel32_test
17298 wine_fn_config_dll keyboard.drv16 enable_win16
17299 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17300 wine_fn_config_dll ksuser enable_ksuser
17301 wine_fn_config_dll ktmw32 enable_ktmw32
17302 wine_fn_config_dll loadperf enable_loadperf implib
17303 wine_fn_config_dll localspl enable_localspl po
17304 wine_fn_config_test dlls/localspl/tests localspl_test
17305 wine_fn_config_dll localui enable_localui po
17306 wine_fn_config_test dlls/localui/tests localui_test
17307 wine_fn_config_dll lz32 enable_lz32 implib
17308 wine_fn_config_test dlls/lz32/tests lz32_test
17309 wine_fn_config_dll lzexpand.dll16 enable_win16
17310 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17311 wine_fn_config_test dlls/mapi32/tests mapi32_test
17312 wine_fn_config_dll mapistub enable_mapistub
17313 wine_fn_config_dll mciavi32 enable_mciavi32
17314 wine_fn_config_dll mcicda enable_mcicda
17315 wine_fn_config_dll mciqtz32 enable_mciqtz32
17316 wine_fn_config_dll mciseq enable_mciseq
17317 wine_fn_config_dll mciwave enable_mciwave
17318 wine_fn_config_dll mf enable_mf
17319 wine_fn_config_dll mfplat enable_mfplat
17320 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17321 wine_fn_config_dll mgmtapi enable_mgmtapi
17322 wine_fn_config_dll midimap enable_midimap
17323 wine_fn_config_dll mlang enable_mlang clean,implib
17324 wine_fn_config_test dlls/mlang/tests mlang_test
17325 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17326 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17327 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17328 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17329 wine_fn_config_dll mmdevldr.vxd enable_win16
17330 wine_fn_config_dll mmsystem.dll16 enable_win16
17331 wine_fn_config_dll monodebg.vxd enable_win16
17332 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17333 wine_fn_config_dll mouse.drv16 enable_win16
17334 wine_fn_config_dll mpr enable_mpr implib,po
17335 wine_fn_config_test dlls/mpr/tests mpr_test
17336 wine_fn_config_dll mprapi enable_mprapi implib
17337 wine_fn_config_dll msacm.dll16 enable_win16
17338 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17339 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17340 wine_fn_config_test dlls/msacm32/tests msacm32_test
17341 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17342 wine_fn_config_dll msasn1 enable_msasn1 implib
17343 wine_fn_config_dll mscat32 enable_mscat32
17344 wine_fn_config_dll mscms enable_mscms implib
17345 wine_fn_config_test dlls/mscms/tests mscms_test
17346 wine_fn_config_dll mscoree enable_mscoree clean
17347 wine_fn_config_test dlls/mscoree/tests mscoree_test
17348 wine_fn_config_dll msctf enable_msctf clean
17349 wine_fn_config_test dlls/msctf/tests msctf_test
17350 wine_fn_config_dll msdaps enable_msdaps clean
17351 wine_fn_config_dll msdmo enable_msdmo implib
17352 wine_fn_config_test dlls/msdmo/tests msdmo_test
17353 wine_fn_config_dll msftedit enable_msftedit
17354 wine_fn_config_dll msg711.acm enable_msg711_acm
17355 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17356 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17357 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17358 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17359 wine_fn_config_dll msi enable_msi clean,implib,po
17360 wine_fn_config_test dlls/msi/tests msi_test
17361 wine_fn_config_dll msident enable_msident clean
17362 wine_fn_config_dll msimg32 enable_msimg32 implib
17363 wine_fn_config_dll msimsg enable_msimsg
17364 wine_fn_config_dll msimtf enable_msimtf clean
17365 wine_fn_config_dll msisip enable_msisip
17366 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17367 wine_fn_config_dll msls31 enable_msls31
17368 wine_fn_config_dll msnet32 enable_msnet32
17369 wine_fn_config_dll mspatcha enable_mspatcha
17370 wine_fn_config_dll msrle32 enable_msrle32 po
17371 wine_fn_config_test dlls/msrle32/tests msrle32_test
17372 wine_fn_config_dll mssign32 enable_mssign32
17373 wine_fn_config_dll mssip32 enable_mssip32
17374 wine_fn_config_dll mstask enable_mstask clean
17375 wine_fn_config_test dlls/mstask/tests mstask_test
17376 wine_fn_config_dll msvcirt enable_msvcirt
17377 wine_fn_config_dll msvcm80 enable_msvcm80
17378 wine_fn_config_dll msvcm90 enable_msvcm90
17379 wine_fn_config_dll msvcp100 enable_msvcp100
17380 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17381 wine_fn_config_dll msvcp110 enable_msvcp110
17382 wine_fn_config_dll msvcp120 enable_msvcp120
17383 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17384 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17385 wine_fn_config_dll msvcp60 enable_msvcp60
17386 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17387 wine_fn_config_dll msvcp70 enable_msvcp70
17388 wine_fn_config_dll msvcp71 enable_msvcp71
17389 wine_fn_config_dll msvcp80 enable_msvcp80
17390 wine_fn_config_dll msvcp90 enable_msvcp90
17391 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17392 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17393 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17394 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17395 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17396 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17397 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17398 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17399 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17400 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17401 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17402 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17403 wine_fn_config_dll msvcrt enable_msvcrt implib
17404 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17405 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17406 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17407 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17408 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17409 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17410 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17411 wine_fn_config_dll msvidc32 enable_msvidc32 po
17412 wine_fn_config_dll msvideo.dll16 enable_win16
17413 wine_fn_config_dll mswsock enable_mswsock implib
17414 wine_fn_config_dll msxml enable_msxml clean
17415 wine_fn_config_dll msxml2 enable_msxml2 clean
17416 wine_fn_config_dll msxml3 enable_msxml3 clean
17417 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17418 wine_fn_config_dll msxml4 enable_msxml4 clean
17419 wine_fn_config_dll msxml6 enable_msxml6 clean
17420 wine_fn_config_dll nddeapi enable_nddeapi implib
17421 wine_fn_config_dll ndis.sys enable_ndis_sys
17422 wine_fn_config_dll netapi32 enable_netapi32 implib
17423 wine_fn_config_test dlls/netapi32/tests netapi32_test
17424 wine_fn_config_dll netcfgx enable_netcfgx clean
17425 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17426 wine_fn_config_dll netprofm enable_netprofm clean
17427 wine_fn_config_test dlls/netprofm/tests netprofm_test
17428 wine_fn_config_dll newdev enable_newdev implib
17429 wine_fn_config_dll normaliz enable_normaliz implib
17430 wine_fn_config_dll npmshtml enable_npmshtml
17431 wine_fn_config_dll npptools enable_npptools
17432 wine_fn_config_dll ntdll enable_ntdll implib
17433 wine_fn_config_test dlls/ntdll/tests ntdll_test
17434 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17435 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17436 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17437 wine_fn_config_dll ntprint enable_ntprint
17438 wine_fn_config_test dlls/ntprint/tests ntprint_test
17439 wine_fn_config_dll objsel enable_objsel clean
17440 wine_fn_config_dll odbc32 enable_odbc32 implib
17441 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17442 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17443 wine_fn_config_dll odbccu32 enable_odbccu32
17444 wine_fn_config_dll ole2.dll16 enable_win16
17445 wine_fn_config_dll ole2conv.dll16 enable_win16
17446 wine_fn_config_dll ole2disp.dll16 enable_win16
17447 wine_fn_config_dll ole2nls.dll16 enable_win16
17448 wine_fn_config_dll ole2prox.dll16 enable_win16
17449 wine_fn_config_dll ole2thk.dll16 enable_win16
17450 wine_fn_config_dll ole32 enable_ole32 clean,implib
17451 wine_fn_config_test dlls/ole32/tests ole32_test
17452 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17453 wine_fn_config_test dlls/oleacc/tests oleacc_test
17454 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17455 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17456 wine_fn_config_dll olecli.dll16 enable_win16
17457 wine_fn_config_dll olecli32 enable_olecli32 implib
17458 wine_fn_config_dll oledb32 enable_oledb32 clean
17459 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17460 wine_fn_config_dll oledlg enable_oledlg implib,po
17461 wine_fn_config_dll olepro32 enable_olepro32 implib
17462 wine_fn_config_dll olesvr.dll16 enable_win16
17463 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17464 wine_fn_config_dll olethk32 enable_olethk32
17465 wine_fn_config_dll openal32 enable_openal32
17466 wine_fn_config_dll opencl enable_opencl
17467 wine_fn_config_dll opengl32 enable_opengl32 implib
17468 wine_fn_config_test dlls/opengl32/tests opengl32_test
17469 wine_fn_config_dll packager enable_packager clean
17470 wine_fn_config_test dlls/packager/tests packager_test
17471 wine_fn_config_dll pdh enable_pdh implib
17472 wine_fn_config_test dlls/pdh/tests pdh_test
17473 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17474 wine_fn_config_dll pidgen enable_pidgen
17475 wine_fn_config_dll powrprof enable_powrprof implib
17476 wine_fn_config_dll printui enable_printui
17477 wine_fn_config_dll prntvpt enable_prntvpt
17478 wine_fn_config_dll propsys enable_propsys clean,implib
17479 wine_fn_config_test dlls/propsys/tests propsys_test
17480 wine_fn_config_dll psapi enable_psapi implib
17481 wine_fn_config_test dlls/psapi/tests psapi_test
17482 wine_fn_config_dll pstorec enable_pstorec clean
17483 wine_fn_config_dll qcap enable_qcap
17484 wine_fn_config_test dlls/qcap/tests qcap_test
17485 wine_fn_config_dll qedit enable_qedit clean
17486 wine_fn_config_test dlls/qedit/tests qedit_test
17487 wine_fn_config_dll qmgr enable_qmgr clean
17488 wine_fn_config_test dlls/qmgr/tests qmgr_test
17489 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17490 wine_fn_config_dll quartz enable_quartz clean,implib
17491 wine_fn_config_test dlls/quartz/tests quartz_test clean
17492 wine_fn_config_dll query enable_query
17493 wine_fn_config_dll rasapi16.dll16 enable_win16
17494 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17495 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17496 wine_fn_config_dll rasdlg enable_rasdlg implib
17497 wine_fn_config_dll regapi enable_regapi
17498 wine_fn_config_dll resutils enable_resutils implib
17499 wine_fn_config_dll riched20 enable_riched20 implib
17500 wine_fn_config_test dlls/riched20/tests riched20_test
17501 wine_fn_config_dll riched32 enable_riched32
17502 wine_fn_config_test dlls/riched32/tests riched32_test
17503 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17504 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17505 wine_fn_config_dll rsabase enable_rsabase
17506 wine_fn_config_dll rsaenh enable_rsaenh implib
17507 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17508 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17509 wine_fn_config_dll rtutils enable_rtutils implib
17510 wine_fn_config_dll samlib enable_samlib
17511 wine_fn_config_dll sane.ds enable_sane_ds po
17512 wine_fn_config_dll scarddlg enable_scarddlg
17513 wine_fn_config_dll sccbase enable_sccbase
17514 wine_fn_config_dll schannel enable_schannel
17515 wine_fn_config_test dlls/schannel/tests schannel_test
17516 wine_fn_config_dll schedsvc enable_schedsvc clean
17517 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17518 wine_fn_config_dll scrrun enable_scrrun clean
17519 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17520 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17521 wine_fn_config_dll secur32 enable_secur32 implib
17522 wine_fn_config_test dlls/secur32/tests secur32_test
17523 wine_fn_config_dll security enable_security
17524 wine_fn_config_dll sensapi enable_sensapi implib
17525 wine_fn_config_dll serialui enable_serialui implib,po
17526 wine_fn_config_test dlls/serialui/tests serialui_test
17527 wine_fn_config_dll setupapi enable_setupapi implib,po
17528 wine_fn_config_test dlls/setupapi/tests setupapi_test
17529 wine_fn_config_dll setupx.dll16 enable_win16
17530 wine_fn_config_dll sfc enable_sfc implib
17531 wine_fn_config_dll sfc_os enable_sfc_os implib
17532 wine_fn_config_dll shdoclc enable_shdoclc po
17533 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17534 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17535 wine_fn_config_dll shell.dll16 enable_win16
17536 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17537 wine_fn_config_test dlls/shell32/tests shell32_test
17538 wine_fn_config_dll shfolder enable_shfolder implib
17539 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17540 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17541 wine_fn_config_dll slbcsp enable_slbcsp
17542 wine_fn_config_dll slc enable_slc implib
17543 wine_fn_config_test dlls/slc/tests slc_test
17544 wine_fn_config_dll snmpapi enable_snmpapi implib
17545 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17546 wine_fn_config_dll softpub enable_softpub
17547 wine_fn_config_dll sound.drv16 enable_win16
17548 wine_fn_config_dll spoolss enable_spoolss implib
17549 wine_fn_config_test dlls/spoolss/tests spoolss_test
17550 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17551 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17552 wine_fn_config_dll sti enable_sti clean,implib
17553 wine_fn_config_test dlls/sti/tests sti_test
17554 wine_fn_config_dll storage.dll16 enable_win16
17555 wine_fn_config_dll stress.dll16 enable_win16
17556 wine_fn_config_lib strmbase
17557 wine_fn_config_lib strmiids
17558 wine_fn_config_dll svrapi enable_svrapi
17559 wine_fn_config_dll sxs enable_sxs implib
17560 wine_fn_config_test dlls/sxs/tests sxs_test
17561 wine_fn_config_dll system.drv16 enable_win16
17562 wine_fn_config_dll t2embed enable_t2embed
17563 wine_fn_config_dll tapi32 enable_tapi32 implib
17564 wine_fn_config_dll taskschd enable_taskschd clean
17565 wine_fn_config_test dlls/taskschd/tests taskschd_test
17566 wine_fn_config_dll toolhelp.dll16 enable_win16
17567 wine_fn_config_dll traffic enable_traffic
17568 wine_fn_config_dll twain.dll16 enable_win16
17569 wine_fn_config_dll twain_32 enable_twain_32
17570 wine_fn_config_test dlls/twain_32/tests twain_32_test
17571 wine_fn_config_dll typelib.dll16 enable_win16
17572 wine_fn_config_dll unicows enable_unicows implib
17573 wine_fn_config_dll updspapi enable_updspapi
17574 wine_fn_config_dll url enable_url implib
17575 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17576 wine_fn_config_test dlls/urlmon/tests urlmon_test
17577 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17578 wine_fn_config_dll user.exe16 enable_win16
17579 wine_fn_config_dll user32 enable_user32 clean,implib,po
17580 wine_fn_config_test dlls/user32/tests user32_test
17581 wine_fn_config_dll userenv enable_userenv implib
17582 wine_fn_config_test dlls/userenv/tests userenv_test
17583 wine_fn_config_dll usp10 enable_usp10 implib
17584 wine_fn_config_test dlls/usp10/tests usp10_test
17585 wine_fn_config_lib uuid
17586 wine_fn_config_dll uxtheme enable_uxtheme implib
17587 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17588 wine_fn_config_dll vbscript enable_vbscript clean
17589 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17590 wine_fn_config_dll vcomp enable_vcomp
17591 wine_fn_config_dll vcomp100 enable_vcomp100
17592 wine_fn_config_dll vcomp90 enable_vcomp90
17593 wine_fn_config_dll vdhcp.vxd enable_win16
17594 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17595 wine_fn_config_dll ver.dll16 enable_win16
17596 wine_fn_config_dll version enable_version implib
17597 wine_fn_config_test dlls/version/tests version_test
17598 wine_fn_config_dll vmm.vxd enable_win16
17599 wine_fn_config_dll vnbt.vxd enable_win16
17600 wine_fn_config_dll vnetbios.vxd enable_win16
17601 wine_fn_config_dll vssapi enable_vssapi
17602 wine_fn_config_dll vtdapi.vxd enable_win16
17603 wine_fn_config_dll vwin32.vxd enable_win16
17604 wine_fn_config_dll w32skrnl enable_win16
17605 wine_fn_config_dll w32sys.dll16 enable_win16
17606 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17607 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17608 wine_fn_config_dll wbemprox enable_wbemprox clean
17609 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17610 wine_fn_config_dll webservices enable_webservices implib
17611 wine_fn_config_dll wer enable_wer implib
17612 wine_fn_config_test dlls/wer/tests wer_test
17613 wine_fn_config_dll wevtapi enable_wevtapi
17614 wine_fn_config_dll wiaservc enable_wiaservc clean
17615 wine_fn_config_dll win32s16.dll16 enable_win16
17616 wine_fn_config_dll win87em.dll16 enable_win16
17617 wine_fn_config_dll winaspi.dll16 enable_win16
17618 wine_fn_config_dll windebug.dll16 enable_win16
17619 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17620 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17621 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17622 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17623 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17624 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17625 wine_fn_config_lib winecrt0
17626 wine_fn_config_dll wined3d enable_wined3d implib
17627 wine_fn_config_dll winegstreamer enable_winegstreamer
17628 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17629 wine_fn_config_dll winemac.drv enable_winemac_drv
17630 wine_fn_config_dll winemapi enable_winemapi
17631 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17632 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17633 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17634 wine_fn_config_dll wineps16.drv16 enable_win16
17635 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17636 wine_fn_config_dll winex11.drv enable_winex11_drv
17637 wine_fn_config_dll wing.dll16 enable_win16
17638 wine_fn_config_dll wing32 enable_wing32
17639 wine_fn_config_dll winhttp enable_winhttp clean,implib
17640 wine_fn_config_test dlls/winhttp/tests winhttp_test
17641 wine_fn_config_dll wininet enable_wininet implib,po
17642 wine_fn_config_test dlls/wininet/tests wininet_test
17643 wine_fn_config_dll winmm enable_winmm implib,po
17644 wine_fn_config_test dlls/winmm/tests winmm_test
17645 wine_fn_config_dll winnls.dll16 enable_win16
17646 wine_fn_config_dll winnls32 enable_winnls32 implib
17647 wine_fn_config_dll winscard enable_winscard implib
17648 wine_fn_config_dll winsock.dll16 enable_win16
17649 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17650 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17651 wine_fn_config_dll winsta enable_winsta
17652 wine_fn_config_dll wintab.dll16 enable_win16
17653 wine_fn_config_dll wintab32 enable_wintab32 implib
17654 wine_fn_config_test dlls/wintab32/tests wintab32_test
17655 wine_fn_config_dll wintrust enable_wintrust implib
17656 wine_fn_config_test dlls/wintrust/tests wintrust_test
17657 wine_fn_config_dll wlanapi enable_wlanapi
17658 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17659 wine_fn_config_test dlls/wldap32/tests wldap32_test
17660 wine_fn_config_dll wmi enable_wmi
17661 wine_fn_config_dll wmiutils enable_wmiutils clean
17662 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17663 wine_fn_config_dll wmp enable_wmp clean
17664 wine_fn_config_test dlls/wmp/tests wmp_test
17665 wine_fn_config_dll wmvcore enable_wmvcore
17666 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17667 wine_fn_config_dll wow32 enable_win16 implib
17668 wine_fn_config_dll wpcap enable_wpcap
17669 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17670 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17671 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17672 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17673 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17674 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17675 wine_fn_config_dll wsock32 enable_wsock32 implib
17676 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17677 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17678 wine_fn_config_dll wuapi enable_wuapi clean
17679 wine_fn_config_dll wuaueng enable_wuaueng
17680 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17681 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17682 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17683 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17684 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17685 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17686 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17687 wine_fn_config_dll xinput1_1 enable_xinput1_1
17688 wine_fn_config_dll xinput1_2 enable_xinput1_2
17689 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17690 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17691 wine_fn_config_dll xinput1_4 enable_xinput1_4
17692 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17693 wine_fn_config_dll xmllite enable_xmllite implib
17694 wine_fn_config_test dlls/xmllite/tests xmllite_test
17695 wine_fn_config_dll xolehlp enable_xolehlp
17696 wine_fn_config_dll xpsprint enable_xpsprint
17697 wine_fn_config_dll xpssvcs enable_xpssvcs
17698 wine_fn_config_makefile documentation enable_documentation clean
17699 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17700 wine_fn_config_makefile include enable_include clean,install-dev
17701 wine_fn_config_makefile libs/port enable_libs_port
17702 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17703 wine_fn_config_makefile libs/wpp enable_libs_wpp
17704 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17705 wine_fn_config_program arp enable_arp install
17706 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17707 wine_fn_config_program attrib enable_attrib install,po
17708 wine_fn_config_program cabarc enable_cabarc install
17709 wine_fn_config_program cacls enable_cacls install
17710 wine_fn_config_program clock enable_clock install,po
17711 wine_fn_config_program cmd enable_cmd install,po
17712 wine_fn_config_test programs/cmd/tests cmd.exe_test
17713 wine_fn_config_program conhost enable_conhost install
17714 wine_fn_config_program control enable_control install
17715 wine_fn_config_program cscript enable_cscript clean,install
17716 wine_fn_config_program dpnsvr enable_dpnsvr install
17717 wine_fn_config_program dxdiag enable_dxdiag install,po
17718 wine_fn_config_program eject enable_eject install
17719 wine_fn_config_program expand enable_expand install
17720 wine_fn_config_program explorer enable_explorer install,po
17721 wine_fn_config_program extrac32 enable_extrac32 install
17722 wine_fn_config_program findstr enable_findstr install
17723 wine_fn_config_program hh enable_hh install
17724 wine_fn_config_program hostname enable_hostname install,po
17725 wine_fn_config_program icinfo enable_icinfo install
17726 wine_fn_config_program iexplore enable_iexplore install
17727 wine_fn_config_program ipconfig enable_ipconfig install,po
17728 wine_fn_config_program lodctr enable_lodctr install
17729 wine_fn_config_program mofcomp enable_mofcomp install
17730 wine_fn_config_program mshta enable_mshta install
17731 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17732 wine_fn_config_program net enable_net install,po
17733 wine_fn_config_program netsh enable_netsh install
17734 wine_fn_config_program netstat enable_netstat install,po
17735 wine_fn_config_program ngen enable_ngen install
17736 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17737 wine_fn_config_program oleview enable_oleview install,po
17738 wine_fn_config_program ping enable_ping install
17739 wine_fn_config_program plugplay enable_plugplay install
17740 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17741 wine_fn_config_program progman enable_progman install,po
17742 wine_fn_config_program reg enable_reg install,po
17743 wine_fn_config_test programs/reg/tests reg.exe_test
17744 wine_fn_config_program regasm enable_regasm install
17745 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17746 wine_fn_config_test programs/regedit/tests regedit.exe_test
17747 wine_fn_config_program regsvcs enable_regsvcs install
17748 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17749 wine_fn_config_program rpcss enable_rpcss clean,install
17750 wine_fn_config_program rundll.exe16 enable_win16 install
17751 wine_fn_config_program rundll32 enable_rundll32 install
17752 wine_fn_config_program sc enable_sc install
17753 wine_fn_config_program schtasks enable_schtasks install
17754 wine_fn_config_program sdbinst enable_sdbinst install
17755 wine_fn_config_program secedit enable_secedit install
17756 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17757 wine_fn_config_program services enable_services clean,install
17758 wine_fn_config_test programs/services/tests services.exe_test
17759 wine_fn_config_program spoolsv enable_spoolsv install
17760 wine_fn_config_program start enable_start install,po
17761 wine_fn_config_program svchost enable_svchost install
17762 wine_fn_config_program systeminfo enable_systeminfo install
17763 wine_fn_config_program taskkill enable_taskkill install,po
17764 wine_fn_config_program tasklist enable_tasklist install
17765 wine_fn_config_program taskmgr enable_taskmgr install,po
17766 wine_fn_config_program termsv enable_termsv install
17767 wine_fn_config_program uninstaller enable_uninstaller install,po
17768 wine_fn_config_program unlodctr enable_unlodctr install
17769 wine_fn_config_program view enable_view install,po
17770 wine_fn_config_program wevtutil enable_wevtutil install
17771 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17772 wine_fn_config_program winebrowser enable_winebrowser install
17773 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17774 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17775 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17776 wine_fn_config_program winedevice enable_winedevice install
17777 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17778 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17779 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17780 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17781 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17782 wine_fn_config_program winetest enable_winetest clean
17783 wine_fn_config_program winevdm enable_win16 install
17784 wine_fn_config_program winhelp.exe16 enable_win16 install
17785 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17786 wine_fn_config_program winoldap.mod16 enable_win16 install
17787 wine_fn_config_program winver enable_winver install
17788 wine_fn_config_program wmic enable_wmic install,po
17789 wine_fn_config_program wordpad enable_wordpad install,po
17790 wine_fn_config_program write enable_write install,po
17791 wine_fn_config_program wscript enable_wscript clean,install
17792 wine_fn_config_test programs/wscript/tests wscript.exe_test
17793 wine_fn_config_program wusa enable_wusa install
17794 wine_fn_config_program xcopy enable_xcopy install,po
17795 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17796 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17797 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17798 wine_fn_config_tool tools/sfnt2fon clean
17799 wine_fn_config_tool tools/widl clean,install-dev,manpage
17800 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17801 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17802 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17803 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17804 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17806 LINGUAS="\
17807 ar \
17808 bg \
17809 ca \
17810 cs \
17811 da \
17812 de \
17813 el \
17814 en \
17815 en_US \
17816 eo \
17817 es \
17818 fa \
17819 fi \
17820 fr \
17821 he \
17822 hi \
17823 hr \
17824 hu \
17825 it \
17826 ja \
17827 ko \
17828 lt \
17829 ml \
17830 nb_NO \
17831 nl \
17832 or \
17833 pa \
17834 pl \
17835 pt_BR \
17836 pt_PT \
17837 rm \
17838 ro \
17839 ru \
17840 sk \
17841 sl \
17842 sr_RS@cyrillic \
17843 sr_RS@latin \
17844 sv \
17845 te \
17846 th \
17847 tr \
17848 uk \
17849 wa \
17850 zh_CN \
17851 zh_TW"
17856 wine_fn_ignore_file ".gitignore"
17857 wine_fn_ignore_file "Makefile"
17858 wine_fn_ignore_file "TAGS"
17859 wine_fn_ignore_file "tags"
17860 wine_fn_ignore_file "autom4te.cache"
17861 wine_fn_ignore_file "config.cache"
17862 wine_fn_ignore_file "config.log"
17863 wine_fn_ignore_file "config.status"
17864 wine_fn_ignore_file "configure.lineno"
17865 wine_fn_ignore_file "include/config.h"
17866 wine_fn_ignore_file "include/stamp-h"
17867 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17869 if test "x$enable_tools" != xno
17870 then
17871 wine_fn_ignore_file "tools/makedep$ac_exeext"
17872 ac_config_commands="$ac_config_commands tools/makedep"
17876 ac_config_commands="$ac_config_commands Makefile"
17879 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17883 if test "x$enable_maintainer_mode" = xyes
17884 then
17885 wine_fn_append_rule "configure: configure.ac aclocal.m4
17886 autoconf --warnings=all
17887 include/config.h.in: include/stamp-h.in
17888 include/stamp-h.in: configure.ac aclocal.m4
17889 autoheader --warnings=all
17890 @echo timestamp > \$@"
17893 if test "x$with_gettextpo" = xyes
17894 then
17895 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17896 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17897 \$(LINGUAS:%=po/%.po): po/wine.pot
17898 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17899 po/wine.pot: \$(ALL_POT_FILES)
17900 msgcat -o \$@ \$(ALL_POT_FILES)"
17903 if test "$MSGFMT" != false
17904 then
17905 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17906 clean::
17907 \$(RM) \$(LINGUAS:%=po/%.mo)"
17909 posrc="po"
17910 test "$srcdir" = . || posrc="$srcdir/po"
17911 for i in $LINGUAS
17913 wine_fn_ignore_file "po/$i.mo"
17914 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17915 \$(MSGFMT) -o \$@ $posrc/$i.po"
17916 done
17917 else
17918 LINGUAS=
17921 if test "x$enable_tools" != xno
17922 then
17923 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17924 @./config.status tools/makedep
17925 Makefile: tools/makedep$ac_exeext
17926 distclean:: clean
17927 \$(RM) tools/makedep$ac_exeext"
17928 else
17929 wine_fn_append_rule "\$(MAKEDEP):
17930 @echo \"You need to run make in $TOOLSDIR first\" && false"
17933 if test -n "$with_wine64"
17934 then
17935 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17936 fonts server tools:
17937 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17938 $with_wine64/loader/wine:
17939 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17940 $with_wine64/loader/wine-preloader:
17941 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17942 clean::
17943 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17944 else
17945 as_fn_append LOADER_RULES "
17946 install install-lib:: wine.inf install-man-pages
17947 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17948 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17950 uninstall::
17951 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17955 if test "$srcdir" = .
17956 then
17957 ac_config_commands="$ac_config_commands .gitignore"
17961 $as_echo " done" >&6
17962 cat >confcache <<\_ACEOF
17963 # This file is a shell script that caches the results of configure
17964 # tests run on this system so they can be shared between configure
17965 # scripts and configure runs, see configure's option --config-cache.
17966 # It is not useful on other systems. If it contains results you don't
17967 # want to keep, you may remove or edit it.
17969 # config.status only pays attention to the cache file if you give it
17970 # the --recheck option to rerun configure.
17972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17974 # following values.
17976 _ACEOF
17978 # The following way of writing the cache mishandles newlines in values,
17979 # but we know of no workaround that is simple, portable, and efficient.
17980 # So, we kill variables containing newlines.
17981 # Ultrix sh set writes to stderr and can't be redirected directly,
17982 # and sets the high bit in the cache file unless we assign to the vars.
17984 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17985 eval ac_val=\$$ac_var
17986 case $ac_val in #(
17987 *${as_nl}*)
17988 case $ac_var in #(
17989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17991 esac
17992 case $ac_var in #(
17993 _ | IFS | as_nl) ;; #(
17994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17995 *) { eval $ac_var=; unset $ac_var;} ;;
17996 esac ;;
17997 esac
17998 done
18000 (set) 2>&1 |
18001 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18002 *${as_nl}ac_space=\ *)
18003 # `set' does not quote correctly, so add quotes: double-quote
18004 # substitution turns \\\\ into \\, and sed turns \\ into \.
18005 sed -n \
18006 "s/'/'\\\\''/g;
18007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18008 ;; #(
18010 # `set' quotes correctly as required by POSIX, so do not add quotes.
18011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18013 esac |
18014 sort
18016 sed '
18017 /^ac_cv_env_/b end
18018 t clear
18019 :clear
18020 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18021 t end
18022 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18023 :end' >>confcache
18024 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18025 if test -w "$cache_file"; then
18026 if test "x$cache_file" != "x/dev/null"; then
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18028 $as_echo "$as_me: updating cache $cache_file" >&6;}
18029 if test ! -f "$cache_file" || test -h "$cache_file"; then
18030 cat confcache >"$cache_file"
18031 else
18032 case $cache_file in #(
18033 */* | ?:*)
18034 mv -f confcache "$cache_file"$$ &&
18035 mv -f "$cache_file"$$ "$cache_file" ;; #(
18037 mv -f confcache "$cache_file" ;;
18038 esac
18041 else
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18046 rm -f confcache
18048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18049 # Let make expand exec_prefix.
18050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18052 DEFS=-DHAVE_CONFIG_H
18054 ac_libobjs=
18055 ac_ltlibobjs=
18057 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18058 # 1. Remove the extension, and $U if already installed.
18059 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18060 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18062 # will be set to the directory where LIBOBJS objects are built.
18063 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18064 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18065 done
18066 LIBOBJS=$ac_libobjs
18068 LTLIBOBJS=$ac_ltlibobjs
18072 : "${CONFIG_STATUS=./config.status}"
18073 ac_write_fail=0
18074 ac_clean_files_save=$ac_clean_files
18075 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18077 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18078 as_write_fail=0
18079 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18080 #! $SHELL
18081 # Generated by $as_me.
18082 # Run this file to recreate the current configuration.
18083 # Compiler output produced by configure, useful for debugging
18084 # configure, is in config.log if it exists.
18086 debug=false
18087 ac_cs_recheck=false
18088 ac_cs_silent=false
18090 SHELL=\${CONFIG_SHELL-$SHELL}
18091 export SHELL
18092 _ASEOF
18093 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18094 ## -------------------- ##
18095 ## M4sh Initialization. ##
18096 ## -------------------- ##
18098 # Be more Bourne compatible
18099 DUALCASE=1; export DUALCASE # for MKS sh
18100 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18101 emulate sh
18102 NULLCMD=:
18103 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18104 # is contrary to our usage. Disable this feature.
18105 alias -g '${1+"$@"}'='"$@"'
18106 setopt NO_GLOB_SUBST
18107 else
18108 case `(set -o) 2>/dev/null` in #(
18109 *posix*) :
18110 set -o posix ;; #(
18111 *) :
18113 esac
18117 as_nl='
18119 export as_nl
18120 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18121 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18124 # Prefer a ksh shell builtin over an external printf program on Solaris,
18125 # but without wasting forks for bash or zsh.
18126 if test -z "$BASH_VERSION$ZSH_VERSION" \
18127 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18128 as_echo='print -r --'
18129 as_echo_n='print -rn --'
18130 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18131 as_echo='printf %s\n'
18132 as_echo_n='printf %s'
18133 else
18134 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18135 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18136 as_echo_n='/usr/ucb/echo -n'
18137 else
18138 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18139 as_echo_n_body='eval
18140 arg=$1;
18141 case $arg in #(
18142 *"$as_nl"*)
18143 expr "X$arg" : "X\\(.*\\)$as_nl";
18144 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18145 esac;
18146 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18148 export as_echo_n_body
18149 as_echo_n='sh -c $as_echo_n_body as_echo'
18151 export as_echo_body
18152 as_echo='sh -c $as_echo_body as_echo'
18155 # The user is always right.
18156 if test "${PATH_SEPARATOR+set}" != set; then
18157 PATH_SEPARATOR=:
18158 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18159 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18160 PATH_SEPARATOR=';'
18165 # IFS
18166 # We need space, tab and new line, in precisely that order. Quoting is
18167 # there to prevent editors from complaining about space-tab.
18168 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18169 # splitting by setting IFS to empty value.)
18170 IFS=" "" $as_nl"
18172 # Find who we are. Look in the path if we contain no directory separator.
18173 as_myself=
18174 case $0 in #((
18175 *[\\/]* ) as_myself=$0 ;;
18176 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18177 for as_dir in $PATH
18179 IFS=$as_save_IFS
18180 test -z "$as_dir" && as_dir=.
18181 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18182 done
18183 IFS=$as_save_IFS
18186 esac
18187 # We did not find ourselves, most probably we were run as `sh COMMAND'
18188 # in which case we are not to be found in the path.
18189 if test "x$as_myself" = x; then
18190 as_myself=$0
18192 if test ! -f "$as_myself"; then
18193 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18194 exit 1
18197 # Unset variables that we do not need and which cause bugs (e.g. in
18198 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18199 # suppresses any "Segmentation fault" message there. '((' could
18200 # trigger a bug in pdksh 5.2.14.
18201 for as_var in BASH_ENV ENV MAIL MAILPATH
18202 do eval test x\${$as_var+set} = xset \
18203 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18204 done
18205 PS1='$ '
18206 PS2='> '
18207 PS4='+ '
18209 # NLS nuisances.
18210 LC_ALL=C
18211 export LC_ALL
18212 LANGUAGE=C
18213 export LANGUAGE
18215 # CDPATH.
18216 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18219 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18220 # ----------------------------------------
18221 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18222 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18223 # script with STATUS, using 1 if that was 0.
18224 as_fn_error ()
18226 as_status=$1; test $as_status -eq 0 && as_status=1
18227 if test "$4"; then
18228 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18229 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18231 $as_echo "$as_me: error: $2" >&2
18232 as_fn_exit $as_status
18233 } # as_fn_error
18236 # as_fn_set_status STATUS
18237 # -----------------------
18238 # Set $? to STATUS, without forking.
18239 as_fn_set_status ()
18241 return $1
18242 } # as_fn_set_status
18244 # as_fn_exit STATUS
18245 # -----------------
18246 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18247 as_fn_exit ()
18249 set +e
18250 as_fn_set_status $1
18251 exit $1
18252 } # as_fn_exit
18254 # as_fn_unset VAR
18255 # ---------------
18256 # Portably unset VAR.
18257 as_fn_unset ()
18259 { eval $1=; unset $1;}
18261 as_unset=as_fn_unset
18262 # as_fn_append VAR VALUE
18263 # ----------------------
18264 # Append the text in VALUE to the end of the definition contained in VAR. Take
18265 # advantage of any shell optimizations that allow amortized linear growth over
18266 # repeated appends, instead of the typical quadratic growth present in naive
18267 # implementations.
18268 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18269 eval 'as_fn_append ()
18271 eval $1+=\$2
18273 else
18274 as_fn_append ()
18276 eval $1=\$$1\$2
18278 fi # as_fn_append
18280 # as_fn_arith ARG...
18281 # ------------------
18282 # Perform arithmetic evaluation on the ARGs, and store the result in the
18283 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18284 # must be portable across $(()) and expr.
18285 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18286 eval 'as_fn_arith ()
18288 as_val=$(( $* ))
18290 else
18291 as_fn_arith ()
18293 as_val=`expr "$@" || test $? -eq 1`
18295 fi # as_fn_arith
18298 if expr a : '\(a\)' >/dev/null 2>&1 &&
18299 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18300 as_expr=expr
18301 else
18302 as_expr=false
18305 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18306 as_basename=basename
18307 else
18308 as_basename=false
18311 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18312 as_dirname=dirname
18313 else
18314 as_dirname=false
18317 as_me=`$as_basename -- "$0" ||
18318 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18319 X"$0" : 'X\(//\)$' \| \
18320 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18321 $as_echo X/"$0" |
18322 sed '/^.*\/\([^/][^/]*\)\/*$/{
18323 s//\1/
18326 /^X\/\(\/\/\)$/{
18327 s//\1/
18330 /^X\/\(\/\).*/{
18331 s//\1/
18334 s/.*/./; q'`
18336 # Avoid depending upon Character Ranges.
18337 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18338 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18339 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18340 as_cr_digits='0123456789'
18341 as_cr_alnum=$as_cr_Letters$as_cr_digits
18343 ECHO_C= ECHO_N= ECHO_T=
18344 case `echo -n x` in #(((((
18345 -n*)
18346 case `echo 'xy\c'` in
18347 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18348 xy) ECHO_C='\c';;
18349 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18350 ECHO_T=' ';;
18351 esac;;
18353 ECHO_N='-n';;
18354 esac
18356 rm -f conf$$ conf$$.exe conf$$.file
18357 if test -d conf$$.dir; then
18358 rm -f conf$$.dir/conf$$.file
18359 else
18360 rm -f conf$$.dir
18361 mkdir conf$$.dir 2>/dev/null
18363 if (echo >conf$$.file) 2>/dev/null; then
18364 if ln -s conf$$.file conf$$ 2>/dev/null; then
18365 as_ln_s='ln -s'
18366 # ... but there are two gotchas:
18367 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18368 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18369 # In both cases, we have to default to `cp -pR'.
18370 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18371 as_ln_s='cp -pR'
18372 elif ln conf$$.file conf$$ 2>/dev/null; then
18373 as_ln_s=ln
18374 else
18375 as_ln_s='cp -pR'
18377 else
18378 as_ln_s='cp -pR'
18380 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18381 rmdir conf$$.dir 2>/dev/null
18384 # as_fn_mkdir_p
18385 # -------------
18386 # Create "$as_dir" as a directory, including parents if necessary.
18387 as_fn_mkdir_p ()
18390 case $as_dir in #(
18391 -*) as_dir=./$as_dir;;
18392 esac
18393 test -d "$as_dir" || eval $as_mkdir_p || {
18394 as_dirs=
18395 while :; do
18396 case $as_dir in #(
18397 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18398 *) as_qdir=$as_dir;;
18399 esac
18400 as_dirs="'$as_qdir' $as_dirs"
18401 as_dir=`$as_dirname -- "$as_dir" ||
18402 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18403 X"$as_dir" : 'X\(//\)[^/]' \| \
18404 X"$as_dir" : 'X\(//\)$' \| \
18405 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18406 $as_echo X"$as_dir" |
18407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18408 s//\1/
18411 /^X\(\/\/\)[^/].*/{
18412 s//\1/
18415 /^X\(\/\/\)$/{
18416 s//\1/
18419 /^X\(\/\).*/{
18420 s//\1/
18423 s/.*/./; q'`
18424 test -d "$as_dir" && break
18425 done
18426 test -z "$as_dirs" || eval "mkdir $as_dirs"
18427 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18430 } # as_fn_mkdir_p
18431 if mkdir -p . 2>/dev/null; then
18432 as_mkdir_p='mkdir -p "$as_dir"'
18433 else
18434 test -d ./-p && rmdir ./-p
18435 as_mkdir_p=false
18439 # as_fn_executable_p FILE
18440 # -----------------------
18441 # Test if FILE is an executable regular file.
18442 as_fn_executable_p ()
18444 test -f "$1" && test -x "$1"
18445 } # as_fn_executable_p
18446 as_test_x='test -x'
18447 as_executable_p=as_fn_executable_p
18449 # Sed expression to map a string onto a valid CPP name.
18450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18452 # Sed expression to map a string onto a valid variable name.
18453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18456 exec 6>&1
18457 ## ----------------------------------- ##
18458 ## Main body of $CONFIG_STATUS script. ##
18459 ## ----------------------------------- ##
18460 _ASEOF
18461 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18464 # Save the log message, to keep $0 and so on meaningful, and to
18465 # report actual input values of CONFIG_FILES etc. instead of their
18466 # values after options handling.
18467 ac_log="
18468 This file was extended by Wine $as_me 1.7.36, which was
18469 generated by GNU Autoconf 2.69. Invocation command line was
18471 CONFIG_FILES = $CONFIG_FILES
18472 CONFIG_HEADERS = $CONFIG_HEADERS
18473 CONFIG_LINKS = $CONFIG_LINKS
18474 CONFIG_COMMANDS = $CONFIG_COMMANDS
18475 $ $0 $@
18477 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18480 _ACEOF
18482 case $ac_config_files in *"
18483 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18484 esac
18486 case $ac_config_headers in *"
18487 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18488 esac
18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18492 # Files that config.status was made for.
18493 config_files="$ac_config_files"
18494 config_headers="$ac_config_headers"
18495 config_links="$ac_config_links"
18496 config_commands="$ac_config_commands"
18498 _ACEOF
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18501 ac_cs_usage="\
18502 \`$as_me' instantiates files and other configuration actions
18503 from templates according to the current configuration. Unless the files
18504 and actions are specified as TAGs, all are instantiated by default.
18506 Usage: $0 [OPTION]... [TAG]...
18508 -h, --help print this help, then exit
18509 -V, --version print version number and configuration settings, then exit
18510 --config print configuration, then exit
18511 -q, --quiet, --silent
18512 do not print progress messages
18513 -d, --debug don't remove temporary files
18514 --recheck update $as_me by reconfiguring in the same conditions
18515 --file=FILE[:TEMPLATE]
18516 instantiate the configuration file FILE
18517 --header=FILE[:TEMPLATE]
18518 instantiate the configuration header FILE
18520 Configuration files:
18521 $config_files
18523 Configuration headers:
18524 $config_headers
18526 Configuration links:
18527 $config_links
18529 Configuration commands:
18530 $config_commands
18532 Report bugs to <wine-devel@winehq.org>.
18533 Wine home page: <http://www.winehq.org>."
18535 _ACEOF
18536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18537 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18538 ac_cs_version="\\
18539 Wine config.status 1.7.36
18540 configured by $0, generated by GNU Autoconf 2.69,
18541 with options \\"\$ac_cs_config\\"
18543 Copyright (C) 2012 Free Software Foundation, Inc.
18544 This config.status script is free software; the Free Software Foundation
18545 gives unlimited permission to copy, distribute and modify it."
18547 ac_pwd='$ac_pwd'
18548 srcdir='$srcdir'
18549 test -n "\$AWK" || AWK=awk
18550 _ACEOF
18552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18553 # The default lists apply if the user does not specify any file.
18554 ac_need_defaults=:
18555 while test $# != 0
18557 case $1 in
18558 --*=?*)
18559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18560 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18561 ac_shift=:
18563 --*=)
18564 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18565 ac_optarg=
18566 ac_shift=:
18569 ac_option=$1
18570 ac_optarg=$2
18571 ac_shift=shift
18573 esac
18575 case $ac_option in
18576 # Handling of the options.
18577 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18578 ac_cs_recheck=: ;;
18579 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18580 $as_echo "$ac_cs_version"; exit ;;
18581 --config | --confi | --conf | --con | --co | --c )
18582 $as_echo "$ac_cs_config"; exit ;;
18583 --debug | --debu | --deb | --de | --d | -d )
18584 debug=: ;;
18585 --file | --fil | --fi | --f )
18586 $ac_shift
18587 case $ac_optarg in
18588 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18589 '') as_fn_error $? "missing file argument" ;;
18590 esac
18591 as_fn_append CONFIG_FILES " '$ac_optarg'"
18592 ac_need_defaults=false;;
18593 --header | --heade | --head | --hea )
18594 $ac_shift
18595 case $ac_optarg in
18596 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18597 esac
18598 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18599 ac_need_defaults=false;;
18600 --he | --h)
18601 # Conflict between --help and --header
18602 as_fn_error $? "ambiguous option: \`$1'
18603 Try \`$0 --help' for more information.";;
18604 --help | --hel | -h )
18605 $as_echo "$ac_cs_usage"; exit ;;
18606 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18607 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18608 ac_cs_silent=: ;;
18610 # This is an error.
18611 -*) as_fn_error $? "unrecognized option: \`$1'
18612 Try \`$0 --help' for more information." ;;
18614 *) as_fn_append ac_config_targets " $1"
18615 ac_need_defaults=false ;;
18617 esac
18618 shift
18619 done
18621 ac_configure_extra_args=
18623 if $ac_cs_silent; then
18624 exec 6>/dev/null
18625 ac_configure_extra_args="$ac_configure_extra_args --silent"
18628 _ACEOF
18629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18630 if \$ac_cs_recheck; then
18631 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18632 shift
18633 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18634 CONFIG_SHELL='$SHELL'
18635 export CONFIG_SHELL
18636 exec "\$@"
18639 _ACEOF
18640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18641 exec 5>>config.log
18643 echo
18644 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18645 ## Running $as_me. ##
18646 _ASBOX
18647 $as_echo "$ac_log"
18648 } >&5
18650 _ACEOF
18651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18653 # INIT-COMMANDS
18655 wine_fn_output_makedep ()
18657 as_dir=tools; as_fn_mkdir_p
18658 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18660 wine_fn_output_makefile ()
18662 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18663 `cat $wine_rules_file`
18664 _WINE_EOF
18665 as_fn_error $? "could not create Makefile" "$LINENO" 5
18667 wine_fn_output_gitignore ()
18669 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18670 $GITIGNORE
18671 _WINE_EOF
18672 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18675 _ACEOF
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18679 # Handling of arguments.
18680 for ac_config_target in $ac_config_targets
18682 case $ac_config_target in
18683 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18684 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18685 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18686 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18687 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18688 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18689 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18690 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18691 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18692 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18693 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18694 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18695 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18696 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18698 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18699 esac
18700 done
18703 # If the user did not use the arguments to specify the items to instantiate,
18704 # then the envvar interface is used. Set only those that are not.
18705 # We use the long form for the default assignment because of an extremely
18706 # bizarre bug on SunOS 4.1.3.
18707 if $ac_need_defaults; then
18708 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18709 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18710 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18714 # Have a temporary directory for convenience. Make it in the build tree
18715 # simply because there is no reason against having it here, and in addition,
18716 # creating and moving files from /tmp can sometimes cause problems.
18717 # Hook for its removal unless debugging.
18718 # Note that there is a small window in which the directory will not be cleaned:
18719 # after its creation but before its name has been assigned to `$tmp'.
18720 $debug ||
18722 tmp= ac_tmp=
18723 trap 'exit_status=$?
18724 : "${ac_tmp:=$tmp}"
18725 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18727 trap 'as_fn_exit 1' 1 2 13 15
18729 # Create a (secure) tmp directory for tmp files.
18732 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18733 test -d "$tmp"
18734 } ||
18736 tmp=./conf$$-$RANDOM
18737 (umask 077 && mkdir "$tmp")
18738 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18739 ac_tmp=$tmp
18741 # Set up the scripts for CONFIG_FILES section.
18742 # No need to generate them if there are no CONFIG_FILES.
18743 # This happens for instance with `./config.status config.h'.
18744 if test -n "$CONFIG_FILES"; then
18747 ac_cr=`echo X | tr X '\015'`
18748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18749 # But we know of no other shell where ac_cr would be empty at this
18750 # point, so we can use a bashism as a fallback.
18751 if test "x$ac_cr" = x; then
18752 eval ac_cr=\$\'\\r\'
18754 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18756 ac_cs_awk_cr='\\r'
18757 else
18758 ac_cs_awk_cr=$ac_cr
18761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18762 _ACEOF
18766 echo "cat >conf$$subs.awk <<_ACEOF" &&
18767 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18768 echo "_ACEOF"
18769 } >conf$$subs.sh ||
18770 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18772 ac_delim='%!_!# '
18773 for ac_last_try in false false false false false :; do
18774 . ./conf$$subs.sh ||
18775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18777 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18778 if test $ac_delim_n = $ac_delim_num; then
18779 break
18780 elif $ac_last_try; then
18781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18782 else
18783 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18785 done
18786 rm -f conf$$subs.sh
18788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18789 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18790 _ACEOF
18791 sed -n '
18793 s/^/S["/; s/!.*/"]=/
18796 s/^[^!]*!//
18797 :repl
18798 t repl
18799 s/'"$ac_delim"'$//
18800 t delim
18803 s/\(.\{148\}\)..*/\1/
18804 t more1
18805 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18808 b repl
18809 :more1
18810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18813 s/.\{148\}//
18814 t nl
18815 :delim
18817 s/\(.\{148\}\)..*/\1/
18818 t more2
18819 s/["\\]/\\&/g; s/^/"/; s/$/"/
18822 :more2
18823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18826 s/.\{148\}//
18827 t delim
18828 ' <conf$$subs.awk | sed '
18829 /^[^""]/{
18831 s/\n//
18833 ' >>$CONFIG_STATUS || ac_write_fail=1
18834 rm -f conf$$subs.awk
18835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18836 _ACAWK
18837 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18838 for (key in S) S_is_set[key] = 1
18839 FS = "\a"
18843 line = $ 0
18844 nfields = split(line, field, "@")
18845 substed = 0
18846 len = length(field[1])
18847 for (i = 2; i < nfields; i++) {
18848 key = field[i]
18849 keylen = length(key)
18850 if (S_is_set[key]) {
18851 value = S[key]
18852 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18853 len += length(value) + length(field[++i])
18854 substed = 1
18855 } else
18856 len += 1 + keylen
18859 print line
18862 _ACAWK
18863 _ACEOF
18864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18865 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18866 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18867 else
18869 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18870 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18871 _ACEOF
18873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18875 # trailing colons and then remove the whole line if VPATH becomes empty
18876 # (actually we leave an empty line to preserve line numbers).
18877 if test "x$srcdir" = x.; then
18878 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18880 s///
18881 s/^/:/
18882 s/[ ]*$/:/
18883 s/:\$(srcdir):/:/g
18884 s/:\${srcdir}:/:/g
18885 s/:@srcdir@:/:/g
18886 s/^:*//
18887 s/:*$//
18889 s/\(=[ ]*\).*/\1/
18891 s/\n//
18892 s/^[^=]*=[ ]*$//
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18897 fi # test -n "$CONFIG_FILES"
18899 # Set up the scripts for CONFIG_HEADERS section.
18900 # No need to generate them if there are no CONFIG_HEADERS.
18901 # This happens for instance with `./config.status Makefile'.
18902 if test -n "$CONFIG_HEADERS"; then
18903 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18904 BEGIN {
18905 _ACEOF
18907 # Transform confdefs.h into an awk script `defines.awk', embedded as
18908 # here-document in config.status, that substitutes the proper values into
18909 # config.h.in to produce config.h.
18911 # Create a delimiter string that does not exist in confdefs.h, to ease
18912 # handling of long lines.
18913 ac_delim='%!_!# '
18914 for ac_last_try in false false :; do
18915 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18916 if test -z "$ac_tt"; then
18917 break
18918 elif $ac_last_try; then
18919 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18920 else
18921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18923 done
18925 # For the awk script, D is an array of macro values keyed by name,
18926 # likewise P contains macro parameters if any. Preserve backslash
18927 # newline sequences.
18929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18930 sed -n '
18931 s/.\{148\}/&'"$ac_delim"'/g
18932 t rset
18933 :rset
18934 s/^[ ]*#[ ]*define[ ][ ]*/ /
18935 t def
18937 :def
18938 s/\\$//
18939 t bsnl
18940 s/["\\]/\\&/g
18941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18942 D["\1"]=" \3"/p
18943 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18945 :bsnl
18946 s/["\\]/\\&/g
18947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18948 D["\1"]=" \3\\\\\\n"\\/p
18949 t cont
18950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18951 t cont
18953 :cont
18955 s/.\{148\}/&'"$ac_delim"'/g
18956 t clear
18957 :clear
18958 s/\\$//
18959 t bsnlc
18960 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18962 :bsnlc
18963 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18964 b cont
18965 ' <confdefs.h | sed '
18966 s/'"$ac_delim"'/"\\\
18967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18970 for (key in D) D_is_set[key] = 1
18971 FS = "\a"
18973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18974 line = \$ 0
18975 split(line, arg, " ")
18976 if (arg[1] == "#") {
18977 defundef = arg[2]
18978 mac1 = arg[3]
18979 } else {
18980 defundef = substr(arg[1], 2)
18981 mac1 = arg[2]
18983 split(mac1, mac2, "(") #)
18984 macro = mac2[1]
18985 prefix = substr(line, 1, index(line, defundef) - 1)
18986 if (D_is_set[macro]) {
18987 # Preserve the white space surrounding the "#".
18988 print prefix "define", macro P[macro] D[macro]
18989 next
18990 } else {
18991 # Replace #undef with comments. This is necessary, for example,
18992 # in the case of _POSIX_SOURCE, which is predefined and required
18993 # on some systems where configure will not decide to define it.
18994 if (defundef == "undef") {
18995 print "/*", prefix defundef, macro, "*/"
18996 next
19000 { print }
19001 _ACAWK
19002 _ACEOF
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19004 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19005 fi # test -n "$CONFIG_HEADERS"
19008 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19009 shift
19010 for ac_tag
19012 case $ac_tag in
19013 :[FHLC]) ac_mode=$ac_tag; continue;;
19014 esac
19015 case $ac_mode$ac_tag in
19016 :[FHL]*:*);;
19017 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19018 :[FH]-) ac_tag=-:-;;
19019 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19020 esac
19021 ac_save_IFS=$IFS
19022 IFS=:
19023 set x $ac_tag
19024 IFS=$ac_save_IFS
19025 shift
19026 ac_file=$1
19027 shift
19029 case $ac_mode in
19030 :L) ac_source=$1;;
19031 :[FH])
19032 ac_file_inputs=
19033 for ac_f
19035 case $ac_f in
19036 -) ac_f="$ac_tmp/stdin";;
19037 *) # Look for the file first in the build tree, then in the source tree
19038 # (if the path is not absolute). The absolute path cannot be DOS-style,
19039 # because $ac_f cannot contain `:'.
19040 test -f "$ac_f" ||
19041 case $ac_f in
19042 [\\/$]*) false;;
19043 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19044 esac ||
19045 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19046 esac
19047 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19048 as_fn_append ac_file_inputs " '$ac_f'"
19049 done
19051 # Let's still pretend it is `configure' which instantiates (i.e., don't
19052 # use $as_me), people would be surprised to read:
19053 # /* config.h. Generated by config.status. */
19054 configure_input='Generated from '`
19055 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19056 `' by configure.'
19057 if test x"$ac_file" != x-; then
19058 configure_input="$ac_file. $configure_input"
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19060 $as_echo "$as_me: creating $ac_file" >&6;}
19062 # Neutralize special characters interpreted by sed in replacement strings.
19063 case $configure_input in #(
19064 *\&* | *\|* | *\\* )
19065 ac_sed_conf_input=`$as_echo "$configure_input" |
19066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19067 *) ac_sed_conf_input=$configure_input;;
19068 esac
19070 case $ac_tag in
19071 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19073 esac
19075 esac
19077 ac_dir=`$as_dirname -- "$ac_file" ||
19078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19079 X"$ac_file" : 'X\(//\)[^/]' \| \
19080 X"$ac_file" : 'X\(//\)$' \| \
19081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19082 $as_echo X"$ac_file" |
19083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19084 s//\1/
19087 /^X\(\/\/\)[^/].*/{
19088 s//\1/
19091 /^X\(\/\/\)$/{
19092 s//\1/
19095 /^X\(\/\).*/{
19096 s//\1/
19099 s/.*/./; q'`
19100 as_dir="$ac_dir"; as_fn_mkdir_p
19101 ac_builddir=.
19103 case "$ac_dir" in
19104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19106 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19107 # A ".." for each directory in $ac_dir_suffix.
19108 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19109 case $ac_top_builddir_sub in
19110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19112 esac ;;
19113 esac
19114 ac_abs_top_builddir=$ac_pwd
19115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19116 # for backward compatibility:
19117 ac_top_builddir=$ac_top_build_prefix
19119 case $srcdir in
19120 .) # We are building in place.
19121 ac_srcdir=.
19122 ac_top_srcdir=$ac_top_builddir_sub
19123 ac_abs_top_srcdir=$ac_pwd ;;
19124 [\\/]* | ?:[\\/]* ) # Absolute name.
19125 ac_srcdir=$srcdir$ac_dir_suffix;
19126 ac_top_srcdir=$srcdir
19127 ac_abs_top_srcdir=$srcdir ;;
19128 *) # Relative name.
19129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19130 ac_top_srcdir=$ac_top_build_prefix$srcdir
19131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19132 esac
19133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19136 case $ac_mode in
19139 # CONFIG_FILE
19142 _ACEOF
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 # If the template does not know about datarootdir, expand it.
19146 # FIXME: This hack should be removed a few years after 2.60.
19147 ac_datarootdir_hack=; ac_datarootdir_seen=
19148 ac_sed_dataroot='
19149 /datarootdir/ {
19153 /@datadir@/p
19154 /@docdir@/p
19155 /@infodir@/p
19156 /@localedir@/p
19157 /@mandir@/p'
19158 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19159 *datarootdir*) ac_datarootdir_seen=yes;;
19160 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19162 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19163 _ACEOF
19164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19165 ac_datarootdir_hack='
19166 s&@datadir@&$datadir&g
19167 s&@docdir@&$docdir&g
19168 s&@infodir@&$infodir&g
19169 s&@localedir@&$localedir&g
19170 s&@mandir@&$mandir&g
19171 s&\\\${datarootdir}&$datarootdir&g' ;;
19172 esac
19173 _ACEOF
19175 # Neutralize VPATH when `$srcdir' = `.'.
19176 # Shell code in configure.ac might set extrasub.
19177 # FIXME: do we really want to maintain this feature?
19178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19179 ac_sed_extra="$ac_vpsub
19180 $extrasub
19181 _ACEOF
19182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19185 s|@configure_input@|$ac_sed_conf_input|;t t
19186 s&@top_builddir@&$ac_top_builddir_sub&;t t
19187 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19188 s&@srcdir@&$ac_srcdir&;t t
19189 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19190 s&@top_srcdir@&$ac_top_srcdir&;t t
19191 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19192 s&@builddir@&$ac_builddir&;t t
19193 s&@abs_builddir@&$ac_abs_builddir&;t t
19194 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19195 $ac_datarootdir_hack
19197 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19198 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19200 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19201 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19202 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19203 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19205 which seems to be undefined. Please make sure it is defined" >&5
19206 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19207 which seems to be undefined. Please make sure it is defined" >&2;}
19209 rm -f "$ac_tmp/stdin"
19210 case $ac_file in
19211 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19212 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19213 esac \
19214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19218 # CONFIG_HEADER
19220 if test x"$ac_file" != x-; then
19222 $as_echo "/* $configure_input */" \
19223 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19224 } >"$ac_tmp/config.h" \
19225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19226 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19228 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19229 else
19230 rm -f "$ac_file"
19231 mv "$ac_tmp/config.h" "$ac_file" \
19232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19234 else
19235 $as_echo "/* $configure_input */" \
19236 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19237 || as_fn_error $? "could not create -" "$LINENO" 5
19242 # CONFIG_LINK
19245 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19247 else
19248 # Prefer the file from the source tree if names are identical.
19249 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19250 ac_source=$srcdir/$ac_source
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19254 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19256 if test ! -r "$ac_source"; then
19257 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19259 rm -f "$ac_file"
19261 # Try a relative symlink, then a hard link, then a copy.
19262 case $ac_source in
19263 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19264 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19265 esac
19266 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19267 ln "$ac_source" "$ac_file" 2>/dev/null ||
19268 cp -p "$ac_source" "$ac_file" ||
19269 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19272 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19273 $as_echo "$as_me: executing $ac_file commands" >&6;}
19275 esac
19278 case $ac_file$ac_mode in
19279 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19280 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19281 "Makefile":C) wine_fn_output_makefile Makefile ;;
19282 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19284 esac
19285 done # for ac_tag
19288 as_fn_exit 0
19289 _ACEOF
19290 ac_clean_files=$ac_clean_files_save
19292 test $ac_write_fail = 0 ||
19293 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19296 # configure is writing to config.log, and then calls config.status.
19297 # config.status does its own redirection, appending to config.log.
19298 # Unfortunately, on DOS this fails, as config.log is still kept open
19299 # by configure, so config.status won't be able to write to it; its
19300 # output is simply discarded. So we exec the FD to /dev/null,
19301 # effectively closing config.log, so it can be properly (re)opened and
19302 # appended to by config.status. When coming back to configure, we
19303 # need to make the FD available again.
19304 if test "$no_create" != yes; then
19305 ac_cs_success=:
19306 ac_config_status_args=
19307 test "$silent" = yes &&
19308 ac_config_status_args="$ac_config_status_args --quiet"
19309 exec 5>/dev/null
19310 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19311 exec 5>>config.log
19312 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19313 # would make configure fail if this is the last instruction.
19314 $ac_cs_success || as_fn_exit 1
19316 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19318 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19322 if test "$no_create" = "yes"
19323 then
19324 exit 0
19327 ac_save_IFS="$IFS"
19328 if test "x$wine_notices != "x; then
19329 echo >&6
19330 IFS="|"
19331 for msg in $wine_notices; do
19332 IFS="$ac_save_IFS"
19333 if ${msg:+false} :; then :
19335 else
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19337 $as_echo "$as_me: $msg" >&6;}
19339 done
19341 IFS="|"
19342 for msg in $wine_warnings; do
19343 IFS="$ac_save_IFS"
19344 if ${msg:+false} :; then :
19346 else
19347 echo >&2
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19349 $as_echo "$as_me: WARNING: $msg" >&2;}
19351 done
19352 IFS="$ac_save_IFS"
19354 $as_echo "
19355 $as_me: Finished. Do '${ac_make}' to compile Wine.
19356 " >&6